I Want Unit Alternative Unit UDF Wise Total .....

Discussion in 'Requests' started by Sanjay preethi, Dec 25, 2020.

    

  1. i useing Alternative unit UDF,,

    I Want Unit Wise Total

    any One Help Me qive Any Ideas..




    my code

    [#Line: eicolumn one ]
    Option:MYOP: $Vouchertypename Contains "sales"
    [!Line:mYOP]
    Add: Right Field:After:VCH QtyTitle: EI ONET;,EI ONETwo T

    [ Field : EI ONET ]

    ; Width : 10% page
    Info : "Alt"
    Style : normalbold
    Align : Right
    Color : Blue
    Invisible: not @@IsOTSCustomFormat; @@IsSales;$$IsEnd:$LedgerName
    Width : 8% page
    [ #Line : eiaccinfo]
    Option:MYOPei: $Vouchertypename Contains "sales"
    Option:MYOPeie: $Vouchertypename Contains "sales"

    [!Line:mYOPei]

    Add: Right Field:At Beginning:ei one;, ei two
    Local: Field: EI ONE : Set as : ""

    [!Line:mYOPeie]

    Add: Right Field:After:VCH BilledQty:ei onee;, ei two
    Local: Field: EI ONEE : Set as : ""

    [#Line: eiinvinfo ]
    Option:MYOPin: $Vouchertypename Contains "sales"
    Option:MYOPine: $Vouchertypename Contains "sales"
    [!Line:mYOPine]

    Add: Right Field:After:VCH BilledQty:ei onee;, ei two
    [!Line:mYOPin]

    Add:Righ t Field:At Beginning : EI ONE;, ei two

    [#Line: ciinvinfo ]
    Option:MYOPCI: $Vouchertypename Contains "sales"
    Option:MYOPCIe: $Vouchertypename Contains "sales"
    [!Line:mYOPCIe]
    Add: Right Field:After:VCH BilledQty:ei onee;, ei two
    [!Line:mYOPCI]

    Add:Right Field:At Beginning: EI ONE;, ei two
    [Field:ei one]

    Use : Namefield
    Width : 8% page
    Storage : INSTStyleone
    Set Always : Yes
    Align : Right
    Style : normalbold
    Inactive : $$IsEnd:$StockItemName
    Invisible: not @@IsOTSCustomFormat; @@IsSales;$$IsEnd:$LedgerName
    Table: Unit;Billtypese
    Show Table:Always
    Color:blue

    [Field:ei onee]

    Use : Namefield
    Width : 7% page
    Storage : INSTStyletwo
    Set Always : Yes
    Align : Right
    Style : normalbold
    Inactive : $$IsEnd:$StockItemName
    Invisible: not @@IsOTSCustomFormat; @@IsSales;$$IsEnd:$LedgerName
    ;Table: Billtypese
    ;Show Table:Always
    ;Color:blue

    [ System : UDF]
    INSTStyleone : String : 526
    INSTStyletwo : String : 527

    [Table:Billtypese]
    Title:"BillType"
    List Name:"PCS","KGS"
    Format:$name,25

    ;===
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    [#Form: Export Invoice]

    Option : Global Export Invoice NP : @@IsSales
    [!Form : Global Export Invoice NP]

    Local : Line : VCH NarrPrompt: Add : Right Fields : At Beginning : Global Total Marks, Global Total NumPack
    [Field: Global Total Marks]

    Use : Global VCH Marks
    Border : Totals
    Set as : $$Total:INSTStyleone
    Skip : Yes
    Set always : Yes

    [Field: Global Total NumPack]

    Use : Global VCH NumPack
    Border : Totals
    Set as : $$Total:INSTStyleone
    Skip : Yes
    Set always : Yes
     

    Attached Files:



Share This Page