How to enable Voucher date as the system date.

Discussion in 'Tally Developer' started by kamal, Jul 1, 2012.

    
  1. kamal

    kamal Member


    Hello Experts
    How to enable Voucher date as the system date.
     
    Dileep patel likes this.



  2. Hi Kamal

    Please try this may it will help u.

    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 ##SkipDateForEntry AND NOT $$IsFieldEdited
            Modifies    : VARVchDate : Yes
            Width      : @@VCHDateWidth
     
    kpstup likes this.


  3. admin

    admin Administrator Staff Member


    Yes.. It should work
     


  4. G Vijay

    G Vijay Member


    Yes it is working...
     


  5. kamal

    kamal Member


    Yes Its working Many Thanks to All
     


  6. gulshan kapoor

    gulshan kapoor New Member


    yes thanks sir
     


  7. Aniket

    Aniket New Member


    Sir this is not working when the date entered is different than the current date. eg: If I want to change the date to a post dated one, it takes current date as voucher date and effective date as the post-dated date. Please help me solve this so that by default it comes machine date but if we change then voucher and effective date comes same and not different.
     



  8. Hi Aniket,

    Please check out this code. only In Create mode it will Take the machine Date and Later If you Want to change for some other day. you Can Do in Alteration Mode.
    I Hope this will solve ur Problem.

    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
     
    Pritam Krishna likes this.


  9. jackson mac

    jackson mac New Member


    Hello Experts
    How to enable Voucher date as the system date Only sales Voucher?

    thanks
     


  10. Nur Mohammed

    Nur Mohammed Member


    [#Field: Plain VCH Date]

    Use : Uni Date Field
    Set as : If ($$InCreateMode AND @@IsSales) 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 AND @@IsSales) Then $$MachineDate Else if @@UseEffectiveDate then ##VARVchEffDate else ##VARVchDate
    Set Always : Yes
    Storage : Effective Date
    Skip : Yes
    Invisible : Yes
    Width : @@VCHDateWidth
     


  11. Nur Mohammed

    Nur Mohammed Member


    Try This

    [#Field: Plain VCH Date]

    Use : Uni Date Field
    Set as : If ($$InCreateMode AND @@IsSales) 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 AND @@IsSales) Then $$MachineDate Else if @@UseEffectiveDate then ##VARVchEffDate else ##VARVchDate
    Set Always : Yes
    Storage : Effective Date
    Skip : Yes
    Invisible : Yes
    Width : @@VCHDateWidth
     


  12. jackson mac

    jackson mac New Member


    Yes Its working

    thank you very much!!
     


  13. kalyan

    kalyan New Member


    i want to work full month dates working in tally erp 9 rel 4.61 educational version plz help me
    i enter vochers it will takes dates 1, 2 day of every month, i want 1-31 or 1-30 of every month
    please help me upload the tdl file
    thank you sir in advanced
     


  14. kalyan

    kalyan New Member


    and also reducing teble list like tally erp 9 rel 4.61 in tally erp 9 1.189 rel working tdl file
     


  15. kalyan

    kalyan New Member


    and also reducing teble list like tally erp 9 rel 4.61 in tally erp 9 1.189 rel working tdl file
     

    Attached Files:



  16. kalyan

    kalyan New Member


    need very urgent plz help me sir
     


  17. Shubham Agrawal

    Shubham Agrawal New Member


    Hii i need the same for sales voucher only and rest of other vouchers date to be manually changed.
     


  18. Shubham Agrawal

    Shubham Agrawal New Member


    Hii i need the same for sales voucher only and rest of other vouchers date to be manually changed.
     


  19. velan

    velan New Member


    Define Multiple Vouchers
    Example : Sales an Purchase

     


  20. velan

    velan New Member


    How to Define Multiple Vouchers
    Example : Sales and Purchase
     


  21. Dileep patel

    Dileep patel New Member


    I want tdl for tally erp 9 release 1.1
    System date as a voucher date
     


Share This Page