Width Increase & Expend Information of Ledger, Item List

Discussion in 'Free Source Codes' started by kapil22, Jul 20, 2018.

    
  1. kapil22

    kapil22 Member


    [System : Formula]
    isEnhancedFieldsOn: Yes

    [#Field: EI Desc]
    Add: Option: Enhanced Ei Desc: @@isEnhancedFieldsOn

    [!Field : Enhanced Ei Desc]
    Add: Max: 51
    Add: Width: 50

    Option: Ei Desc Print: Not $$inPrintMode
    Add: Lines: 0
    Add: Align: Justified

    [!Field : Ei Desc Print]
    Add: FullWidth: Yes
    Add: Lines: 1


    [#Field: DSP VchNumberTitle]
    Add: Option: Enhanced VNum: @@isEnhancedFieldsOn

    [#Field: DSP VchNumber]
    Add: Option: Enhanced VNum: @@isEnhancedFieldsOn

    [#Field: BILLRef]
    Add: Option: Enhanced VNum: @@isEnhancedFieldsOn

    [#Field : VCH Short Title]
    Add: Option: Enhanced VNum: @@isEnhancedFieldsOn

    [#Field: VCHBILL Name]
    Add: Option: Enhanced VNum: @@isEnhancedFieldsOn

    [#Field: VCH Ref]
    Add: Option: Enhanced VNum: @@isEnhancedFieldsOn

    [!Field : Enhanced VNum]
    Add: Width: 25


    [#Field: Voucher Name Field]
    Add : Option: Enhanced Voucher Name: @@isEnhancedFieldsOn

    [#Field: Master Name Field]
    Add : Option: Enhanced Voucher Name: @@isEnhancedFieldsOn

    [#Field: Item Name Field]
    Add : Option: Enhanced Voucher Name: @@isEnhancedFieldsOn


    [!Field : Enhanced Voucher Name]
    Add: Width: 70
    Add: Max: 70



    [#Field : VCH Narration]
    Add: Option: Enhanced Narration: @@isEnhancedFieldsOn

    [!Field : Enhanced Narration]
    Add: FullWidth: Yes
    Add: Max: 150
    Add: Lines: 3





    [#Collection: List of Stock Items]

    Use : Alias Collection
    Title : $$LocaleString:"List of Stock Items"
    Type : Stock Item
    Fetch : Name
    Report : Stock Item
    Variable : SStockItem
    Trigger : SStockItem
    IsODBCTable : Yes
    Delete : Format
    Add : Format : $Name,60
    Add : SubTitle : $$LocaleString:"PRODUCT", "DESCRIPTION", "CATEGORY", "%", "COST", "LSP", "QTY"
    Add :Format : $Description
    Fetch :Description
    Add :Format : $Category
    Fetch :Category
    Add :Format : $GSTIGSTRate
    Fetch :GSTIGSTRate
    Add :Format : $Standardcost
    Fetch :standardcost
    Add :Format : $LastSalePrice
    Fetch :LastSalePrice
    Add :Format : $closingbalance
    Fetch :closingbalance


    [#Collection: List of Ledgers]

    Use : Alias Collection
    Title : $$LocaleString:"List of Ledgers"
    Type : ledger
    Fetch : Name
    Report : ledger
    Variable : Sledger
    Trigger : Sledger
    IsODBCTable : Yes
    Delete : Format
    Add : Format : $Name,60
    Add : SubTitle : $$LocaleString:"LEDGER NAME", "DESCRIPTION", "GROUP", "PAN", "GSTIN", "OP BALANCE", "CL BALANCE"
    Add : Format : $Description
    Fetch : Description
    Add : Format : $parent
    Fetch : parent
    Add : Format : $IncomeTaxNumber
    Fetch : IncomeTaxNumber
    Add : Format : $PartyGSTIN
    Fetch : PartyGSTIN
    Add : Format : $OpeningBalance
    Fetch : OpeningBalance
    Add : Format : $ClosingBalance
    Fetch : ClosingBalance


    [#Collection : VLedTable]

    Use : Alias Collection
    Title : $$LocaleString:"List of Ledger Accounts"
    Delete : Format
    Add : Format : $Name,60
    Add : SubTitle : $$LocaleString:"LEDGER NAME", "DESCRIPTION", "GROUP", "PAN", "CL BALANCE"
    Add : Format : $Description
    Fetch : Description
    Add : Format : $parent
    Fetch : parent
    Add : Format : $IncomeTaxNumber
    Fetch : IncomeTaxNumber
    Add : Format : $ClosingBalance
    Fetch : ClosingBalance


    [#Collection: List of Groups]

    Use : Alias Collection

    Title : $$LocaleString:"List of Groups"
    Type : Group
    Fetch : Name
    Delete : Format
    Add : Format : $Name,60
    Add : SubTitle : $$LocaleString:"GROUP NAME","MAIN GROUP",
    Add : Format : $parent
    Fetch : parent
     


  2. Umashankar

    Umashankar Member


    Dear Kapil, after adding this addon, alias name of ledger, item and group is not working. Please rectify this code.

    Thanks in advance.
     


  3. kapil22

    kapil22 Member


    Tried test version hereby attached for all
     

    Attached Files:



  4. Umashankar

    Umashankar Member


    Dear Kapil, Thank you for your immediate response. But I want the Ledger alias, Item alias are to work, (e.g) for Ledger Cash, I have assigned it as "C". If I enter "C", cash is not choosing automatically, I have to choose manually from the pop-up. I request you to do the rectification in the code.
    Thanks in advance.
     


Share This Page