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
Amit Sir by adding this no effect on code. If i enable or disable Decsription its still coming in both voucher
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 : $$NumItemsescColl [Collection: Desc Coll] Type : Description1 : StockItem Child of : #VCHStockItem [#Field: EI Desc] Set as : $$CollectionField:$Description1:$$LineescColl ;;End of File
[#Field: VCH StockItem] Sub Form : EI DescExplosion : ##ICFGAddlDesc AND NOT $$IsSysName:$$Value AND NOT $$IsExploded:EIDescExplosion AND (@@IsSales OR @@IsCreditNote )
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
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
i found Line : ICFGAddlDesc in many parts [Part: VchF12STDConfig SalesInvoice] [Part: VchF12STDConfig PurchaseInvoice] [Part: Sales InvMode Left Config] [Part: Purchase InvMode Left Config]
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.