PLz help with this TDL

Discussion in 'Tally Developer' started by Pulkit lila, Sep 6, 2012.

    
  1. Pulkit lila

    Pulkit lila New Member


    This is a TDL to stop us from entring any bill in back date,but this also restricts to make modifications in an entry already made.

    i need it to stop me making an entry in the back date only when a new entry is being passed and not restrict me from making any modifications in a pre-recorded entry

    [#Field : Plain VCH Date]
    Notify :VCHMsgDate: if $$IsDebitnote:$VoucherTypeName or $$IsSales:$VoucherTypeName then $$Value < @@LastvoucherDate else $$value
    [System: Formula]
    VCHMsgDate : "WHAT THE HELL R U DOING!! You cant enter in back date......no way"

    PLZ advise
    Pulkit Lila
     


  2. Pulkit lila

    Pulkit lila New Member


    PLz note it is control not notify

    [#Field : Plain VCH Date]
    Control :VCHMsgDate: if $$IsDebitnote:$VoucherTypeName or $$IsSales:$VoucherTypeName then $$Value < @@LastvoucherDate else $$value
    [System: Formula]
    VCHMsgDate : "WHAT THE HELL R U DOING!! You cant enter in back date......no way"
     


  3. Girdhar

    Girdhar Member


    Try

    [#Field : Plain VCH Date]
    Control :VCHMsgDate: if $$InCreateMode AND $$IsDebitnote:$VoucherTypeName or $$IsSales:$VoucherTypeName then $$Value < @@LastvoucherDate else $$value

    $$InCreateMode function.
     


  4. fannu

    fannu Member


    plz help this tdl sir


    [System: Event]
    AppStartEvent : System Start : TRUE : CALL : XYZDemo
    [Function : XYZDemo]
    00 : MSGBOX : "FUTURE MINDS COMPUTERS" : "CALL FOR TALLY SUPPORT" + $$Newline + + $$Newline ++ $$Newline + "SALES & SERVICE" + $$Newline + $$Newline +"MR.RAVI -9246960843" + $$Newline + + $$Newline + " MR.SIVA-9848789101" : No

    plz telme how to change fonts ?

    MR. RAVI AND MR SIVA FONTS AND NUMBERS
     


Share This Page