Form color of a customized voucher

Discussion in 'Tally Developer' started by torsky, Feb 26, 2023.

    
  1. torsky

    torsky New Member


    Dear friends,

    As we know to call a function on a specific voucher like Sales Order, we will use
    Code:
    [#Form:Sales Order color]
    On:Form Accept:Yes:Call:someFunction
    However, I would like to know what will be the color of a customized voucher type, let's say, Sales Quotation (which is a type of Sales Order voucher created on the Voucher Type Creation screen)

    I have tried the following, but it won't work as it is not a standard TDL definition.
    Code:
    [#Form:Sales Quotation color]
    On:Form Accept:Yes:Call:someFunction
    Thank you for your kind help.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    It will be same as the Original Voucher type...........
     


  3. torsky

    torsky New Member


    Thank you, sir.

    In that case, how may I call some function only when a specific voucher type is accepted at form end?
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Give a title to your customized VchTyp ........... and based on that title.....call the function.
     


Share This Page