Purchase Order rate field

Discussion in 'Free Source Codes' started by Rakesh Kumar, Aug 27, 2020.

    
  1. Rakesh Kumar

    Rakesh Kumar Member


    Respected Experts, I need purchase order rate field.

    Please help me
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Not understood your requirement.

    Explain properly and ....put a screenshot with remarks.
     


  3. Rakesh Kumar

    Rakesh Kumar Member


    [#Field:VCH Purcorder]
    Add:Option:Rakesh:mad:@IsPurchase

    [!Field:Rakesh]
    Validate:($$IsEmpty:$$Value or $$Value=$Purchaseorderrate:StockItem:$StockItemName)

    Sir, we purchase material by issuing purchase order and with the help of above code I want to
    block purchase rate which should be equal to Purchase Order rate.

    But results of above code block all rates in purchase voucher. Please help how to block purchase
    rate as per purchase order rate.
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    ?????
    If you issued a PO for Item1 -- for INR 100/- and then if you are entering a Purchase Voucher......
    And if in your Purchase Voucher you enter INR 100/- as rate, it should be blocked !!!

    If above is the case, then your code is fine.........or if not -- maybe I am still confused.... so can you explain more clearly by example.
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Also please let me know by a SCREENSHOT, which and where is this VCH PurcOrder Field???
     


  6. Rakesh Kumar

    Rakesh Kumar Member


    Sir, we issue PO to purchase material from vendor. Suppose if we issue PO by Rs. 145/- to purchase material.
    User can not change PO rate while entering the Purchase Voucher.




    upload_2020-8-28_16-11-22.png
     


  7. Rakesh Kumar

    Rakesh Kumar Member


    I request to all the experts in the forum, please help me to do this. I have tried a lot but not get result.
     


  8. Sanjeev S

    Sanjeev S Active Member


    Please try this.....

    Code:
    [#Field    :    VCH BatchRate]
        Option        :    Rakesh        :    @@IsPurchase
       
    [!Field    :    Rakesh]
        Validate    :    if ($BatchRate = $$AltTable:VCHBATCHTrack:VCHBATCHOrder:$Rate) then yes else no
    
    
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    If you do not want USER to alter the rate............simply use ------- Skip : Yes in that field.

    There is no need for any validation or Control.
     


  10. Rakesh Kumar

    Rakesh Kumar Member


    Very very Thanks Sanjeev S Sir & Amit Sir.
     


  11. sumamehtra

    sumamehtra Member


    In order creation, can it possible to make an order with alternative unit in quantity field??
     


  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use compound Unit......for alternate Qty.
     


Share This Page