wanted help for skipping pos cash tendered field

Discussion in 'Free Source Codes' started by panam, Oct 14, 2020.

    
  1. panam

    panam Member


    dear experts,
    kindly help and guide me to skip the" pos cash tendered" field and" balance" field
    how to start, where to start the codes. give idea
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    As directed earlier....
    1 - start tally in developer mode...
    2 - hover and find the Field Name
    3 - Search field name in Developer
    4 - Edit Field to skip the same.
     
    panam likes this.


  3. panam

    panam Member


    Amit sir, i found the field name, also i gave the field skip on :yes for this field but not working.
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Show Code...so we know if it is right or wrong..........
     
    panam likes this.


  5. Manoj Anandan

    Manoj Anandan Member


    try this

    [#Field: VCH POS CashAmount]
    Set as:#VCHPOSInvoiceTotal
    Skip:Yes
     
    panam likes this.


  6. panam

    panam Member


    dear experts, i solved the code with your help and guide.
    its working fine.

    Manoj sir, thanks for helping me . Also Thanks full to Amit sir.

    [#Field:CI POSCashLedger]
    Skip : Yes

    [#Field: CI POSCashAmount]
    Skip : Yes


    [#Field: VCH POS Money Tendered]
    Set as:#VCHPOSInvoiceTotal
    Skip : Yes

    [#Field: VCH POS Balance]
    Skip:Yes
     
    Last edited: Oct 14, 2020


  7. panam

    panam Member


    dear sir, again i need help with the above query.
    In alteration mode , i want to skip the fields like gift vouchers, credit card, cheque.(i want only cash mode)
    also i need to update the cash amount after editing. The amount edited is not updating in VCH POSCashAmount.
     

    Attached Files:



  8. panam

    panam Member


    now again update of the code
    now it is skipping in alteration mode but the amount edited is not updating in VCH POSCashAmount.

    again seeking help from experts......

    [#Field:CI POSCashLedger]
    Skip : Yes

    [#Field: CI POSCashAmount]
    Skip : Yes


    [#Field: VCH POS Money Tendered]
    Set as:#VCHPOSInvoiceTotal
    Skip : Yes

    [#Field: VCH POS Balance]
    Skip:Yes

    Set Always : Yes
    Option : VCH POS SinglePymt :##POSSinglePayment
    Format : "Symbol, No Zero," + ##ShowForex

    [#Field:VCH POSCouponLedger]
    Skip : Yes

    [#Field:VCH POSCardLedger]
    Skip : Yes

    [#Field:VCH POSBankLedger]
    Skip : Yes
     


  9. panam

    panam Member


    FINALLY SOLVED the code.....

    dear experts, please correct if i made mistake. point out any logical mistakes if any....
    without any basic knowledge of tdl, i am learning new things with all your kind support and guidance..

    [#Field:CI POSCashLedger]
    Skip : Yes

    [#Field: CI POSCashAmount]
    Skip : Yes


    [#Field: VCH POS Money Tendered]
    Set as:#VCHPOSInvoiceTotal
    Skip : Yes

    [#Field: VCH POS Balance]
    Skip:Yes

    Set Always : Yes
    Option : VCH POS SinglePymt :##POSSinglePayment
    Format : "Symbol, No Zero," + ##ShowForex

    [#Field:VCH POSCouponLedger]
    Skip : Yes

    [#Field:VCH POSCardLedger]
    Skip : Yes

    [#Field:VCH POSBankLedger]
    Skip : Yes

    [#Field:VCH POSCashLedger]
    Skip : Yes

    [#Field: VCH POSCashAmount]
    Set as:#VCHPOSInvoiceTotal
    Skip : Yes
     


  10. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Mind explaining ..... where is ----- Field:CI POSCashLedger and Field: CI POSCashAmount (mark it in your picture)

    Also .... how is SKIP working in Alteration mode, when you have not yet defined it ???

    To skip in AlterMode ---- Skip : If $$InAlterMode then "Yes" Else "No" ... this is what you should use in those fields.

    And when you are learning.... do not attempt to change default values of Tally, as you have done in Field : VCH POS Money Tendered. First understand the whole thing, before making any changes, or else always work in DUMMY Data.
     


  11. panam

    panam Member


    sir, now it is not showing in that field while i keep mouse on it. earlier it was showing Field:CI POSCashLedger and Field: CI POSCashAmount
    now CI name is not showing in dev mode. it is showing VCH POSCashLedger and VCH POSCashAmount .(SO I CHANGED CI TO VCH NAME)
    i dont know sir but the code is working fine.
     


  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    CI stands for commercial Invoice....earlier you must have gone to Normal Sales Voucher and not POS Invoice. Little things like these, you will come to know, the more you go deep. So always be sharp and observant.

    As per your code, it will skip THOSE fields even in Create mode.......check it out.......
     
    panam likes this.


  13. panam

    panam Member


    sir, my need was to skip pos cash tendered both in creation mode and Alteration mode.
     


  14. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Okay....but earlier post you said you wanted to skip in Alteration. Good.
     
    panam likes this.


  15. panam

    panam Member


    Amit sir, can we use this code in original data.
    still any corrections needed in this code. please tell me .

    [#Field:CI POSCashLedger]
    Skip : Yes

    [#Field: CI POSCashAmount]
    Skip : Yes


    [#Field: VCH POS Money Tendered]
    Set as:#VCHPOSInvoiceTotal
    Skip : Yes

    [#Field: VCH POS Balance]
    Skip:Yes


    [#Field:VCH POSCouponLedger]
    Skip : Yes

    [#Field:VCH POSCardLedger]
    Skip : Yes

    [#Field:VCH POSBankLedger]
    Skip : Yes

    [#Field:VCH POSCashLedger]
    Skip : Yes

    [#Field: VCH POSCashAmount]
    Set as:#VCHPOSInvoiceTotal
    Skip : Yes
     


  16. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Remove all SET AS ...........

    Again what is the purpose of the 2 CI fields?? They are not part of your POS.
     
    panam likes this.


Share This Page