Free Code :- add permanent descriptions for ledger & Iems

Discussion in 'Free Source Codes' started by psjain_jal, Apr 16, 2013.

    
  1. psjain_jal

    psjain_jal Member


    Hello to Admin & All members.

    Here i give you the free code for add permanent descriptions for ledger & Items. This Disc was

    also be printed in sale invoice.


    Pl Set Yes to Add Notes For Ledgers & Items while Creating the Ledger or Items.

    the code started as :-
    Code:
    [#Part: LEDNotes]
        Add:Lines:LED MULTIPLE DESC
       
    [#Part: STKI Desc]
        Add:Lines:LED MULTIPLE DESC
       
     
    [Line:LED MULTIPLE DESC]
        Fields:Medium Prompt,LED MULTIPLE DESC
        Local:Field:Medium Prompt:Info:"Multiple Desc?"
       
    [Field:LED MULTIPLE DESC]
        Use:Logical Field
        Storage:IsMultipleDesc
        Sub Form:SMP Multiple Description:$$Value
       
       
    [Report:SMP Multiple Description]
        Form:SMP Multiple Description
       
     
    [Form:SMP Multiple Description]
        Parts:Form Subtitle,SMP Multiple Description
        Local:Field:Form Subtitle:Info:"Descriptions"
        Height      : 50% Page
        FullWidth  : No
        Option      : Small Size Form
        Space Right : 2
       
     
    [Part:SMP Multiple Description]
        Line:SMP Multiple Description
        Repeat:SMP Multiple Description:SmpMultiDesc
        Scroll:Vertical
        Break On:$$IsEmpty:$AddlDesc
       
     
    [Line:SMP Multiple Description]
        Field:SMP Multiple Description
       
       
    [Field:SMP Multiple Description]
        Use:Name Field
        Case:Normal
        Storage:AddlDesc
       
     
    [System:udf]
        SmpMultiDesc:Aggregate:6480
        AddlDesc:String:6482
        IsMultipleDesc:Logical:6484
       
     
     
     
       
     
     
    [#Form: EI DescExplosion]
        Option:EI Item Multiple Desc:$$InCreateMode
       
     
    [Collection:ItemMultipleDescColl]
        Type:SmpMultiDesc:StockItem
        Child Of:$StockItemName
        Fetch:AddlDesc
       
    [Collection:LedMultipleDescColl]
        Type:SmpMultiDesc:Ledger
        Child Of:$LedgerName
        Fetch:AddlDesc
       
    [!Form:EI Item Multiple Desc]
        Local:Part:EI DescExplosion:Set:$$NumItems:ItemMultipleDescColl
        Local:Field:EI Desc:Set By Condition:Not $$IsFieldEdited:$$CollectionField:$AddlDesc:$$Line:ItemMultipleDescColl
       
     
    [#Form: EI LedDescExplosion]
        Option:EI Led Multiple Desc:$$InCreateMode
       
       
    [!Form:EI Led Multiple Desc]
        Local:Part:EI DescExplosion:Set:$$NumItems:LedMultipleDescColl
        Local:Field:EI Desc:Set By Condition:Not $$IsFieldEdited:$$CollectionField:$AddlDesc:$$Line:LedMultipleDescColl
     
     
    
    Enjoy Enjoy.......................................................................................................

    & Pl share with the TDL Community


    Pankaj Jain
     
    naren1234 likes this.


  2. admin

    admin Administrator Staff Member


    Great :)
     
    Santosh likes this.


  3. fannu

    fannu Member


    GREAT JOB SIR
     




  4. Kaushik

    Kaushik New Member


    Great Job, Comunity can learn lot from this code.

    Thanks
     


  5. nagaraju

    nagaraju New Member


    WHERE THE LEDGERS DESCRIPTION APPEAR
     


  6. N vinoth

    N vinoth Guest


    thank you
     


  7. G Vijay

    G Vijay Member


    thank you....
     



  8. DEAR SIR, THANKS

    BUT UNABLE TO SEE THE PRINTING OF THE NOTES IN INVOICE... KINDLY HELP.. USING V4.61
     


  9. Niraj

    Niraj New Member


    not working with ERP9 Rel1
     


  10. Pilla Kishore Kumar

    Pilla Kishore Kumar New Member


    Need some code to add some extra fields in ledger creation forms, preferably through a sub form, which pops up on making "Extra Fields?" to "Yes" which should be by default "No". All are optional fields and should be saved to that ledger record.
     


Share This Page