Sales Price Control TDL

Discussion in 'Tally Developer' started by Bwire Emmanuel, Dec 21, 2018.

    
  1. Bwire Emmanuel

    Bwire Emmanuel New Member


    help this Code only Blocks for single line sales Voucher. i need help to extend the control to apply on all voucher Lines
    [#Field: VCH Rate]
    Option: VCH Rate1: $$IsSales:##SVVoucherType
    [!Field: VCH Rate1]
    Control : Msg1:($$IsEmpty:$$VchRate OR $MSG2)

    [#Field: VCHBATCH Rate]
    Option: VCHBATCH Rate1: $$IsSales:##SVVoucherType
    [!Field: VCHBATCH Rate1]
    Control: Msg1:($$IsEmpty:$$VchRate OR $MSG2)

    [System : Formula]
    MSG1: "Low Price" + $$NewLine+""+ $$NewLine+" Please Enter Correct Rate !!!"

    MSG2:$$VchRate:<= ($$Number:$LastPurcPrice:StockItem:$StockItemName /(1-0.0))

    ;5% Margin given if you need you can change the margin Percentage. If you Need 10%, if you Need 8%;
     


  2. HIRDESH

    HIRDESH New Member


    try, this is for Standardprice control work on multiple Stock Item In invoice


    [#Field: VCH Batch Rate]
    Add : Option : VCH Sales Batch Rate : @@IsSales

    [!Field : VCH Sales Batch Rate]
    Validate : ($$IsEmpty:$$Value OR $$Value >= $Standardprice:StockItem:$StockItemName)

    [#Field: VCH Rate]
    Add : Option : VCH Sales Rate : @@IsSales

    [!Field : VCH Sales Rate]
    Validate : ($$IsEmpty:$$Value OR $$Value >= $Standardprice:StockItem:$StockItemName)
     


  3. sandip kumar

    sandip kumar New Member


    How to make it work on multiple batch like
    batch1 100nos@100
    batch2 100nos@125
    batch3 150nos@140

    and i need to control from oldest batch ie batch1
     


Share This Page