help to create option

Discussion in 'Tally Developer' started by rajendra mithari, Jun 1, 2013.

    
?

how to print my midified form on voucher type name condition?

  1. option

    0 vote(s)
    0.0%
  2. option

    0 vote(s)
    0.0%
  3. option

    0 vote(s)
    0.0%

  1. how can i print my midifed form on the condition of voucher type name containing "export"?
    if condition not satisfied then tally default form should be print.
     


  2. admin

    admin Administrator Staff Member


    [#Form: Sales Color]
    Option: My Sales color: ##SVVoucherType Contains "Export"

    [!Form:My Sales color]
    ;; Write the code here
     


  3. Santosh

    Santosh Member


    ;Create UDF field and set in tdl

    [#Part: VTYP Behaviour]

    Add: Line: After: VTYP EachNarr : VTYP MyInvoice

    [Line: VTYP MyInvoice]
    Fields : Medium Prompt, VTYP MyInvoice
    Local : Field : Medium Prompt : Info : $$LocaleString:"Enable Coustomize Invoice Format?"
    Invisible : NOT $$IsSales:$Parent

    [Field: VTYP MyInvoice]
    Use : Logical Field
    Storage : MyInv1

    [System: UDF]
    MyInv1 : Logical : 10005
    .
    ;=========== after enabling modifing the invoice ===========

    [#Form: Comprehensive Invoice]
    Option: MyInvoice : @@IsSales and $MyInv1:VoucherType:##SVVoucherType

    [#form: Simple Printed Invoice]
    option :My invoice: @@IsSales and $MyInv1:VoucherType:##SVVoucherType
    ;;Write continue code
     


Share This Page