auto manual voucher number

Discussion in 'Free Source Codes' started by Avipul93, Apr 24, 2020.

    
  1. Avipul93

    Avipul93 New Member


    wanted to share i code line that i compiled by using knowledge from this website.

    when we want auto voucher number and also don't want to reset all vouchers numbers on deletion of one voucher then we can use it.

    just set vouchers numbering to auto manual.

    [#Field : VCH Number]
    Skip On : @@AutoVchNumbering OR @@MultiUserAutoVchNumbering or ($$InCreateMode and $$IsSysNameEqual:ManualOverride:$NumberingMethod:VoucherType:##SVVoucherType and not $$IsSales:##SVVoucherType)

    thanks for the knowledge.(i am a fast learner)
     


  2. NainaSiraj

    NainaSiraj Member


    NORMALY WHEN WE DELET ONE VOUCHER ALL THE VOUCHER NUMBER RESET OR CHANGE

    BY USING THIS CAN WE STOP THAT?????????\
    KINDLY REPLY
     


  3. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    Cancel Voucher Instead of Delete Using Alt+X
     


  4. NainaSiraj

    NainaSiraj Member


    NOW IF WE WAVE MULTI USER AND SOMEONE BY MISTAKE DELETE THEN

    CAN USE ANY CODE IF BY MISTAKE WE DELET THEN PREVIOUS VOUCHER WOULD NOT BE RESET
    PLZZ
    THANKS
     


  5. Avipul93

    Avipul93 New Member


    THIS USES TALLY DEFAUTL AUTO MANUAL NUMBERING , I JUST SKIP EDITING OF VCH NO IN CREATE MODE .
    what i guess from your post is that when we delete a voucher of date before of todays date then tally resets all vch nos from that voucher till date if numbering is automatic.
    if yes then this can solve the problem because if you delete a back dated voucher then all voucher numbers are not changed in auto manual numbering and to disallow normal users to change voucher number while creating above code is useful.

    THIS CODE ONLY WORKS WHEN VOUCHER NUMBERING IS AUTOMATIC (MANUAL OVERRIDE).
     


Share This Page