Configuration setting of Voucher

Discussion in 'Tally.ERP 9' started by rajiv jaiswal, Sep 24, 2022.

    
  1. rajiv jaiswal

    rajiv jaiswal Member


    I config "Provide Additional Descriptions for Stock Items :" to Yes in sales Voucher But i dont want it
    in Purchase Voucher. How to disable in purchase. i search the Developer and its common for both

    [#Line: ICFGAddlDesc]

    Field : Long Prompt, Logical Field
    Local: Field : Long Prompt : Info : $$LocaleString:"Provide Additional Descriptions for Stock Items :"
    Local: Field : Logical Field : Modifies: ICFGAddlDesc
    can any one Help me to enable in sales and Disable in Purchase
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Local: Field : Logical Field : Set as : If $$IsSales:##VoucherTypeName then Yes Else No
     
    rajiv jaiswal likes this.


  3. rajiv jaiswal

    rajiv jaiswal Member


    Amit Sir by adding this no effect on code. If i enable or disable Decsription its still coming in both voucher
     


  4. ONKAR

    ONKAR Active Member


    i will give you an idea , change as per your requirement

    [#Form: Stock Item]

    Add : Part : After : STKI Desc : STKI Desc1
    Height : 100 % screen
    Width : 100 % screen

    [Part: STKI Desc1]

    Line : STKI Desc1
    Repeat : STKI Desc1 : Description1
    Break on : $$IsEmpty:$Description1
    Scroll : Vertical

    [Line: STKI Desc1]

    Field : Medium Prompt, STKI Desc1
    Local : Field : Medium Prompt : Set as : “Stock Description:”
    Local : Field : Medium Prompt : Inactive : $$Line > 1

    [Field: STKI Desc1]

    Use : Name Field
    Storage : Description1

    [System: UDF]

    Description1 : String : 20001

    ;; Changes at voucher level

    [#Part: EI DescExplosion]

    Set : $$NumItems:DescColl

    [Collection: Desc Coll]

    Type : Description1 : StockItem
    Child of : #VCHStockItem

    [#Field: EI Desc]

    Set as : $$CollectionField:$Description1:$$Line:DescColl

    ;;End of File
     


  5. rajiv jaiswal

    rajiv jaiswal Member


    i dont get any idea
     


  6. sattam

    sattam Active Member


    [#Field: VCH StockItem]

    Sub Form : EI DescExplosion : ##ICFGAddlDesc AND NOT $$IsSysName:$$Value AND NOT $$IsExploded:EIDescExplosion AND (@@IsSales OR @@IsCreditNote )
     
    rajiv jaiswal likes this.


  7. rajiv jaiswal

    rajiv jaiswal Member


    Thank you sattam sir. I have one more Query. when Additional Descriptions for Stock Items is enable Its showing enable in all Company. How to make it for particular Company Only
     


  8. sattam

    sattam Active Member


    This is system settings thus enable for all company in tally
     
    rajiv jaiswal likes this.


  9. rajiv jaiswal

    rajiv jaiswal Member


    can we change it sir
     


  10. rajiv jaiswal

    rajiv jaiswal Member


    experts any clue to change defult system setting
     


  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Study......... [Form: Voucher Configuration]

    in there -- there are 3 Sales switches and 3 Purchase Switches ...... and so they branch off to different and specific PARTS/LINES & FIELDS.

    So based on your data configuration - either Invoicemode, Accountsmode or Vouchermode........... refer to that relevant FORM......
    At the requisite FORM Level ..........define as under (e.g.)

    for Sales centric FORM: (Define at the FORM level)
    Local : Part : <PartName> : Local : Line : <LineName> : Local : Field : Logical Field : Set as : If $$IsSales:##VoucherTypeName then Yes Else No
    OR
    Local : Part : <PartName> : Local : Line : <LineName> : Local : Field : Logical Field : Set as : Yes

    for Purchase centric FORM: (Define at the FORM level)
    Local : Part : <PartName> : Local : Line : <LineName> : Local : Field : Logical Field : Set as : If $$IsSales:##VoucherTypeName then No Else Yes
    OR
    Local : Part : <PartName> : Local : Line : <LineName> : Local : Field : Logical Field : Set as : No

    NOTE : - If there are multiple PARTS ..... then refer to them accordingly......
    Local : Part : <PartName1> : Local : Part : <PartName2> : Local : Line : <LineName> : .... and so on
     


  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You can add your condition here ..... If $CmpName contains "ABC" then ...... else .......
     
    rajiv jaiswal likes this.


  13. rajiv jaiswal

    rajiv jaiswal Member


    thank you Amit ji. i will check it
     


  14. rajiv jaiswal

    rajiv jaiswal Member


    i found Line : ICFGAddlDesc in many parts
    [Part: VchF12STDConfig SalesInvoice]
    [Part: VchF12STDConfig PurchaseInvoice]
    [Part: Sales InvMode Left Config]
    [Part: Purchase InvMode Left Config]
     


  15. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    As per your data configuration, you must apply as informed to you in previous POST ........ If you cannot understand or do not which is applicable to you.......then use the line in the 3 Sales centric forms and 3 Purchase centric forms........... whichever works is the right one.
     
    rajiv jaiswal likes this.


  16. rajiv jaiswal

    rajiv jaiswal Member


    OK Sir i will try
     


Share This Page