Help needed for skipping field

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

    
  1. panam

    panam Member


    dear experts,
    I need to skip voucher rate and voucher amount in sales voucher screen, but the code is not working.
    please find the error .


    [#Field:VCH Rate]
    Skip : Yes

    [#Field:VCHRateunit]
    Skip : Yes

    [#Field:VCH value]
    Skip : Yes
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Depending on your setting for voucher entry and also whether Godown/batch enabled or not.......... there is conditional SKIP definition at the LINE level. Based on that your field level changes will be ignored.
     
    panam likes this.


  3. imranlhr

    imranlhr Member


    Dear Pana,

    Please check this code. its working for you

    [#Field:VCH Rate]
    Skip : $VoucherTypename='Sales'
    [#Field:VCHRateunit]
    Skip : $VoucherTypename='Sales'
    [#Field:VCHvalue]
    Skip : $VoucherTypename='Sales'
    [#Field: VCHBATCHRATE]
    Skip : $VoucherTypename='Sales'
    [#Field: VCHBATCHVALUE]
    Skip : $VoucherTypename='Sales'
     
    panam likes this.


  4. panam

    panam Member


    thanks imranlhr for your reply and guide.
    but still the code is not working.
     


  5. sandip kumar

    sandip kumar New Member


    ;;try this

    [#Field:VCHBatch Rate]
    Skip Forward:Yes
    [#Field:VCH Rate]
    Skip Forward:Yes
     
    sanju1975 and panam like this.


  6. panam

    panam Member


    Thank you Sandip ji. now the code is working fine.
     


  7. panam

    panam Member


    dear experts,
    still having little problem with this code. After skipping the field from rate to amount and enter, enter, i give input cgst but cgst amount not calculating.
    The input cgst is not calculating because of skipping the amount field. so i want to skip the amount field by accepting the [#Field:EIAccAllocAmt] auttomatically .
    i am seeking help from this forum.
    ;; earlier code
    [#Field:VCH Rate]
    Skip Forward:On
    Set Always: Yes

    [#Field:VCHRateunit]
    Skip Forward:On
    Set Always: Yes

    [#Field:VCHvalue]
    Skip Forward:On
    Set Always: Yes


    ;;;; modified code

    [#Field:VCH Rate]
    Skip Forward:On
    Set Always: Yes


    [#Field:VCHRateunit]
    Skip Forward:On
    Set Always: Yes

    [#Field:VCHvalue]
    Set Always: Yes

    [#Field:EI AccAllocName]
    Skip Forward:On
    Set Always: Yes

    [#Field:EIAccAllocAmt]
    Skip:On
    Set Always: Yes
     


  8. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    This is not an Electrical switch.... there is no ........ ON/OFF here..........only Yes/No.

    Also refer to the last above post......... and follow it.........
     
    sanju1975 and panam like this.


  9. panam

    panam Member


    dear sir,
    :):):) ON button was showing in developer. so i just tried it.
     


  10. panam

    panam Member


    dear Amit sir,
    Please give hint/ solution for this code
     


  11. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    There is.........
    Skip : Yes/No
    Skip On : <Condition>
    Skip Forward : Yes/No

    There is no ON/OFF ........ as it is a logical response field.
     
    panam likes this.


  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    I have already guided you ......up above........ you need to find the parent line/Part/Form .... somewhere it would have been defined .......... Local : Field: [fieldname] : Skip : No or something like that.
     
    panam likes this.


Share This Page