From fb081de3ff1a26a415b9371daeb53ddfb2b270af Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 26 Oct 2007 06:07:11 +0000 Subject: [PATCH] [ 1686176 ] Payment allocation issues Integrate fix and improvements from Paul --- .../330-trunk/025_OverUnderAmtMessage.sql | 19 +++++++++++++++++++ .../postgresql/025_OverUnderAmtMessage.sql | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 migration/330-trunk/025_OverUnderAmtMessage.sql create mode 100644 migration/330-trunk/postgresql/025_OverUnderAmtMessage.sql diff --git a/migration/330-trunk/025_OverUnderAmtMessage.sql b/migration/330-trunk/025_OverUnderAmtMessage.sql new file mode 100644 index 0000000000..a6db344da7 --- /dev/null +++ b/migration/330-trunk/025_OverUnderAmtMessage.sql @@ -0,0 +1,19 @@ +INSERT INTO AD_MESSAGE +(AD_Message_ID, AD_Client_ID, AD_Org_ID, IsActive, +Created, CreatedBy, +Updated, UpdatedBy, +VALUE, MsgText, MsgType +) +VALUES (53006, 0, 0, 'Y', +TO_DATE ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100, +TO_DATE ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100, +'OverUnderAmt','Over/Under Payment','I' +); + +UPDATE AD_SEQUENCE +SET CurrentNextSys = (SELECT MAX (AD_Message_ID) + 1 +FROM AD_MESSAGE +WHERE AD_message_ID < 1000000) +WHERE NAME = 'AD_Message'; + +COMMIT; diff --git a/migration/330-trunk/postgresql/025_OverUnderAmtMessage.sql b/migration/330-trunk/postgresql/025_OverUnderAmtMessage.sql new file mode 100644 index 0000000000..764f826e7e --- /dev/null +++ b/migration/330-trunk/postgresql/025_OverUnderAmtMessage.sql @@ -0,0 +1,19 @@ +INSERT INTO AD_MESSAGE +(AD_Message_ID, AD_Client_ID, AD_Org_ID, IsActive, +Created, CreatedBy, +Updated, UpdatedBy, +VALUE, MsgText, MsgType +) +VALUES (53006, 0, 0, 'Y', +TO_TIMESTAMP ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100, +TO_TIMESTAMP ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100, +'OverUnderAmt','Over/Under Payment','I' +); + +UPDATE AD_SEQUENCE +SET CurrentNextSys = (SELECT MAX (AD_Message_ID) + 1 +FROM AD_MESSAGE +WHERE AD_message_ID < 1000000) +WHERE NAME = 'AD_Message'; + +COMMIT;