Block Sales Voucher without Sales Order

Discussion in 'Tally Developer' started by vishal jayswal, Jun 12, 2015.

    

  1. Dear All,

    Please Help me..

    How can I Block Sales Voucher without Sales Order ?
     


  2. admin

    admin Administrator Staff Member


    In the Order selection field of sales voucher - Supplimentary screen, write a control like It should not be Not Applicable
     



  3. Thank You for Reply Admin Sir,

    Please Share the Code for same. because I am new in TDL and i doesn't know how to right these condition for same.
    Please Sir, Help Me...
     


  4. admin

    admin Administrator Staff Member


    Code:
    [#Field: EI Order]
        Switch    :TSBPack Process Ctrl        :TSBPack EI Sales Order Control        : @@ISTSBPackCashBankLed  AND ($$IsSales:##SVVoucherType  OR $$IsDelNote:##SVVoucherType)
    
     
    [!Field    :TSBPack EI Sales Order Control]
        Control    :TSBPack EI Order Sales    :  @@TSBPackNonsaleOrder
        Delete    : Key         : Create New Number
    
    [System    :Formula]
        ISTSBPackCashBankLed            : Not $IsCashBankAccount:Ledger:$LedgerName
        TSBPackNonsaleOrder                : $$Line=1 and ($$Value contains "Endoflist" or $$Value contains "Not Applicable" or $$Value contains "New Number")
        TSBPack EI Order Sales            : "Please Select the Order Number"
     


  5. Mahesh Sethi

    Mahesh Sethi Member



    Dear Admin Sir,

    Thank You Very Much for your kind Guidance, It is very help full to me to understand that Hou i Prevent the Options.

    there is one query that "New Number" is Not Prevent, So hou i delete this option in that Table..
    it will help full me at the time of Voucher reference field Also.

    Thanks in Advance.

    Manish
     





  6. Thank You Sir,,,,,,
     


  7. kamalpatel

    kamalpatel New Member


    hello sir
    i want to delete inbuilt name of field in salesorder .... i add alll the field whtver i need.. but i want to delete this built in field....plzz sir help me out for this things
     


  8. admin

    admin Administrator Staff Member


    Open separate thread for this query
     


  9. sayed

    sayed Member


    sir i want to delete not applicable in tracking number in devilry note can u help me plss
     


  10. NAGARAJKMAR SUBRAMANIAN

    NAGARAJKMAR SUBRAMANIAN Active Member


    Sayed, Try This

    [#Field: VCHOutwardsTNo]
    Border : thick Box
    Delete : Table

    ADD : Table: VCH OutTNo, New Number: (NOT @@HasBatchWise AND NOT $$IsMultiGodownOn)
    Add : Table: VCH OutTNoG, New Number: (NOT @@HasBatchWise AND $$IsMultiGodownOn)
    Add : Table: VCH OutTNoB, New Number: (@@HasBatchWise AND NOT $$IsMultiGodownOn)
    Add : Table: VCH OutTNoBG, New Number: (@@HasBatchWise AND $$IsMultiGodownOn)
     


  11. sauravjain

    sauravjain Member


    how to make above code for specific item. plz guide
     


  12. Himanshu-2002

    Himanshu-2002 Active Member


    Simple use If Condition
     


Share This Page