Restrict Tax Invoice

Discussion in 'Tally Developer' started by vishal jayswal, Dec 30, 2014.

    

  1. Dear All,

    How to Restrict Tax Invoice if Party Don't have TIN number???
    Please Help me ...
     



  2. 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 !!!"
     


  3. Mahesh Sethi

    Mahesh Sethi Member


    Dear Vishal,

    Very Good work done

    Thanks & Keep it up

    Its Work..........

    Manish
     



  4.  



  5. 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.
     


  6. mpal2311

    mpal2311 Active Member


    Change SalesTaxNumber to VATTINNumber, it will work.
     



  7. 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
     


Share This Page