Dear Experts

Discussion in 'Tally Developer' started by NMS, Dec 5, 2013.

    
  1. NMS

    NMS Member


    Dear Experts,
    I got this TDL from TdlExperts .But in this code it is Taking System date as Voucher date
    When we want to change Date for next Day it is not taking ..only Alteration mode it is changing the date..But i want to change the date in create mode also Plz help......
    Code:
     [#Field: Plain VCH Date]
     
            Use        : Uni Date Field
            Set as      : If $$InCreateMode Then $$MachineDate Else ##VARVchDate
            Set Always  : Yes
            Storage    : Date
            Align      : Right                         
            Skip on    : $$InCreateMode AND ##SkipDateForEntry AND NOT $$IsFieldEdited
            Modifies    : VARVchDate : Yes
            Width      : @@VCHDateWidth
         
     
     
        [#Field: Plain VCH EffDate]
     
            Use        : Short Date Field
            Set as      : If $$InCreateMode Then $$MachineDate Else if @@UseEffectiveDate then ##VARVchEffDate else ##VARVchDate
            Set Always  : Yes
            Storage    : Effective Date
            Skip        : Yes
            Invisible  : Yes
            Width      : @@VCHDateWidth
     



  2. Remove Skip condition
     


  3. NMS

    NMS Member


    Dear Aldrin,
    Removed Skip Condition .But not changing date
     



  4. Dear NMS,

    1.In Field Delete Skip
    2.Set as : $$Machinedate
     


  5. NMS

    NMS Member


    Dear sir,
    What you told i had changed but the date not changing to next day .it is taking only machine date..
    My Requirement is when i open Tally it should take system date .. when i want to change the date next day it should change.. plz help
    Code:
    [#Field: Plain VCH Date]
     
            Use        : Uni Date Field
            Set as      : $$MachineDate                          ;If $$InCreateMode Then  $$MachineDate    Else ##VARVchDate
            Set Always  : Yes
            Storage    : Date
            Align      : Right                         
          ; Skip on    : $$InCreateMode  AND  $$IsFieldEdited
          ; Modifies    : VARVchDate : Yes
            Width      : @@VCHDateWidth
           
         
     
     
        [#Field: Plain VCH EffDate]
     
            Use        : Short Date Field
            Set as      : $$MachineDate                              ; If $$InCreateMode Then  $$MachineDate Else if @@UseEffectiveDate then ##VARVchEffDate else ##VARVchDate
            Set Always  : Yes
            Storage    : Effective Date
          ; Skip        : Yes
            ;Invisible  : Yes
           
            Width      : @@VCHDateWidth
     


  6. NMS

    NMS Member


    Dear Aldrin & Experts
    Waiting for Reply...
     


  7. kalyan

    kalyan New Member


    i want quantity total in sales and purchase voucher entry like in uploaded photo in red circle in tally 9 rel 2.13 and 2.14 and tally erp 9 rel 4.7

    Capture.JPG
     


  8. Nirav Merchant

    Nirav Merchant Active Member


    @NMS try this
    ;System Date instead of Last Voucher Date in the Voucher Entry
    [#Report: Voucher]
    Set : VARVchDate : if @@InCopyMode then $Date else $$MachineDate


    [#Report: Accounting Voucher]
    Set : VARVchDate : if @@InCopyMode then $Date else $$MachineDate

    [#Report: Inventory Voucher]
    Set : VARVchDate : if @@InCopyMode then $Date else $$MachineDate
     


  9. NMS

    NMS Member


    Dear Nirav Sir,
    Thanku very much .....
     


Share This Page