Set System Date as Current Date while login the Company

Discussion in 'Free Source Codes' started by MANU JOSE C.A, Sep 18, 2013.

    
  1. MANU JOSE C.A

    MANU JOSE C.A New Member


    ;; All Dear Members

    ;; Auto System Date Settings While Login
    ;; -------------------------------------
    [System: Formula]
    IsValidDate : $$MachineDate >= ##SVFromDate AND $$MachineDate <= ##SVToDate
    [#Form : CMP Select Action Form]
    On : Form Accept : @@IsValidDate : Execute : ActivateCurrentDate
    [Report: ActivateCurrentDate]
    Use : Modify Variables
    Local : Part : Modify Variables : Lines : ActiveSV Current Date
    Local : Field: MV Title : Info : $$LocaleString:"Enter Working Date"
    Local : Field: MV Title : Color : Red
    Local : Form : Modify Variables : Space Top : 1
    Local : Form : Modify Variables : Space Bottom : 1
    Local : Form : Modify Variables : Space Left : 6
    Local : Form : Modify Variables : Space Right : 6

    [Line : ActiveSVCurrentDate]
    Field : Active Current Date
    [Field: ActiveCurrentDate]
    Fields : ActiveCurDate, SVEffDate
    [Field: ActiveCurDate]
    Use : Short Date Field
    Modifies : SVCurrentDate
    Variable : SVCurrentDate
    Validate : $$Value >= ##SVFromDate AND $$Value <= ##SVToDate
    Set as : $$MachineDate
    Width : 10
    Align : Center
    ;; Over............... Thank You
    ;; Manu Jose
     


  2. dkp_jal

    dkp_jal Member


    Not Work in ERP 9 v 1.1.
    Getting Error.
     



  3. very usefull tool. great job
     


  4. Basha

    Basha Member


    Tally ERP 9 V 1.1

    [#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
     
    sumesh kala likes this.


  5. KHADER

    KHADER New Member


    very gud add on sir
     


  6. dkp_jal

    dkp_jal Member


    Some bug on this code.
    Working with Tally.erp 9 v 1.1
    but when i make voucher (Like payment, receipt, sale or purchase) if i change the date than it did not change the date it saw system date and save the voucher on system date.
    Plz check the error.
     


  7. Maya

    Maya New Member


    JUST POST VOUCHER AND GO TO LEDGER AND EDIT THE DATE
     


  8. Nagheragh

    Nagheragh New Member


    PLS Sir
    Sales
    Milk *Fat*Liter=Amounts
    Milk 5.5 Fat (Par Fat 2.5*5.5=13.75) *Liter = Amounts

    (1) Item (2) Fat (3) Liter (4) Amounts
     


  9. Nagheragh

    Nagheragh New Member


    PLS Sir
    Sales
    Milk *Fat*Liter=Amounts
    Milk 5.5 Fat (Par Fat 2.5*5.5=13.75) *Liter = Amounts
    Voucher Entry Purchase Voucher
    (1) Item (2) Fat (3) Liter (4) Rate (5) Amounts
    (1) Milk (2) 10.00 (3) 10.000 (4) 5.10 (5) 510
    Fat * Rate 10.00 * 5.10 = 51
    par Liter Rate 51
    Liter * rate = amiunts
    10*51=510
    Pls Halp

     


  10. vyadav

    vyadav Member


    this code work in educational mode IF YES

    Then code is not working because voucher date field not forward

    please check the code
     


  11. MANU JOSE C.A

    MANU JOSE C.A New Member


    [System: Formula]
    IsValidDate : $$MachineDate >= ##SVFromDate AND $$MachineDate <= ##SVToDate
     


  12. MANU JOSE C.A

    MANU JOSE C.A New Member


    [System: Formula]
    IsValidDate : ($$MachineDate >= ##SVFromDate) AND ($$MachineDate <= ##SVToDate) AND (NOT $$IsInEducationMode)
     
    sekharchana likes this.


  13. sumesh kala

    sumesh kala New Member


    Hi i am using tally erp 9 and when i used this program nothing is happening. I am new to tdl so please help me out. is there any line to be added before or after this program you have given?
     


  14. sumesh kala

    sumesh kala New Member


    Thanks for this code. solved our problem. now during voucher creation date will be system date.
     


Share This Page