src-db/database/model/triggers/C_BANKACCOUNT_TRG.xml
changeset 1605 8a0fe0193bef
parent 1067 4a05c922c488
child 1929 ad0353d93b0f
--- a/src-db/database/model/triggers/C_BANKACCOUNT_TRG.xml	Wed Sep 03 17:10:52 2008 +0000
+++ b/src-db/database/model/triggers/C_BANKACCOUNT_TRG.xml	Wed Sep 03 17:55:37 2008 +0000
@@ -47,7 +47,7 @@
       INSERT
       INTO C_BankAccount_Acct
         (
-          C_BankAccount_ID, C_AcctSchema_ID, AD_Client_ID,
+          C_BankAccount_Acct_ID, C_BankAccount_ID, C_AcctSchema_ID, AD_Client_ID,
           AD_Org_ID, IsActive, Created,
           CreatedBy, Updated, UpdatedBy,
           B_InTransit_Acct, B_Asset_Acct, B_Expense_Acct,
@@ -57,7 +57,7 @@
         )
         VALUES
         (
-          :new.C_BankAccount_ID, Cur_Defaults.C_AcctSchema_ID, :new.AD_Client_ID,
+          get_uuid(), :new.C_BankAccount_ID, Cur_Defaults.C_AcctSchema_ID, :new.AD_Client_ID,
           :new.AD_ORG_ID,  'Y', now(),
           :new.CreatedBy, now(), :new.UpdatedBy,
           Cur_Defaults.B_InTransit_Acct, Cur_Defaults.B_Asset_Acct, Cur_Defaults.B_Expense_Acct,