REVERTING REVISION of [ FR 2432892 ] Re-org of migration directory

This commit is contained in:
Redhuan D. Oon 2008-12-17 15:48:17 +00:00
parent 9ac73749e4
commit 77a86ae34e
225 changed files with 52468 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- Jul 31, 2008 12:23:46 PM COT
-- [ 2034138 ] HR_Employee.ImageURL wrongly defined
UPDATE AD_Column SET AD_Reference_ID=40, FieldLength=120,Updated=TO_DATE('2008-07-31 12:23:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54750
;
ALTER TABLE HR_Employee DROP COLUMN ImageURL
;
ALTER TABLE HR_Employee ADD (ImageURL NVARCHAR2(120) DEFAULT NULL)
;

View File

@ -0,0 +1,26 @@
-- Jul 31, 2008 9:16:30 PM COT
-- [ 2031818 ] AD_Element.ColumnName length should be 30
UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:16:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11819
;
ALTER TABLE A_RegistrationAttribute MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL
;
UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:16:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4017
;
ALTER TABLE AD_Process_Para MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL
;
UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:17:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2602
;
ALTER TABLE AD_Element MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL
;
UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:17:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=116
;
ALTER TABLE AD_Column MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL
;

View File

@ -0,0 +1,31 @@
-- BF2033473 RV_PP_Product_BOMLine
-- fix missing columns, add Order By and TM_Product print name
DROP VIEW rv_pp_product_bomline;
CREATE OR REPLACE VIEW rv_pp_product_bomline
AS
SELECT t.seqno, t.levelno, t.levels, t.ad_client_id,
t.ad_org_id, t.createdby, t.updatedby, t.updated,
t.created, t.ad_pinstance_id, t.implosion, t.sel_product_id as m_product_id,
bl.isactive, bl.pp_product_bom_id, bl.pp_product_bomline_id, bl.description,
bl.iscritical, bl.componenttype, t.m_product_id as tm_product_id, bl.c_uom_id,
bl.issuemethod, bl.line, bl.m_attributesetinstance_id, bl.scrap,
bl.validfrom, bl.validto, bl.qtybom, bl.qtybatch, bl.isqtypercentage
FROM t_bomline t LEFT OUTER JOIN pp_product_bomline bl
ON t.pp_product_bomline_id = bl.pp_product_bomline_id
;
-- Aug 1, 2008 2:55:39 PM EST
-- Default comment for updating dictionary
UPDATE AD_Element SET PrintName='Product',Updated=TO_DATE('2008-08-01 14:55:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53465
;
-- Aug 1, 2008 2:55:39 PM EST
-- Default comment for updating dictionary
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53465
;
-- Aug 1, 2008 2:55:39 PM EST
-- Default comment for updating dictionary
UPDATE AD_PrintFormatItem pi SET PrintName='Product', Name='TM_Product_ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53465)
;

View File

@ -0,0 +1,336 @@
-- Aug 1, 2008 2:16:27 PM COT
-- 2035176 - Immediate Bank Transfer
INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('3',0,0,53152,'org.adempiere.process.ImmediateBankTransfer',TO_DATE('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','Immediate Bank Transfer','Y',0,0,TO_DATE('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'ImmediateBankTransfer')
;
-- Aug 1, 2008 2:16:27 PM COT
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53152 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;
-- Aug 1, 2008 2:16:27 PM COT
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,0,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:16:27 PM COT
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,102,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:16:27 PM COT
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,103,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:16:27 PM COT
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50002,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:16:27 PM COT
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50001,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:20:59 PM COT
INSERT INTO AD_Menu (Action,AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('P',0,53187,0,53152,TO_DATE('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','Bank Transfer',TO_DATE('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:21:00 PM COT
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53187 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;
-- Aug 1, 2008 2:21:00 PM COT
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53187, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53187)
;
-- Aug 1, 2008 2:23:09 PM COT
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53283,TO_DATE('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','C_BankAccount',TO_DATE('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'T')
;
-- Aug 1, 2008 2:23:09 PM COT
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53283 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Aug 1, 2008 2:23:49 PM COT
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,3074,3077,0,53283,297,TO_DATE('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:24:43 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53232,18,53283,'From_C_BankAccount_ID',TO_DATE('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account From',10,TO_DATE('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:24:44 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53232 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:24:59 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53233,18,53283,'To_C_BankAccount_ID',TO_DATE('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account To',20,TO_DATE('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:24:59 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53233 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:26:21 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53234,19,'C_CashBook_ID',TO_DATE('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book for recording petty cash transactions','D',0,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','Y','Y','N','Intermediate Cash Book',30,TO_DATE('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:26:21 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53234 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:27:29 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1367,0,53152,53235,12,'Amount',TO_DATE('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100,'U',0,'Y','Y','Y','N','Amount in a defined currency',40,TO_DATE('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:27:29 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53235 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:27:32 PM COT
UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2008-08-01 14:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
;
-- Aug 1, 2008 2:28:55 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,469,0,53152,53236,10,'Name',TO_DATE('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100,'D',60,'Y','Y','Y','N','Name',50,TO_DATE('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:28:55 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53236 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:29:14 PM COT
UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_DATE('2008-08-01 14:29:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
;
-- Aug 1, 2008 2:29:18 PM COT
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-08-01 14:29:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234
;
-- Aug 1, 2008 2:29:58 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53152,53237,10,'Description',TO_DATE('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100,'D',255,'Y','Y','N','N','Description',60,TO_DATE('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:29:58 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53237 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:30:26 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53152,53238,15,'StatementDate',TO_DATE('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','U',7,'Y','Y','Y','N','StatementDate',70,TO_DATE('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:30:26 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53238 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:30:53 PM COT
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53152,53239,15,'DateAcct',TO_DATE('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','D',0,'Y','Y','N','N','DateAcct',80,TO_DATE('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Aug 1, 2008 2:30:53 PM COT
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53239 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 1, 2008 2:31:01 PM COT
UPDATE AD_Process_Para SET Description='Accounting Date', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.',Updated=TO_DATE('2008-08-01 14:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239
;
-- Aug 1, 2008 2:31:01 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53239
;
-- Aug 1, 2008 2:31:15 PM COT
UPDATE AD_Process_Para SET Description='Date of the statement', EntityType='D', Help='The Statement Date field defines the date of the statement.',Updated=TO_DATE('2008-08-01 14:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238
;
-- Aug 1, 2008 2:31:15 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53238
;
-- Aug 1, 2008 2:31:18 PM COT
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-08-01 14:31:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239
;
-- Aug 1, 2008 2:31:37 PM COT
UPDATE AD_Process_Para SET Description='Optional short description of the record', Help='A description is limited to 255 characters.',Updated=TO_DATE('2008-08-01 14:31:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237
;
-- Aug 1, 2008 2:31:37 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53237
;
-- Aug 1, 2008 2:31:53 PM COT
UPDATE AD_Process_Para SET Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',Updated=TO_DATE('2008-08-01 14:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236
;
-- Aug 1, 2008 2:31:53 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53236
;
-- Aug 1, 2008 2:32:24 PM COT
UPDATE AD_Process_Para SET AD_Element_ID=NULL, Description='Amount to be transferred', Name='Transfer Amount',Updated=TO_DATE('2008-08-01 14:32:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
;
-- Aug 1, 2008 2:32:24 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53235
;
-- Aug 1, 2008 2:32:39 PM COT
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-08-01 14:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
;
-- Aug 1, 2008 2:32:43 PM COT
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-01 14:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234
;
-- Aug 1, 2008 2:33:22 PM COT
UPDATE AD_Process_Trl SET IsTranslated='Y',Name='Transferencia Bancaria Inmediata',Updated=TO_DATE('2008-08-01 14:33:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53152 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:33:34 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Desde',Updated=TO_DATE('2008-08-01 14:33:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53232 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:33:41 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Hacia',Updated=TO_DATE('2008-08-01 14:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53233 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:33:50 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cantidad a transferir',Updated=TO_DATE('2008-08-01 14:33:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:34:03 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Caja menor intermedia',Updated=TO_DATE('2008-08-01 14:34:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:34:11 PM COT
UPDATE AD_Process_Para_Trl SET Description=NULL,Help=NULL,Updated=TO_DATE('2008-08-01 14:34:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:34:18 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Nombre',Updated=TO_DATE('2008-08-01 14:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:34:24 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Descripción',Updated=TO_DATE('2008-08-01 14:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:34:31 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha Transferencia',Updated=TO_DATE('2008-08-01 14:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238 AND AD_Language LIKE 'es_%'
;
-- Aug 1, 2008 2:34:40 PM COT
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha contable',Updated=TO_DATE('2008-08-01 14:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 AND AD_Language LIKE 'es_%'
;
-- 2035176 - Immediate Bank Transfer
-- MOVE MENU
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
;
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244
;
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187
;

View File

@ -0,0 +1,98 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Jul 30, 2008 5:03:19 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56299,1663,0,14,285,'ReadOnlyLogic',TO_DATE('2008-07-30 17:03:16','YYYY-MM-DD HH24:MI:SS'),100,'Logic to determine if field is read only (applies only when field is read-write)','D',2000,'format := {expression} [{logic} {expression}]<br>
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
logic := {|}|{&}<br>
context := any global or window context <br>
value := strings or numbers<br>
logic operators := AND or OR with the previous result from left to right <br>
operand := eq{=}, gt{&gt;}, le{&lt;}, not{~^!} <br>
Examples: <br>
'||'@AD_Table_ID@=14 | @Language@!GERGER <br>
'||'@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
'||'@Name@>J<br>
Strings may be in single quotes (optional)','Y','N','N','N','N','N','N','N','N','N','Y','Read Only Logic',0,TO_DATE('2008-07-30 17:03:16','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Jul 30, 2008 5:03:19 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56299 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 30, 2008 5:03:26 PM COT
-- [ 1795398 ] Process Parameter: add display logic
ALTER TABLE AD_Process_Para ADD ReadOnlyLogic NVARCHAR2(2000)
;
-- Jul 30, 2008 5:08:57 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56299,56333,0,246,TO_DATE('2008-07-30 17:08:55','YYYY-MM-DD HH24:MI:SS'),100,'Logic to determine if field is read only (applies only when field is read-write)',60,'D','format := {expression} [{logic} {expression}]<br>
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
logic := {|}|{&}<br>
context := any global or window context <br>
value := strings or numbers<br>
logic operators := AND or OR with the previous result from left to right <br>
operand := eq{=}, gt{&gt;}, le{&lt;}, not{~^!} <br>
Examples: <br>
'||'@AD_Table_ID@=14 | @Language@!GERGER <br>
'||'@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
'||'@Name@>J<br>
Strings may be in single quotes (optional)','Y','Y','Y','N','N','N','N','N','Read Only Logic',250,0,TO_DATE('2008-07-30 17:08:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Jul 30, 2008 5:08:57 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56333 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Jul 30, 2008 6:11:14 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56300,283,0,14,285,'DisplayLogic',TO_DATE('2008-07-30 18:11:09','YYYY-MM-DD HH24:MI:SS'),100,'If the Field is displayed, the result determines if the field is actually displayed','D',2000,'format := {expression} [{logic} {expression}]<br>
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
logic := {|}|{&}<br>
context := any global or window context <br>
value := strings or numbers<br>
logic operators := AND or OR with the previous result from left to right <br>
operand := eq{=}, gt{&gt;}, le{&lt;}, not{~^!} <br>
Examples: <br>
'||'@AD_Table_ID@=14 | @Language@!GERGER <br>
'||'@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
'||'@Name@>J<br>
Strings may be in single quotes (optional)
','Y','N','N','N','N','N','N','N','N','N','Y','Display Logic',0,TO_DATE('2008-07-30 18:11:09','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Jul 30, 2008 6:11:16 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56300 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Jul 30, 2008 6:11:19 PM COT
-- [ 1795398 ] Process Parameter: add display logic
ALTER TABLE AD_Process_Para ADD DisplayLogic NVARCHAR2(2000)
;
-- Jul 30, 2008 6:19:21 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56300,56334,0,246,TO_DATE('2008-07-30 18:19:20','YYYY-MM-DD HH24:MI:SS'),100,'If the Field is displayed, the result determines if the field is actually displayed',60,null,'D','format := {expression} [{logic} {expression}]<br>
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
logic := {|}|{&}<br>
context := any global or window context <br>
value := strings or numbers<br>
logic operators := AND or OR with the previous result from left to right <br>
operand := eq{=}, gt{&gt;}, le{&lt;}, not{~^!} <br>
Examples: <br>
'||'@AD_Table_ID@=14 | @Language@!GERGER <br>
'||'@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
'||'@Name@>J<br>
Strings may be in single quotes (optional)
','Y','Y','Y','N','N','N','N','N','Display Logic',260,0,TO_DATE('2008-07-30 18:19:20','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Jul 30, 2008 6:19:22 PM COT
-- [ 1795398 ] Process Parameter: add display logic
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56334 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

View File

@ -0,0 +1,65 @@
-- Aug 4, 2008 3:37:34 PM CDT
-- DRP Functionality
INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53012,0,'3','org.eevolution.form.VOrderDistributionReceipt',TO_DATE('2008-08-04 15:37:25','YYYY-MM-DD HH24:MI:SS'),0,'Material Receipt Distribution Order','EE01','Y','N','Material Receipt Distribution Order',TO_DATE('2008-08-04 15:37:25','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 4, 2008 3:37:34 PM CDT
-- DRP Functionality
INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53012 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;
-- Aug 4, 2008 3:37:34 PM CDT
-- DRP Functionality
INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53012,0,0,TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 4, 2008 3:37:35 PM CDT
-- DRP Functionality
INSERT INTO AD_Menu (AD_Client_ID,AD_Form_ID,AD_Menu_ID,AD_Org_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53012,53188,0,'X',TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0,'Material Receipt Distribution Order','EE01','Y','N','N','N','Material Receipt Distribution Order',TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 4, 2008 3:37:35 PM CDT
-- DRP Functionality
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53188 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;
-- Aug 4, 2008 3:37:35 PM CDT
-- DRP Functionality
Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53066,12, 10, 53188)
;
--DROP VIEW M_Movement_Candidate_v;
CREATE OR REPLACE VIEW M_Movement_Candidate_v AS
SELECT
o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.DD_Order_ID,
o.DocumentNo, o.DateOrdered, o.C_DocType_ID,
o.POReference, o.Description, o.SalesRep_ID,
l.M_Locator_ID, l.M_LocatorTo_ID
--l.ConfirmedQty
--SUM((l.QtyOrdered-l.QtyDelivered)*l.PriceActual) AS TotalLines
FROM DD_Order o
INNER JOIN DD_OrderLine l ON (o.DD_Order_ID=l.DD_Order_ID)
--INNER JOIN M_Locator loc ON (loc.M_Locator_ID=l.M_Locator_ID)
WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE
-- not Offers and open Walkin-Receipts
AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType
WHERE DocBaseType='DOO')
-- Delivery Rule - not manual
AND o.DeliveryRule<>'M'
AND (l.M_Product_ID IS NULL OR EXISTS
(SELECT * FROM M_Product p
WHERE l.M_Product_ID=p.M_Product_ID AND p.IsExcludeAutoDelivery='N'))
-- we need to ship
AND l.QtyOrdered <> l.QtyDelivered AND ConfirmedQty > 0
AND o.IsDropShip='N'
AND (l.M_Product_ID IS NOT NULL OR l.C_Charge_ID IS NOT NULL)
-- Not confirmed shipment
AND NOT EXISTS (SELECT * FROM M_MovementLine iol
INNER JOIN M_Movement io ON (iol.M_Movement_ID=io.M_Movement_ID)
WHERE iol.DD_OrderLine_ID=l.DD_OrderLine_ID AND io.DocStatus IN ('IP','WC'))
--
GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.DD_Order_ID,
o.DocumentNo, o.DateOrdered, o.C_DocType_ID,
o.POReference, o.Description, o.SalesRep_ID, l.M_Locator_ID, l.M_LocatorTo_ID;

View File

@ -0,0 +1,40 @@
-- Aug 4, 2008 5:26:52 PM CDT
-- DRP Functionality
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-04 17:26:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53869
;
-- Aug 4, 2008 5:27:00 PM CDT
-- DRP Functionality
ALTER TABLE DD_Order MODIFY C_BPartner_ID NUMBER(10) DEFAULT NULL
;
-- Aug 4, 2008 5:27:00 PM CDT
-- DRP Functionality
ALTER TABLE DD_Order MODIFY C_BPartner_ID NOT NULL
;
-- Aug 4, 2008 5:27:25 PM CDT
-- DRP Functionality
ALTER TABLE PP_Order_Node MODIFY EntityType VARCHAR2(40) DEFAULT 'U'
;
-- Aug 4, 2008 5:27:27 PM CDT
-- DRP Functionality
UPDATE PP_Order_Node SET EntityType='U' WHERE EntityType IS NULL
;
-- Aug 4, 2008 5:27:46 PM CDT
-- DRP Functionality
ALTER TABLE PP_Order_NodeNext MODIFY EntityType VARCHAR2(40) DEFAULT 'U'
;
-- Aug 4, 2008 5:27:47 PM CDT
-- DRP Functionality
UPDATE PP_Order_NodeNext SET EntityType='U' WHERE EntityType IS NULL
;
-- Aug 4, 2008 5:29:27 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-08-04 17:29:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53043
;

View File

@ -0,0 +1,50 @@
SET SQLBLANKLINES ON
-- Aug 4, 2008 7:48:17 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET IsMandatory='Y', IsRange='Y',Updated=TO_DATE('2008-08-04 19:48:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53218
;
-- Aug 4, 2008 7:48:21 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_DATE('2008-08-04 19:48:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221
;
-- Aug 4, 2008 7:50:08 PM CDT
-- DRP Functionality
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2182,0,53150,53240,20,'ConsolidateDocument',TO_DATE('2008-08-04 19:49:59','YYYY-MM-DD HH24:MI:SS'),0,'Consolidate Lines into one Document','EE01',1,'Y','Y','N','N','Consolidate to one Document',60,TO_DATE('2008-08-04 19:49:59','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 4, 2008 7:50:08 PM CDT
-- DRP Functionality
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53240 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 4, 2008 7:51:49 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET IsActive='N',Updated=TO_DATE('2008-08-04 19:51:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219
;
-- Aug 4, 2008 8:09:12 PM CDT
-- DRP Functionality
UPDATE AD_Process SET Description='Create Distribution Run Orders based on Distribution List or The Quantity Demand the Distribution Order and redistribute the quantity into Distribution Plan line items', Help='Distribution List do not selected then the redistribute the quantity is based in % of Demand
Please note that due to rounding, the total quantity of the order(s) is likely to be higher then the quantity entered.
Consolidate to one Document let the distribution in current Documents with ranges dates promised, if do not is selected then a new Order is generate.',Updated=TO_DATE('2008-08-04 20:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53150
;
-- Aug 4, 2008 8:09:12 PM CDT
-- DRP Functionality
UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53150
;
-- Aug 4, 2008 8:09:12 PM CDT
-- DRP Functionality
UPDATE AD_Menu SET Description='Create Distribution Run Orders based on Distribution List or The Quantity Demand the Distribution Order and redistribute the quantity into Distribution Plan line items', IsActive='Y', Name='Distribution Run Orders',Updated=TO_DATE('2008-08-04 20:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53184
;
-- Aug 4, 2008 8:09:12 PM CDT
-- DRP Functionality
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53184
;

View File

@ -0,0 +1,10 @@
-- Aug 5, 2008 10:34:58 AM CDT
-- Manufaturing
UPDATE AD_Ref_List SET Name='Fixed Order Quantity', Value='FOQ',Updated=TO_DATE('2008-08-05 10:34:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53272
;
-- Aug 5, 2008 10:34:58 AM CDT
-- Manufaturing
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53272
;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,70 @@
SET SQLBLANKLINES ON
-- Aug 5, 2008 9:09:09 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-08-05 21:09:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53220
;
-- Aug 5, 2008 9:09:14 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-05 21:09:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53240
;
-- Aug 5, 2008 9:12:37 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET AD_Element_ID=53470, ColumnName='IsRequiredDRP', Description='Based in DRP Demand', IsActive='Y', IsCentrallyMaintained='N', Name='Based in DRP Demand',Updated=TO_DATE('2008-08-05 21:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219
;
-- Aug 5, 2008 9:12:37 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53219
;
-- Aug 5, 2008 9:12:54 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET IsCentrallyMaintained='Y',Updated=TO_DATE('2008-08-05 21:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221
;
-- Aug 5, 2008 9:13:03 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET Help=NULL,Updated=TO_DATE('2008-08-05 21:13:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219
;
-- Aug 5, 2008 9:13:03 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53219
;
-- Aug 5, 2008 9:23:05 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-05 21:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219
;
-- Aug 5, 2008 9:23:17 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-08-05 21:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219
;
-- Aug 5, 2008 9:23:24 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-08-05 21:23:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221
;
-- Aug 5, 2008 9:24:13 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET AD_Val_Rule_ID=189,Updated=TO_DATE('2008-08-05 21:24:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53222
;
-- Aug 5, 2008 9:25:30 PM CDT
-- DRP Functionality
UPDATE AD_Process SET Help='Based in DRP Demand is selected then the redistribute the quantity is based in % of Demand
Please note that due to rounding, the total quantity of the order(s) is likely to be higher then the quantity entered.
Consolidate to one Document let the distribution in current Documents with ranges dates promised, if do not is selected then a new Order is generate.',Updated=TO_DATE('2008-08-05 21:25:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53150
;
-- Aug 5, 2008 9:25:30 PM CDT
-- DRP Functionality
UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53150
;

View File

@ -0,0 +1,20 @@
-- Aug 5, 2008 10:14:58 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET IsRange='Y',Updated=TO_DATE('2008-08-05 22:14:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=484
;
-- Aug 5, 2008 10:16:37 PM CDT
-- DRP Functionality
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2182,0,271,53241,20,'ConsolidateDocument',TO_DATE('2008-08-05 22:16:27','YYYY-MM-DD HH24:MI:SS'),0,'Consolidate Lines into one Document','EE01',1,'Y','Y','N','N','Consolidate to one Document',30,TO_DATE('2008-08-05 22:16:27','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 5, 2008 10:16:37 PM CDT
-- DRP Functionality
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53241 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 5, 2008 10:16:49 PM CDT
-- DRP Functionality
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-05 22:16:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=486
;

View File

@ -0,0 +1,45 @@
create or replace FUNCTION documentNo
(
p_PP_MRP_ID IN PP_MRP.PP_MRP_ID%TYPE
)
RETURN PP_MRP.Value%TYPE
/************************************************************************
* Function documentNofunc - PL/SQL equivalent to pljava SQLJ function
* Author: Tony Snook (tspc)
* Author: Teo Sarca, SC ARHIPAC SERVICE SRL
************************************************************************/
AS
v_DocumentNo PP_MRP.Value%TYPE := '';
CURSOR cur_mrp IS
SELECT ordertype, m_forecast_id, c_order_id, dd_order_id, pp_order_id, m_requisition_id
FROM pp_mrp
WHERE pp_mrp_id = p_pp_mrp_id;
BEGIN
-- If NO id return empty string
IF p_PP_MRP_ID <= 0 THEN
RETURN '';
END IF;
FOR cur IN cur_mrp LOOP
CASE
WHEN cur.ordertype = 'FTC' THEN
SELECT f.Name INTO v_DocumentNo FROM M_Forecast f WHERE f.M_Forecast_ID=cur.M_Forecast_ID;
WHEN cur.ordertype = 'POO' THEN
SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=cur.C_Order_ID;
WHEN cur.ordertype = 'DOO' THEN
SELECT do.DocumentNo INTO v_DocumentNo FROM DD_Order DO WHERE do.DD_Order_ID=cur.DD_Order_ID;
WHEN cur.ordertype = 'SOO' THEN
SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=cur.C_Order_ID;
WHEN cur.ordertype = 'MOP' THEN
SELECT po.DocumentNo INTO v_DocumentNo FROM PP_Order po WHERE po.PP_Order_ID=cur.PP_Order_ID;
WHEN cur.ordertype = 'POR' THEN
SELECT r.DocumentNo INTO v_DocumentNo FROM M_Requisition r WHERE r.M_Requisition_ID=cur.M_Requisition_ID;
ELSE
v_documentno := '';
END CASE;
END LOOP;
RETURN v_DocumentNo;
END documentNo;
/

View File

@ -0,0 +1,4 @@
UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_DATE('2008-06-28 22:10:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13468
;

View File

@ -0,0 +1,229 @@
-- Aug 7, 2008 9:55:42 PM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56301,1639,0,19,523,'AD_Image_ID',TO_DATE('2008-08-07 21:55:41','YYYY-MM-DD HH24:MI:SS'),0,'Image or Icon','D',22,'Images and Icon can be used to display supported graphic formats (gif, jpg, png).
You can either load the image (in the database) or point to a graphic via a URI (i.e. it can point to a resource, http address)','Y','N','N','N','N','N','N','N','N','N','N','N','Y','Image',0,TO_DATE('2008-08-07 21:55:41','YYYY-MM-DD HH24:MI:SS'),0,0)
;
-- Aug 7, 2008 9:55:42 PM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56301 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Aug 7, 2008 10:05:02 PM CDT
-- Water Mark for Document Printed
ALTER TABLE AD_PrintTableFormat ADD AD_Image_ID NUMBER(10)
;
-- Aug 7, 2008 10:05:41 PM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56301,56335,0,435,TO_DATE('2008-08-07 22:05:40','YYYY-MM-DD HH24:MI:SS'),0,'Image or Icon',22,'D','Images and Icon can be used to display supported graphic formats (gif, jpg, png).
You can either load the image (in the database) or point to a graphic via a URI (i.e. it can point to a resource, http address)','Y','Y','Y','N','N','N','N','N','Image',TO_DATE('2008-08-07 22:05:40','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 7, 2008 10:05:41 PM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56335 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8299
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8303
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8302
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8298
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8304
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8301
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=5794
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=5796
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=5798
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=5803
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=5786
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=5790
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=8305
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=5791
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=5800
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=5792
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=8948
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5787
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=8947
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=8946
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=5802
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=5788
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=5789
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=5799
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=8949
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=8950
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=5801
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=5797
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=5795
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=5793
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8306
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8300
;
-- Aug 7, 2008 10:05:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56335
;
-- Aug 7, 2008 10:06:41 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET DisplayLogic='@ImageIsAttached@=''N''',Updated=TO_DATE('2008-08-07 22:06:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8300
;
-- Aug 7, 2008 10:06:45 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-08-07 22:06:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8300
;
-- Aug 7, 2008 9:47:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8306
;
-- Aug 7, 2008 9:47:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8300
;
-- Aug 7, 2008 9:47:57 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56335
;
-- Aug 7, 2008 9:52:03 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field SET Description='Image Water Mark', Help='This Image is show when a document is printed for second time',Updated=TO_DATE('2008-08-07 21:52:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56335
;
-- Aug 7, 2008 9:52:03 PM CDT
-- Water Mark for Document Printed
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56335
;

View File

@ -0,0 +1,45 @@
-- 11.08.2008 14:20:51 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53579
;
-- 11.08.2008 14:20:56 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53578
;
-- 11.08.2008 14:21:01 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53580
;
-- 11.08.2008 14:21:09 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53581
;
-- 11.08.2008 14:21:15 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53582
;
-- 11.08.2008 14:21:20 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53583
;
-- 11.08.2008 14:21:24 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53584
;
-- 11.08.2008 14:21:29 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53585
;
-- 11.08.2008 14:21:35 EEST
-- -
UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53586
;

View File

@ -0,0 +1,25 @@
-- 12.08.2008 18:05:13 EEST
-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows
INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53013,0,'6','org.eevolution.form.WFPanelManufacturing',TO_DATE('2008-08-12 18:05:12','YYYY-MM-DD HH24:MI:SS'),0,'Edit Manufacturing Workflows','D','Edit the graphical layout of manufacturing workflows','Y','N','Manufacturing Workflow Editor',TO_DATE('2008-08-12 18:05:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 12.08.2008 18:05:13 EEST
-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows
INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53013 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;
-- 12.08.2008 18:05:13 EEST
-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows
INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53013,0,0,TO_DATE('2008-08-12 18:05:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-08-12 18:05:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 12.08.2008 18:07:33 EEST
-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows
UPDATE AD_Menu SET AD_Form_ID=53013, Description='Edit Manufacturing Workflows', Name='Manufacturing Workflow Editor',Updated=TO_DATE('2008-08-12 18:07:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53128
;
-- 12.08.2008 18:07:33 EEST
-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53128
;

View File

@ -0,0 +1,260 @@
-- 13.08.2008 15:37:55 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:37:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50198
;
-- 13.08.2008 15:37:58 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Account CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:37:58 EEST
--
UPDATE AD_Role SET Allow_Info_Account='N' WHERE Allow_Info_Account IS NULL
;
-- 13.08.2008 15:37:58 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Account NOT NULL
;
-- 13.08.2008 15:38:17 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50199
;
-- 13.08.2008 15:38:19 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Asset CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:38:19 EEST
--
UPDATE AD_Role SET Allow_Info_Asset='N' WHERE Allow_Info_Asset IS NULL
;
-- 13.08.2008 15:38:19 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Asset NOT NULL
;
-- 13.08.2008 15:38:23 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50200
;
-- 13.08.2008 15:38:25 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_BPartner CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:38:25 EEST
--
UPDATE AD_Role SET Allow_Info_BPartner='N' WHERE Allow_Info_BPartner IS NULL
;
-- 13.08.2008 15:38:25 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_BPartner NOT NULL
;
-- 13.08.2008 15:38:28 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50201
;
-- 13.08.2008 15:38:30 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_CashJournal CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:38:30 EEST
--
UPDATE AD_Role SET Allow_Info_CashJournal='N' WHERE Allow_Info_CashJournal IS NULL
;
-- 13.08.2008 15:38:30 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_CashJournal NOT NULL
;
-- 13.08.2008 15:38:38 EEST
--
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55333
;
-- 13.08.2008 15:38:40 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_CRP CHAR(1) DEFAULT 'Y'
;
-- 13.08.2008 15:38:40 EEST
--
UPDATE AD_Role SET Allow_Info_CRP='Y' WHERE Allow_Info_CRP IS NULL
;
-- 13.08.2008 15:38:40 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_CRP NOT NULL
;
-- 13.08.2008 15:38:47 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50202
;
-- 13.08.2008 15:38:48 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_InOut CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:38:48 EEST
--
UPDATE AD_Role SET Allow_Info_InOut='N' WHERE Allow_Info_InOut IS NULL
;
-- 13.08.2008 15:38:48 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_InOut NOT NULL
;
-- 13.08.2008 15:38:54 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50203
;
-- 13.08.2008 15:38:56 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Invoice CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:38:56 EEST
--
UPDATE AD_Role SET Allow_Info_Invoice='N' WHERE Allow_Info_Invoice IS NULL
;
-- 13.08.2008 15:38:56 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Invoice NOT NULL
;
-- 13.08.2008 15:39:00 EEST
--
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55332
;
-- 13.08.2008 15:39:02 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_MRP CHAR(1) DEFAULT 'Y'
;
-- 13.08.2008 15:39:02 EEST
--
UPDATE AD_Role SET Allow_Info_MRP='Y' WHERE Allow_Info_MRP IS NULL
;
-- 13.08.2008 15:39:02 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_MRP NOT NULL
;
-- 13.08.2008 15:39:08 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50204
;
-- 13.08.2008 15:39:09 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Order CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:39:09 EEST
--
UPDATE AD_Role SET Allow_Info_Order='N' WHERE Allow_Info_Order IS NULL
;
-- 13.08.2008 15:39:09 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Order NOT NULL
;
-- 13.08.2008 15:39:14 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50205
;
-- 13.08.2008 15:39:15 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Payment CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:39:15 EEST
--
UPDATE AD_Role SET Allow_Info_Payment='N' WHERE Allow_Info_Payment IS NULL
;
-- 13.08.2008 15:39:15 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Payment NOT NULL
;
-- 13.08.2008 15:39:21 EEST
--
UPDATE AD_Column SET DefaultValue='Y', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50206
;
-- 13.08.2008 15:39:22 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Product CHAR(1) DEFAULT 'Y'
;
-- 13.08.2008 15:39:22 EEST
--
UPDATE AD_Role SET Allow_Info_Product='Y' WHERE Allow_Info_Product IS NULL
;
-- 13.08.2008 15:39:22 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Product NOT NULL
;
-- 13.08.2008 15:39:27 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50207
;
-- 13.08.2008 15:39:29 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Resource CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:39:29 EEST
--
UPDATE AD_Role SET Allow_Info_Resource='N' WHERE Allow_Info_Resource IS NULL
;
-- 13.08.2008 15:39:29 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Resource NOT NULL
;
-- 13.08.2008 15:39:34 EEST
--
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50208
;
-- 13.08.2008 15:39:35 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Schedule CHAR(1) DEFAULT 'N'
;
-- 13.08.2008 15:39:35 EEST
--
UPDATE AD_Role SET Allow_Info_Schedule='N' WHERE Allow_Info_Schedule IS NULL
;
-- 13.08.2008 15:39:35 EEST
--
ALTER TABLE AD_Role MODIFY Allow_Info_Schedule NOT NULL
;

View File

@ -0,0 +1,100 @@
-- Aug 17, 2008 10:49:37 AM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53008,53242,19,'M_Product_ID',TO_DATE('2008-08-17 10:49:34','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','Product',50,TO_DATE('2008-08-17 10:49:34','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 17, 2008 10:49:38 AM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53242 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 17, 2008 10:52:26 AM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,617,0,53008,53243,15,'ValidFrom',TO_DATE('2008-08-17 10:52:25','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)','EE01',10,'The Valid From date indicates the first day of a date range','Y','Y','N','N','Valid from',10,TO_DATE('2008-08-17 10:52:25','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 17, 2008 10:52:26 AM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53243 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 17, 2008 10:52:43 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET AD_Element_ID=618,Updated=TO_DATE('2008-08-17 10:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53031
;
-- Aug 17, 2008 10:54:17 AM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,526,0,53008,53244,29,'Qty',TO_DATE('2008-08-17 10:54:16','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',10,'The Quantity indicates the number of a specific product or item for this document.','Y','Y','N','N','Quantity',60,TO_DATE('2008-08-17 10:54:16','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 17, 2008 10:54:17 AM CDT
-- Water Mark for Document Printed
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53244 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Aug 17, 2008 10:54:41 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET IsCentrallyMaintained='N',Updated=TO_DATE('2008-08-17 10:54:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53243
;
-- Aug 17, 2008 10:55:07 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET SeqNo=10,Updated=TO_DATE('2008-08-17 10:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53242
;
-- Aug 17, 2008 10:55:14 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-08-17 10:55:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53031
;
-- Aug 17, 2008 10:55:18 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_DATE('2008-08-17 10:55:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53243
;
-- Aug 17, 2008 10:55:34 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-08-17 10:55:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030
;
-- Aug 17, 2008 10:55:41 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-08-17 10:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53032
;
-- Aug 17, 2008 10:55:56 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-17 10:55:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53032
;
-- Aug 17, 2008 10:56:02 AM CDT
-- Water Mark for Document Printed
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-08-17 10:56:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030
;
-- Aug 17, 2008 10:57:03 AM CDT
-- Multi Change Component
UPDATE AD_Process_Para SET AD_Element_ID=454,Updated=TO_DATE('2008-08-17 10:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030
;
-- Aug 17, 2008 11:00:31 AM CDT
-- Multi Change Component
UPDATE AD_Process_Para SET DisplayLogic=NULL,Updated=TO_DATE('2008-08-17 11:00:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030
;
-- Aug 17, 2008 11:03:26 AM CDT
-- Multi Change Component
UPDATE AD_Process_Para SET DisplayLogic='@Action@=''A'' | @Action@=''R'' | @Action@=''RE'' ',Updated=TO_DATE('2008-08-17 11:03:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030
;
-- Aug 17, 2008 12:04:00 PM CDT
-- Multi Change Component
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2783,0,53008,53245,19,'M_ChangeNotice_ID',TO_DATE('2008-08-17 12:03:59','YYYY-MM-DD HH24:MI:SS'),0,'Change Notice','EE01',10,'Bill of Materials (Engineering) Change Notice (Version)','Y','Y','N','N','Change Notice',70,TO_DATE('2008-08-17 12:03:59','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Aug 17, 2008 12:04:00 PM CDT
-- Multi Change Component
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53245 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;

View File

@ -0,0 +1,4 @@
-- Aug 19, 2008 3:25:12 PM EST
-- BF2059012_ViewPI
UPDATE AD_Form SET Classname='org.adempiere.apps.graph.ViewPI',Updated=TO_DATE('2008-08-19 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Form_ID=119
;

View File

@ -0,0 +1,15 @@
-- Aug 21, 2008 3:09:16 PM EEST
--
UPDATE AD_Column SET FieldLength=255,Updated=TO_DATE('2008-08-21 15:09:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4656
;
-- Aug 21, 2008 3:09:19 PM EEST
--
ALTER TABLE AD_Process MODIFY Classname NVARCHAR2(255) DEFAULT NULL
;
-- Aug 21, 2008 3:10:08 PM EEST
--
UPDATE AD_Column SET AD_Reference_ID=10,Updated=TO_DATE('2008-08-21 15:10:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50182
;

View File

@ -0,0 +1,30 @@
-- Aug 21, 2008 12:18:36 PM CDT
-- Implementing new document
UPDATE AD_Ref_List SET Name='Manufacturing Order Method Variance ',Updated=TO_DATE('2008-08-21 12:18:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53234
;
-- Aug 21, 2008 12:18:36 PM CDT
-- Implementing new document
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53234
;
-- Aug 21, 2008 12:18:46 PM CDT
-- Implementing new document
UPDATE AD_Ref_List SET Name='Manufacturing Order Use Variance ',Updated=TO_DATE('2008-08-21 12:18:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53237
;
-- Aug 21, 2008 12:18:46 PM CDT
-- Implementing new document
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53237
;
-- Aug 21, 2008 12:18:54 PM CDT
-- Implementing new document
UPDATE AD_Ref_List SET Name='Manufacturing Order Rate Variance',Updated=TO_DATE('2008-08-21 12:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53238
;
-- Aug 21, 2008 12:18:54 PM CDT
-- Implementing new document
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53238
;

View File

@ -0,0 +1,34 @@
-- Aug 22, 2008 12:46:29 PM CDT
-- Distribution
UPDATE AD_Process_Para SET IsRange='N',Updated=TO_DATE('2008-08-22 12:46:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53218
;
-- Aug 22, 2008 12:46:56 PM CDT
-- Distribution
UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 12:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219
;
-- Aug 22, 2008 12:47:18 PM CDT
-- Distribution
UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 12:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53240
;
-- Aug 22, 2008 12:56:36 PM CDT
-- Distribution
UPDATE AD_Process_Para SET IsRange='N',Updated=TO_DATE('2008-08-22 12:56:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=484
;
-- Aug 22, 2008 1:00:58 PM CDT
-- Distribution
UPDATE AD_Process_Para SET DefaultValue='''Y''', DisplayLogic=NULL,Updated=TO_DATE('2008-08-22 13:00:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53241
;
-- Aug 22, 2008 1:02:08 PM CDT
-- Distribution
UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 13:02:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53220
;
-- Aug 22, 2008 1:02:23 PM CDT
-- Distribution
UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 13:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=486
;

View File

@ -0,0 +1,14 @@
-- 25/08/2008 16:00:57
--
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-25 16:00:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54742
;
-- 25/08/2008 16:13:53
--
ALTER TABLE HR_Employee MODIFY C_BPartner_ID NUMBER(10) DEFAULT NULL
;
-- 25/08/2008 16:13:53
--
ALTER TABLE HR_Employee MODIFY C_BPartner_ID NOT NULL
;

View File

@ -0,0 +1,25 @@
-- Aug 25, 2008 5:23:17 PM EEST
--
UPDATE AD_Window SET Description='View MRP Notices',Updated=TO_DATE('2008-08-25 17:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53008
;
-- Aug 25, 2008 5:23:17 PM EEST
--
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53008
;
-- Aug 25, 2008 5:23:17 PM EEST
--
UPDATE AD_Menu SET Description='View MRP Notices', IsActive='Y', Name='MRP Notice',Updated=TO_DATE('2008-08-25 17:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53040
;
-- Aug 25, 2008 5:23:17 PM EEST
--
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53040
;
-- Aug 25, 2008 5:26:15 PM EEST
--
UPDATE AD_Tab SET WhereClause='(AD_User_ID IN (0,@#AD_User_ID@) OR AD_User_ID IS NULL) AND EXISTS (SELECT 1 FROM AD_Message m WHERE m.AD_Message_ID=AD_Note.AD_Message_ID AND m.Value like ''MRP-%'')',Updated=TO_DATE('2008-08-25 17:26:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53035
;

View File

@ -0,0 +1,5 @@
-- Aug 25, 2008 7:52:50 PM EEST
--
UPDATE AD_Table SET AD_Window_ID=53014,Updated=TO_DATE('2008-08-25 19:52:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53035
;

View File

@ -0,0 +1 @@
CREATE UNIQUE INDEX PPProductBOMUnique ON PP_Product_BOM (AD_Client_ID,Value);

View File

@ -0,0 +1,62 @@
CREATE OR REPLACE FUNCTION paymentAvailable
(
p_C_Payment_ID IN NUMBER
)
RETURN NUMBER
/*************************************************************************
* The contents of this file are subject to the Compiere License. You may
* obtain a copy of the License at http://www.compiere.org/license.html
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for details. Code: Compiere ERP+CRM
* Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved.
*************************************************************************
* $Id: C_Payment_Available.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
***
* Title: Calculate Available Payment Amount in Payment Currency
* Description:
* similar to C_Invoice_Open
************************************************************************/
AS
v_Currency_ID NUMBER(10);
v_AvailableAmt NUMBER := 0;
v_IsReceipt C_Payment.IsReceipt%TYPE;
v_Amt NUMBER := 0;
CURSOR Cur_Alloc IS
SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx
FROM C_AllocationLine al
INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID)
WHERE al.C_Payment_ID = p_C_Payment_ID
AND a.IsActive='Y';
-- AND al.C_Invoice_ID IS NOT NULL;
BEGIN
-- Charge - fully allocated
SELECT MAX(PayAmt)
INTO v_Amt
FROM C_Payment
WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0;
IF (v_Amt IS NOT NULL) THEN
RETURN 0;
END IF;
-- Get Currency
SELECT C_Currency_ID, PayAmt, IsReceipt
INTO v_Currency_ID, v_AvailableAmt, v_IsReceipt
FROM C_Payment_v -- corrected for AP/AR
WHERE C_Payment_ID = p_C_Payment_ID;
-- DBMS_OUTPUT.PUT_LINE('== C_Payment_ID=' || p_C_Payment_ID || ', PayAmt=' || v_AvailableAmt || ', Receipt=' || v_IsReceipt);
-- Calculate Allocated Amount
FOR a IN Cur_Alloc LOOP
v_Amt := currencyConvert(a.Amount, a.C_Currency_ID, v_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID);
v_AvailableAmt := v_AvailableAmt - v_Amt;
-- DBMS_OUTPUT.PUT_LINE(' Allocation=' || a.Amount || ' - Available=' || v_AvailableAmt);
END LOOP;
-- Ignore Rounding
IF (v_AvailableAmt BETWEEN -0.00999 AND 0.00999) THEN
v_AvailableAmt := 0;
END IF;
-- Round to penny
v_AvailableAmt := ROUND(NVL(v_AvailableAmt,0), 2);
RETURN v_AvailableAmt;
END paymentAvailable;
/

View File

@ -0,0 +1,15 @@
-- Aug 29, 2008 7:06:38 PM CDT
-- MRP Run to Multiple Plant
UPDATE AD_Process_Para SET AD_Val_Rule_ID=148, IsMandatory='N',Updated=TO_DATE('2008-08-29 19:06:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53054
;
-- Aug 29, 2008 7:09:28 PM CDT
-- MRP Run to Multiple Plant
UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_DATE('2008-08-29 19:09:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53132
;
-- Aug 29, 2008 7:10:33 PM CDT
-- MRP Run to Multiple Plant
UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_DATE('2008-08-29 19:10:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53207
;

View File

@ -0,0 +1 @@
-- Sep 1, 2008 3:49:12 PM EEST -- UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-09-01 15:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53751 ; -- Sep 1, 2008 6:05:39 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53592 ; -- Sep 1, 2008 6:05:43 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53890 ; -- Sep 1, 2008 6:05:46 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=3743 ; -- Sep 1, 2008 6:05:52 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11782 ;

View File

@ -0,0 +1,54 @@
CREATE OR REPLACE VIEW C_INVOICE_V
(C_INVOICE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED,
CREATEDBY, UPDATED, UPDATEDBY, ISSOTRX, DOCUMENTNO,
DOCSTATUS, DOCACTION, PROCESSING, PROCESSED, C_DOCTYPE_ID,
C_DOCTYPETARGET_ID, C_ORDER_ID, DESCRIPTION, ISAPPROVED, ISTRANSFERRED,
SALESREP_ID, DATEINVOICED, DATEPRINTED, DATEACCT, C_BPARTNER_ID,
C_BPARTNER_LOCATION_ID, AD_USER_ID, POREFERENCE, DATEORDERED, C_CURRENCY_ID,
C_CONVERSIONTYPE_ID, PAYMENTRULE, C_PAYMENTTERM_ID, C_CHARGE_ID, M_PRICELIST_ID,
C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID, ISPRINTED, ISDISCOUNTPRINTED,
ISPAID, ISINDISPUTE, ISPAYSCHEDULEVALID, C_INVOICEPAYSCHEDULE_ID, INVOICECOLLECTIONTYPE,
CHARGEAMT, TOTALLINES, GRANDTOTAL, MULTIPLIER, MULTIPLIERAP,
DOCBASETYPE, DUEDATE
)
AS
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
i.IsPayScheduleValid, cast(null as number) AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType,
(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END) AS ChargeAmt,
(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END) AS TotalLines,
(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END) AS GrandTotal,
(CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END) AS Multiplier,
(CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END) AS MultiplierAP,
d.DocBaseType
, paymentTermDueDate(i.C_PaymentTerm_ID, i.DateInvoiced) as DueDate
FROM C_Invoice i
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
WHERE i.IsPayScheduleValid<>'Y'
UNION
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType,
null AS ChargeAmt,
null AS TotalLines,
CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal,
CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier,
CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP,
d.DocBaseType
, ips.DueDate
FROM C_Invoice i
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID)
WHERE i.IsPayScheduleValid='Y'
AND ips.IsValid='Y';
/

View File

@ -0,0 +1 @@
update ad_ref_table set orderbyclause='SeqNo' where ad_reference_id=240;

View File

@ -0,0 +1,57 @@
create or replace FUNCTION paymentAllocated
(
p_C_Payment_ID IN NUMBER,
p_C_Currency_ID IN NUMBER
)
RETURN NUMBER
/*************************************************************************
* The contents of this file are subject to the Compiere License. You may
* obtain a copy of the License at http://www.compiere.org/license.html
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for details. Code: Compiere ERP+CRM
* Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved.
*************************************************************************
* $Id: C_Payment_Allocated.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
***
* Title: Calculate Allocated Payment Amount in Payment Currency
* Description:
--
SELECT C_Payment_Allocated(C_Payment_ID,C_Currency_ID), PayAmt, IsAllocated
FROM C_Payment_v
WHERE C_Payment_ID>=1000000;
--
UPDATE C_Payment_v
SET IsAllocated=CASE WHEN C_Payment_Allocated(C_Payment_ID, C_Currency_ID)=PayAmt THEN 'Y' ELSE 'N' END
WHERE C_Payment_ID>=1000000;
************************************************************************/
AS
v_AllocatedAmt NUMBER := 0;
v_PayAmt NUMBER;
CURSOR Cur_Alloc IS
SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx
FROM C_AllocationLine al
INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID)
WHERE al.C_Payment_ID = p_C_Payment_ID
AND a.IsActive='Y';
-- AND al.C_Invoice_ID IS NOT NULL;
BEGIN
-- Charge - fully allocated
SELECT MAX(PayAmt)
INTO v_PayAmt
FROM C_Payment
WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0;
IF (v_PayAmt IS NOT NULL) THEN
RETURN v_PayAmt;
END IF;
-- Calculate Allocated Amount
FOR a IN Cur_Alloc LOOP
v_AllocatedAmt := v_AllocatedAmt
+ currencyConvert(a.Amount, a.C_Currency_ID, p_C_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID);
END LOOP;
-- Round to penny
v_AllocatedAmt := ROUND(NVL(v_AllocatedAmt,0), 2);
RETURN v_AllocatedAmt;
END paymentAllocated;
/

View File

@ -0,0 +1,23 @@
-- 2/09/2008 14:38:46
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-09-02 14:38:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54945
;
-- 2/09/2008 14:38:49
ALTER TABLE HR_PayrollConcept MODIFY HR_Concept_ID NUMBER(10) DEFAULT NULL
;
-- 2/09/2008 14:38:49
ALTER TABLE HR_PayrollConcept MODIFY HR_Concept_ID NOT NULL
;
-- 2/09/2008 14:39:06
UPDATE AD_Column SET IsMandatory='Y', IsUpdateable='N',Updated=TO_DATE('2008-09-02 14:39:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54947
;
-- 2/09/2008 14:39:08
ALTER TABLE HR_PayrollConcept MODIFY HR_Payroll_ID NUMBER(10) DEFAULT NULL
;
-- 2/09/2008 14:39:08
ALTER TABLE HR_PayrollConcept MODIFY HR_Payroll_ID NOT NULL
;

View File

@ -0,0 +1,25 @@
-- Sep 3, 2008 12:46:45 PM EEST
--
UPDATE AD_Column SET AD_Reference_ID=22, DefaultValue='100', IsMandatory='Y', ValueMin='0',Updated=TO_DATE('2008-09-03 12:46:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53272
;
-- Sep 3, 2008 12:46:49 PM EEST
--
ALTER TABLE S_Resource MODIFY PercentUtilization NUMBER DEFAULT 100
;
-- Sep 3, 2008 12:46:49 PM EEST
--
UPDATE S_Resource SET PercentUtilization=100 WHERE PercentUtilization IS NULL
;
-- Sep 3, 2008 12:46:49 PM EEST
--
ALTER TABLE S_Resource MODIFY PercentUtilization NOT NULL
;
-- Sep 3, 2008 12:46:49 PM EEST
--
ALTER TABLE S_Resource ADD CONSTRAINT CHK_COL_53272 CHECK (PercentUtilization>=0)
;

View File

@ -0,0 +1,92 @@
-- Sep 3, 2008 5:01:15 PM EEST
--
UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53034
;
-- Sep 3, 2008 5:01:27 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53635
;
-- Sep 3, 2008 5:01:29 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53634
;
-- Sep 3, 2008 5:01:48 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53623
;
-- Sep 3, 2008 5:01:49 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53624
;
-- Sep 3, 2008 5:01:50 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53625
;
-- Sep 3, 2008 5:01:51 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53626
;
-- Sep 3, 2008 5:01:52 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53627
;
-- Sep 3, 2008 5:01:53 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53628
;
-- Sep 3, 2008 5:01:54 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53629
;
-- Sep 3, 2008 5:01:55 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53630
;
-- Sep 3, 2008 5:01:55 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53631
;
-- Sep 3, 2008 5:01:56 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53632
;
-- Sep 3, 2008 5:01:57 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53633
;
-- Sep 3, 2008 5:01:58 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53636
;
-- Sep 3, 2008 5:01:59 PM EEST
--
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53637
;
-- Sep 3, 2008 5:05:25 PM EEST
--
UPDATE AD_Tab SET DisplayLogic='@IsPurchased@=Y',Updated=TO_DATE('2008-09-03 17:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53031
;

View File

@ -0,0 +1,4 @@
-- 29.08.2008 16:50:06 EEST
-- Fix BOM Window, Line order
UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-08-29 16:50:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53485
;

View File

@ -0,0 +1,35 @@
drop table PP_WF_NODE_ASSET
;
CREATE TABLE PP_WF_NODE_ASSET
(
PP_WF_NODE_ASSET_ID NUMBER(10,0) NOT NULL ENABLE,
--
AD_CLIENT_ID NUMBER(10,0) NOT NULL ENABLE,
AD_ORG_ID NUMBER(10,0) NOT NULL ENABLE,
CREATED DATE NOT NULL ENABLE,
CREATEDBY NUMBER(10,0) NOT NULL ENABLE,
UPDATED DATE NOT NULL ENABLE,
UPDATEDBY NUMBER(10,0) NOT NULL ENABLE,
ISACTIVE CHAR(1 BYTE) NOT NULL ENABLE,
--
AD_WF_NODE_ID NUMBER(10,0) NOT NULL ENABLE,
A_ASSET_ID NUMBER(10,0) NOT NULL ENABLE,
SEQNO NUMBER(10,0) NOT NULL ENABLE,
--
CHECK (IsActive IN ('Y','N')) ENABLE,
CONSTRAINT PP_WF_NODE_ASSET_KEY PRIMARY KEY (PP_WF_NODE_ASSET_ID) ENABLE,
CONSTRAINT AASSET_PPWFNODEASSET FOREIGN KEY (A_ASSET_ID) REFERENCES A_ASSET (A_ASSET_ID) ENABLE,
CONSTRAINT ADWFNODE_PPWFNODEASSET FOREIGN KEY (AD_WF_NODE_ID) REFERENCES AD_WF_NODE (AD_WF_NODE_ID) ENABLE
)
;
-- 29.08.2008 18:32:06 EEST
--
UPDATE AD_Column SET IsKey='N', IsMandatory='Y',Updated=TO_DATE('2008-08-29 18:32:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53300
;
-- 29.08.2008 18:32:28 EEST
--
UPDATE AD_Column SET IsKey='Y', IsUpdateable='N',Updated=TO_DATE('2008-08-29 18:32:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53299
;

View File

@ -0,0 +1,6 @@
-- Aug 27, 2008 1:30:17 PM EEST
-- Update PP_Order.M_Product_ID column: set callout and reference value
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutOrder.product',Updated=TO_DATE('2008-08-27 13:30:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53623
;
UPDATE AD_Column SET AD_Reference_Value_ID=211,Updated=TO_DATE('2008-08-27 13:31:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53623
;

View File

@ -0,0 +1,5 @@
-- Sep 1, 2008 3:49:12 PM EEST
--
UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-09-01 15:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53751
;

View File

@ -0,0 +1,615 @@
-- 4/09/2008 07:13:13 PM CDT
-- Transfer Bank
INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53153,'3','org.eevolution.process.BankTransfer',TO_DATE('2008-09-04 19:13:03','YYYY-MM-DD HH24:MI:SS'),100,'C','Y','N','N','N','N','Bank Transfer','Y',1,4,TO_DATE('2008-09-04 19:13:03','YYYY-MM-DD HH24:MI:SS'),100,'BankTransfer')
;
-- 4/09/2008 07:13:13 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53153 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;
-- 4/09/2008 07:13:13 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,0,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 4/09/2008 07:13:13 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,102,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 4/09/2008 07:13:13 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,103,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 4/09/2008 07:13:13 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,50002,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 4/09/2008 07:13:13 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,50001,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 4/09/2008 07:14:31 PM CDT
-- Transfer Bank
UPDATE AD_Menu SET Name='Bank Transfer via Cash',Updated=TO_DATE('2008-09-04 19:14:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53187
;
-- 4/09/2008 07:14:31 PM CDT
-- Transfer Bank
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53187
;
-- 4/09/2008 07:15:10 PM CDT
-- Transfer Bank
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53190,0,53153,'P',TO_DATE('2008-09-04 19:15:08','YYYY-MM-DD HH24:MI:SS'),100,'C','Y','N','N','N','Bank Transfer via Payment',TO_DATE('2008-09-04 19:15:08','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 4/09/2008 07:15:10 PM CDT
-- Transfer Bank
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53190 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;
-- 4/09/2008 07:15:10 PM CDT
-- Transfer Bank
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53190, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53190)
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187
;
-- 4/09/2008 07:15:14 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53190
;
-- Sep 4, 2008 7:16:38 PM CDT
-- Transfer Bank
UPDATE AD_Process SET Value='C_BankStatement BankTransfer',Updated=TO_DATE('2008-09-04 19:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153
;
-- Sep 4, 2008 7:20:15 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53246,18,53283,'From_C_BankAccount_ID',TO_DATE('2008-09-04 19:20:14','YYYY-MM-DD HH24:MI:SS'),0,'D',0,'Y','Y','N','N','Bank Account From',10,TO_DATE('2008-09-04 19:20:14','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:20:15 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53246 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:20:20 PM CDT
-- Transfer Bank
UPDATE AD_Process SET EntityType='D',Updated=TO_DATE('2008-09-04 19:20:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153
;
-- Sep 4, 2008 7:22:29 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53247,18,53283,'To_C_BankAccount_ID',TO_DATE('2008-09-04 19:22:28','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','Bank Account To',20,TO_DATE('2008-09-04 19:22:28','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:22:29 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53247 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:22:35 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-09-04 19:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53246
;
-- Sep 4, 2008 7:23:37 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53248,12,'Amount',TO_DATE('2008-09-04 19:23:36','YYYY-MM-DD HH24:MI:SS'),0,'Amount to be transferred','D',22,'Y','Y','N','N','Transfer Amount',30,TO_DATE('2008-09-04 19:23:36','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:23:37 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53248 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:25:41 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,187,0,53153,53249,30,'C_BPartner_ID',TO_DATE('2008-09-04 19:25:38','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','D',22,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','Business Partner ',40,TO_DATE('2008-09-04 19:25:38','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:25:41 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53249 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:26:49 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,968,0,53153,53250,19,'C_Charge_ID',TO_DATE('2008-09-04 19:26:41','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges','D',22,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','Charge',40,TO_DATE('2008-09-04 19:26:41','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:26:49 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53250 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:27:09 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-09-04 19:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53249
;
-- Sep 4, 2008 7:27:24 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-09-04 19:27:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248
;
-- Sep 4, 2008 7:29:09 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,290,0,53153,53251,10,'DocumentNo',TO_DATE('2008-09-04 19:29:08','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',40,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".','Y','Y','Y','N','Document No',50,TO_DATE('2008-09-04 19:29:08','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:29:09 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53251 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:33:17 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53153,53252,10,'Description',TO_DATE('2008-09-04 19:33:13','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','Description',70,TO_DATE('2008-09-04 19:33:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:33:17 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53252 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:34:53 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53153,53253,15,'StatementDate',TO_DATE('2008-09-04 19:34:52','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the statement','D',7,'The Statement Date field defines the date of the statement.','Y','Y','Y','N','StatementDate',80,TO_DATE('2008-09-04 19:34:52','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:34:53 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53253 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:36:24 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET FieldLength=7,Updated=TO_DATE('2008-09-04 19:36:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53239
;
-- Sep 4, 2008 7:36:37 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53153,53254,15,'DateAcct',TO_DATE('2008-09-04 19:36:36','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','Account Date',90,TO_DATE('2008-09-04 19:36:36','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:36:37 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53254 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:38:45 PM CDT
-- Transfer Bank
UPDATE AD_Menu SET EntityType='D',Updated=TO_DATE('2008-09-04 19:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53190
;
-- Sep 4, 2008 7:49:55 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-09-04 19:49:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53246
;
-- Sep 4, 2008 7:50:03 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-09-04 19:50:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53247
;
-- Sep 4, 2008 7:50:38 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-09-04 19:50:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248
;
-- Sep 4, 2008 7:55:20 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2278,0,53153,53255,19,'C_ConversionType_ID',TO_DATE('2008-09-04 19:55:19','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type','@C_Currency_ID@!@$C_Currency_ID@','D',22,'The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','Y','N','N','Currency Type',30,TO_DATE('2008-09-04 19:55:19','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:55:20 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53255 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:55:31 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-09-04 19:55:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53255
;
-- Sep 4, 2008 7:56:53 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,193,0,53153,53256,19,'C_Currency_ID',TO_DATE('2008-09-04 19:56:53','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record',NULL,'D',22,'Indicates the Currency to be used when processing or reporting on this record','Y','Y','Y','N','Currency',40,TO_DATE('2008-09-04 19:56:53','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 4, 2008 7:56:53 PM CDT
-- Transfer Bank
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53256 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Sep 4, 2008 7:57:12 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-04 19:57:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53256
;
-- Sep 4, 2008 7:57:15 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-09-04 19:57:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53250
;
-- Sep 4, 2008 7:57:17 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-09-04 19:57:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53251
;
-- Sep 4, 2008 7:57:20 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-09-04 19:57:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248
;
-- Sep 4, 2008 7:57:25 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_DATE('2008-09-04 19:57:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53252
;
-- Sep 4, 2008 7:57:31 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_DATE('2008-09-04 19:57:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53253
;
-- Sep 4, 2008 7:57:35 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_DATE('2008-09-04 19:57:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53254
;
-- Sep 4, 2008 7:58:50 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-09-04 19:58:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53256
;
-- Sep 4, 2008 7:58:54 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-04 19:58:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53255
;
-- Sep 4, 2008 8:13:10 PM CDT
-- Transfer Bank
UPDATE AD_Process SET Description='Bank Transfer let money tranfer between Banks',Updated=TO_DATE('2008-09-04 20:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153
;
-- Sep 4, 2008 8:13:10 PM CDT
-- Transfer Bank
UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53153
;
-- Sep 4, 2008 8:13:10 PM CDT
-- Transfer Bank
UPDATE AD_Menu SET Description='Bank Transfer let money tranfer between Banks', IsActive='Y', Name='Bank Transfer',Updated=TO_DATE('2008-09-04 20:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53190
;
-- Sep 4, 2008 8:13:10 PM CDT
-- Transfer Bank
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53190
;
-- Sep 4, 2008 8:20:11 PM CDT
-- Transfer Bank
UPDATE AD_Process_Para SET FieldLength=30,Updated=TO_DATE('2008-09-04 20:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53251
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53190
;
-- Sep 4, 2008 8:34:54 PM CDT
-- Transfer Bank
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187
;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,45 @@
-- Sep 15, 2008 12:51:48 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para SET ColumnName='M_CostElement_ID', AD_Element_ID=2700, Description='Product Cost Element', Help=NULL, FieldLength=22, IsActive='Y', Name='Cost Element',Updated=TO_DATE('2008-09-15 12:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53091
;
-- Sep 15, 2008 12:51:48 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53091
;
-- Sep 15, 2008 12:53:09 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para SET ColumnName='M_Product_Category_ID', AD_Element_ID=453, Description='Category of a Product', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', IsActive='Y', Name='Product Category',Updated=TO_DATE('2008-09-15 12:53:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53088
;
-- Sep 15, 2008 12:53:09 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53088
;
-- Sep 15, 2008 12:55:19 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-09-15 12:55:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53093
;
-- Sep 15, 2008 12:55:25 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-09-15 12:55:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53091
;
-- Sep 15, 2008 12:55:34 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-15 12:55:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53092
;
-- Sep 15, 2008 12:55:41 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-09-15 12:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53092
;
-- Sep 15, 2008 12:55:49 PM CDT
-- Fix Cost Parameter
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-15 12:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53088
;

View File

@ -0,0 +1,85 @@
-- Sep 17, 2008 8:53:11 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53018,Updated=TO_DATE('2008-09-17 08:53:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53060
;
-- Sep 17, 2008 8:53:25 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53018,Updated=TO_DATE('2008-09-17 08:53:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53061
;
-- Sep 17, 2008 8:53:36 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53012,Updated=TO_DATE('2008-09-17 08:53:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53038
;
-- Sep 17, 2008 8:53:44 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53026
;
-- Sep 17, 2008 8:53:48 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53025
;
-- Sep 17, 2008 8:53:53 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53062
;
-- Sep 17, 2008 8:53:58 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53022
;
-- Sep 17, 2008 8:54:03 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53023
;
-- Sep 17, 2008 8:54:08 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53031
;
-- Sep 17, 2008 8:54:15 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53030
;
-- Sep 17, 2008 8:54:19 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53029
;
-- Sep 17, 2008 8:54:29 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019
;
-- Sep 17, 2008 8:54:51 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53007,Updated=TO_DATE('2008-09-17 08:54:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53020
;
-- Sep 17, 2008 8:55:16 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53006,Updated=TO_DATE('2008-09-17 08:55:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019
;
-- Sep 17, 2008 8:55:23 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53005,Updated=TO_DATE('2008-09-17 08:55:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53017
;
-- Sep 17, 2008 8:55:31 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53005,Updated=TO_DATE('2008-09-17 08:55:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53016
;
-- Sep 17, 2008 8:55:35 AM EEST
--
UPDATE AD_Table SET AD_Window_ID=53013,Updated=TO_DATE('2008-09-17 08:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53041
;

View File

@ -0,0 +1,278 @@
-- Sep 17, 2008 5:24:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56347,1308,0,20,635,'Posted',TO_DATE('2008-09-17 17:24:29','YYYY-MM-DD HH24:MI:SS'),100,'Posting status','U',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','N','N','N','N','N','Posted',TO_DATE('2008-09-17 17:24:29','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 17, 2008 5:24:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56347 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Sep 17, 2008 5:24:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56348,524,0,20,635,'Processing',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,'U',1,'Y','N','N','N','N','N','N','N','N','N','Process Now',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 17, 2008 5:24:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56348 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Sep 17, 2008 5:24:32 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56349,1047,0,20,635,'Processed',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','U',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Processed',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 17, 2008 5:24:32 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56349 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Sep 17, 2008 5:24:32 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56350,289,0,14,635,'DocStatus',TO_DATE('2008-09-17 17:24:32','YYYY-MM-DD HH24:MI:SS'),100,'The current status of the document','U',2147483647,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','N','N','Document Status',TO_DATE('2008-09-17 17:24:32','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 17, 2008 5:24:32 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56350 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Sep 17, 2008 5:24:46 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56347
;
-- Sep 17, 2008 5:24:54 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56349
;
-- Sep 17, 2008 5:24:58 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56348
;
-- Sep 17, 2008 5:25:04 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56350
;
-- Sep 17, 2008 5:25:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56350,56369,0,662,TO_DATE('2008-09-17 17:25:30','YYYY-MM-DD HH24:MI:SS'),100,'The current status of the document',2147483647,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','N','Document Status',TO_DATE('2008-09-17 17:25:30','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 17, 2008 5:25:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56369 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Sep 17, 2008 5:25:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56347,56370,0,662,TO_DATE('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','N','N','Posted',TO_DATE('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 17, 2008 5:25:31 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56370 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Sep 17, 2008 5:25:32 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56349,56371,0,662,TO_DATE('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','N','Processed',TO_DATE('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 17, 2008 5:25:32 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56371 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Sep 17, 2008 5:25:33 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56348,56372,0,662,TO_DATE('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_DATE('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 17, 2008 5:25:33 PM COT
-- Improvements on RV_Unposted
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56372 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Sep 17, 2008 5:26:13 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-17 17:26:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56372
;
-- Sep 17, 2008 5:26:19 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-17 17:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369
;
-- Sep 17, 2008 5:29:05 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=131, FieldLength=2,Updated=TO_DATE('2008-09-17 17:29:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56350
;
-- Sep 17, 2008 5:29:35 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56370
;
-- Sep 17, 2008 5:29:36 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56372
;
-- Sep 17, 2008 5:29:38 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56371
;
-- Sep 17, 2008 5:29:40 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369
;
-- Sep 17, 2008 5:30:52 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56370
;
-- Sep 17, 2008 5:30:52 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56372
;
-- Sep 17, 2008 5:30:52 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56369
;
-- Sep 17, 2008 5:30:52 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56371
;
-- Sep 17, 2008 5:31:01 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET DisplayLength=1,Updated=TO_DATE('2008-09-17 17:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369
;
drop view rv_unposted;
create or replace view rv_unposted
as
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateDoc, DateAcct, 224 AS AD_Table_ID,
GL_Journal_ID AS Record_ID, 'N' AS IsSOTrx, posted, processing,
processed, docstatus
from GL_JOURNAL
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT pi.AD_Client_ID, pi.AD_Org_ID, pi.Created, pi.CreatedBy, pi.Updated,
pi.UpdatedBy, pi.IsActive, p.NAME || '_' || pi.Line,
pi.MovementDate, pi.MovementDate, 623, pi.C_ProjectIssue_ID, 'N',
posted, pi.processing, pi.processed, 'CO' as DocStatus
from C_PROJECTISSUE pi INNER JOIN C_PROJECT p
ON (pi.C_Project_ID = p.C_Project_ID)
WHERE Posted <> 'Y' --AND DocStatus<>'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateInvoiced, DateAcct, 318, C_Invoice_ID,
IsSOTrx, posted, processing, processed, docstatus
from C_INVOICE
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, MovementDate, DateAcct, 319, M_InOut_ID,
IsSOTrx, posted, processing, processed, docstatus
from M_INOUT
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, MovementDate, MovementDate, 321,
M_Inventory_ID, 'N', posted, processing, processed, docstatus
from M_INVENTORY
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, MovementDate, MovementDate, 323,
M_Movement_ID, 'N', posted, processing, processed, docstatus
from M_MOVEMENT
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, NAME, MovementDate, MovementDate, 325, M_Production_ID,
'N', posted, processing, processed, 'CO' as docstatus
from M_PRODUCTION
WHERE Posted <> 'Y' -- AND DocStatus<>'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, NAME, StatementDate, DateAcct, 407, C_Cash_ID, 'N',
posted, processing, processed, docstatus
from C_CASH
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateTrx, DateTrx, 335, C_Payment_ID, 'N',
posted, processing, processed, docstatus
from C_PAYMENT
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateTrx, DateTrx, 735, C_AllocationHdr_ID,
'N', posted, processing, processed, docstatus
from C_ALLOCATIONHDR
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, NAME, StatementDate, StatementDate, 392,
C_BankStatement_ID, 'N', posted, processing, processed, docstatus
from C_BANKSTATEMENT
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateTrx, DateTrx, 472, M_MatchInv_ID, 'N',
posted, processing, processed, 'CO' as docstatus
from M_MATCHINV
WHERE Posted <> 'Y' --AND DocStatus<>'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateTrx, DateTrx, 473, M_MatchPO_ID, 'N',
posted, processing, processed, 'CO' as docstatus
from M_MATCHPO
WHERE Posted <> 'Y' --AND DocStatus<>'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateOrdered, DateAcct, 259, C_Order_ID,
IsSOTrx, posted, processing, processed, docstatus
from C_ORDER
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
UNION
SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy,
IsActive, DocumentNo, DateRequired, DateRequired, 702,
M_Requisition_ID, 'N', posted, processing, processed, docstatus
from M_REQUISITION
WHERE Posted <> 'Y' AND DocStatus <> 'VO'
;
-- Sep 17, 2008 5:35:27 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-09-17 17:35:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369
;
-- Sep 17, 2008 5:35:29 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-17 17:35:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56371
;
-- Sep 17, 2008 5:39:38 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=234,Updated=TO_DATE('2008-09-17 17:39:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56347
;
-- Sep 17, 2008 5:40:00 PM COT
-- Improvements on RV_Unposted
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56370
;

View File

@ -0,0 +1,53 @@
CREATE OR REPLACE VIEW C_INVOICE_CANDIDATE_V
(AD_CLIENT_ID, AD_ORG_ID, C_BPARTNER_ID, C_ORDER_ID, DOCUMENTNO,
DATEORDERED, C_DOCTYPE_ID, TOTALLINES)
AS
SELECT
o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID,
o.DocumentNo, o.DateOrdered, o.C_DocType_ID,
SUM((l.QtyOrdered-l.QtyInvoiced)*l.PriceActual) AS TotalLines
FROM C_Order o
INNER JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID)
INNER JOIN C_BPartner bp ON (o.C_BPartner_ID=bp.C_BPartner_ID)
LEFT OUTER JOIN C_InvoiceSchedule si ON (bp.C_InvoiceSchedule_ID=si.C_InvoiceSchedule_ID)
WHERE o.DocStatus IN ('CO','CL','IP') -- Standard Orders are IP
-- not Offers and open Walkin-Receipts
AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType
WHERE DocBaseType='SOO' AND DocSubTypeSO NOT IN ('ON','OB','WR'))
-- we need to invoice
AND l.QtyOrdered <> l.QtyInvoiced
--
AND (
-- Immediate
o.InvoiceRule='I'
-- Order complete
OR (o.InvoiceRule='O' AND NOT EXISTS (SELECT 1 FROM C_OrderLine zz1
WHERE zz1.C_Order_ID=o.C_Order_ID AND zz1.QtyOrdered<>zz1.QtyDelivered))
-- Delivery
OR (o.InvoiceRule='D' AND l.QtyInvoiced<>l.QtyDelivered)
-- Order Schedule, but none defined on Business Partner level
OR (o.InvoiceRule='S' AND bp.C_InvoiceSchedule_ID IS NULL)
-- Schedule defined at BP
OR (o.InvoiceRule='S' AND bp.C_InvoiceSchedule_ID IS NOT NULL AND
(
-- Daily or none
(si.InvoiceFrequency IS NULL OR si.InvoiceFrequency='D')
-- Weekly
OR (si.InvoiceFrequency='W')
-- Bi-Monthly
OR (si.InvoiceFrequency='T'
AND ((TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff-1
AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay-1)
OR (TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff+14
AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay+14))
)
-- Monthly
OR (si.InvoiceFrequency='M'
AND TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff-1 -- after cutoff
AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay-1) -- after invoice day
)
)
)
GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID,
o.DocumentNo, o.DateOrdered, o.C_DocType_ID;
/

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,450 @@
-- Jul 8, 2008 6:53:30 PM CDT
-- Fix Forecast Report
UPDATE AD_Process_Para SET Description='Material Forecast', Name='Forecast',Updated=TO_DATE('2008-07-08 18:53:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202
;
-- Jul 8, 2008 6:53:30 PM CDT
-- Fix Forecast Report
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53202
;
-- Jul 8, 2008 6:53:47 PM CDT
-- Fix Forecast Report
UPDATE AD_Process_Para_Trl SET Name='Pronostico',Description='Pronostico de Venta',Updated=TO_DATE('2008-07-08 18:53:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 AND AD_Language='es_MX'
;
-- Jul 8, 2008 6:53:50 PM CDT
-- Fix Forecast Report
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Updated=TO_DATE('2008-07-08 18:53:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 AND AD_Language='es_MX'
;
-- Jul 8, 2008 6:54:06 PM CDT
-- Fix Forecast Report
UPDATE AD_Process_Para SET Name='Rule',Updated=TO_DATE('2008-07-08 18:54:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53201
;
-- Jul 8, 2008 6:54:06 PM CDT
-- Fix Forecast Report
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53201
;
-- Jul 8, 2008 6:54:33 PM CDT
-- Fix Forecast Report
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Regla de C<>lculo',Updated=TO_DATE('2008-07-08 18:54:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53201 AND AD_Language='es_MX'
;
-- Jul 8, 2008 7:02:10 PM CDT
-- Forecast
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53148,53209,19,'M_Product_Category_ID',TO_DATE('2008-07-08 19:01:47','YYYY-MM-DD HH24:MI:SS'),0,'Category of a Product','EE01',22,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','N','N','Product Category',30,TO_DATE('2008-07-08 19:01:47','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 8, 2008 7:02:10 PM CDT
-- Forecast
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53209 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Jul 8, 2008 7:03:14 PM CDT
-- Forecast
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53148,53210,30,'M_Product_ID',TO_DATE('2008-07-08 19:03:12','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',40,TO_DATE('2008-07-08 19:03:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Jul 8, 2008 7:03:14 PM CDT
-- Forecast
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53210 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;
-- Jul 8, 2008 7:04:08 PM CDT
-- Forecast
UPDATE AD_Process_Para SET Description='Material Forecast', Help='Material Forecast', Name='Forecast',Updated=TO_DATE('2008-07-08 19:04:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53193
;
-- Jul 8, 2008 7:04:08 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53193
;
-- Jul 8, 2008 7:04:22 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Pronostico',Description='Pronostico',Updated=TO_DATE('2008-07-08 19:04:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53193 AND AD_Language='es_MX'
;
-- Jul 8, 2008 7:04:51 PM CDT
-- Forecast
UPDATE AD_Process_Para SET Description='Accounting Calendar Name', Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', Name='Calendar',Updated=TO_DATE('2008-07-08 19:04:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53192
;
-- Jul 8, 2008 7:04:51 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53192
;
-- Jul 8, 2008 7:05:27 PM CDT
-- Forecast
UPDATE AD_Process_Para SET Description='Calendar Year', Help='The Year uniquely identifies an accounting year for a calendar.', Name='Year',Updated=TO_DATE('2008-07-08 19:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53191
;
-- Jul 8, 2008 7:05:27 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53191
;
-- Jul 8, 2008 7:05:55 PM CDT
-- Forecast
UPDATE AD_Process_Para SET Description='Period of the Calendar', Help='The Period indicates an exclusive range of dates for a calendar.', Name='Period',Updated=TO_DATE('2008-07-08 19:05:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53190
;
-- Jul 8, 2008 7:05:55 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53190
;
-- Jul 8, 2008 7:06:18 PM CDT
-- Forecast
UPDATE AD_Process_Para SET Description='Category of a Product', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', Name='Product Category',Updated=TO_DATE('2008-07-08 19:06:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53188
;
-- Jul 8, 2008 7:06:18 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53188
;
-- Jul 8, 2008 7:07:13 PM CDT
-- Forecast
UPDATE AD_Process_Para SET AD_Element_ID=1063, Description='Sales Representative or Company Agent', Help='The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.', Name='Sales Representative',Updated=TO_DATE('2008-07-08 19:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53186
;
-- Jul 8, 2008 7:07:13 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53186
;
-- Jul 8, 2008 7:07:38 PM CDT
-- Forecast
UPDATE AD_Process_Para SET Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product',Updated=TO_DATE('2008-07-08 19:07:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53189
;
-- Jul 8, 2008 7:07:38 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53189
;
-- Jul 8, 2008 7:08:02 PM CDT
-- Forecast
UPDATE AD_Process_Para SET Description='Date Order was promised', Help='The Date Promised indicates the date, if any, that an Order was promised for.', Name='Date Promised',Updated=TO_DATE('2008-07-08 19:08:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53187
;
-- Jul 8, 2008 7:08:02 PM CDT
-- Forecast
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53187
;
-- Jul 8, 2008 7:10:35 PM CDT
-- Forecast
UPDATE AD_Column SET AD_Element_ID=1539, ColumnName='TotalAmt', Description='Total Amount', FieldLength=10, Help='The Total Amount indicates the total document amount.', Name='Total Amount',Updated=TO_DATE('2008-07-08 19:10:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56134
;
-- Jul 8, 2008 7:10:35 PM CDT
-- Forecast
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56134
;
-- Jul 8, 2008 7:10:35 PM CDT
-- Forecast
UPDATE AD_Field SET Name='Total Amount', Description='Total Amount', Help='The Total Amount indicates the total document amount.' WHERE AD_Column_ID=56134 AND IsCentrallyMaintained='Y'
;
-- Jul 8, 2008 7:11:32 PM CDT
-- Forecast
UPDATE AD_Column SET AD_Element_ID=1539, ColumnName='TotalAmt', Description='Total Amount', Help='The Total Amount indicates the total document amount.', Name='Total Amount',Updated=TO_DATE('2008-07-08 19:11:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148
;
-- Jul 8, 2008 7:11:32 PM CDT
-- Forecast
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56148
;
-- Jul 8, 2008 7:11:32 PM CDT
-- Forecast
UPDATE AD_Field SET Name='Total Amount', Description='Total Amount', Help='The Total Amount indicates the total document amount.' WHERE AD_Column_ID=56148 AND IsCentrallyMaintained='Y'
;
-- Jul 8, 2008 7:59:40 PM CDT
-- Forecast
UPDATE AD_Column SET AD_Element_ID=469, ColumnName='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', Name='Name',Updated=TO_DATE('2008-07-08 19:59:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56147
;
-- Jul 8, 2008 7:59:40 PM CDT
-- Forecast
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56147
;
-- Jul 8, 2008 7:59:40 PM CDT
-- Forecast
UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.' WHERE AD_Column_ID=56147 AND IsCentrallyMaintained='Y'
;
-- Jul 9, 2008 10:48:20 AM CDT
-- Forecast
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-09 10:48:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56144
;
-- Jul 9, 2008 10:48:36 AM CDT
-- Forecast
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-09 10:48:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56145
;
-- Jul 9, 2008 10:48:47 AM CDT
-- Forecast
UPDATE AD_Column SET FieldLength=60,Updated=TO_DATE('2008-07-09 10:48:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56147
;
-- Jul 9, 2008 10:48:53 AM CDT
-- Forecast
UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-07-09 10:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148
;
-- Jul 9, 2008 10:49:12 AM CDT
-- Forecast
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-09 10:49:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148
;
-- Jul 9, 2008 10:49:51 AM CDT
-- Forecast
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56142
;
-- Jul 9, 2008 10:49:51 AM CDT
-- Forecast
DELETE FROM AD_Column WHERE AD_Column_ID=56142
;
-- Jul 9, 2008 10:58:32 AM CDT
-- Forecast
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56146
;
-- Jul 9, 2008 10:58:32 AM CDT
-- Forecast
DELETE FROM AD_Column WHERE AD_Column_ID=56146
;
-- Jul 9, 2008 11:30:19 AM CDT
-- Forecast
DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53196
;
-- Jul 9, 2008 11:30:19 AM CDT
-- Forecast
DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53196
;
-- Jul 9, 2008 11:30:29 AM CDT
-- Forecast
DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53194
;
-- Jul 9, 2008 11:30:29 AM CDT
-- Forecast
DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53194
;
-- Jul 8, 2008 7:59:52 PM CDT
-- Forecast
DELETE FROM AD_Element_Trl WHERE AD_Element_ID=53653
;
-- Jul 8, 2008 7:59:52 PM CDT
-- Forecast
DELETE FROM AD_Element WHERE AD_Element_ID=53653
;
-- Jul 8, 2008 7:59:46 PM CDT
-- Forecast
DELETE FROM AD_Element_Trl WHERE AD_Element_ID=53654
;
-- Jul 8, 2008 7:59:46 PM CDT
-- Forecast
DELETE FROM AD_Element WHERE AD_Element_ID=53654
;
CREATE OR REPLACE VIEW RV_M_Forecast AS
SELECT
f.AD_Client_ID ,
fl.AD_Org_ID,
f.M_Forecast_ID ,
f.Name ,
f.C_Calendar_ID ,
f.C_Year_ID ,
fl.C_Period_ID,
fl.DatePromised,
fl.M_Product_ID ,
fl.SalesRep_ID,
p.C_UOM_ID,
fl.Qty,
fl.QtyCalculated,
(SELECT pp.PriceList FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID)
AS PriceList,
(SELECT pp.PriceStd FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID)
AS PriceStd,
(SELECT pp.PriceLimit FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID)
AS PriceLimit,
(SELECT pp.PriceStd FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID)
* fl.Qty AS TotalAmt,
p.M_Product_Category_ID,
p.Classification,
p.Group1,
p.Group2
FROM M_Forecast f
INNER JOIN M_ForecastLine fl ON (f.M_Forecast_ID = fl.M_Forecast_ID)
INNER JOIN M_Product p ON (p.M_Product_ID=fl.M_Product_ID)
INNER JOIN M_PriceList pl ON (pl.M_PriceList_ID=f.M_PriceList_ID);
CREATE OR REPLACE VIEW RV_M_Forecast_Period AS
SELECT AD_Client_ID ,
AD_Org_ID,
M_Forecast_ID ,
MAX(Name) AS Name,
C_Calendar_ID ,
C_Year_ID ,
C_Period_ID,
M_Product_ID ,
C_UOM_ID,
SUM(Qty) AS Qty,
SUM(QtyCalculated) AS QtyCalculated,
SUM(TotalAmt) AS TotalAmt
FROM RV_M_Forecast f GROUP BY AD_Client_ID , AD_Org_ID , M_Forecast_ID , M_Product_ID , C_UOM_ID, C_Calendar_ID , C_Year_ID , C_Period_ID
;
-- Jul 9, 2008 10:04:30 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10300
;
-- Jul 9, 2008 10:04:30 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=10298
;
-- Jul 9, 2008 10:05:06 PM CDT
-- Forecast
UPDATE AD_Field SET Included_Tab_ID=654,Updated=TO_DATE('2008-07-09 22:05:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10300
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10304
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10307
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10305
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=53638
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=10301
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10303
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53639
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10306
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10310
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56277
;
-- Jul 9, 2008 10:08:15 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10308
;
-- Jul 9, 2008 10:08:27 PM CDT
-- Forecast
UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2008-07-09 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=653
;
-- Jul 9, 2008 10:11:20 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56277
;
-- Jul 9, 2008 10:11:20 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=53638
;
-- Jul 9, 2008 10:11:20 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10301
;
-- Jul 9, 2008 10:11:20 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=10306
;
-- Jul 9, 2008 10:11:20 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10310
;
-- Jul 9, 2008 10:11:20 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10303
;
-- Jul 9, 2008 10:11:20 PM CDT
-- Forecast
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53639
;
-- Jul 9, 2008 10:12:55 PM CDT
-- Forecast
UPDATE AD_Column SET DefaultValue='@#AD_User_ID@',Updated=TO_DATE('2008-07-09 22:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56113
;
-- Jul 9, 2008 10:20:17 PM CDT
-- Forecast
UPDATE AD_Column SET DefaultValue='@AD_Org_ID@',Updated=TO_DATE('2008-07-09 22:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11937
;
-- Jul 9, 2008 10:20:27 PM CDT
-- Forecast
UPDATE AD_Column SET ReadOnlyLogic='@M_Warehouse_ID@',Updated=TO_DATE('2008-07-09 22:20:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53411
;

View File

@ -0,0 +1,26 @@
-- Sep 27, 2008 7:46:26 PM CDT
-- Fix Call out Distribution Order
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53928
;
-- Sep 27, 2008 7:46:42 PM CDT
-- Fix Call out Distribution Order
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53954
;
-- Sep 27, 2008 7:46:44 PM CDT
-- Fix Call out Distribution Order
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53948
;
-- Sep 27, 2008 7:46:50 PM CDT
-- Fix Call out Distribution Order
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53947
;
-- Sep 27, 2008 7:46:53 PM CDT
-- Fix Call out Distribution Order
UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2008-09-27 19:46:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53946
;

View File

@ -0,0 +1,70 @@
-- Sep 28, 2008 2:39:23 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Element (AD_Org_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,AD_Client_ID,UpdatedBy) VALUES (0,53689,'ReversalLine_ID',TO_DATE('2008-09-28 14:39:22','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D','Y','Reversal Line','Reversal Line',TO_DATE('2008-09-28 14:39:22','YYYY-MM-DD HH24:MI:SS'),0,0)
;
-- Sep 28, 2008 2:39:24 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53689 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Sep 28, 2008 2:39:36 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Column (AD_Org_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID,AD_Reference_Value_ID) VALUES (0,53689,18,320,'ReversalLine_ID',TO_DATE('2008-09-28 14:39:35','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Reversal Line',0,TO_DATE('2008-09-28 14:39:35','YYYY-MM-DD HH24:MI:SS'),0,0,1,56355,295)
;
-- Sep 28, 2008 2:39:36 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56355 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Sep 28, 2008 3:06:08 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Reference (AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,AD_Client_ID,ValidationType) VALUES (0,53284,TO_DATE('2008-09-28 15:06:03','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','M_MovementLine',TO_DATE('2008-09-28 15:06:03','YYYY-MM-DD HH24:MI:SS'),0,0,'T')
;
-- Sep 28, 2008 3:06:08 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53284 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Sep 28, 2008 3:06:43 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Ref_Table (AD_Display,AD_Key,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,AD_Client_ID,AD_Reference_ID,AD_Table_ID) VALUES (3820,3582,0,TO_DATE('2008-09-28 15:06:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',TO_DATE('2008-09-28 15:06:43','YYYY-MM-DD HH24:MI:SS'),0,0,53284,324)
;
-- Sep 28, 2008 3:08:12 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Column (AD_Org_ID,AD_Reference_Value_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID) VALUES (0,53284,53689,18,324,'ReversalLine_ID',TO_DATE('2008-09-28 15:08:11','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','Y','N','Y','Reversal Line',TO_DATE('2008-09-28 15:08:11','YYYY-MM-DD HH24:MI:SS'),0,0,1,56356)
;
-- Sep 28, 2008 3:08:12 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56356 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Sep 28, 2008 3:09:10 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Column (AD_Org_ID,AD_Reference_Value_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID) VALUES (0,296,53689,18,322,'ReversalLine_ID',TO_DATE('2008-09-28 15:09:08','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Reversal Line',TO_DATE('2008-09-28 15:09:08','YYYY-MM-DD HH24:MI:SS'),0,0,1,56357)
;
-- Sep 28, 2008 3:09:10 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56357 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Sep 28, 2008 3:14:43 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
ALTER TABLE M_InOutLine ADD ReversalLine_ID NUMBER(10)
;
-- Sep 28, 2008 3:15:02 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
ALTER TABLE M_MovementLine ADD ReversalLine_ID NUMBER(10)
;
-- Sep 28, 2008 3:15:18 PM ICT
-- FR [ 1745154 ] Cost in Reversing Material Related Docs
ALTER TABLE M_InventoryLine ADD ReversalLine_ID NUMBER(10)
;

View File

@ -0,0 +1,10 @@
-- 29/09/2008 11:32:25
-- [ 2135012 ] Asset Window is not editable
UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-09-29 11:32:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8061
;
-- 29/09/2008 11:33:08
-- [ 2135012 ] Asset Window is not editable
ALTER TABLE A_Asset MODIFY Processing CHAR(1) DEFAULT 'N'
;

View File

@ -0,0 +1,30 @@
-- Oct 1, 2008 10:10:56 PM COT
-- Bug [ 2141475 ] Payment <> allocations must not be completed
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53044,0,TO_DATE('2008-10-01 22:10:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Payment Allocate must not exists if the payment header has charge/invoice/order.','E',TO_DATE('2008-10-01 22:10:18','YYYY-MM-DD HH24:MI:SS'),100,'PaymentAllocateIgnored')
;
-- Oct 1, 2008 10:10:56 PM COT
-- Bug [ 2141475 ] Payment <> allocations must not be completed
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53044 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;
-- Oct 1, 2008 10:16:09 PM COT
-- Bug [ 2141475 ] Payment <> allocations must not be completed
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='No debe haber Asignacion de Pagos si el encabezado del pago tiene cargo, factura u orden.',Updated=TO_DATE('2008-10-01 22:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53044 AND AD_Language LIKE 'es_%'
;
-- Oct 1, 2008 10:17:42 PM COT
-- Bug [ 2141475 ] Payment <> allocations must not be completed
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53045,0,TO_DATE('2008-10-01 22:17:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Payment Amount must be equal to the sum of Allocate amounts.','E',TO_DATE('2008-10-01 22:17:41','YYYY-MM-DD HH24:MI:SS'),100,'PaymentAllocateSumInconsistent')
;
-- Oct 1, 2008 10:17:42 PM COT
-- Bug [ 2141475 ] Payment <> allocations must not be completed
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53045 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;
-- Oct 1, 2008 10:18:31 PM COT
-- Bug [ 2141475 ] Payment <> allocations must not be completed
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='El total del pago debe ser igual a la suma de las asignaciones.',Updated=TO_DATE('2008-10-01 22:18:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53045 AND AD_Language LIKE 'es_%'
;

View File

@ -0,0 +1,25 @@
-- 02.10.2008 15:22:20 EEST
-- -
UPDATE AD_Column SET AD_Element_ID=1299, ColumnName='Classname', Description='Java Classname', FieldLength=255, Help='The Classname identifies the Java classname used by this report or process.', Name='Classname',Updated=TO_DATE('2008-10-02 15:22:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52068
;
-- 02.10.2008 15:22:21 EEST
-- -
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=52068
;
-- 02.10.2008 15:22:21 EEST
-- -
UPDATE AD_Field SET Name='Classname', Description='Java Classname', Help='The Classname identifies the Java classname used by this report or process.' WHERE AD_Column_ID=52068 AND IsCentrallyMaintained='Y'
;
-- 02.10.2008 15:23:16 EEST
-- -
DELETE FROM AD_Element_Trl WHERE AD_Element_ID=52025
;
-- 02.10.2008 15:23:17 EEST
-- -
DELETE FROM AD_Element WHERE AD_Element_ID=52025
;

View File

@ -0,0 +1,41 @@
-- 2/10/2008 11:02:34
-- Financial reporting improvements
INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PO_Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53690,'IsMultiLineHeader',TO_DATE('2008-10-02 11:00:41','YYYY-MM-DD HH24:MI:SS'),100,'Print column headers on mutliple lines if necessary.','D','If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Multi Line Header',NULL,'Multi Line Header',TO_DATE('2008-10-02 11:00:41','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2/10/2008 11:02:34
-- Financial reporting improvements
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53690 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 2/10/2008 11:03:39
-- Financial reporting improvements
INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56358,53690,20,523,'IsMultiLineHeader',TO_DATE('2008-10-02 11:03:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','Print column headers on mutliple lines if necessary.','D',1,'If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Multi Line Header',0,TO_DATE('2008-10-02 11:03:36','YYYY-MM-DD HH24:MI:SS'),100,1)
;
-- 2/10/2008 11:03:39
-- Financial reporting improvements
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56358 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 2/10/2008 11:04:17
-- Financial reporting improvements
UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-10-02 11:04:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56358
;
-- 2/10/2008 11:04:23
-- 2/10/2008 11:05:08
-- Financial reporting improvements
ALTER TABLE AD_PrintTableFormat ADD IsMultiLineHeader CHAR(1) DEFAULT 'N' CHECK (IsMultiLineHeader IN ('Y','N')) NOT NULL
;
-- 2/10/2008 11:23:44
-- Financial reporting improvements
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56358,0,0,56377,435,TO_DATE('2008-10-02 11:23:40','YYYY-MM-DD HH24:MI:SS'),100,'Print column headers on mutliple lines if necessary.',14,'D','If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Y','Y','N','N','N','N','Y','Multi Line Header',95,0,TO_DATE('2008-10-02 11:23:40','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2/10/2008 11:23:44
-- Financial reporting improvements
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56377 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

View File

@ -0,0 +1,206 @@
-- 26/09/2008 16:58:43
-- Financial reporting improvements
INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PO_Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53687,'FormatPattern',TO_DATE('2008-09-26 16:58:43','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Format Pattern',NULL,'Format Pattern',TO_DATE('2008-09-26 16:58:43','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 26/09/2008 16:58:44
-- Financial reporting improvements
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53687 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 26/09/2008 16:59:38
-- Financial reporting improvements
INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56351,53687,10,489,'FormatPattern',TO_DATE('2008-09-26 16:59:37','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_DATE('2008-09-26 16:59:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 26/09/2008 16:59:38
-- Financial reporting improvements
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56351 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 26/09/2008 17:00:09
-- Financial reporting improvements
UPDATE AD_Column SET AD_Element_ID=53687, ColumnName='FormatPattern', Description='The pattern used to format a number or date.', Help='A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.', Name='Format Pattern',Updated=TO_DATE('2008-09-26 17:00:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56351
;
-- 26/09/2008 17:00:09
-- Financial reporting improvements
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56351
;
-- 26/09/2008 17:00:09
-- Financial reporting improvements
UPDATE AD_Field SET Name='Format Pattern', Description='The pattern used to format a number or date.', Help='A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.' WHERE AD_Column_ID=56351 AND IsCentrallyMaintained='Y'
;
-- 26/09/2008 17:02:12
-- Financial reporting improvements
INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56352,53687,10,101,'FormatPattern',TO_DATE('2008-09-26 17:02:11','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_DATE('2008-09-26 17:02:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 26/09/2008 17:02:12
-- Financial reporting improvements
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56352 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 26/09/2008 17:04:00
-- Financial reporting improvements
INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56353,53687,10,446,'FormatPattern',TO_DATE('2008-09-26 17:03:59','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_DATE('2008-09-26 17:03:59','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 26/09/2008 17:04:00
-- Financial reporting improvements
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56353 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 26/09/2008 17:09:15
-- Financial reporting improvements
INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53688,'Factor',TO_DATE('2008-09-26 17:09:14','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.','D','Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Factor','Factor',TO_DATE('2008-09-26 17:09:14','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 26/09/2008 17:09:15
-- Financial reporting improvements
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53688 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 26/09/2008 17:10:06
-- Financial reporting improvements
INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56354,53688,11,446,'Factor',TO_DATE('2008-09-26 17:10:05','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.','D',10,'Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Factor',0,TO_DATE('2008-09-26 17:10:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 26/09/2008 17:10:06
-- Financial reporting improvements
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56354 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 26/09/2008 17:13:53
-- Financial reporting improvements
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56351,0,0,56373,426,TO_DATE('2008-09-26 17:13:52','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'@PrintFormatType@=F','D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',145,0,TO_DATE('2008-09-26 17:13:52','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 26/09/2008 17:13:53
-- Financial reporting improvements
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56373 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 26/09/2008 17:16:17
-- Financial reporting improvements
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56352,0,0,56374,101,TO_DATE('2008-09-26 17:16:16','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',390,0,TO_DATE('2008-09-26 17:16:16','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 26/09/2008 17:16:17
-- Financial reporting improvements
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56374 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 26/09/2008 17:19:10
-- Financial reporting improvements
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56353,0,0,56375,374,TO_DATE('2008-09-26 17:19:09','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',430,0,TO_DATE('2008-09-26 17:19:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 26/09/2008 17:19:10
-- Financial reporting improvements
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56375 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 26/09/2008 17:19:39
-- Financial reporting improvements
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56354,0,0,56376,374,TO_DATE('2008-09-26 17:19:39','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.',0,'D','Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Y','Y','N','N','N','N','Y','Factor',440,0,TO_DATE('2008-09-26 17:19:39','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 26/09/2008 17:19:39
-- Financial reporting improvements
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56376 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 26/09/2008 17:30:21
-- Financial reporting improvements
ALTER TABLE PA_ReportColumn ADD Factor CHAR(1)
;
-- 26/09/2008 17:30:38
-- Financial reporting improvements
ALTER TABLE PA_ReportColumn ADD FormatPattern NVARCHAR2(22)
;
-- 26/09/2008 17:32:21
-- Financial reporting improvements
ALTER TABLE AD_Column ADD FormatPattern NVARCHAR2(22)
;
-- 26/09/2008 17:33:00
-- Financial reporting improvements
ALTER TABLE AD_PrintFormatItem ADD FormatPattern NVARCHAR2(22)
;
-- 3/10/2008 11:19:23
-- Financial reporting improvements
UPDATE AD_Field SET DisplayLogic='@AD_Reference_ID@=11 | @AD_Reference_ID@=12 | @AD_Reference_ID@=15 | @AD_Reference_ID@=22 | @AD_Reference_ID@=29 | @AD_Reference_ID@=16 | @AD_Reference_ID@=37', SeqNo=165,Updated=TO_DATE('2008-10-03 11:19:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374
;
-- 3/10/2008 12:30:21
-- Financial reporting improvements
INSERT INTO AD_Reference (AD_Org_ID,AD_Client_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53285,TO_DATE('2008-10-03 12:30:19','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Y','Factors',TO_DATE('2008-10-03 12:30:19','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- 3/10/2008 12:30:21
-- Financial reporting improvements
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53285 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- 3/10/2008 12:31:13
-- Financial reporting improvements
INSERT INTO AD_Ref_List (AD_Org_ID,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53285,53436,TO_DATE('2008-10-03 12:31:12','YYYY-MM-DD HH24:MI:SS'),100,'Thousand','D','Y','Thousand',TO_DATE('2008-10-03 12:31:12','YYYY-MM-DD HH24:MI:SS'),100,'k')
;
-- 3/10/2008 12:31:13
-- Financial reporting improvements
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53436 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 3/10/2008 12:31:28
-- Financial reporting improvements
INSERT INTO AD_Ref_List (AD_Org_ID,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53285,53437,TO_DATE('2008-10-03 12:31:27','YYYY-MM-DD HH24:MI:SS'),100,'Million','D','Y','Million',TO_DATE('2008-10-03 12:31:27','YYYY-MM-DD HH24:MI:SS'),100,'m')
;
-- 3/10/2008 12:31:28
-- Financial reporting improvements
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53437 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 3/10/2008 12:31:43
-- Financial reporting improvements
UPDATE AD_Reference SET Name='Scaling Factors',Updated=TO_DATE('2008-10-03 12:31:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53285
;
-- 3/10/2008 12:31:43
-- Financial reporting improvements
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53285
;
-- 3/10/2008 12:32:44
-- Financial reporting improvements
UPDATE AD_Reference SET Description='Factors for scaling the results of financial reports.', Help='Currently supported: thousand, million.',Updated=TO_DATE('2008-10-03 12:32:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53285
;
-- 3/10/2008 12:32:44
-- Financial reporting improvements
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53285
;
-- 3/10/2008 12:33:17
-- Financial reporting improvements
UPDATE AD_Column SET AD_Reference_Value_ID=53285, AD_Reference_ID=17, FieldLength=1, Help='Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of "Thousand" will display as 123.',Updated=TO_DATE('2008-10-03 12:33:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56354
;
-- 3/10/2008 12:33:17
-- Financial reporting improvements
UPDATE AD_Field SET Name='Factor', Description='Scaling factor.', Help='Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of "Thousand" will display as 123.' WHERE AD_Column_ID=56354 AND IsCentrallyMaintained='Y'
;
-- 3/10/2008 12:53:38
-- Financial reporting improvements
UPDATE AD_Ref_List SET Value='M',Updated=TO_DATE('2008-10-03 12:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53437
;

View File

@ -0,0 +1,41 @@
-- 3/10/2008 16:15:23
-- Financial reporting improvements
INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53691,'IsSuppressRepeats',TO_DATE('2008-10-03 16:15:17','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.','D','Determines whether repeated elements in a column are repeated in a printed table.','Y','Suppress Repeats','Suppress Repeats',TO_DATE('2008-10-03 16:15:17','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 3/10/2008 16:15:23
-- Financial reporting improvements
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53691 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 3/10/2008 16:15:52
-- Financial reporting improvements
INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56359,53691,20,489,'IsSuppressRepeats',TO_DATE('2008-10-03 16:15:50','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.','D',1,'Determines whether repeated elements in a column are repeated in a printed table.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Suppress Repeats',0,TO_DATE('2008-10-03 16:15:50','YYYY-MM-DD HH24:MI:SS'),100,1)
;
-- 3/10/2008 16:15:52
-- Financial reporting improvements
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56359 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 3/10/2008 16:19:40
-- Financial reporting improvements
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (56359,0,0,56378,426,TO_DATE('2008-10-03 16:19:39','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.',1,'@IsForm@=N & @PrintFormatType@=F','D','Determines whether repeated elements in a column are repeated in a printed table.','Y','Y','Y','N','N','N','N','Y','Suppress Repeats',115,TO_DATE('2008-10-03 16:19:39','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 3/10/2008 16:19:40
-- Financial reporting improvements
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56378 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 3/10/2008 16:33:36
-- Financial reporting improvements
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-10-03 16:33:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56359
;
-- 3/10/2008 16:33:41
-- Financial reporting improvements
UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-10-03 16:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56359
;
alter table ad_printformatitem add IsSuppressRepeats CHAR(1) DEFAULT 'N' CHECK (IsSuppressRepeats IN ('Y','N')) NOT NULL;

View File

@ -0,0 +1,382 @@
SET DEFINE OFF
SET SQLBLANKLINES ON
-- 07.10.2008 17:27:16 EEST
-- -
UPDATE AD_Column SET AD_Element_ID=53245, ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', FieldLength=10, Help=NULL, Name='BOM & Formula',Updated=TO_DATE('2008-10-07 17:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13977
;
-- 07.10.2008 17:27:16 EEST
-- -
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=13977
;
-- 07.10.2008 17:27:16 EEST
-- -
UPDATE AD_Field SET Name='BOM & Formula', Description='BOM & Formula', Help=NULL WHERE AD_Column_ID=13977 AND IsCentrallyMaintained='Y'
;
-- 07.10.2008 17:27:23 EEST
-- -
ALTER TABLE R_Group ADD PP_Product_BOM_ID NUMBER(10)
;
alter table R_Group add constraint PPProductBOM_RGroup foreign key (PP_Product_BOM_ID) references PP_Product_BOM (PP_Product_BOM_ID) validate
;
-- 07.10.2008 17:42:36 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2008-10-07 17:42:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734
;
-- 07.10.2008 17:44:51 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,53332,0,53179,53018,355,TO_DATE('2008-10-07 17:44:50','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula','EE01','N','N','Y','N','N','Y','N','N','N','N','BOM & Formula','N',30,1,TO_DATE('2008-10-07 17:44:50','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:44:51 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53179 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;
-- 07.10.2008 17:47:53 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53330,56379,0,53179,TO_DATE('2008-10-07 17:47:52','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
There are two reasons for de-activating and not deleting records:
(1) The system requires the record for audit purposes.
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2008-10-07 17:47:52','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:53 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56379 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:54 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53340,56380,0,53179,TO_DATE('2008-10-07 17:47:53','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',22,'EE01','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','N','N','Attribute Set Instance',TO_DATE('2008-10-07 17:47:53','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:54 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56380 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:54 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53334,56381,0,53179,TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula',22,'EE01','Y','Y','N','N','N','N','N','N','BOM & Formula',TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:54 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56381 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:55 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53342,56382,0,53179,TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0,'Type of BOM',1,'EE01','The type of Bills of Materials determines the state','Y','Y','Y','N','N','N','N','N','BOM Type',TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:55 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56382 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:55 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53343,56383,0,53179,TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0,'The use of the Bill of Material',1,'EE01','By default the Master BOM is used, if the alternatives are not defined','Y','Y','Y','N','N','N','N','N','BOM Use',TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:55 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56383 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:56 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53332,56384,0,53179,TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0,'Bill of Materials (Engineering) Change Notice (Version)',10,'EE01','Y','Y','Y','N','N','N','N','N','Change Notice',TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:56 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56384 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:57 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53331,56385,0,53179,TO_DATE('2008-10-07 17:47:56','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'EE01','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2008-10-07 17:47:56','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:57 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56385 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:57 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53329,56386,0,53179,TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'EE01','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:57 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56386 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:58 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53326,56387,0,53179,TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0,'Copy From Record',1,'EE01','Copy From Record','Y','Y','Y','N','N','N','N','N','Copy From',TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:58 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56387 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:58 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53325,56388,0,53179,TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'EE01','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:58 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56388 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:59 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53323,56389,0,53179,TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',22,'EE01','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".
If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Document No',TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:59 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56389 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:47:59 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53322,56390,0,53179,TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'EE01','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:47:59 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56390 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:02 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53341,56391,0,53179,TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'EE01','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:02 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56391 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:03 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53335,56392,0,53179,TO_DATE('2008-10-07 17:48:02','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','N','Process Now',TO_DATE('2008-10-07 17:48:02','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:03 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56392 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:03 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53333,56393,0,53179,TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',22,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:03 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56393 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:04 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53324,56394,0,53179,TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Revision',TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:04 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56394 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:04 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53321,56395,0,53179,TO_DATE('2008-10-07 17:48:04','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',80,'EE01','A search key allows you a fast method of finding a particular record.
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_DATE('2008-10-07 17:48:04','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:04 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56395 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:06 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53344,56396,0,53179,TO_DATE('2008-10-07 17:48:05','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure',22,'EE01','The UOM defines a unique non monetary Unit of Measure','Y','Y','Y','N','N','N','N','N','UOM',TO_DATE('2008-10-07 17:48:05','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:06 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56396 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53338,56397,0,53179,TO_DATE('2008-10-07 17:48:06','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)',7,'EE01','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','N','Valid from',TO_DATE('2008-10-07 17:48:06','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56397 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:48:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53339,56398,0,53179,TO_DATE('2008-10-07 17:48:07','YYYY-MM-DD HH24:MI:SS'),0,'Valid to including this date (last day)',7,'EE01','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','N','N','Valid to',TO_DATE('2008-10-07 17:48:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.10.2008 17:48:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56398 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.10.2008 17:50:00 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2008-10-07 17:50:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56395
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56396
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56389
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56394
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=60,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56388
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56387
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=70,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56386
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=80,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56379
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=10,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56385
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=30,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56384
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=40,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56393
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=23, IsDisplayed='N', IsReadOnly='N', IsSameLine='N', SeqNo=0,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56392
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56397
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56398
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56380
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='Y', SeqNo=20,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56391
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=90,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56382
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', SeqNo=100,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56383
;
-- 07.10.2008 17:52:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=50,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56390
;
-- 07.10.2008 17:55:04 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_DATE('2008-10-07 17:55:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53179
;
-- 07.10.2008 17:55:13 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2008-10-07 17:55:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734
;
-- 07.10.2008 18:04:58 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Tab SET SeqNo=20,Updated=TO_DATE('2008-10-07 18:04:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53179
;
-- 07.10.2008 18:10:03 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Column SET AD_Element_ID=53245, AD_Reference_ID=30, ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', Help=NULL, IsUpdateable='N', Name='BOM & Formula',Updated=TO_DATE('2008-10-07 18:10:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13945
;
-- 07.10.2008 18:10:03 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=13945
;
-- 07.10.2008 18:10:03 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
UPDATE AD_Field SET Name='BOM & Formula', Description='BOM & Formula', Help=NULL WHERE AD_Column_ID=13945 AND IsCentrallyMaintained='Y'
;
-- 07.10.2008 18:10:07 EEST
-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM
ALTER TABLE M_ChangeRequest ADD PP_Product_BOM_ID NUMBER(10)
;
alter table M_changerequest drop column M_BOM_ID;

View File

@ -0,0 +1,20 @@
-- 08.10.2008 16:13:52 EEST
--
UPDATE AD_Column SET DefaultValue='0', IsMandatory='Y',Updated=TO_DATE('2008-10-08 16:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53408
;
-- 08.10.2008 16:13:55 EEST
--
ALTER TABLE M_Product MODIFY LowLevel NUMBER(10) DEFAULT 0
;
-- 08.10.2008 16:13:56 EEST
--
UPDATE M_Product SET LowLevel=0 WHERE LowLevel IS NULL
;
-- 08.10.2008 16:13:56 EEST
--
ALTER TABLE M_Product MODIFY LowLevel NOT NULL
;

View File

@ -0,0 +1,5 @@
-- Oct 10, 2008 11:01:13 PM COT
-- Bug 2158682 - Import Loader Format window showing replication tables
UPDATE AD_Val_Rule SET Code='AD_Table.TableName LIKE ''I#_%'' ESCAPE ''#''',Updated=TO_DATE('2008-10-10 23:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=141
;

View File

@ -0,0 +1,50 @@
-- 16/10/2008 15:11:55
-- Add charge to order import
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56364,968,0,19,591,'C_Charge_ID',TO_DATE('2008-10-16 15:11:52','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges','D',10,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Charge',0,TO_DATE('2008-10-16 15:11:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 16/10/2008 15:11:55
-- Add charge to order import
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56364 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 16/10/2008 15:12:04
-- Add charge to order import
ALTER TABLE I_Order ADD C_Charge_ID NUMBER(10)
;
-- 16/10/2008 15:13:12
-- Add charge to order import
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56365,2096,0,10,591,'ChargeName',TO_DATE('2008-10-16 15:13:10','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Charge','D',60,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Charge Name',0,TO_DATE('2008-10-16 15:13:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 16/10/2008 15:13:12
-- Add charge to order import
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56365 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 16/10/2008 15:13:15
-- Add charge to order import
ALTER TABLE I_Order ADD ChargeName NVARCHAR2(60)
;
-- 16/10/2008 15:17:33
-- Add charge to order import
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56364,56402,0,512,TO_DATE('2008-10-16 15:17:32','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges',10,'D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','N','Charge',434,0,TO_DATE('2008-10-16 15:17:32','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 16/10/2008 15:17:33
-- Add charge to order import
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56402 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 16/10/2008 15:18:50
-- Add charge to order import
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56365,56403,0,512,TO_DATE('2008-10-16 15:18:49','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Charge',40,'D','Y','Y','Y','N','N','N','N','Y','Charge Name',436,0,TO_DATE('2008-10-16 15:18:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 16/10/2008 15:18:50
-- Add charge to order import
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56403 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

View File

@ -0,0 +1,2 @@
create index ad_changelog_speed on ad_changelog (ad_table_id, record_id);

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,208 @@
SET SQLBLANKLINES ON
-- Sep 8, 2008 10:12:30 PM CDT
-- DB Native Sequence
INSERT INTO AD_SysConfig (AD_Client_ID,AD_Org_ID,AD_SysConfig_ID,ConfigurationLevel,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,50016,'S',TO_DATE('2008-09-08 22:12:21','YYYY-MM-DD HH24:MI:SS'),0,'Y - Yes Use Native Sequence , N - No Use Adempiere Sequence (AD_Sequence)','D','Y','SYSTEM_NATIVE_SEQUENCE',TO_DATE('2008-09-08 22:12:21','YYYY-MM-DD HH24:MI:SS'),0,'N')
;
-- Sep 8, 2008 10:22:39 PM CDT
-- DB Native Sequence
INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53156,'4','org.eevolution.process.EnableNativeSequence',TO_DATE('2008-09-08 22:22:38','YYYY-MM-DD HH24:MI:SS'),0,'Enable Native Sequence','D','This process allows Enable the native sequences based in the current AD_Sequence.
This process should be implemented when the users are not connected.','Y','N','N','N','N','Enable Native Sequence','Y',5,181,TO_DATE('2008-09-08 22:22:38','YYYY-MM-DD HH24:MI:SS'),0,'AD_Native_Sequence_Enable')
;
-- Sep 8, 2008 10:22:39 PM CDT
-- DB Native Sequence
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53156 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;
-- Sep 8, 2008 10:22:39 PM CDT
-- DB Native Sequence
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,0,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 8, 2008 10:22:39 PM CDT
-- DB Native Sequence
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,102,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 8, 2008 10:22:39 PM CDT
-- DB Native Sequence
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,103,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 8, 2008 10:22:39 PM CDT
-- DB Native Sequence
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,50002,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 8, 2008 10:22:39 PM CDT
-- DB Native Sequence
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,50001,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 8, 2008 10:24:04 PM CDT
-- DB Native Sequence
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53193,0,53156,'P',TO_DATE('2008-09-08 22:24:03','YYYY-MM-DD HH24:MI:SS'),0,'Enable Native Sequence','D','Y','N','N','N','Enable Native Sequence',TO_DATE('2008-09-08 22:24:03','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Sep 8, 2008 10:24:04 PM CDT
-- DB Native Sequence
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53193 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;
-- Sep 8, 2008 10:24:04 PM CDT
-- DB Native Sequence
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53193, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53193)
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=161
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=367
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=456
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=501
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=326
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=566
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=392
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=113
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=220
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=351
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=289
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=302
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=303
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=321
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=461
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53193
;
-- Sep 8, 2008 10:24:14 PM CDT
-- DB Native Sequence
UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=383
;

View File

@ -0,0 +1,10 @@
-- Oct 26, 2008 11:11:07 AM EET
-- Posterita Integration
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53438,214,TO_DATE('2008-10-26 11:10:56','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Cash',TO_DATE('2008-10-26 11:10:56','YYYY-MM-DD HH24:MI:SS'),100,'X')
;
-- Oct 26, 2008 11:11:07 AM EET
-- Posterita Integration
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53438 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

View File

@ -0,0 +1 @@
-- just for postgresql

View File

@ -0,0 +1 @@
-- just postgresql

View File

@ -0,0 +1,746 @@
-- 07.11.2008 10:27:05 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WinHeight,WinWidth,WindowType) VALUES (0,0,53064,TO_DATE('2008-11-07 10:27:03','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','View MRP Records','N',TO_DATE('2008-11-07 10:27:03','YYYY-MM-DD HH24:MI:SS'),0,0,0,'M')
;
-- 07.11.2008 10:27:05 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53064 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;
-- 07.11.2008 10:27:06 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53064,TO_DATE('2008-11-07 10:27:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:06','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:27:07 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53064,TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:27:07 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53064,TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:27:07 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53064,TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:47:33 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53180,53043,53064,TO_DATE('2008-11-07 10:47:30','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D','N','N','Y','N','N','Y','N','N','N','N','Records','N',10,0,TO_DATE('2008-11-07 10:47:30','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:47:33 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53180 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;
-- 07.11.2008 10:48:05 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54039,56410,0,53180,TO_DATE('2008-11-07 10:47:59','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
There are two reasons for de-activating and not deleting records:
(1) The system requires the record for audit purposes.
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2008-11-07 10:47:59','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:06 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56410 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:08 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54040,56411,0,53180,TO_DATE('2008-11-07 10:48:07','YYYY-MM-DD HH24:MI:SS'),0,'Resource is available',1,'EE01','Resource is available for assignments','Y','Y','Y','N','N','N','N','N','Available',TO_DATE('2008-11-07 10:48:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:08 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56411 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:11 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54025,56412,0,53180,TO_DATE('2008-11-07 10:48:09','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner',10,'EE01','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','N','Business Partner ',TO_DATE('2008-11-07 10:48:09','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:11 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56412 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:15 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54059,56413,0,53180,TO_DATE('2008-11-07 10:48:12','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'EE01','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2008-11-07 10:48:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:15 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56413 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:18 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54032,56414,0,53180,TO_DATE('2008-11-07 10:48:15','YYYY-MM-DD HH24:MI:SS'),0,'Date of Order',29,'EE01','Indicates the Date an item was ordered.','Y','Y','Y','N','N','N','N','N','Date Ordered',TO_DATE('2008-11-07 10:48:15','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:19 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56414 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:23 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54033,56415,0,53180,TO_DATE('2008-11-07 10:48:19','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised',29,'EE01','The Date Promised indicates the date, if any, that an Order was promised for.','Y','Y','Y','N','N','N','N','N','Date Promised',TO_DATE('2008-11-07 10:48:19','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:23 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56415 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:25 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54030,56416,0,53180,TO_DATE('2008-11-07 10:48:24','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateConfirm',TO_DATE('2008-11-07 10:48:24','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:25 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56416 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:27 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54031,56417,0,53180,TO_DATE('2008-11-07 10:48:26','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateFinishSchedule',TO_DATE('2008-11-07 10:48:26','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:27 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56417 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:30 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54034,56418,0,53180,TO_DATE('2008-11-07 10:48:27','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateSimulation',TO_DATE('2008-11-07 10:48:27','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:31 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56418 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:36 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54035,56419,0,53180,TO_DATE('2008-11-07 10:48:31','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateStart',TO_DATE('2008-11-07 10:48:31','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:36 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56419 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:39 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54036,56420,0,53180,TO_DATE('2008-11-07 10:48:36','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateStartSchedule',TO_DATE('2008-11-07 10:48:36','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:39 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56420 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:43 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54037,56421,0,53180,TO_DATE('2008-11-07 10:48:40','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',1020,'EE01','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2008-11-07 10:48:40','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:43 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56421 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:45 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,55336,56422,0,53180,TO_DATE('2008-11-07 10:48:43','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','N','Distribution Order',TO_DATE('2008-11-07 10:48:43','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:46 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56422 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:48 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,55337,56423,0,53180,TO_DATE('2008-11-07 10:48:46','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','N','Distribution Order Line',TO_DATE('2008-11-07 10:48:46','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:48 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56423 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:52 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54038,56424,0,53180,TO_DATE('2008-11-07 10:48:49','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'EE01','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','N','Document Status',TO_DATE('2008-11-07 10:48:49','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:53 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56424 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:48:56 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54042,56425,0,53180,TO_DATE('2008-11-07 10:48:53','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast',10,'EE01','Material Forecast','Y','Y','Y','N','N','N','N','N','Forecast',TO_DATE('2008-11-07 10:48:53','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:48:56 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56425 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:01 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54041,56426,0,53180,TO_DATE('2008-11-07 10:48:58','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Line',10,'EE01','Forecast of Product Qyantity by Period','Y','Y','Y','N','N','N','N','N','Forecast Line',TO_DATE('2008-11-07 10:48:58','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:03 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56426 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:07 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54049,56427,0,53180,TO_DATE('2008-11-07 10:49:03','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Manufacturing Order',TO_DATE('2008-11-07 10:49:03','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:07 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56427 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:09 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54048,56428,0,53180,TO_DATE('2008-11-07 10:49:07','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Manufacturing Order BOM Line',TO_DATE('2008-11-07 10:49:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:10 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56428 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:12 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54047,56429,0,53180,TO_DATE('2008-11-07 10:49:10','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','N','N','N','N','N','N','Material Requirement Planning',TO_DATE('2008-11-07 10:49:10','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:13 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56429 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:16 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54023,56430,0,53180,TO_DATE('2008-11-07 10:49:13','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',120,'EE01','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2008-11-07 10:49:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:17 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56430 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:20 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54027,56431,0,53180,TO_DATE('2008-11-07 10:49:17','YYYY-MM-DD HH24:MI:SS'),0,'Order',10,'EE01','The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you cloase an order, unshipped (backordered) quantities are cancelled.','Y','Y','Y','N','N','N','N','N','Order',TO_DATE('2008-11-07 10:49:17','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:20 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56431 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:23 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54055,56432,0,53180,TO_DATE('2008-11-07 10:49:20','YYYY-MM-DD HH24:MI:SS'),0,3,'EE01','Y','Y','Y','N','N','N','N','N','OrderType',TO_DATE('2008-11-07 10:49:20','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:23 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56432 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:26 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54024,56433,0,53180,TO_DATE('2008-11-07 10:49:24','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'EE01','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2008-11-07 10:49:24','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:27 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56433 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:31 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54050,56434,0,53180,TO_DATE('2008-11-07 10:49:27','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Planner',TO_DATE('2008-11-07 10:49:27','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:32 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56434 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:35 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54051,56435,0,53180,TO_DATE('2008-11-07 10:49:32','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this request is of a high, medium or low priority.',10,'EE01','The Priority indicates the importance of this request.','Y','Y','Y','N','N','N','N','N','Priority',TO_DATE('2008-11-07 10:49:32','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:35 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56435 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:37 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54043,56436,0,53180,TO_DATE('2008-11-07 10:49:35','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_DATE('2008-11-07 10:49:35','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:39 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56436 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:42 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54052,56437,0,53180,TO_DATE('2008-11-07 10:49:39','YYYY-MM-DD HH24:MI:SS'),0,'Quantity',131089,'EE01','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','N','Quantity',TO_DATE('2008-11-07 10:49:39','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:42 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56437 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54045,56438,0,53180,TO_DATE('2008-11-07 10:49:42','YYYY-MM-DD HH24:MI:SS'),0,'Material Requisition',10,'EE01','Y','Y','Y','N','N','N','N','N','Requisition',TO_DATE('2008-11-07 10:49:42','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56438 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:47 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54044,56439,0,53180,TO_DATE('2008-11-07 10:49:44','YYYY-MM-DD HH24:MI:SS'),0,'Material Requisition Line',10,'EE01','Y','Y','Y','N','N','N','N','N','Requisition Line',TO_DATE('2008-11-07 10:49:44','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:47 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56439 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:50 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54053,56440,0,53180,TO_DATE('2008-11-07 10:49:47','YYYY-MM-DD HH24:MI:SS'),0,'Resource',10,'EE01','Y','Y','Y','N','N','N','N','N','Resource',TO_DATE('2008-11-07 10:49:47','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:50 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56440 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:53 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54026,56441,0,53180,TO_DATE('2008-11-07 10:49:51','YYYY-MM-DD HH24:MI:SS'),0,'Sales Order Line',10,'EE01','The Sales Order Line is a unique identifier for a line in an order.','Y','Y','Y','N','N','N','N','N','Sales Order Line',TO_DATE('2008-11-07 10:49:51','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:53 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56441 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:49:56 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54058,56442,0,53180,TO_DATE('2008-11-07 10:49:53','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',80,'EE01','A search key allows you a fast method of finding a particular record.
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_DATE('2008-11-07 10:49:53','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:49:56 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56442 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:50:00 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54054,56443,0,53180,TO_DATE('2008-11-07 10:49:57','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','N','TypeMRP',TO_DATE('2008-11-07 10:49:57','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:50:00 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56443 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:50:04 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54060,56444,0,53180,TO_DATE('2008-11-07 10:50:00','YYYY-MM-DD HH24:MI:SS'),0,'Version of the table definition',131089,'EE01','The Version indicates the version of this table definition.','Y','Y','Y','N','N','N','N','N','Version',TO_DATE('2008-11-07 10:50:00','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:50:04 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56444 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:50:06 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54046,56445,0,53180,TO_DATE('2008-11-07 10:50:04','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point',10,'EE01','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','Y','N','N','N','N','N','Warehouse',TO_DATE('2008-11-07 10:50:04','YYYY-MM-DD HH24:MI:SS'),0)
;
-- 07.11.2008 10:50:06 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56445 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 07.11.2008 10:51:06 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_DATE('2008-11-07 10:51:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53180
;
-- 07.11.2008 10:52:07 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Window_Trl SET IsTranslated='Y',Name='Vizualizare MRP',Updated=TO_DATE('2008-11-07 10:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53064 AND AD_Language='ro_RO'
;
-- 07.11.2008 10:52:16 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Tab_Trl SET IsTranslated='Y',Name='Inregistrari',Updated=TO_DATE('2008-11-07 10:52:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53180 AND AD_Language='ro_RO'
;
-- 07.11.2008 10:58:40 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56410
;
-- 07.11.2008 10:58:40 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56411
;
-- 07.11.2008 10:58:40 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56414
;
-- 07.11.2008 10:58:40 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56416
;
-- 07.11.2008 10:58:40 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56418
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56419
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56421
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56430
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56435
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56442
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56444
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56413
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56433
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56436
;
-- 07.11.2008 10:58:41 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56440
;
-- 07.11.2008 10:58:42 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56445
;
-- 07.11.2008 10:58:42 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56415
;
-- 07.11.2008 10:58:42 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56420
;
-- 07.11.2008 10:58:43 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56417
;
-- 07.11.2008 10:58:43 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56437
;
-- 07.11.2008 10:58:43 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56443
;
-- 07.11.2008 10:58:43 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56432
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56431
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56441
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56427
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56428
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56422
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56423
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56438
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56439
;
-- 07.11.2008 10:58:44 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56425
;
-- 07.11.2008 10:58:45 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56426
;
-- 07.11.2008 10:58:45 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56412
;
-- 07.11.2008 10:58:45 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56424
;
-- 07.11.2008 10:58:45 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56434
;
-- 07.11.2008 11:02:20 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56433
;
-- 07.11.2008 11:02:34 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56440
;
-- 07.11.2008 11:02:43 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420
;
-- 07.11.2008 11:02:49 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-11-07 11:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420
;
-- 07.11.2008 11:02:55 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56417
;
-- 07.11.2008 11:03:10 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:03:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56415
;
-- 07.11.2008 11:03:15 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:03:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420
;
-- 07.11.2008 11:04:09 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:04:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56417
;
-- 07.11.2008 11:04:50 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:04:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54028
;
-- 07.11.2008 11:04:58 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:04:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54030
;
-- 07.11.2008 11:05:04 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54031
;
-- 07.11.2008 11:05:09 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54032
;
-- 07.11.2008 11:05:16 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54033
;
-- 07.11.2008 11:05:22 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54034
;
-- 07.11.2008 11:05:27 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54035
;
-- 07.11.2008 11:05:33 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54036
;
-- 07.11.2008 11:05:58 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-11-07 11:05:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54052
;
-- 07.11.2008 11:06:07 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:06:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54056
;
-- 07.11.2008 11:06:31 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-11-07 11:06:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54060
;
-- 07.11.2008 11:06:38 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:06:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56437
;
-- 07.11.2008 11:06:54 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET AD_FieldGroup_ID=104,Updated=TO_DATE('2008-11-07 11:06:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56432
;
-- 07.11.2008 11:07:00 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56441
;
-- 07.11.2008 11:07:04 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56428
;
-- 07.11.2008 11:07:09 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:07:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56422
;
-- 07.11.2008 11:07:13 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56423
;
-- 07.11.2008 11:07:19 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56439
;
-- 07.11.2008 11:07:24 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56426
;
-- 07.11.2008 11:07:34 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2008-11-07 11:07:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56424
;
-- 07.11.2008 11:08:16 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Table SET AD_Window_ID=53064,Updated=TO_DATE('2008-11-07 11:08:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53043
;
-- 07.11.2008 11:12:48 EET
-- FR [ 2233277 ] Create window for PP_MRP table.
UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=131,Updated=TO_DATE('2008-11-07 11:12:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54038
;
update AD_Tab set EntityType='EE01' where AD_Tab_ID=53180;
update AD_Window set EntityType='EE01' where AD_Window_ID=53064;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,133 @@
-- 2008-nov-11 08:54:58 CET
-- [ 2257170 ] Implement shipper and freight category functionality
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56376,2111,0,13,259,'M_FreightCategory_ID',TO_DATE('2008-11-11 08:54:56','YYYY-MM-DD HH24:MI:SS'),100,'Category of the Freight','D',1,'Freight Categories are used to calculate the Freight for the Shipper selected','Y','Y','Y','N','N','N','N','N','N','N','N','N','Y','Freight Category','@DocStatus@!=CO',0,TO_DATE('2008-11-11 08:54:56','YYYY-MM-DD HH24:MI:SS'),100,0)
;
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56376 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
ALTER TABLE C_Order ADD M_FreightCategory_ID NUMBER(10) DEFAULT NULL
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56376,56446,0,186,TO_DATE('2008-11-11 09:04:37','YYYY-MM-DD HH24:MI:SS'),100,'Category of the Freight',1,'D','Freight Categories are used to calculate the Freight for the Shipper selected','Y','Y','Y','N','N','N','N','N','Freight Category',TO_DATE('2008-11-11 09:04:37','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56446 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56446
;
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=2878
;
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=1107
;
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=1104
;
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=1077
;
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=1103
;
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8653
;
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=1098
;
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=3272
;
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2112
;
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=2109
;
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=3113
;
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=1099
;
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2593
;
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=2589
;
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=1324
;
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=7038
;
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=7826
;
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7825
;
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=1112
;
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=1113
;
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=1082
;
UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=1084
;
UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=6560
;
UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=1083
;
UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=3660
;
UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=1000169
;
UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=1000170
;
UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=52014
;
UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=1000171
;
UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=1000172
;
UPDATE AD_Field SET AD_FieldGroup_ID=130,Updated=TO_DATE('2008-11-11 09:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446
;
UPDATE AD_Field SET DisplayLogic='@DeliveryViaRule@=''S'' & @OrderType@=''SO''',Updated=TO_DATE('2008-11-11 09:13:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446
;
UPDATE AD_Field SET DisplayLength=14, IsSameLine='Y',Updated=TO_DATE('2008-11-11 09:13:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446
;
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2008-11-11 09:28:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56376
;
INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,Description,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52034,'M_FreightCategory_ID in (select M_FreightCategory_ID from M_Freight where M_Shipper_ID=@M_Shipper_ID@)',TO_DATE('2008-11-11 10:28:03','YYYY-MM-DD HH24:MI:SS'),100,'Select only freight categories defined at the shipper','D','Y','M_FreightCategory of Shipper','S',TO_DATE('2008-11-11 10:28:03','YYYY-MM-DD HH24:MI:SS'),100)
;
UPDATE AD_Column SET AD_Val_Rule_ID=52034,Updated=TO_DATE('2008-11-11 10:35:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56376
;
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=2878
;
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56446
;

View File

@ -0,0 +1,608 @@
SET DEFINE OFF;
-- Nov 15, 2008 10:11:57 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@AD_Client_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:11:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52042
;
-- Nov 15, 2008 10:11:58 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Reference_ID=19, DefaultValue='@#AD_Client_ID@', IsMandatory='Y',Updated=TO_DATE('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52042
;
-- Nov 15, 2008 10:11:58 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=104, DefaultValue='@AD_Org_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52043
;
-- Nov 15, 2008 10:11:59 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Reference_ID=19, DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_DATE('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52043
;
-- Nov 15, 2008 10:12:07 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@AD_Client_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52077
;
-- Nov 15, 2008 10:12:07 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@#AD_Client_ID@', IsMandatory='Y', Name='Client',Updated=TO_DATE('2008-11-15 10:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52077
;
-- Nov 15, 2008 10:12:08 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=104, DefaultValue='@AD_Org_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52078
;
-- Nov 15, 2008 10:12:08 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=130, DefaultValue='@#AD_Org_ID@', IsMandatory='Y', Name='Organization',Updated=TO_DATE('2008-11-15 10:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52078
;
-- Nov 15, 2008 10:12:15 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=52041, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_DATE('2008-11-15 10:12:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52091
;
-- Nov 15, 2008 10:12:15 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=52041, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Name='Card Transfer Type',Updated=TO_DATE('2008-11-15 10:12:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52091
;
-- Nov 15, 2008 10:12:17 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=52031, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_DATE('2008-11-15 10:12:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52080
;
-- Nov 15, 2008 10:12:17 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=52031, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Description='Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book', IsMandatory='Y', Name='Cash Book Transfer Type',Updated=TO_DATE('2008-11-15 10:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52080
;
-- Nov 15, 2008 10:12:19 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=52037, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_DATE('2008-11-15 10:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52087
;
-- Nov 15, 2008 10:12:20 AM EET
-- Posterita Integration
UPDATE AD_Column SET AD_Element_ID=52037, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Name='Check Transfer Type',Updated=TO_DATE('2008-11-15 10:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52087
;
----------------------------
-- Nov 15, 2008 10:22:43 AM EET
-- Posterita Integration
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,Name,Updated,UpdatedBy) VALUES (0,53196,0,TO_DATE('2008-11-15 10:22:39','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','N','N','Web POS Terminal',TO_DATE('2008-11-15 10:22:39','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:43 AM EET
-- Posterita Integration
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53196 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;
-- Nov 15, 2008 10:22:44 AM EET
-- Posterita Integration
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53065,TO_DATE('2008-11-15 10:22:43','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Web POS Terminal','N',TO_DATE('2008-11-15 10:22:43','YYYY-MM-DD HH24:MI:SS'),0,'M')
;
-- Nov 15, 2008 10:22:44 AM EET
-- Posterita Integration
INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53065 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;
-- Nov 15, 2008 10:22:46 AM EET
-- Posterita Integration
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,IsActive,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53181,52004,53065,TO_DATE('2008-11-15 10:22:44','YYYY-MM-DD HH24:MI:SS'),0,'A','N','Y','N','Y','N','N','Terminal','N',10,0,TO_DATE('2008-11-15 10:22:44','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:46 AM EET
-- Posterita Integration
INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53181 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;
-- Nov 15, 2008 10:22:48 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52077,56450,0,53181,TO_DATE('2008-11-15 10:22:46','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Client',10,TO_DATE('2008-11-15 10:22:46','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:48 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56450 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:48 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10,Updated=TO_DATE('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56450
;
-- Nov 15, 2008 10:22:49 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52078,56451,0,53181,TO_DATE('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Organization',20,TO_DATE('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:49 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56451 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:49 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20,Updated=TO_DATE('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56451
;
-- Nov 15, 2008 10:22:50 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52102,56452,0,53181,TO_DATE('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Name',30,TO_DATE('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:50 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56452 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:50 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=30,Updated=TO_DATE('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56452
;
-- Nov 15, 2008 10:22:51 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52097,56453,0,53181,TO_DATE('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Active',40,TO_DATE('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:51 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56453 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:51 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40,Updated=TO_DATE('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56453
;
-- Nov 15, 2008 10:22:52 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52095,56454,0,53181,TO_DATE('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Description',50,TO_DATE('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:52 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56454 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:52 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=255, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=50,Updated=TO_DATE('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56454
;
-- Nov 15, 2008 10:22:53 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52096,56455,0,53181,TO_DATE('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Comment/Help',60,TO_DATE('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:53 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56455 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:53 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=2000, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=60,Updated=TO_DATE('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56455
;
-- Nov 15, 2008 10:22:54 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52101,56456,0,53181,TO_DATE('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Warehouse',70,TO_DATE('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:54 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56456 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:54 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Warehouse', SeqNo=70,Updated=TO_DATE('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56456
;
-- Nov 15, 2008 10:22:55 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52079,56457,0,53181,TO_DATE('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Auto Lock',80,TO_DATE('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:55 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56457 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:55 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Auto Lock', SeqNo=80,Updated=TO_DATE('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56457
;
-- Nov 15, 2008 10:22:56 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52099,56458,0,53181,TO_DATE('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Locked',90,TO_DATE('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:56 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56458 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:56 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Locked', SeqNo=90,Updated=TO_DATE('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56458
;
-- Nov 15, 2008 10:22:56 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52100,56459,0,53181,TO_DATE('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Lock Time',100,TO_DATE('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:57 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56459 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:57 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=10, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Lock Time', SeqNo=100,Updated=TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56459
;
-- Nov 15, 2008 10:22:57 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52098,56460,0,53181,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Last Lock Time',110,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:57 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56460 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:57 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=7, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Last Lock Time', SeqNo=110,Updated=TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56460
;
-- Nov 15, 2008 10:22:58 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52107,56461,0,53181,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Unlocking Time',120,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:58 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56461 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:58 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=7, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Unlocking Time', SeqNo=120,Updated=TO_DATE('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56461
;
-- Nov 15, 2008 10:22:59 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52094,56462,0,53181,TO_DATE('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Template BPartner',130,TO_DATE('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:22:59 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56462 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:22:59 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Template BPartner', SeqNo=130,Updated=TO_DATE('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56462
;
-- Nov 15, 2008 10:23:00 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52104,56463,0,53181,TO_DATE('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Printer Name',140,TO_DATE('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:00 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56463 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:00 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Printer Name', SeqNo=140,Updated=TO_DATE('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56463
;
-- Nov 15, 2008 10:23:01 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52103,56464,0,53181,TO_DATE('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Purchase Pricelist',150,TO_DATE('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:01 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56464 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:01 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Purchase Pricelist', SeqNo=150,Updated=TO_DATE('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56464
;
-- Nov 15, 2008 10:23:02 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52106,56465,0,53181,TO_DATE('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Sales Pricelist',160,TO_DATE('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:02 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56465 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:02 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Sales Pricelist', SeqNo=160,Updated=TO_DATE('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56465
;
-- Nov 15, 2008 10:23:03 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52105,56466,0,53181,TO_DATE('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Sales Representative',170,TO_DATE('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:03 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56466 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:03 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Sales Representative', SeqNo=170,Updated=TO_DATE('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56466
;
-- Nov 15, 2008 10:23:04 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52091,56467,0,53181,TO_DATE('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Card Transfer Type',180,TO_DATE('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:04 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56467 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:04 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Card Transfer Type', SeqNo=180,Updated=TO_DATE('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56467
;
-- Nov 15, 2008 10:23:05 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52088,56468,0,53181,TO_DATE('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Card Bank Account',190,TO_DATE('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:05 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56468 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:05 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Card Bank Account', SeqNo=190,Updated=TO_DATE('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56468
;
-- Nov 15, 2008 10:23:05 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52090,56469,0,53181,TO_DATE('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Card trx to Cash Book',200,TO_DATE('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:06 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56469 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:06 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Card trx to Cash Book', SeqNo=200,Updated=TO_DATE('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56469
;
-- Nov 15, 2008 10:23:07 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52089,56470,0,53181,TO_DATE('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Card trx to Bank account',210,TO_DATE('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:07 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56470 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:07 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Card trx to Bank account', SeqNo=210,Updated=TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56470
;
-- Nov 15, 2008 10:23:07 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52080,56471,0,53181,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash Book Transfer Type',220,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:07 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56471 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:07 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash Book Transfer Type', SeqNo=220,Updated=TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56471
;
-- Nov 15, 2008 10:23:08 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52083,56472,0,53181,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash Book',230,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:09 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56472 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:09 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash Book', SeqNo=230,Updated=TO_DATE('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56472
;
-- Nov 15, 2008 10:23:09 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52084,56473,0,53181,TO_DATE('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash BPartner',240,TO_DATE('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:10 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56473 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:10 AM EET
-- Posterita Integration
UPDATE AD_Field SET Description='BPartner to be used for Cash transactions', DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash BPartner', SeqNo=240,Updated=TO_DATE('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56473
;
-- Nov 15, 2008 10:23:10 AM EET
-- Posterita Integration
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56473
;
-- Nov 15, 2008 10:23:10 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52082,56474,0,53181,TO_DATE('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Cash trx to Cash Book',250,TO_DATE('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:10 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56474 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:11 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Cash trx to Cash Book', SeqNo=250,Updated=TO_DATE('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56474
;
-- Nov 15, 2008 10:23:11 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52081,56475,0,53181,TO_DATE('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Cash trx to Bank Account',260,TO_DATE('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:12 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56475 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:12 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Cash trx to Bank Account', SeqNo=260,Updated=TO_DATE('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56475
;
-- Nov 15, 2008 10:23:13 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52087,56476,0,53181,TO_DATE('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Check Transfer Type',270,TO_DATE('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:13 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56476 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:13 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Check Transfer Type', SeqNo=270,Updated=TO_DATE('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56476
;
-- Nov 15, 2008 10:23:15 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52085,56477,0,53181,TO_DATE('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Check Bank Account',280,TO_DATE('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:15 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56477 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:16 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Check Bank Account', SeqNo=280,Updated=TO_DATE('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56477
;
-- Nov 15, 2008 10:23:17 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52111,56478,0,53181,TO_DATE('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Check trx to Cash Book',290,TO_DATE('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:17 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56478 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:17 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Check trx to Cash Book', SeqNo=290,Updated=TO_DATE('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56478
;
-- Nov 15, 2008 10:23:18 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52086,56479,0,53181,TO_DATE('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Tranfer Check trx to Bank Account',300,TO_DATE('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:18 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56479 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:18 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Check trx to Bank Account', SeqNo=300,Updated=TO_DATE('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56479
;
-- Nov 15, 2008 10:23:19 AM EET
-- Posterita Integration
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52110,56480,0,53181,TO_DATE('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','POS Terminal',310,TO_DATE('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Nov 15, 2008 10:23:19 AM EET
-- Posterita Integration
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56480 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 15, 2008 10:23:19 AM EET
-- Posterita Integration
UPDATE AD_Field SET DisplayLength=22, IsDisplayed='N', IsReadOnly='N', IsSameLine='N', Name='POS Terminal',Updated=TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56480
;
-- Nov 15, 2008 10:23:19 AM EET
-- Posterita Integration
UPDATE AD_Menu SET AD_Window_ID=53065, Action='W', IsSummary='N',Updated=TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53196
;
-- Nov 15, 2008 10:23:19 AM EET
-- Posterita Integration
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID,AD_Tree_ID,Created,CreatedBy,IsActive,Node_ID,Parent_ID,SeqNo,Updated,UpdatedBy) VALUES (0,0,10,TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',53196,52001,60,TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),0)
;
--------------------------------
-- Nov 15, 2008 10:38:15 AM EET
-- Posterita Integration
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy) VALUES (11,0,102,53065,TO_DATE('2008-11-15 10:38:14','YYYY-MM-DD HH24:MI:SS'),0,'Y','Y',TO_DATE('2008-11-15 10:38:14','YYYY-MM-DD HH24:MI:SS'),0)
;
--------------------------------
-- Nov 15, 2008 12:07:12 PM EET
-- Posterita Integration
INSERT INTO U_POSTerminal (AD_Client_ID,AD_Org_ID,AutoLock,C_CashBPartner_ID,C_CashBook_ID,C_TemplateBPartner_ID,CardTransferCashBook_ID,CardTransferType,CashBookTransferType,CashTransferCashBook_ID,CheckTransferCashBook_ID,CheckTransferType,Created,CreatedBy,Description,IsActive,LockTime,Locked,M_Warehouse_ID,Name,PO_PriceList_ID,SO_PriceList_ID,SalesRep_ID,U_POSTerminal_ID,Updated,UpdatedBy) VALUES (11,11,'N',119,101,119,101,'B','C',101,101,'C',TO_DATE('2008-11-15 12:06:59','YYYY-MM-DD HH24:MI:SS'),100,'GardenWorld','Y',0,'N',103,'GardenWorld',102,101,101,50000,TO_DATE('2008-11-15 12:06:59','YYYY-MM-DD HH24:MI:SS'),100)
;
--------------------------------
-- Nov 15, 2008 12:12:11 PM EET
-- Posterita Integration
UPDATE AD_User SET UserPIN='1234',Updated=TO_DATE('2008-11-15 12:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=101 WHERE AD_User_ID=101
;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
-- Make combination of AD_Client_ID and Value unique!
ALTER TABLE M_FreightCategory
ADD Constraint M_FreightCat_Value UNIQUE(AD_Client_ID, Value)
;

View File

@ -0,0 +1 @@
-- 18.11.2008 09:46:47 EET -- UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2008-11-18 09:46:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2200 ; /* Records with errors: select bp.AD_Client_ID, bp.Value, bp.Name, ba.AccountNo from C_BP_BankAccount ba inner join C_BPartner bp on (bp.c_bpartner_id= ba.c_bpartner_id) where ba.C_Bank_ID IS NULL AND IsACH='Y' order by bp.AD_Client_ID, bp.Value; */

View File

@ -0,0 +1,9 @@
-- Nov 18, 2008 9:35:53 PM EET
-- [ 2311021 ] Window Shipper, tab Freight set proper Region validation
UPDATE AD_Column SET AD_Val_Rule_ID=153,Updated=TO_DATE('2008-11-18 21:35:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9099
;
-- Nov 18, 2008 9:36:21 PM EET
-- [ 2311021 ] Window Shipper, tab Freight set proper Region validation
UPDATE AD_Column SET AD_Val_Rule_ID=155,Updated=TO_DATE('2008-11-18 21:36:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9108
;

View File

@ -0,0 +1,161 @@
-- Nov 19, 2008 4:49:00 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Column SET DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_DATE('2008-11-19 16:49:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=51006
;
-- Nov 19, 2008 3:55:41 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
ALTER TABLE PA_DashboardContent ADD ColumnNo NUMBER(10) DEFAULT 1
;
-- Nov 19, 2008 4:00:41 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
ALTER TABLE PA_DashboardContent ADD ZulFilePath NVARCHAR2(255)
;
-- Nov 19, 2008 4:57:13 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_DATE('2008-11-19 16:57:08','YYYY-MM-DD HH24:MI:SS'),100,'Workflow activities, notices and requests','Y',0,'Activities',50000,TO_DATE('2008-11-19 16:57:08','YYYY-MM-DD HH24:MI:SS'),100,'/zul/activities.zul')
;
-- Nov 19, 2008 4:58:26 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_DATE('2008-11-19 16:58:24','YYYY-MM-DD HH24:MI:SS'),100,'User favourities','Y',1.000000000000,'Favourites',50001,TO_DATE('2008-11-19 16:58:24','YYYY-MM-DD HH24:MI:SS'),100,'/zul/favourites.zul')
;
-- Nov 19, 2008 4:58:52 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_DATE('2008-11-19 16:58:50','YYYY-MM-DD HH24:MI:SS'),100,'Info views','Y',2.000000000000,'Views',50002,TO_DATE('2008-11-19 16:58:50','YYYY-MM-DD HH24:MI:SS'),100,'/zul/views.zul')
;
-- Nov 19, 2008 5:00:34 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,2,TO_DATE('2008-11-19 17:00:26','YYYY-MM-DD HH24:MI:SS'),100,'Performance meters','Y',0,'Performance',50003,TO_DATE('2008-11-19 17:00:26','YYYY-MM-DD HH24:MI:SS'),100,'/zul/performance.zul')
;
-- Nov 19, 2008 5:02:55 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy) VALUES (11,0,1,TO_DATE('2008-11-19 17:02:54','YYYY-MM-DD HH24:MI:SS'),100,'Google Calendar','Y',0,'Calendar',50004,TO_DATE('2008-11-19 17:02:54','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Nov 19, 2008 6:00:00 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE PA_DashboardContent SET UpdatedBy=100, ZulFilePath='/zul/calendar.zul',Updated=TO_DATE('2008-11-19 18:00:00','YYYY-MM-DD HH24:MI:SS') WHERE PA_DashboardContent_ID=50004
;
-- Nov 19, 2008 6:00:00 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE PA_DashboardContent SET HTML=null WHERE PA_DashboardContent_ID=50004
;
-- Nov 19, 2008 4:28:46 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Table SET AccessLevel='6',Updated=TO_DATE('2008-11-19 16:28:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=50010
;
-- Nov 19, 2008 3:54:09 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53709,0,'ColumnNo',TO_DATE('2008-11-19 15:54:08','YYYY-MM-DD HH24:MI:SS'),100,'Dashboard content column number','D','Dashboard content column number, not used by the swing client at the moment.','Y','Column No','Column No',TO_DATE('2008-11-19 15:54:08','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Nov 19, 2008 3:54:09 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53709 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Nov 19, 2008 3:55:33 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56469,53709,0,11,50010,'ColumnNo',TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,'0','Dashboard content column number','D',14,'Dashboard content column number, not used by the swing client at the moment.','Y','N','N','N','N','N','N','N','N','N','Y','Column No',0,TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Nov 19, 2008 3:55:33 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56469 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Nov 19, 2008 3:59:41 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53710,0,'ZulFilePath',TO_DATE('2008-11-19 15:59:37','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D','Absolute path to zul file that is use to generate dashboard content','Y','ZUL File Path','ZUL File Path',TO_DATE('2008-11-19 15:59:37','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Nov 19, 2008 3:59:41 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53710 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Nov 19, 2008 4:00:37 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56470,53710,0,10,50010,'ZulFilePath',TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D',255,'Absolute path to zul file that is use to generate dashboard content','Y','N','N','N','N','N','N','N','N','N','Y','ZUL File Path',0,TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Nov 19, 2008 4:00:37 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56470 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Nov 19, 2008 4:01:04 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56469,56485,0,50010,TO_DATE('2008-11-19 16:01:03','YYYY-MM-DD HH24:MI:SS'),100,'Dashboard content column number',14,'D','Dashboard content column number, not used by the swing client at the moment.','Y','Y','Y','N','N','N','N','N','Column No',TO_DATE('2008-11-19 16:01:03','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Nov 19, 2008 4:01:05 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56485 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 19, 2008 4:01:12 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56470,56486,0,50010,TO_DATE('2008-11-19 16:01:05','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file',255,'D','Absolute path to zul file that is use to generate dashboard content','Y','Y','Y','N','N','N','N','N','ZUL File Path',TO_DATE('2008-11-19 16:01:05','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Nov 19, 2008 4:01:12 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56486 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Nov 19, 2008 4:01:25 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56485
;
-- Nov 19, 2008 4:01:25 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=51009
;
-- Nov 19, 2008 4:01:25 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=51010
;
-- Nov 19, 2008 4:01:25 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=51011
;
-- Nov 19, 2008 4:01:25 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56486
;
-- Nov 19, 2008 4:01:26 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=51012
;
-- Nov 19, 2008 4:01:26 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=51013
;
-- Nov 19, 2008 4:01:54 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Field SET DisplayLength=255,Updated=TO_DATE('2008-11-19 16:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=51011
;
-- Nov 19, 2008 4:09:07 PM SGT
-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support
UPDATE AD_Column SET DefaultValue='1',Updated=TO_DATE('2008-11-19 16:09:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56469
;

View File

@ -0,0 +1,4 @@
-- Nov 21, 2008 12:14:31 PM SGT
-- [ 2319604 ] Wrong SQL where clause in Inbound Asset Entry window
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type = ''New''',Updated=TO_DATE('2008-11-21 12:14:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53166
;

View File

@ -0,0 +1,9 @@
-- Nov 21, 2008 2:17:03 PM MYT
-- [ 2319302 ] Can't create new asset
UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-11-21 14:17:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8061
;
-- Nov 21, 2008 2:17:10 PM MYT
-- [ 2319302 ] Can't create new asset
ALTER TABLE A_Asset MODIFY Processing CHAR(1) DEFAULT 'N'
;

View File

@ -0,0 +1,15 @@
-- 21.11.2008 14:21:33 EET
-- BF [ 2320411 ] Translate "Already posted to" message
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53046,0,TO_DATE('2008-11-21 14:21:30','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Already posted to this account.','E',TO_DATE('2008-11-21 14:21:30','YYYY-MM-DD HH24:MI:SS'),0,'AlreadyPostedTo')
;
-- 21.11.2008 14:21:33 EET
-- BF [ 2320411 ] Translate "Already posted to" message
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53046 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;
-- 21.11.2008 14:22:08 EET
-- BF [ 2320411 ] Translate "Already posted to" message
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Exista inregistrari contabile pe acest cont.',Updated=TO_DATE('2008-11-21 14:22:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53046 AND AD_Language='ro_RO'
;

View File

@ -0,0 +1,5 @@
-- Nov 23, 2008 1:14:30 AM EET
-- [ 2074600 ] Housekeeping - Process to delete historic information
UPDATE U_POSTerminal SET CardTransferBankAccount_ID=100, Card_BankAccount_ID=100, CashTransferBankAccount_ID=100, CheckTransferBankAccount_ID=100, Check_BankAccount_ID=100,Updated=TO_DATE('2008-11-23 01:14:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE U_POSTerminal_ID=50000
;

View File

@ -0,0 +1,8 @@
-- [ 2339528 ] Proper access level U_Web_Properties
UPDATE AD_Table SET AccessLevel='7',Updated=TO_DATE('2008-11-24 19:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001
;
-- [ 2339528 ] Proper access level U_Web_Properties
UPDATE AD_Table SET AD_Window_ID=52002,Updated=TO_DATE('2008-11-24 19:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001
;

View File

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Nov 28, 2008 4:45:06 PM MYT
-- [ 2353794 ] Financial Report: Add Natural Balance amount type
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53441,235,TO_DATE('2008-11-28 16:44:54','YYYY-MM-DD HH24:MI:SS'),100,'BY for P & L account, BT for Balance Sheet account','D','Y','Natural Balance',TO_DATE('2008-11-28 16:44:54','YYYY-MM-DD HH24:MI:SS'),100,'BN')
;
-- Nov 28, 2008 4:45:06 PM MYT
-- [ 2353794 ] Financial Report: Add Natural Balance amount type
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53441 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

View File

@ -0,0 +1,29 @@
update pp_product_bomline pbl
set (componenttype, feature) =
(select (case
when mbl.bomtype = 'O' then 'OP'
when mbl.bomtype in ('1','2','3','4','5','6','7','8','9') then 'VA'
else 'CO'
end),
(case
when mbl.bomtype in ('1','2','3','4','5','6','7','8','9')
then (select name
from ad_ref_list
where ad_reference_id = 279
and value = mbl.bomtype)
else null
end)
from m_product_bom mbl, pp_product_bom pb, pp_product_bomline pbl2
where pbl2.pp_product_bomline_id = pbl.pp_product_bomline_id
and pb.m_product_id = mbl.m_product_id
and pbl2.pp_product_bom_id = pb.pp_product_bom_id
and mbl.m_productbom_id = pbl2.m_product_id)
where exists
(select *
from m_product_bom mbl, pp_product_bom pb, pp_product_bomline pbl2
where (mbl.bomtype <> 'P' or pbl2.componenttype <> 'CO')
and pbl2.pp_product_bomline_id = pbl.pp_product_bomline_id
and pb.m_product_id = mbl.m_product_id
and pbl2.pp_product_bom_id = pb.pp_product_bom_id
and mbl.m_productbom_id = pbl2.m_product_id)
;

View File

@ -0,0 +1,205 @@
-- 2/12/2008 11:11:17
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53606
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53566
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53567
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53568
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53569
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53570
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53571
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53572
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53573
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53574
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53575
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53576
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53577
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53578
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53579
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53580
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53581
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53582
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53583
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53584
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53585
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53586
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53587
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53588
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53589
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53590
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53591
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53592
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53593
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53594
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53595
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=53596
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=53597
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=53598
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=53599
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=53600
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=53601
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=53602
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=53603
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=53604
;
-- 2/12/2008 11:11:18
-- [ 2227971 ] Product Planning window - overlapped fields
UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=53605
;

View File

@ -0,0 +1,553 @@
-- INSERTING into AD_ELEMENT
Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53460,0,0,'Y',to_date('01/MAY/08','DD/MON/RR'),100,to_date('01/MAY/08','DD/MON/RR'),100,'DropShip_User_ID','U','Drop Shipment Contact','Drop Shipment Contact','Business Partner Contact for drop shipment',null,null,null,null,null);
Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53459,0,0,'Y',to_date('01/MAY/08','DD/MON/RR'),100,to_date('07/MAY/08','DD/MON/RR'),100,'DropShip_Location_ID','D','Drop Shipment Location','Drop Shipment Location','Business Partner Location for shipping to',null,null,null,null,null);
Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53458,0,0,'Y',to_date('01/MAY/08','DD/MON/RR'),100,to_date('01/MAY/08','DD/MON/RR'),100,'DropShip_BPartner_ID','U','Drop Shipment Partner','Drop Shipment Partner','Business Partner to ship to','If empty the business partner will be shipped to.',null,null,null,null);
-- INSERTING into AD_Column
Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS) values (55314,0,0,'Y',to_date('07/MAY/08','DD/MON/RR'),to_date('07/MAY/08','DD/MON/RR'),100,100,'Drop Shipment Partner','Business Partner to ship to','If empty the business partner will be shipped to.',1,'D','DropShip_BPartner_ID',259,30,138,230,22,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',53458,null,'N','N',null,null,null);
-- 7/05/2008 11:35:44
-- Drop shipment
ALTER TABLE C_Order ADD DropShip_BPartner_ID NUMBER(10)
;
-- 7/05/2008 11:40:02
-- Drop shipment
INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52022,'C_BPartner_Location.C_BPartner_ID=@DropShip_BPartner_ID@ AND C_BPartner_Location.IsShipTo=''Y'' AND C_BPartner_Location.IsActive=''Y''',TO_DATE('2008-05-07 11:39:57','YYYY-MM-DD HH24:MI:SS'),100,'U','Y','C_BPartner_Loc Ship - Drop Ship BPartner','S',TO_DATE('2008-05-07 11:39:57','YYYY-MM-DD HH24:MI:SS'),100)
;
-- INSERTING into AD_Column
Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,
COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,
ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,
AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS)
values (55315,0,0,'Y',to_date('07/MAY/08','DD/MON/RR'),to_date('07/MAY/08','DD/MON/RR'),100,100,'Drop Shipment Location',
'Business Partner Location for shipping to',null,1,'D','DropShip_Location_ID',259,18,159,52022,22,null,'N','N','N','Y',
null,'N',0,'N','N',null,null,null,null,'N',53459,null,'N','N',null,null,null);
-- 7/05/2008 11:41:42
-- Drop shipment
ALTER TABLE C_Order ADD DropShip_Location_ID NUMBER(10)
;
-- INSERTING
Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,
HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,
DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,
CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,
COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS)
values (55316,0,0,'Y',to_date('07/MAY/08','DD/MON/RR'),to_date('07/MAY/08','DD/MON/RR'),100,100,
'Drop Shipment Contact','Business Partner Contact for drop shipment',null,1,'D','DropShip_User_ID',
259,18,110,168,22,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',53460,null,'N','N',null,null,null);
-- 7/05/2008 11:42:43
-- Drop shipment
ALTER TABLE C_Order ADD DropShip_User_ID NUMBER(10)
;
-- 7/05/2008 11:46:47
-- Drop shipment
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55317,2466,0,20,319,'IsDropShip',TO_DATE('2008-05-07 11:46:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Drop Shipments are sent from the Vendor directly to the Customer','D',1,'Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment',0,TO_DATE('2008-05-07 11:46:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 7/05/2008 11:47:15
-- Drop shipment
ALTER TABLE M_InOut ADD IsDropShip CHAR(1) DEFAULT 'N' CHECK (IsDropShip IN ('Y','N'))
;
-- 7/05/2008 11:48:17
-- Drop shipment
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55318,53458,0,18,138,319,'DropShip_BPartner_ID',TO_DATE('2008-05-07 11:48:16','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to','D',10,'If empty the business partner will be shipped to.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment Partner',0,TO_DATE('2008-05-07 11:48:16','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 7/05/2008 11:48:21
-- Drop shipment
ALTER TABLE M_InOut ADD DropShip_BPartner_ID NUMBER(10)
;
-- 7/05/2008 11:49:16
-- Drop shipment
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55319,53459,0,18,159,319,120,'DropShip_Location_ID',TO_DATE('2008-05-07 11:49:15','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to','D',10,'Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment Location',0,TO_DATE('2008-05-07 11:49:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 7/05/2008 11:49:18
-- Drop shipment
ALTER TABLE M_InOut ADD DropShip_Location_ID NUMBER(10)
;
-- 7/05/2008 11:49:58
-- Drop shipment
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,
Created,CreatedBy,Description,EntityType,FieldLength,
IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,
IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55320,53460,0,18,110,319,168,'DropShip_User_ID',
TO_DATE('2008-05-07 11:49:57','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment','D',10,
'Y','N','N','N','N','N','N','N','N','N',
'Y','Drop Shipment Contact',0,TO_DATE('2008-05-07 11:49:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 7/05/2008 11:50:00
-- Drop shipment
ALTER TABLE M_InOut ADD DropShip_User_ID NUMBER(10)
;
-- 7/05/2008 11:58:45
-- Drop shipment
UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2008-05-07 11:58:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11580
;
-- 7/05/2008 12:03:04
-- Drop shipment
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55314,55410,0,186,TO_DATE('2008-05-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',192,0,TO_DATE('2008-05-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 7/05/2008 12:03:04
-- Drop shipment
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55410 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 7/05/2008 12:04:09
-- Drop shipment
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55315,130,55411,0,186,TO_DATE('2008-05-07 12:04:08','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Location',194,0,TO_DATE('2008-05-07 12:04:08','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 7/05/2008 12:04:09
-- Drop shipment
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55411 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 7/05/2008 12:04:17
-- Drop shipment
UPDATE AD_Field SET AD_FieldGroup_ID=130,Updated=TO_DATE('2008-05-07 12:04:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55410
;
-- 7/05/2008 12:05:27
-- Drop shipment
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55316,130,55412,0,186,TO_DATE('2008-05-07 12:05:26','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',196,0,TO_DATE('2008-05-07 12:05:26','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 7/05/2008 12:05:27
-- Drop shipment
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55412 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 7/05/2008 12:08:49
-- Drop shipment
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-05-07 12:08:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55411
;
-- 7/05/2008 12:15:15
-- Drop shipment
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55314,124,55413,0,294,TO_DATE('2008-05-07 12:15:13','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',402,0,TO_DATE('2008-05-07 12:15:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 7/05/2008 12:15:15
-- Drop shipment
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55413 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 7/05/2008 12:16:35
-- Drop shipment
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55315,124,55414,0,294,TO_DATE('2008-05-07 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',404,0,TO_DATE('2008-05-07 12:16:34','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 7/05/2008 12:16:35
-- Drop shipment
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55414 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 7/05/2008 12:17:34
-- Drop shipment
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55316,124,55415,0,294,TO_DATE('2008-05-07 12:17:33','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',406,0,TO_DATE('2008-05-07 12:17:33','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 7/05/2008 12:17:34
-- Drop shipment
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55415 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 7/05/2008 12:17:50
-- Drop shipment
UPDATE AD_Field SET IsReadOnly='N',Updated=TO_DATE('2008-05-07 12:17:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10123
;
-- 8/05/2008 10:32:31
-- Drop shipment
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53461,0,'DropShip_Warehouse_ID',TO_DATE('2008-05-08 10:32:26','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.','D','The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','Drop Ship Warehouse','Drop Ship Warehouse',TO_DATE('2008-05-08 10:32:26','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 8/05/2008 10:32:31
-- Drop shipment
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53461 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 8/05/2008 10:33:53
-- Drop shipment
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55321,53461,0,18,197,228,'DropShip_Warehouse_ID',TO_DATE('2008-05-08 10:33:51','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.','D',22,'The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Ship Warehouse',0,TO_DATE('2008-05-08 10:33:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 8/05/2008 10:33:53
-- Drop shipment
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55321 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 8/05/2008 10:33:56
-- Drop shipment
ALTER TABLE AD_OrgInfo ADD DropShip_Warehouse_ID NUMBER(10)
;
-- 8/05/2008 10:35:33
-- Drop shipment
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-05-08 10:35:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9245
;
-- 8/05/2008 10:36:37
-- Drop shipment
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55321,55416,0,170,TO_DATE('2008-05-08 10:36:36','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.',22,'D','The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','Y','Y','N','N','N','N','N','Drop Ship Warehouse',65,0,TO_DATE('2008-05-08 10:36:36','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 8/05/2008 10:36:37
-- Drop shipment
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55416 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 8/05/2008 10:39:12
-- Drop shipment
UPDATE AD_Column SET AD_Val_Rule_ID=189,Updated=TO_DATE('2008-05-08 10:39:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55321
;
-- 8/05/2008 10:39:12
-- Drop shipment
UPDATE AD_Field SET Name='Drop Ship Warehouse', Description='The (logical) warehouse to use for recording drop ship receipts and shipments.', Help='The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.' WHERE AD_Column_ID=55321 AND IsCentrallyMaintained='Y'
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55317,124,55419,0,257,TO_DATE('2008-05-16 09:33:44','YYYY-MM-DD HH24:MI:SS'),100,'Drop Shipments are sent from the Vendor directly to the Customer',0,'D','Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','Y','Y','N','N','N','N','N','Drop Shipment',282,0,TO_DATE('2008-05-16 09:33:44','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55419 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55319,55425,0,296,TO_DATE('2008-05-16 09:43:45','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',246,0,TO_DATE('2008-05-16 09:43:45','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55425 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55317,55426,0,296,TO_DATE('2008-05-16 09:44:49','YYYY-MM-DD HH24:MI:SS'),100,'Drop Shipments are sent from the Vendor directly to the Customer',1,'D','Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','Y','Y','N','N','N','N','N','Drop Shipment',242,0,TO_DATE('2008-05-16 09:44:49','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55426 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55318,55427,0,296,TO_DATE('2008-05-16 09:45:31','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',244,0,TO_DATE('2008-05-16 09:45:31','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55427 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55320,55428,0,296,TO_DATE('2008-05-16 09:46:13','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',248,0,TO_DATE('2008-05-16 09:46:13','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55428 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55318,124,55429,0,257,TO_DATE('2008-05-16 09:48:43','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',0,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',284,0,TO_DATE('2008-05-16 09:48:43','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55429 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55319,124,55430,0,257,TO_DATE('2008-05-16 09:49:38','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',286,0,TO_DATE('2008-05-16 09:49:38','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55430 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55320,124,55431,0,257,TO_DATE('2008-05-16 09:50:20','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',288,0,TO_DATE('2008-05-16 09:50:20','YYYY-MM-DD HH24:MI:SS'),100)
;
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55431 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
CREATE OR REPLACE VIEW "M_INOUT_CANDIDATE_V"
AS
SELECT
o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID,
o.DocumentNo, o.DateOrdered, o.C_DocType_ID,
o.POReference, o.Description, o.SalesRep_ID,
l.M_Warehouse_ID,
SUM((l.QtyOrdered-l.QtyDelivered)*l.PriceActual) AS TotalLines
FROM C_Order o
INNER JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID)
WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE
-- not Offers and open Walkin-Receipts
AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType
WHERE DocBaseType='SOO' AND DocSubTypeSO NOT IN ('ON','OB','WR'))
-- Delivery Rule - not manual
AND o.DeliveryRule<>'M'
AND (l.M_Product_ID IS NULL OR EXISTS
(SELECT * FROM M_Product p
WHERE l.M_Product_ID=p.M_Product_ID AND p.IsExcludeAutoDelivery='N'))
-- we need to ship
AND l.QtyOrdered <> l.QtyDelivered
-- AND o.IsDropShip='N'
-- no vendor drop shipment order has been raised
AND NOT EXISTS (SELECT 1 FROM C_Order lo
INNER JOIN C_OrderLine ll ON (ll.C_Order_ID=lo.C_Order_ID)
WHERE ll.C_Orderline_ID=l.Link_OrderLine_ID
AND lo.IsDropShip = 'Y')
AND (l.M_Product_ID IS NOT NULL OR l.C_Charge_ID IS NOT NULL)
-- Not confirmed shipment
AND NOT EXISTS (SELECT * FROM M_InOutLine iol
INNER JOIN M_InOut io ON (iol.M_InOut_ID=io.M_InOut_ID)
WHERE iol.C_OrderLine_ID=l.C_OrderLine_ID AND io.DocStatus IN ('IP','WC'))
--
GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID,
o.DocumentNo, o.DateOrdered, o.C_DocType_ID,
o.POReference, o.Description, o.SalesRep_ID, l.M_Warehouse_ID;
CREATE OR REPLACE VIEW "C_ORDER_HEADER_V"
AS
SELECT o.AD_Client_ID, o.AD_Org_ID, o.IsActive, o.Created, o.CreatedBy, o.Updated, o.UpdatedBy,
'en_US' AS AD_Language,
o.C_Order_ID, o.IsSOTrx, o.DocumentNo, o.DocStatus, o.C_DocType_ID,
o.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS,
oi.C_Location_ID AS Org_Location_ID, oi.TaxID,
o.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID,
dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote,
o.SalesRep_ID, COALESCE(ubp.Name, u.Name) AS SalesRep_Name,
o.DateOrdered, o.DatePromised,
bpg.Greeting AS BPGreeting,
bp.Name, bp.Name2,
bpcg.Greeting AS BPContactGreeting,
bpc.Title, bpc.Phone,
NULLIF (bpc.Name, bp.Name) AS ContactName,
bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal,
bp.ReferenceNo,
-- Bill to
o.Bill_BPartner_ID, o.Bill_Location_ID, o.Bill_User_ID,
bbp.Value AS Bill_BPValue, bbp.TaxID AS Bill_BPTaxID,
bbp.Name AS Bill_Name, bbp.Name2 AS Bill_Name2,
bbpc.Title AS Bill_Title, bbpc.Phone AS Bill_Phone,
NULLIF (bbpc.Name, bbp.Name) AS Bill_ContactName,
bbpl.C_Location_ID AS Bill_C_Location_ID,
-- Ship to
o.IsDropShip,
COALESCE(o.DropShip_BPartner_ID, o.C_BPartner_ID) AS Ship_BPartner_ID,
COALESCE(o.DropShip_Location_ID, o.C_BPartner_Location_ID) AS Ship_Location_ID,
COALESCE(o.DropShip_User_ID, o.AD_User_ID) AS Ship_User_ID,
COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID,
COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2,
COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone,
NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName,
COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID,
o.Description,
o.POReference,
o.C_Currency_ID,
pt.Name AS PaymentTerm, pt.DocumentNote AS PaymentTermNote,
o.C_Charge_ID, o.ChargeAmt,
o.TotalLines,
o.GrandTotal, o.GrandTotal AS AmtInWords,
o.M_PriceList_ID,
o.IsTaxIncluded, o.Volume, o.Weight,
o.C_Campaign_ID, o.C_Project_ID, o.C_Activity_ID,
o.M_Shipper_ID, o.DeliveryRule, o.DeliveryViaRule, o.PriorityRule, o.InvoiceRule
FROM C_Order o
INNER JOIN C_DocType dt ON (o.C_DocType_ID=dt.C_DocType_ID)
INNER JOIN M_Warehouse wh ON (o.M_Warehouse_ID=wh.M_Warehouse_ID)
INNER JOIN C_PaymentTerm pt ON (o.C_PaymentTerm_ID=pt.C_PaymentTerm_ID)
INNER JOIN C_BPartner bp ON (o.C_BPartner_ID=bp.C_BPartner_ID)
LEFT OUTER JOIN C_Greeting bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID)
INNER JOIN C_BPartner_Location bpl ON (o.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID)
INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID)
LEFT OUTER JOIN AD_User bpc ON (o.AD_User_ID=bpc.AD_User_ID)
LEFT OUTER JOIN C_Greeting bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID)
INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID)
LEFT OUTER JOIN AD_User u ON (o.SalesRep_ID=u.AD_User_ID)
LEFT OUTER JOIN C_BPartner ubp ON (u.C_BPartner_ID=ubp.C_BPartner_ID)
INNER JOIN C_BPartner bbp ON (o.Bill_BPartner_ID=bbp.C_BPartner_ID)
INNER JOIN C_BPartner_Location bbpl ON (o.Bill_Location_ID=bbpl.C_BPartner_Location_ID)
LEFT OUTER JOIN AD_User bbpc ON (o.Bill_User_ID=bbpc.AD_User_ID)
LEFT OUTER JOIN C_BPartner dsbp ON (o.DropShip_BPartner_ID=dsbp.C_BPartner_ID)
LEFT OUTER JOIN C_BPartner_Location dsbpl ON (o.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID)
LEFT OUTER JOIN AD_User dsbpc ON (o.DropShip_User_ID=dsbpc.AD_User_ID);
CREATE OR REPLACE VIEW "C_ORDER_HEADER_VT"
AS
SELECT o.AD_Client_ID, o.AD_Org_ID, o.IsActive, o.Created, o.CreatedBy, o.Updated, o.UpdatedBy,
dt.AD_Language,
o.C_Order_ID, o.IsSOTrx, o.DocumentNo, o.DocStatus, o.C_DocType_ID,
o.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS,
oi.C_Location_ID AS Org_Location_ID, oi.TaxID,
o.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID,
dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote,
o.SalesRep_ID, COALESCE(ubp.Name, u.Name) AS SalesRep_Name,
o.DateOrdered, o.DatePromised,
bpg.Greeting AS BPGreeting,
bp.Name, bp.Name2,
bpcg.Greeting AS BPContactGreeting,
bpc.Title, bpc.Phone,
NULLIF (bpc.Name, bp.Name) AS ContactName,
bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal,
bp.ReferenceNo,
-- Bill to
o.Bill_BPartner_ID, o.Bill_Location_ID, o.Bill_User_ID,
bbp.Value AS Bill_BPValue, bbp.TaxID AS Bill_BPTaxID,
bbp.Name AS Bill_Name, bbp.Name2 AS Bill_Name2,
bbpc.Title AS Bill_Title, bbpc.Phone AS Bill_Phone,
NULLIF (bbpc.Name, bbp.Name) AS Bill_ContactName,
bbpl.C_Location_ID AS Bill_C_Location_ID,
-- Ship to
o.IsDropShip,
COALESCE(o.DropShip_BPartner_ID, o.C_BPartner_ID) AS Ship_BPartner_ID,
COALESCE(o.DropShip_Location_ID, o.C_BPartner_Location_ID) AS Ship_Location_ID,
COALESCE(o.DropShip_User_ID, o.AD_User_ID) AS Ship_User_ID,
COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID,
COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2,
COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone,
NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName,
COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID,
o.Description,
o.POReference,
o.C_Currency_ID,
pt.Name AS PaymentTerm, pt.DocumentNote AS PaymentTermNote,
o.C_Charge_ID, o.ChargeAmt,
o.TotalLines,
o.GrandTotal, o.GrandTotal AS AmtInWords,
o.M_PriceList_ID,
o.IsTaxIncluded, o.Volume, o.Weight,
o.C_Campaign_ID, o.C_Project_ID, o.C_Activity_ID,
o.M_Shipper_ID, o.DeliveryRule, o.DeliveryViaRule, o.PriorityRule, o.InvoiceRule
FROM C_Order o
INNER JOIN C_DocType_Trl dt ON (o.C_DocType_ID=dt.C_DocType_ID)
INNER JOIN M_Warehouse wh ON (o.M_Warehouse_ID=wh.M_Warehouse_ID)
INNER JOIN C_PaymentTerm_Trl pt ON (o.C_PaymentTerm_ID=pt.C_PaymentTerm_ID AND dt.AD_Language=pt.AD_Language)
INNER JOIN C_BPartner bp ON (o.C_BPartner_ID=bp.C_BPartner_ID)
LEFT OUTER JOIN C_Greeting_Trl bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID AND dt.AD_Language=bpg.AD_Language)
INNER JOIN C_BPartner_Location bpl ON (o.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID)
INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID)
LEFT OUTER JOIN AD_User bpc ON (o.AD_User_ID=bpc.AD_User_ID)
LEFT OUTER JOIN C_Greeting_Trl bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID AND dt.AD_Language=bpcg.AD_Language)
INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID)
LEFT OUTER JOIN AD_User u ON (o.SalesRep_ID=u.AD_User_ID)
LEFT OUTER JOIN C_BPartner ubp ON (u.C_BPartner_ID=ubp.C_BPartner_ID)
INNER JOIN C_BPartner bbp ON (o.Bill_BPartner_ID=bbp.C_BPartner_ID)
INNER JOIN C_BPartner_Location bbpl ON (o.Bill_Location_ID=bbpl.C_BPartner_Location_ID)
LEFT OUTER JOIN AD_User bbpc ON (o.Bill_User_ID=bbpc.AD_User_ID)
LEFT OUTER JOIN C_BPartner dsbp ON (o.DropShip_BPartner_ID=dsbp.C_BPartner_ID)
LEFT OUTER JOIN C_BPartner_Location dsbpl ON (o.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID)
LEFT OUTER JOIN AD_User dsbpc ON (o.DropShip_User_ID=dsbpc.AD_User_ID);
CREATE OR REPLACE VIEW "M_INOUT_HEADER_V"
AS
SELECT io.AD_Client_ID, io.AD_Org_ID, io.IsActive, io.Created, io.CreatedBy, io.Updated, io.UpdatedBy,
'en_US' AS AD_Language,
io.M_InOut_ID, io.IsSOTrx, io.DocumentNo, io.DocStatus, io.C_DocType_ID,
io.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS,
oi.C_Location_ID AS Org_Location_ID, oi.TaxID,
io.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID,
dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote,
io.C_Order_ID,
io.MovementDate, io.MovementType,
bpg.Greeting AS BPGreeting,
bp.Name, bp.Name2,
bpcg.Greeting AS BPContactGreeting,
bpc.Title, bpc.Phone,
NULLIF (bpc.Name, bp.Name) AS ContactName,
bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal,
bp.ReferenceNo,
io.Description,
io.POReference,
io.DateOrdered, io.Volume, io.Weight,
io.M_Shipper_ID, io.DeliveryRule, io.DeliveryViaRule, io.PriorityRule,
-- Ship to
io.IsDropShip,
COALESCE(io.DropShip_BPartner_ID, io.C_BPartner_ID) AS Ship_BPartner_ID,
COALESCE(io.DropShip_Location_ID, io.C_BPartner_Location_ID) AS Ship_Location_ID,
COALESCE(io.DropShip_User_ID, io.AD_User_ID) AS Ship_User_ID,
COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID,
COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2,
COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone,
NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName,
COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID
FROM M_InOut io
INNER JOIN C_DocType dt ON (io.C_DocType_ID=dt.C_DocType_ID)
INNER JOIN C_BPartner bp ON (io.C_BPartner_ID=bp.C_BPartner_ID)
LEFT OUTER JOIN C_Greeting bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID)
INNER JOIN C_BPartner_Location bpl ON (io.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID)
INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID)
LEFT OUTER JOIN AD_User bpc ON (io.AD_User_ID=bpc.AD_User_ID)
LEFT OUTER JOIN C_Greeting bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID)
INNER JOIN AD_OrgInfo oi ON (io.AD_Org_ID=oi.AD_Org_ID)
INNER JOIN M_Warehouse wh ON (io.M_Warehouse_ID=wh.M_Warehouse_ID)
LEFT OUTER JOIN C_BPartner dsbp ON (io.DropShip_BPartner_ID=dsbp.C_BPartner_ID)
LEFT OUTER JOIN C_BPartner_Location dsbpl ON (io.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID)
LEFT OUTER JOIN AD_User dsbpc ON (io.DropShip_User_ID=dsbpc.AD_User_ID);
CREATE OR REPLACE VIEW "M_INOUT_HEADER_VT"
AS
SELECT io.AD_Client_ID, io.AD_Org_ID, io.IsActive, io.Created, io.CreatedBy, io.Updated, io.UpdatedBy,
dt.AD_Language,
io.M_InOut_ID, io.IsSOTrx, io.DocumentNo, io.DocStatus, io.C_DocType_ID,
io.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS,
oi.C_Location_ID AS Org_Location_ID, oi.TaxID,
io.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID,
dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote,
io.C_Order_ID, bpc.Phone,
io.MovementDate, io.MovementType,
bpg.Greeting AS BPGreeting,
bp.Name, bp.Name2,
bpcg.Greeting AS BPContactGreeting,
bpc.Title,
NULLIF (bpc.Name, bp.Name) AS ContactName,
bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal,
bp.ReferenceNo,
io.Description,
io.POReference,
io.DateOrdered, io.Volume, io.Weight,
io.M_Shipper_ID, io.DeliveryRule, io.DeliveryViaRule, io.PriorityRule,
-- Ship to
io.IsDropShip,
COALESCE(io.DropShip_BPartner_ID, io.C_BPartner_ID) AS Ship_BPartner_ID,
COALESCE(io.DropShip_Location_ID, io.C_BPartner_Location_ID) AS Ship_Location_ID,
COALESCE(io.DropShip_User_ID, io.AD_User_ID) AS Ship_User_ID,
COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID,
COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2,
COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone,
NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName,
COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID
FROM M_InOut io
INNER JOIN C_DocType_Trl dt ON (io.C_DocType_ID=dt.C_DocType_ID)
INNER JOIN C_BPartner bp ON (io.C_BPartner_ID=bp.C_BPartner_ID)
LEFT OUTER JOIN C_Greeting_Trl bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID AND dt.AD_Language=bpg.AD_Language)
INNER JOIN C_BPartner_Location bpl ON (io.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID)
INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID)
LEFT OUTER JOIN AD_User bpc ON (io.AD_User_ID=bpc.AD_User_ID)
LEFT OUTER JOIN C_Greeting_Trl bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID AND dt.AD_Language=bpcg.AD_Language)
INNER JOIN AD_OrgInfo oi ON (io.AD_Org_ID=oi.AD_Org_ID)
INNER JOIN M_Warehouse wh ON (io.M_Warehouse_ID=wh.M_Warehouse_ID)
LEFT OUTER JOIN C_BPartner dsbp ON (io.DropShip_BPartner_ID=dsbp.C_BPartner_ID)
LEFT OUTER JOIN C_BPartner_Location dsbpl ON (io.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID)
LEFT OUTER JOIN AD_User dsbpc ON (io.DropShip_User_ID=dsbpc.AD_User_ID);

View File

@ -0,0 +1,4 @@
-- Dez 02, 2008 12:27:12 PM ECT
-- fix Region Alaksa
update c_region set Description='Alaska',Updated=TO_DATE('2008-12-02 12:27:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 where c_region_id=118
;

View File

@ -0,0 +1,3 @@
-- Set Proper Where clause
UPDATE AD_Tab SET WhereClause='C_BPartner_ID IS NOT null',Updated=sysdate,UpdatedBy=100 WHERE AD_Tab_ID=330
;

View File

@ -0,0 +1,25 @@
-- 4/12/2008 17:08:52
-- Call form from button
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56515,1298,0,19,284,'AD_Form_ID',TO_DATE('2008-12-04 17:08:50','YYYY-MM-DD HH24:MI:SS'),100,'Special Form','D',10,'The Special Form field identifies a unique Special Form in the system.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Special Form',0,TO_DATE('2008-12-04 17:08:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 4/12/2008 17:08:52
-- Call form from button
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56515 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 4/12/2008 17:08:57
-- Call form from button
ALTER TABLE AD_Process ADD AD_Form_ID NUMBER(10)
;
-- 4/12/2008 17:11:17
-- Call form from button
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56515,56497,0,245,TO_DATE('2008-12-04 17:11:03','YYYY-MM-DD HH24:MI:SS'),100,'Special Form',14,'D','The Special Form field identifies a unique Special Form in the system.','Y','Y','Y','N','N','N','N','N','Special Form',155,0,TO_DATE('2008-12-04 17:11:03','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 4/12/2008 17:11:17
-- Call form from button
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56497 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

View File

@ -0,0 +1,55 @@
-- 2008-dec-05 09:18:11 CET
-- [ 2350428 ] Add default locator to replenishment line
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56518,448,0,19,249,127,'M_Locator_ID',TO_DATE('2008-12-05 09:18:10','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator','D',1,'The Locator indicates where in a Warehouse a product is located.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Locator',0,TO_DATE('2008-12-05 09:18:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 2008-dec-05 09:18:11 CET
-- [ 2350428 ] Add default locator to replenishment line
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56518 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 2008-dec-05 09:18:34 CET
-- [ 2350428 ] Add default locator to replenishment line
ALTER TABLE M_Replenish ADD M_Locator_ID NUMBER(10)
;
-- 2008-dec-05 09:19:11 CET
-- [ 2350428 ] Add default locator to replenishment line
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56518,56500,0,182,TO_DATE('2008-12-05 09:19:10','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator',1,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','N','Locator',TO_DATE('2008-12-05 09:19:10','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2008-dec-05 09:19:11 CET
-- [ 2350428 ] Add default locator to replenishment line
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56500 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 2008-dec-05 09:19:21 CET
-- [ 2350428 ] Add default locator to replenishment line
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56500
;
-- 2008-dec-05 09:19:21 CET
-- [ 2350428 ] Add default locator to replenishment line
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=1051
;
-- 2008-dec-05 09:19:21 CET
-- [ 2350428 ] Add default locator to replenishment line
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=1052
;
-- 2008-dec-05 09:19:21 CET
-- [ 2350428 ] Add default locator to replenishment line
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=1053
;
-- 2008-dec-05 09:19:21 CET
-- [ 2350428 ] Add default locator to replenishment line
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=1054
;
-- 2008-dec-05 09:19:21 CET
-- [ 2350428 ] Add default locator to replenishment line
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=12133
;

View File

@ -0,0 +1 @@
-- placeholder for experimental

View File

@ -0,0 +1 @@
-- Just for PostgreSQL

View File

@ -0,0 +1,15 @@
-- 08.12.2008 11:38:06 EET
-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53047,0,TO_DATE('2008-12-08 11:37:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Invoice is fully matched.','E',TO_DATE('2008-12-08 11:37:49','YYYY-MM-DD HH24:MI:SS'),0,'InvoiceFullyMatched')
;
-- 08.12.2008 11:38:07 EET
-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53047 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;
-- 08.12.2008 11:39:11 EET
-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Factura este integral receptionata.',Updated=TO_DATE('2008-12-08 11:39:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53047 AND AD_Language='ro_RO'
;

View File

@ -0,0 +1,15 @@
-- 08.12.2008 18:04:07 EET
-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53048,0,TO_DATE('2008-12-08 18:04:06','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','No Current Vendor Selected','Indicates that the Product has no Current Vendor selected','I',TO_DATE('2008-12-08 18:04:06','YYYY-MM-DD HH24:MI:SS'),0,'MRP-130')
;
-- 08.12.2008 18:04:07 EET
-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53048 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;
-- 08.12.2008 18:06:55 EET
-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Furnizorul curent nu este specificat',MsgTip='Produsul nu are furnizor curent specificat',Updated=TO_DATE('2008-12-08 18:06:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53048 AND AD_Language='ro_RO'
;

View File

View File

@ -0,0 +1,4 @@
-- Dec 8, 2008 9:36:58 PM COT
UPDATE AD_SysConfig SET Value='I forgot to set the DICTIONARY_ID_COMMENTS System Configurator',Updated=TO_DATE('2008-12-08 21:36:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003
;

View File

@ -0,0 +1,90 @@
-- Dec 8, 2008 9:45:04 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56519,2554,0,20,117,'IsBetaFunctionality',TO_DATE('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,'N','This functionality is considered Beta','D',1,'Beta functionality is not fully tested or completed.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Beta Functionality',0,TO_DATE('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Dec 8, 2008 9:45:04 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56519 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Dec 8, 2008 9:46:03 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
ALTER TABLE AD_Workflow ADD IsBetaFunctionality CHAR(1) DEFAULT 'N' CHECK (IsBetaFunctionality IN ('Y','N')) NOT NULL
;
-- Dec 8, 2008 9:47:56 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56519,56501,0,148,TO_DATE('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100,'This functionality is considered Beta',1,'D','Beta functionality is not fully tested or completed.','Y','Y','Y','N','N','N','N','N','Beta Functionality',310,0,TO_DATE('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Dec 8, 2008 9:47:56 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56501 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56501
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=10084
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=3665
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=9495
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8752
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8745
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=8747
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=8750
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8744
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=8753
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=10085
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=10919
;
-- Dec 8, 2008 9:48:43 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-12-08 21:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56501
;

View File

@ -0,0 +1,450 @@
/* Mark unstable processes/windows/forms as beta functionalities */
update ad_process set isbetafunctionality='Y' where ad_process_id=53004 /* PP_Product_BOM CopyFrom */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53006 /* Multi Level BOM and Formula Detail */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53008 /* Mutiple Components Change */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53010 /* Create Product Planning */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53012 /* Calculate Low Level */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53014 /* Create Record MRP */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53016 /* Calculate Material Plan */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53018 /* MRP Details */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53020 /* Calculate Capacity Plan */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53022 /* Calculate Distribution Plan */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53024 /* DRP Details */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53026 /* Process Manufacturing Order */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53028 /* Manufacturing Order */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53030 /* Manufacturing Orders Review */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53032 /* Component Check */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53034 /* Print and Release Order */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53036 /* Inventory in Process */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53038 /* Process Cost Collector */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53040 /* Shop Floor Transaction Details */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53042 /* Process Distribution Order */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53044 /* Distribution Order Print */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53046 /* Generate Movement */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53048 /* Print Test Results */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53050 /* Create Doc Type to Manufacturing */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53052 /* Create Element */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53054 /* Product Costing */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53056 /* Copy Price to Standard Cost */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53058 /* Workflow Cost Roll-Up */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53060 /* Cost Workflow and Process Details */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53062 /* Bill of Material and Formula Cost Roll-UP */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53072 /* C_Invoce Calculate Tax */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53074 /* Test Import Model */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53076 /* Process Payroll */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53078 /* Create Concept for Payroll */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53080 /* HRPayroll Create Periods */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53082 /* Payroll Processing */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53084 /* Payroll Send EMail */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53085 /* Export Format Generator */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53089 /* Test Export Model */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53091 /* Import FA Journal */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53093 /* Build Depreciation Forecast File */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53095 /* Process Entry */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53097 /* Asset Disposal Expense Entry Rpt */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53099 /* Asset Transfer Entry */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53101 /* A_Asset_Split */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53103 /* A_Asset_Disposal */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53105 /* A_Depreciation_Transfer */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53107 /* Asset Split Entry */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53109 /* Depreciation Expense Entry */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53111 /* Build Depreciation Workfile */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53113 /* Asset Depreciation Forecast */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53115 /* RV_Asset_Parent_Report */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53117 /* RV_Depreciation_Table */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53119 /* Spread Report */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53121 /* RV_Asset_Depreciation_Method */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53123 /* Create Depreciation Function */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53125 /* RV_Asset_Convention_Rpt */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53127 /* A_Depreciation_Entry_Cleanup */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53129 /* RV_Depreciation_Calculation_Methods */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53131 /* RV_Asset_Group_Defaults */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53133 /* Inbound Charges for GL */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53135 /* Inbound Charge Entry Report */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53137 /* Inbound Charges for AP */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53139 /* Import Asset */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53144 /* Forecast Report */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53146 /* Forecast Report by Period */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53148 /* Calculate Forecast */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53150 /* Distribution Run Orders */
;
update ad_process set isbetafunctionality='Y' where ad_process_id=53151 /* Distribution Order Detail */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53004 /* Manufacturing Resource */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53005 /* Manufacturing Workflows */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53006 /* Bill of Materials and Formula */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53007 /* Product Planning */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53008 /* MRP Notice */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53009 /* Manufacturing Order */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53010 /* Spare parts */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53011 /* Activity Control Report */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53012 /* Distribution Order */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53013 /* Quality Specifications */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53014 /* Cost Collector */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53018 /* Distribution Network */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53020 /* Tax Group */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53021 /* Tax Definition */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53022 /* Tax Rate Parent */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53023 /* Tax Type */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53024 /* Tax Base */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53025 /* Export Format */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53026 /* Export Processor */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53027 /* Export Processor Type */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53028 /* Import Processor */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53029 /* Import Processor Type */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53032 /* Payroll Contract */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53033 /* Payroll Employee */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53034 /* Payroll Department */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53035 /* Payroll Job */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53036 /* Payroll Concept Catalog */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53037 /* Payroll Process */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53038 /* Payroll Definition */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53039 /* Payroll Concept Category */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53040 /* Payroll Table Type */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53041 /* Payroll Table */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53042 /* Payroll Movement */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53044 /* Asset Revaluation Processing */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53045 /* Asset Revaluation Index */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53046 /* Transfer Asset Entry */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53047 /* Disposed Asset Entry */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53048 /* Asset Split */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53049 /* Asset Disposal */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53050 /* Asset Transfers */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53051 /* Split Asset Entry */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53052 /* Build Depreciation Workfile */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53053 /* Post Depreciation Entry */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53054 /* Build Depreciation Forecast */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53055 /* Inbound Asset Entry */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53056 /* Post Imported Assets */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53057 /* Depreciation Period Spread Type */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53058 /* Depreciation Methods */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53059 /* Depreciation Tables */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53060 /* Depreciation First Year Conventions */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53061 /* Depreciation Calculation Method */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53064 /* View MRP Records */
;
update ad_window set isbetafunctionality='Y' where ad_window_id=53065 /* Web POS Terminal */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53001 /* BOM and Formula Info */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53002 /* Product Configuration BOM */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53003 /* MRP Info */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53004 /* Planned Order Approval */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53005 /* CRP Info */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53006 /* Resource Load View */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53007 /* Order Receipt and Issue */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53008 /* Generate Movement Manual */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53009 /* Payroll Action Notice */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53010 /* Generate Shipments and Invoices (manual) */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53012 /* Material Receipt Distribution Order */
;
update ad_form set isbetafunctionality='Y' where ad_form_id=53013 /* Manufacturing Workflow Editor */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50000 /* Manufacturing Management Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50001 /* Manufacturing Workflow Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50002 /* Bill of Material and Formula Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50003 /* Planning Management Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50004 /* Material Requirement Planning Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50005 /* Capacity Requirement Planning Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50006 /* Distribution Resource Planning Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50007 /* Discrete Manufacturing Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50008 /* Process_Manufacturing_Order */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50009 /* Process_CostCollector */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50010 /* Distribution Management Setup */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50011 /* Process_Distribution_Order */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50012 /* Setup Replication */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50013 /* Process_Payroll */
;
update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50014 /* Setup Human Resource and Payroll */
;

View File

@ -0,0 +1,259 @@
-- Dec 8, 2008 9:17:03 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53712,0,'CostCollectorType',TO_DATE('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0,'Transaction Type for Manufacturing Management','EE01','Y','Cost Collector Type','Cost Collector Type',TO_DATE('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Dec 8, 2008 9:17:03 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53712 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Dec 8, 2008 9:20:29 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53287,TO_DATE('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','PP_CostCollectorType Transaction Manufacturing Management',TO_DATE('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,' ','L')
;
-- Dec 8, 2008 9:20:29 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53287 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Dec 8, 2008 9:32:54 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53442,53287,TO_DATE('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Receipt Material',TO_DATE('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'100')
;
-- Dec 8, 2008 9:32:54 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53442 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Dec 8, 2008 9:34:41 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53443,53287,TO_DATE('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Component Issue',TO_DATE('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'110')
;
-- Dec 8, 2008 9:34:41 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53443 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Dec 8, 2008 9:38:41 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Ref_List SET Name='Material Receipt',Updated=TO_DATE('2008-12-08 21:38:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53442
;
-- Dec 8, 2008 9:38:41 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53442
;
-- Dec 8, 2008 9:40:03 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53444,53287,TO_DATE('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Usege Variance',TO_DATE('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'120')
;
-- Dec 8, 2008 9:40:03 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53444 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Dec 8, 2008 9:43:53 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53445,53287,TO_DATE('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Method Change Variance',TO_DATE('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'130')
;
-- Dec 8, 2008 9:43:53 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53445 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Dec 8, 2008 9:44:06 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53446,53287,TO_DATE('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Rate Variance',TO_DATE('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'140')
;
-- Dec 8, 2008 9:44:06 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53446 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Dec 8, 2008 9:44:23 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53447,53287,TO_DATE('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Mix Variance',TO_DATE('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'150')
;
-- Dec 8, 2008 9:44:23 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53447 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Dec 8, 2008 9:52:18 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Column SET AD_Element_ID=53712, AD_Reference_Value_ID=53287, ColumnName='CostCollectorType', Description='Transaction Type for Manufacturing Management', Help=NULL, Name='Cost Collector Type',Updated=TO_DATE('2008-12-08 21:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827
;
-- Dec 8, 2008 9:52:18 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53827
;
-- Dec 8, 2008 9:52:19 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET Name='Cost Collector Type', Description='Transaction Type for Manufacturing Management', Help=NULL WHERE AD_Column_ID=53827 AND IsCentrallyMaintained='Y'
;
-- Dec 8, 2008 10:01:03 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=54082
;
-- Dec 8, 2008 10:01:04 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54106
;
-- Dec 8, 2008 10:01:04 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54107
;
-- Dec 8, 2008 10:01:04 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54108
;
-- Dec 8, 2008 10:01:04 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54109
;
-- Dec 8, 2008 10:01:04 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54110
;
-- Dec 8, 2008 10:01:19 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-12-08 22:01:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082
;
-- Dec 8, 2008 10:02:35 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-12-08 22:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082
;
-- Dec 8, 2008 10:03:21 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53448,53287,TO_DATE('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Activity Control Report',TO_DATE('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'160')
;
-- Dec 8, 2008 10:03:21 PM ECT
-- Cost Collector Type Manufacturing Management
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53448 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Dec 8, 2008 10:07:24 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53231
;
-- Dec 8, 2008 10:07:24 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53231
;
-- Dec 8, 2008 10:07:33 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53233
;
-- Dec 8, 2008 10:07:33 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53233
;
-- Dec 8, 2008 10:07:42 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53234
;
-- Dec 8, 2008 10:07:42 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53234
;
-- Dec 8, 2008 10:07:49 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53236
;
-- Dec 8, 2008 10:07:49 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53236
;
-- Dec 8, 2008 10:07:53 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53237
;
-- Dec 8, 2008 10:07:53 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53237
;
-- Dec 8, 2008 10:07:57 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53238
;
-- Dec 8, 2008 10:07:57 PM ECT
-- Cost Collector Type Manufacturing Management
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53238
;
-- Dec 8, 2008 10:08:27 PM ECT
-- Cost Collector Type Manufacturing Management
UPDATE AD_Ref_Table SET WhereClause='C_DocType.AD_Client_ID=@#AD_Client_ID@ AND C_DocType.DocBaseType IN (''MOP'',''MOF'',''MQO'') ',Updated=TO_DATE('2008-12-08 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53233
;
ALTER TABLE PP_Cost_Collector ADD CostCollectorType NVARCHAR2(3);
update PP_Cost_Collector set CostCollectorType='100' where MovementType in ('P+','W+');
update PP_Cost_Collector set CostCollectorType='110' where CostCollectorType is null;
alter table PP_Cost_Collector drop column MovementType;
-- 09.12.2008 19:25:45 EET
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
ALTER TABLE PP_Cost_Collector ADD CostCollectorType NVARCHAR2(2)
;
-- 09.12.2008 19:27:54 EET
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET FieldLength=3,Updated=TO_DATE('2008-12-09 19:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827
;
-- 09.12.2008 19:32:27 EET
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-12-09 19:32:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827
;
-- 09.12.2008 19:32:30 EET
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
ALTER TABLE PP_Cost_Collector MODIFY CostCollectorType NVARCHAR2(3) DEFAULT NULL
;
-- 09.12.2008 19:32:30 EET
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
ALTER TABLE PP_Cost_Collector MODIFY CostCollectorType NOT NULL
;

Some files were not shown because too many files have changed in this diff Show More