On account value display but not print/export

Discussion in 'Requests' started by Hems, Jul 23, 2023.

    
  1. Hems

    Hems Member


    Dear sir, Namskar
    ये कोड मैंने इसी प्लेटफॉर्म (Pankaj Bhondle sir)से लिया है. इससे on account value display तो हो रही हैं लेकिन प्रिंट या export में नही आ रही हैं ।

    [#Part: GRPLedBILL Details]
    Add: Lines: After:GRPLedBILL Total :pKOnaccountDetail,PkFinalBalDetail

    [Line: PKOnaccountDetail]
    Left Fields : BILLFixed1, LedBILLOp1, LedBILLCl1

    [Field: BILLFixed1]
    Fields : BILLDate1, BILLRef1, BILLIsAdvance1, BILLParty1

    [Field: BILLDate1]
    Use : NameField
    Set as : ""
    Width : If ($$InExportMode AND @@IsHTMLFormat) Then (@@ShortDateWidth + 4) Else @@ShortDateWidth

    [Field: BILLRef1]
    Use : NameField
    Set as : ""
    Width : 12
    SpaceLeft : if ##IsBillWiseReport AND $$InPixelMode then 2.5 else 0.5

    [Field: BILLIsAdvance1]
    Use : NameField
    Set as : ""
    Width : If $$InPrintMode Then 6 Else 7

    [Field: BILLParty1]
    Use : NameField
    Set as : ""
    Width:if ##DSPAgeByDueDate then 47.5 else 60

    [Field: LedBILLOp1]
    Use : NameField
    Set as : "On Account"
    Width : if ##IsBillWiseReport AND $$InPixelMode then 23.5 else ""

    [Field: LedBILLCl1]
    Use : AmountField
    Set as : $OnAccountValue:Ledger:$PartyName
    Width : if NOT $$InPixelMode then @@AmountWidth else if ($$Numsets>1 AND $$InPrintMode) Then @@NumberWidth+1 Else If ##IsBillWiseReport then @@AmountWidth - 1 else @@NumberWidth + 3
    Format : "DrCr,NoZero," + ##ShowForex
    Style : Normal bold
    Color : blue
    ;;;;;;;;;;;;;;;;;Final Balance;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


    [Line: PkFinalBalDetail]
    Left Fields : BILLFixed11, LedBILLOp11, LedBILLCl11

    [Field: BILLFixed11]
    Fields : BILLDate11, BILLRef11, BILLIsAdvance11, BILLParty11

    [Field: BILLDate11]
    Use : NameField
    Set as : ""
    Width : If ($$InExportMode AND @@IsHTMLFormat) Then (@@ShortDateWidth + 4) Else @@ShortDateWidth

    [Field: BILLRef11]
    Use : NameField
    Set as : ""
    Width : 12
    SpaceLeft : if ##IsBillWiseReport AND $$InPixelMode then 2.5 else 0.5

    [Field: BILLIsAdvance11]
    Use : NameField
    Set as : ""
    Width : If $$InPrintMode Then 6 Else 7

    [Field: BILLParty11]
    Use : NameField
    Set as : ""
    Width:if ##DSPAgeByDueDate then 47.5 else 60

    [Field: LedBILLOp11]
    Use : NameField
    Set as : "Final Amount"
    Width : if ##IsBillWiseReport AND $$InPixelMode then 23.5 else ""

    [Field: LedBILLCl11]
    Use : AmountField
    Type : Amount
    Set as : $$NettAmount:$FinalBalance:#LedBILLCl1
    Style : Normal bold
    Width : If ##IsBillWiseReport then @@AmountWidth - 1 else @@NumberWidth + 3
    Format : "DrCr,NoZero," + ##ShowForex
    Border : Sub Totals
    Color : red
    IMG_20230723_230922.jpg
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    जैसे स्क्रीन डिस्प्ले में कोड ऐड किया है... वैसे प्रिंट और एक्सपोर्ट वाले कोड में भी फील्ड्स ऐड करो।
     


  3. Hems

    Hems Member


    लेकिन सर यही कोड erp9 में load करने पर प्रिंट में on account value आ रही हैं ।

    tally prime में नही।

    और प्रिंट में final amount भी गलत है

    ऐसा क्यों । IMG_20230724_133646.jpg
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Do not know about your code............

    My code is working fine............

    Capture.PNG

    Capture2.PNG Capture2.PNG
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    [Collection : LedgerwiseBills] -- mein COMPUTE karo.....
     


Share This Page