EI LED Explosion

Discussion in 'Free Source Codes' started by rony, Oct 9, 2020.

    
  1. rony

    rony Member


    Dear experts.
    long back Mr. pankaj had posted this code but in this error comes : could not find original description for Form"EI LedDesc Explosion" can any one rectify please.
    Regards
    [#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
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    If you are getting that error............ means you have not activated that feature in your Tally.

    There is no error in the code.
     


  3. rony

    rony Member


    Amitji,
    TDL is giving error so I can not start then how to activate?
     

    Attached Files:



  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Remove this..........
    Option:EI Led Multiple Desc:$$InCreateMode
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Or Else activate Description for Ledgers also.
     


  6. rony

    rony Member


    Amitji,
    It works but actually this code id for Item or Ledger creating time adding addl. description. I want in Invoice. As you suggested i activate addl des. for ledger, But it activates in accounting invoice and not in item invoice. I checked with TDL . In that this line can be alter to avtivate in invoice mode.
    Set as : If NOT $$IsInventoryOn Then $LedgerName Else If ##SVAcctsInvoice AND $$IsEmpty:$$NumItems:InventoryEntries Then $LedgerName Else $StockItemName
    Please guide.
    Thanks
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    THE CODE....is meant to enter default description so that user do not need to enter description everytime and it works.

    Second.... your Set As --- as given above...how is it connected to the code above????
     


  8. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Also you must study the code for Accounting Invoice also.........

    e.g. ig your Sales Ledger is named ........Sales @ 18%, then you must enter the addl.description in this ledger and not the PARTYNAME..........

    The Desc.Explosion field is for revenue A/cs. and not the Party Ledger.
     


  9. rony

    rony Member


    Sir,
    Actually that function was from TD I wrongly mentioned TDL. and by the way solved with simple edit and also same details comes in printing invoice also. Any way thanks a lot for support and help.
    Regards.
     


Share This Page