Ignore:
Timestamp:
Oct 2, 2010, 8:18:49 PM (14 years ago)
Author:
george
Message:
  • Opraveno: Generování časů vystavení a splatnosti u nových dokladů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sql/updates/295.sql

    r295 r297  
    11UPDATE `FinanceClaimsLiabilities` SET TimeDue = CONCAT(YEAR(TimeCreation), "-", MONTH(TimeCreation), "-16") WHERE (TimeDue = 0) AND (TimeCreation <= CONCAT(YEAR(TimeCreation), "-", MONTH(TimeCreation), "-16"));
    22
    3 UPDATE `FinanceClaimsLiabilities` SET TimeDue = TimeCreation WHERE TimeDue=0;
     3UPDATE `FinanceClaimsLiabilities` SET TimeDue = TimeCreation WHERE TimeDue="0000-00-00 00:00:00";
Note: See TracChangeset for help on using the changeset viewer.