Dear All, I have try but, it block all the Ledger. i shared my Code. Please Correct my code. [#Field: EI Consignee] Control : Tax : $$InCreateMode AND $VoucherTypeName = "TAX INVOICE " AND $$IsEmpty:$(Ledger,#EIConsignee).SalesTaxNumber Set Always : Yes [System : Formula] TAX : "Customer TIN " + $$NewLine + $$NewLine + " Number is Misssing !!!"
Dear Sir, Thanks for Reply. Sir these code is based on Voucher Type name, but i want in Sales Voucher Type Is Tax Invoice is Yes. Is Tax Invoice is Set to Yes and Party Don't have TIN Number then it will restrict Invoice for that party. Please help me sir.
Hello All, Here I Shared Code... it's working fine in tally.erp9 rel 4.91. [#Part: CMP Statutory Left] Add : Line : At End : CMP UseCustomisedModule ;; Company Level Variable [Line :CMP UseCustomisedModule] Fields : Medium Prompt, CMP UseCustomisedModule Local : Field : Medium Prompt : Info : $$LocaleString:"Use Tax Invoice Module ?" Local : Field : Medium Prompt : Color : Red [Field: CMP UseCustomisedModule] Use : Logical Field Storage : T1 Set always : Yes Inactive : NOT $IsAccountingOn OR NOT $IsInventoryOn Modifies : T1 Color : Blue [System : UDF] T1 :Logical : 6001 [System : Formula] USeCustomInvoice : $T1:Company:##SvCurrentCompany ;; Voucher Level TDL Start [#Field: EI Consignee] Control : TinMsg : $$InCreateMode AND @@Vishal AND $$IsEmpty:$(Ledger,#EIConsignee).VATTINNumber AND @@USeCustomInvoice Set Always : Yes [System : Formula] TinMsg : "Customer TIN " + $$NewLine + " Number is Misssing !!!" vishal : NOT @@VATDescVoucherTypes ;;EOF