Form Accept after alteration from a function

Discussion in 'Tally Developer' started by Arun Prasath, Jan 19, 2020.

    
  1. Arun Prasath

    Arun Prasath Member


    Dear All,

    I have done a small function to change the values of the attributes, save and return the screen, using a button I call this function.

    [Button: SetFormAccept]

    Title: "Approve"
    Key : Alt + Z
    Action : Call : Levone VoucherApprove


    [Key: OptionRegular]

    Action : Call : Levone VoucherApprove

    [Function: Levone VoucherApprove ]


    02 : SET TARGET
    03 : SET VALUE : LevOneApprove : "Yes"
    04 : SET VALUE : IsOptional : "No"
    08 : SET TARGET : ..
    09 : ACCEPT ALTER
    10 : Form Accept

    Values get saved, but I need to get out of the voucher screen. It remains the screen. Pls let me know how I could change the function
     


Share This Page