SET DEFINE OFF

SET SQLBLANKLINES ON

-- Dec 16, 2007 10:20:20 PM CST
-- Reserving ID to Libero Manufacturing Management
INSERT INTO AD_EntityType (ModelPackage,IsActive,Updated,UpdatedBy,Version,Processing,Description,AD_Client_ID,AD_Org_ID,Name,Help,AD_EntityType_ID,Created,CreatedBy,EntityType) VALUES ('org.eevolution.model','Y',TO_DATE('2007-12-16 22:20:19','YYYY-MM-DD HH24:MI:SS'),0,'1.00','N','Libero Manufacturing covers all manufacturing activity within the various types of production environments',0,0,'e-Evolution Libero Manufacturing Management','Concept and Foundation

Manufacturing Resource Planning

Towards Operations Management
Planning, Execution to Control
The Planning, Execution and Control of Manufacturing covers the aspects of priority planning, capacity planning, priority control and capacity control.

Priority Planning: It responds the questions of which products, in which amounts and when the material is required (if this does not work any of the other functions work well).
Which Material I need and when I need to receive it.
Tools: MRP.
Capacity Planning: It responds the questions of whichever time is needed and in where.
What time I need and when I need it.
Tools: CRP.

Control of Priorities: It verifies the execution of the planning of priorities.
shows the status of all the operations in each facility.
Tools: Shop Floor Control (Dispatch List).

Control of Capacities: It verifies that the capacities in each center of work stay in the planned levels.
planned Capacity Present VERSUS.
Tools: Control of floor (Input/output Control).

Sponsored Development www.e-evolution.com',50000,TO_DATE('2007-12-16 22:20:19','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='C_DocType DocBaseType', Description='Base Document Types', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=183
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=183
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='MXI', Name='Match Invoice', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=492
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=492
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='APC', Name='AP Credit Memo', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:21:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=361
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=361
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='ARC', Name='AR Credit Memo', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:21:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=362
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=362
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='GLJ', Name='GL Journal', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:21:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=302
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=302
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='GLD', Name='GL Document', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=303
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=303
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='API', Name='AP Invoice', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:21:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=304
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=304
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='APP', Name='AP Payment', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:22:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=305
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=305
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='ARI', Name='AR Invoice', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:22:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=306
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=306
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='ARR', Name='AR Receipt', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:22:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=307
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=307
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='SOO', Name='Sales Order', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:22:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=308
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=308
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='ARF', Name='AR Pro Forma Invoice', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=322
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=322
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='MMS', Name='Material Delivery', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=323
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=323
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='MMR', Name='Material Receipt', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=324
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=324
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='MMM', Name='Material Movement', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=328
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=328
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='POO', Name='Purchase Order', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=329
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=329
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='POR', Name='Purchase Requisition', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=330
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=330
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='CMB', Name='Bank Statement', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=465
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=465
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='CMC', Name='Cash Journal', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=466
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=466
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='CMA', Name='Payment Allocation', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=467
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=467
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='MMI', Name='Material Physical Inventory', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=348
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=348
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='MMP', Name='Material Production', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:23:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=491
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=491
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='PJI', Name='Project Issue', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:24:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=584
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=584
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=183, Value='MXP', Name='Match PO', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:24:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=493
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=493
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:13','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:13','YYYY-MM-DD HH24:MI:SS'),0,0,53231,183,'MOA','Manufacturing Operation Activity','Y',0,'EE01')
;

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=53231 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:14','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:14','YYYY-MM-DD HH24:MI:SS'),0,0,53232,183,'MOF','Maintenance Order','Y',0,'EE01')
;

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=53232 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:16','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:16','YYYY-MM-DD HH24:MI:SS'),0,0,53233,183,'MOI','Manufacturing Order Issue','Y',0,'EE01')
;

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=53233 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:17','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:17','YYYY-MM-DD HH24:MI:SS'),0,0,53234,183,'MOM','Manufacturing Order Method Variation ','Y',0,'EE01')
;

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=53234 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:17','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:17','YYYY-MM-DD HH24:MI:SS'),0,0,53235,183,'MOP','Manufacturing Order','Y',0,'EE01')
;

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=53235 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:18','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:18','YYYY-MM-DD HH24:MI:SS'),0,0,53236,183,'MOR','Manufacturing Order Receipt','Y',0,'EE01')
;

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=53236 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:19','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:19','YYYY-MM-DD HH24:MI:SS'),0,0,53237,183,'MOU','Manufacturing Order Use Variation ','Y',0,'EE01')
;

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=53237 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:20','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:20','YYYY-MM-DD HH24:MI:SS'),0,0,53238,183,'MOV','Manufacturing Order Rate Variation ','Y',0,'EE01')
;

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=53238 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:21','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:21','YYYY-MM-DD HH24:MI:SS'),0,0,53239,183,'MQO','Quality Order','Y',0,'EE01')
;

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=53239 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:22','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:22','YYYY-MM-DD HH24:MI:SS'),0,0,53240,183,'HRP','HRPayroll','Y',0,'EE02')
;

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=53240 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-16 22:24:23','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-16 22:24:23','YYYY-MM-DD HH24:MI:SS'),0,0,53241,183,'DOO','Order Distribution','Y',0,'EE01')
;

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=53241 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)
;

INSERT INTO AD_Workflow (Created,IsActive,AD_Client_ID,AD_Workflow_ID,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,UpdatedBy,AccessLevel,WorkflowType,Limit,DurationUnit,WaitingTime,Version,Cost,Author,Priority,PublishStatus,WorkingTime,Duration,IsValid,IsDefault,Value,EntityType) VALUES (TO_DATE('2007-12-16 22:24:24','YYYY-MM-DD HH24:MI:SS'),'Y',0,50000,'Setup Manufacturing Management','This workflow defines the Manufacturing Management and the supporting rules.','Manufacturing Management Setup',0,TO_DATE('2007-12-16 22:24:24','YYYY-MM-DD HH24:MI:SS'),0,0,'3','G',0,'D',0,0,0,'Victor Perez',0,'R',0,0,'N','N','Setup Manufacturing Management','EE01')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50000 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (IsActive,Created,AD_Workflow_ID,AD_Org_ID,CreatedBy,AD_Client_ID,Updated,UpdatedBy,AD_Role_ID) VALUES ('Y',TO_DATE('2007-12-16 22:24:26','YYYY-MM-DD HH24:MI:SS'),50000,0,0,0,TO_DATE('2007-12-16 22:24:26','YYYY-MM-DD HH24:MI:SS'),0,0)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50000,'N',TO_DATE('2007-12-16 22:24:28','YYYY-MM-DD HH24:MI:SS'),'Setup Manufacturing Workflow','Y',0,0,50000,'F','Manufacturing Workflow Setup',0,TO_DATE('2007-12-16 22:24:28','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Setup Manufacturing Workflow','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50000 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50000,'N',TO_DATE('2007-12-16 22:24:29','YYYY-MM-DD HH24:MI:SS'),'Setup Manufacturing Management','Y',0,0,50001,'F','Discrete Manufacturing Setup',0,TO_DATE('2007-12-16 22:24:29','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Setup Discrete Manufacturing','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50001 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50000,'N',TO_DATE('2007-12-16 22:24:31','YYYY-MM-DD HH24:MI:SS'),'Setup Manufacturing Management','Y',0,0,50002,'F','Bill of Material & Formula Setup',0,TO_DATE('2007-12-16 22:24:31','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Setup Bill of Material & Formula','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50002 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (UpdatedBy,AD_Org_ID,AD_WF_Node_ID,CreatedBy,Updated,IsActive,AD_WF_Next_ID,AD_Client_ID,Created,IsStdUserWorkflow,SeqNo,AD_WF_NodeNext_ID,EntityType) VALUES (0,0,50002,0,TO_DATE('2007-12-16 22:24:32','YYYY-MM-DD HH24:MI:SS'),'Y',50001,0,TO_DATE('2007-12-16 22:24:32','YYYY-MM-DD HH24:MI:SS'),'N',10,50000,'EE01')
;

UPDATE AD_Workflow SET AD_WF_Node_ID=50000, IsValid='Y',Updated=TO_DATE('2007-12-16 22:24:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50000
;

UPDATE AD_Table SET Name='Change Notice', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=355, IsDeleteable='Y', TableName='M_ChangeNotice', Description=NULL, IsHighVolume='N', ImportTable='N', IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-16 22:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=799
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='String', Description='Character String', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:25:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=10
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:25:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13932
;

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=13932 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Table Direct', Description='Direct Table Access', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:25:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='AD_Org_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13926
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=13926 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Date+Time', Description='Date with time', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:26:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=16
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:26:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13928
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=13928 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Table', Description='Table List', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:26:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=18
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_User', Description='User selection', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:26:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=110
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110
;

UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='CreatedBy', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:27:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13929
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=13929 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:27:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13933
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=13933 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Text Long', Description='Text (Long) - Text > 2000 characters', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:27:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=36
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=36
;

UPDATE AD_Column SET Name='Detail Information', IsMandatory='N', IsTranslated='N', Description='Additional Detail Information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='DetailInfo', FieldLength=0, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=36, AD_Val_Rule_ID=NULL, AD_Element_ID=1670, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:28:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13935
;

UPDATE AD_Field SET Name='Detail Information', Description='Additional Detail Information', Help=NULL WHERE AD_Column_ID=13935 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Text', Description='Character String up to 2000 characters', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:28:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=14
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:28:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13934
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=13934 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Yes-No', Description='CheckBox', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:28:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:28:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13927
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=13927 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Approved', IsMandatory='Y', IsTranslated='N', Description='Indicates if this document requires approval', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='The Approved checkbox indicates if this document requires approval before it can be processed.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='IsApproved', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=351, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:29:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14003
;

UPDATE AD_Field SET Name='Approved', Description='Indicates if this document requires approval', Help='The Approved checkbox indicates if this document requires approval before it can be processed.' WHERE AD_Column_ID=14003 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='ID', Description='10 Digit Identifier', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:29:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=13
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13
;

UPDATE AD_Column SET Name='Change Notice', IsMandatory='Y', IsTranslated='N', Description='Bill of Materials (Engineering) Change Notice (Version)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='M_ChangeNotice_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2783, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:29:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13924
;

UPDATE AD_Field SET Name='Change Notice', Description='Bill of Materials (Engineering) Change Notice (Version)', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.' WHERE AD_Column_ID=13924 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Processed', IsMandatory='Y', IsTranslated='N', Description='The document has been processed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Processed checkbox indicates that a document has been processed.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='Processed', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1047, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:30:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14002
;

UPDATE AD_Field SET Name='Processed', Description='The document has been processed', Help='The Processed checkbox indicates that a document has been processed.' WHERE AD_Column_ID=14002 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Button', Description='Command Button - starts a process', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:30:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=28
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28
;

UPDATE AD_Column SET Name='Process Now', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='Processing', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=524, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:30:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13936
;

UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=13936 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:31:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13930
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=13930 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='AD_Client_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:31:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13925
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=13925 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=799, ColumnName='UpdatedBy', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:32:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13931
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=13931 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='(Engineering) Change Note (Version)', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Change Notice', SeqNo=10, AD_Table_ID=799, AD_Window_ID=356, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=0, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:32:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=741
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=741
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Materials (Engineering) Change Notice (Version)', DisplayLength=14, AD_Column_ID=13924, IsFieldOnly='N', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', Name='Change Notice', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:32:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12008
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=13925, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:32:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12009
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=13926, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=741, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:33:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12010
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=13932, IsFieldOnly='N', 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', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:33:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12011
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=13933, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:33:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12012
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=13934, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:34:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12013
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13927, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12014
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Additional Detail Information', DisplayLength=60, AD_Column_ID=13935, IsFieldOnly='N', Help=NULL, Name='Detail Information', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:34:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12015
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12015
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description=NULL, DisplayLength=23, AD_Column_ID=13936, IsFieldOnly='N', Help=NULL, Name='Process Now', AD_Tab_ID=741, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:34:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12016
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12016
;

UPDATE AD_Table SET Name='Change Request', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=355, IsDeleteable='Y', TableName='M_ChangeRequest', Description=NULL, IsHighVolume='N', ImportTable='N', IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-16 22:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=800
;

UPDATE AD_Column SET Name='Document No', IsMandatory='Y', IsTranslated='N', Description='Document sequence number of the document', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='DocumentNo', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=290, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:35:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13947
;

UPDATE AD_Field SET Name='Document No', Description='Document sequence number of the document', Help='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).' WHERE AD_Column_ID=13947 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:35:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13948
;

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=13948 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:36:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13941
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=13941 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='CreatedBy', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:36:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13942
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=13942 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:36:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13949
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=13949 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Detail Information', IsMandatory='N', IsTranslated='N', Description='Additional Detail Information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='DetailInfo', FieldLength=0, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=36, AD_Val_Rule_ID=NULL, AD_Element_ID=1670, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:37:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13951
;

UPDATE AD_Field SET Name='Detail Information', Description='Additional Detail Information', Help=NULL WHERE AD_Column_ID=13951 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:37:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13950
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=13950 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:37:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13940
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=13940 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Approved', IsMandatory='Y', IsTranslated='N', Description='Indicates if this document requires approval', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='The Approved checkbox indicates if this document requires approval before it can be processed.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='IsApproved', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=351, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:38:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14005
;

UPDATE AD_Field SET Name='Approved', Description='Indicates if this document requires approval', Help='The Approved checkbox indicates if this document requires approval before it can be processed.' WHERE AD_Column_ID=14005 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='BOM', IsMandatory='N', IsTranslated='N', Description='Bill of Material', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The composition of the Product', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='M_BOM_ID', FieldLength=10, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2782, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:38:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13945
;

UPDATE AD_Field SET Name='BOM', Description='Bill of Material', Help='The composition of the Product' WHERE AD_Column_ID=13945 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Change Notice', IsMandatory='N', IsTranslated='N', Description='Bill of Materials (Engineering) Change Notice (Version)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='M_ChangeNotice_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2783, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:39:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13946
;

UPDATE AD_Field SET Name='Change Notice', Description='Bill of Materials (Engineering) Change Notice (Version)', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.' WHERE AD_Column_ID=13946 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Change Request', IsMandatory='Y', IsTranslated='N', Description='BOM (Engineering) Change Request', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='M_ChangeRequest_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2785, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:39:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13937
;

UPDATE AD_Field SET Name='Change Request', Description='BOM (Engineering) Change Request', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials' WHERE AD_Column_ID=13937 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='M_ChangeNotice', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=351
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=351
;

UPDATE AD_Ref_Table SET AD_Table_ID = 799, AD_Display = 13932, AD_Key = 13924, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 351
;

UPDATE AD_Column SET Name='Fixed in', IsMandatory='N', IsTranslated='N', Description='Fixed in Change Notice', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=351, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='M_FixChangeNotice_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=2797, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14001
;

UPDATE AD_Field SET Name='Fixed in', Description='Fixed in Change Notice', Help=NULL WHERE AD_Column_ID=14001 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Processed', IsMandatory='Y', IsTranslated='N', Description='The document has been processed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Processed checkbox indicates that a document has been processed.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='Processed', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1047, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:40:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14004
;

UPDATE AD_Field SET Name='Processed', Description='The document has been processed', Help='The Processed checkbox indicates that a document has been processed.' WHERE AD_Column_ID=14004 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:40:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13943
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=13943 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='AD_Client_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:40:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13938
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=13938 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='UpdatedBy', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:41:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13944
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=13944 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=800, ColumnName='AD_Org_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:41:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13939
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=13939 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Change Request of Change Notice', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Change Request', SeqNo=20, AD_Table_ID=800, AD_Window_ID=356, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', AD_Column_ID=13946, ImportFields=NULL, Processing='N', TabLevel=1, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:41:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=742
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=742
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Materials (Engineering) Change Notice (Version)', DisplayLength=14, AD_Column_ID=13946, IsFieldOnly='N', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', Name='Change Notice', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:42:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12018
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=13938, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:42:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12019
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=13939, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=742, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:42:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12020
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='BOM (Engineering) Change Request', DisplayLength=14, AD_Column_ID=13937, IsFieldOnly='N', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', Name='Change Request', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:43:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12017
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Material', DisplayLength=14, AD_Column_ID=13945, IsFieldOnly='N', Help='The composition of the Product', Name='BOM', AD_Tab_ID=742, IsSameLine='Y', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:43:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12021
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document sequence number of the document', DisplayLength=20, AD_Column_ID=13947, IsFieldOnly='N', Help='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).', Name='Document No', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:43:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12022
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=13948, IsFieldOnly='N', 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', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:43:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12023
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=13949, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:44:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12024
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=13950, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:44:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12025
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13940, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:44:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12026
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Additional Detail Information', DisplayLength=60, AD_Column_ID=13951, IsFieldOnly='N', Help=NULL, Name='Detail Information', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:44:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12027
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12027
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Fixed in Change Notice', DisplayLength=10, AD_Column_ID=14001, IsFieldOnly='N', Help=NULL, Name='Fixed in', AD_Tab_ID=742, IsSameLine='N', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 22:46:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12028
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12028
;

UPDATE AD_Table SET Name='Request', AccessLevel='7', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=232, IsDeleteable='Y', TableName='R_Request', Description='Request from a Business Partner or Prospect', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-16 22:47:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=417
;

UPDATE AD_Column SET Name='Self-Service', IsMandatory='Y', IsTranslated='N', Description='This is a Self-Service entry or this entry can be changed via Self-Service', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='IsSelfService', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2063, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:47:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8774
;

UPDATE AD_Field SET Name='Self-Service', Description='This is a Self-Service entry or this entry can be changed via Self-Service', Help='Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.' WHERE AD_Column_ID=8774 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Request Type', IsMandatory='Y', IsTranslated='N', Description='Type of request (e.g. Inquiry, Complaint, ..)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Request Types are used for processing and categorizing requests. Options are Account Inquiry, Warranty Issue, etc.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='R_RequestType_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1894, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout='org.compiere.model.CalloutRequest.type', ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7791
;

UPDATE AD_Field SET Name='Request Type', Description='Type of request (e.g. Inquiry, Complaint, ..)', Help='Request Types are used for processing and categorizing requests. Options are Account Inquiry, Warranty Issue, etc.' WHERE AD_Column_ID=7791 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Search', Description='Search Field', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:47:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=30
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30
;

UPDATE AD_Column SET Name='Asset', IsMandatory='N', IsTranslated='N', Description='Asset used internally or by customers', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='A_Asset_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1884, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:48:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10580
;

UPDATE AD_Field SET Name='Asset', Description='Asset used internally or by customers', Help='An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.' WHERE AD_Column_ID=10580 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Last Alert', IsMandatory='N', IsTranslated='N', Description='Date when last alert were sent', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The last alert date is updated when a reminder email is sent', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='DateLastAlert', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=2629, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:48:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12927
;

UPDATE AD_Field SET Name='Last Alert', Description='Date when last alert were sent', Help='The last alert date is updated when a reminder email is sent' WHERE AD_Column_ID=12927 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Table', IsMandatory='N', IsTranslated='N', Description='Database Table information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Database Table provides the information of the table definition', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='AD_Table_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=126, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13078
;

UPDATE AD_Field SET Name='Table', Description='Database Table information', Help='The Database Table provides the information of the table definition' WHERE AD_Column_ID=13078 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Project', IsMandatory='N', IsTranslated='N', Description='Financial Project', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A Project allows you to track and control internal or external activities.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='C_Project_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=208, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:49:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5799
;

UPDATE AD_Field SET Name='Project', Description='Financial Project', Help='A Project allows you to track and control internal or external activities.' WHERE AD_Column_ID=5799 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Record ID', IsMandatory='N', IsTranslated='N', Description='Direct internal record ID', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='Record_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=538, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:49:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13079
;

UPDATE AD_Field SET Name='Record ID', Description='Direct internal record ID', Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.' WHERE AD_Column_ID=13079 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Document No', IsMandatory='Y', IsTranslated='N', Description='Document sequence number of the document', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='DocumentNo', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=290, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5423
;

UPDATE AD_Field SET Name='Document No', Description='Document sequence number of the document', Help='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).' WHERE AD_Column_ID=5423 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Invoice', IsMandatory='N', IsTranslated='N', Description='Invoice Identifier', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Invoice Document.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='C_Invoice_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1008, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5437
;

UPDATE AD_Field SET Name='Invoice', Description='Invoice Identifier', Help='The Invoice Document.' WHERE AD_Column_ID=5437 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Order', IsMandatory='N', IsTranslated='N', Description='Order', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='C_Order_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=558, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:50:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5436
;

UPDATE AD_Field SET Name='Order', Description='Order', Help='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.' WHERE AD_Column_ID=5436 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Payment', IsMandatory='N', IsTranslated='N', Description='Payment identifier', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Payment is a unique identifier of this payment.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='C_Payment_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1384, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:51:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5438
;

UPDATE AD_Field SET Name='Payment', Description='Payment identifier', Help='The Payment is a unique identifier of this payment.' WHERE AD_Column_ID=5438 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Close Date', IsMandatory='N', IsTranslated='N', Description='Close Date', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Start Date indicates the last or final date', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='CloseDate', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=2721, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:51:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13576
;

UPDATE AD_Field SET Name='Close Date', Description='Close Date', Help='The Start Date indicates the last or final date' WHERE AD_Column_ID=13576 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='List', Description='Reference List', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:51:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=17
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='R_Request Confidential', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=340
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=340
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=340, Value='I', Name='Internal', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:51:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=758
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=758
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=340, Value='A', Name='Public Information', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:52:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=724
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=724
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=340, Value='C', Name='Partner Confidential', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:52:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=726
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=726
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=340, Value='P', Name='Private Information', IsActive='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:52:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=883
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=883
;

UPDATE AD_Column SET Name='Confidentiality', IsMandatory='Y', IsTranslated='N', Description='Type of Confidentiality', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='C', Help=NULL, AD_Reference_Value_ID=340, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='ConfidentialType', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2709, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:52:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13487
;

UPDATE AD_Field SET Name='Confidentiality', Description='Type of Confidentiality', Help=NULL WHERE AD_Column_ID=13487 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Entry Confidentiality', IsMandatory='Y', IsTranslated='N', Description='Confidentiality of the individual entry', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='C', Help=NULL, AD_Reference_Value_ID=340, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='ConfidentialTypeEntry', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2711, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:53:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13491
;

UPDATE AD_Field SET Name='Entry Confidentiality', Description='Confidentiality of the individual entry', Help=NULL WHERE AD_Column_ID=13491 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:53:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5419
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=5419 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:53:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5420
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=5420 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Date', Description='Date mm/dd/yyyy', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:54:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15
;

UPDATE AD_Column SET Name='Complete Plan', IsMandatory='N', IsTranslated='N', Description='Planned Completion Date', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Date when the task is planned to be complete', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='DateCompletePlan', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=2899, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:54:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14726
;

UPDATE AD_Field SET Name='Complete Plan', Description='Planned Completion Date', Help='Date when the task is planned to be complete' WHERE AD_Column_ID=14726 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Date last action', IsMandatory='N', IsTranslated='N', Description='Date this request was last acted on', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Date Last Action indicates that last time that the request was acted on.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='DateLastAction', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=1502, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:54:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5430
;

UPDATE AD_Field SET Name='Date last action', Description='Date this request was last acted on', Help='The Date Last Action indicates that last time that the request was acted on.' WHERE AD_Column_ID=5430 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Date next action', IsMandatory='N', IsTranslated='N', Description='Date that this request should be acted on', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Date Next Action indicates the next scheduled date for an action to occur for this request.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='DateNextAction', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=1503, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:55:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5445
;

UPDATE AD_Field SET Name='Date next action', Description='Date that this request should be acted on', Help='The Date Next Action indicates the next scheduled date for an action to occur for this request.' WHERE AD_Column_ID=5445 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Start Plan', IsMandatory='N', IsTranslated='N', Description='Planned Start Date', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Date when you plan to start', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='DateStartPlan', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=2901, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:55:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14734
;

UPDATE AD_Field SET Name='Start Plan', Description='Planned Start Date', Help='Date when you plan to start' WHERE AD_Column_ID=14734 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='R_Request Due Type', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:55:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=222
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=222
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=222, Value='3', Name='Overdue', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=442
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=442
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=222, Value='5', Name='Due', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:56:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=443
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=443
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=222, Value='7', Name='Scheduled', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:56:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=444
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=444
;

UPDATE AD_Column SET Name='Due type', IsMandatory='Y', IsTranslated='N', Description='Status of the next action for this Request', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='5', Help='The Due Type indicates if this request is Due, Overdue or Scheduled.', AD_Reference_Value_ID=222, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='DueType', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1504, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:56:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5427
;

UPDATE AD_Field SET Name='Due type', Description='Status of the next action for this Request', Help='The Due Type indicates if this request is Due, Overdue or Scheduled.' WHERE AD_Column_ID=5427 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='End Time', IsMandatory='N', IsTranslated='N', Description='End of the time span', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='EndTime', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=2714, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:57:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13494
;

UPDATE AD_Field SET Name='End Time', Description='End of the time span', Help=NULL WHERE AD_Column_ID=13494 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:57:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5418
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=5418 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Escalated', IsMandatory='Y', IsTranslated='N', Description='This request has been escalated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Escalated checkbox indicates that this request has been escalated or raised in importance.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='IsEscalated', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1509, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:57:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5429
;

UPDATE AD_Field SET Name='Escalated', Description='This request has been escalated', Help='The Escalated checkbox indicates that this request has been escalated or raised in importance.' WHERE AD_Column_ID=5429 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Invoiced', IsMandatory='Y', IsTranslated='N', Description='Is this invoiced?', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='If selected, invoices are created', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='IsInvoiced', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=387, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:58:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13489
;

UPDATE AD_Field SET Name='Invoiced', Description='Is this invoiced?', Help='If selected, invoices are created' WHERE AD_Column_ID=13489 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Last Result', IsMandatory='N', IsTranslated='N', Description='Result of last contact', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Last Result identifies the result of the last contact made.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='LastResult', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=431, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:58:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5431
;

UPDATE AD_Field SET Name='Last Result', Description='Result of last contact', Help='The Last Result identifies the result of the last contact made.' WHERE AD_Column_ID=5431 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Change Request', IsMandatory='N', IsTranslated='N', Description='BOM (Engineering) Change Request', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='M_ChangeRequest_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=2785, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:58:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13952
;

UPDATE AD_Field SET Name='Change Request', Description='BOM (Engineering) Change Request', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials' WHERE AD_Column_ID=13952 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Fixed in', IsMandatory='N', IsTranslated='N', Description='Fixed in Change Notice', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=351, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='M_FixChangeNotice_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=2797, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:59:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14981
;

UPDATE AD_Field SET Name='Fixed in', Description='Fixed in Change Notice', Help=NULL WHERE AD_Column_ID=14981 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Shipment/Receipt', IsMandatory='N', IsTranslated='N', Description='Material Shipment Document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Material Shipment / Receipt ', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='M_InOut_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1025, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:59:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13573
;

UPDATE AD_Field SET Name='Shipment/Receipt', Description='Material Shipment Document', Help='The Material Shipment / Receipt ' WHERE AD_Column_ID=13573 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='M_Product (no summary)', Description='Product selection no summary', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 22:59:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=162
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=162
;

UPDATE AD_Ref_Table SET AD_Table_ID = 208, AD_Display = 1410, AD_Key = 1402, isValueDisplayed = 'N', OrderByClause = 'M_Product.Value', EntityType ='D', WhereClause = 'M_Product.IsSummary=''N''' WHERE AD_Reference_ID = 162
;

UPDATE AD_Column SET Name='Product Used', IsMandatory='N', IsTranslated='N', Description='Product/Resource/Service used in Request', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Invoicing uses the Product used.', AD_Reference_Value_ID=162, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='M_ProductSpent_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=2716, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 22:59:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13497
;

UPDATE AD_Field SET Name='Product Used', Description='Product/Resource/Service used in Request', Help='Invoicing uses the Product used.' WHERE AD_Column_ID=13497 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='M_Product.IsSummary=''N'' AND M_Product.IsActive=''Y''', Name='M_Product (Trx)', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-16 23:00:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=231
;

UPDATE AD_Column SET Name='Product', IsMandatory='N', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='M_Product_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=231, AD_Element_ID=454, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:02:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5439
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=5439 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='RMA', IsMandatory='N', IsTranslated='N', Description='Return Material Authorization', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A Return Material Authorization may be required to accept returns and to create Credit Memos', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='M_RMA_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=2412, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:02:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13574
;

UPDATE AD_Field SET Name='RMA', Description='Return Material Authorization', Help='A Return Material Authorization may be required to accept returns and to create Credit Memos' WHERE AD_Column_ID=13574 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='R_Request Next Action', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:02:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=219
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=219
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=219, Value='N', Name='None', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:03:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=420
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=420
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=219, Value='F', Name='Follow up', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:04:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=421
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=421
;

UPDATE AD_Column SET Name='Next action', IsMandatory='N', IsTranslated='N', Description='Next Action to be taken', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='F', Help='The Next Action indicates the next action to be taken on this request.', AD_Reference_Value_ID=219, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='NextAction', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1513, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5444
;

UPDATE AD_Field SET Name='Next action', Description='Next Action to be taken', Help='The Next Action indicates the next action to be taken on this request.' WHERE AD_Column_ID=5444 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='_PriorityRule', Description='Priority scale list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:07:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=154
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=154
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=154, Value='1', Name='Urgent', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:08:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=759
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=759
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=154, Value='9', Name='Minor', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:09:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=760
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=760
;

UPDATE AD_Column SET Name='Priority', IsMandatory='Y', IsTranslated='N', Description='Indicates if this request is of a high, medium or low priority.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='5', Help='The Priority indicates the importance of this request.', AD_Reference_Value_ID=154, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='Priority', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1514, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:10:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5426
;

UPDATE AD_Field SET Name='Priority', Description='Indicates if this request is of a high, medium or low priority.', Help='The Priority indicates the importance of this request.' WHERE AD_Column_ID=5426 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='User Importance', IsMandatory='N', IsTranslated='N', Description='Priority of the issue for the User', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='5', Help=NULL, AD_Reference_Value_ID=154, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='PriorityUser', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2708, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:10:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13486
;

UPDATE AD_Field SET Name='User Importance', Description='Priority of the issue for the User', Help=NULL WHERE AD_Column_ID=13486 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Processed', IsMandatory='Y', IsTranslated='N', Description='The document has been processed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Processed checkbox indicates that a document has been processed.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='Processed', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1047, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:11:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5447
;

UPDATE AD_Field SET Name='Processed', Description='The document has been processed', Help='The Processed checkbox indicates that a document has been processed.' WHERE AD_Column_ID=5447 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Quantity', Description='Quantity data type', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:11:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=29
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29
;

UPDATE AD_Column SET Name='Quantity Invoiced', IsMandatory='N', IsTranslated='N', Description='Invoiced Quantity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Invoiced Quantity indicates the quantity of a product that have been invoiced.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='QtyInvoiced', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=529, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:11:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13496
;

UPDATE AD_Field SET Name='Quantity Invoiced', Description='Invoiced Quantity', Help='The Invoiced Quantity indicates the quantity of a product that have been invoiced.' WHERE AD_Column_ID=13496 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Quantity Plan', IsMandatory='N', IsTranslated='N', Description='Planned Quantity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Planned Quantity', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='QtyPlan', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=2900, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:12:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14727
;

UPDATE AD_Field SET Name='Quantity Plan', Description='Planned Quantity', Help='Planned Quantity' WHERE AD_Column_ID=14727 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Quantity Used', IsMandatory='N', IsTranslated='N', Description='Quantity used for this event', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='QtySpent', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=2715, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13495
;

UPDATE AD_Field SET Name='Quantity Used', Description='Quantity used for this event', Help=NULL WHERE AD_Column_ID=13495 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Category', IsMandatory='N', IsTranslated='N', Description='Request Category', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Category or Topic of the Request ', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='R_Category_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2705, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:12:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13483
;

UPDATE AD_Field SET Name='Category', Description='Request Category', Help='Category or Topic of the Request ' WHERE AD_Column_ID=13483 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Group', IsMandatory='N', IsTranslated='N', Description='Request Group', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Group of requests (e.g. version numbers, responsibility, ...)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='R_Group_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2704, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:13:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13482
;

UPDATE AD_Field SET Name='Group', Description='Request Group', Help='Group of requests (e.g. version numbers, responsibility, ...)' WHERE AD_Column_ID=13482 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Mail Template', IsMandatory='N', IsTranslated='N', Description='Text templates for mailings', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='R_MailText_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1515, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout='org.compiere.model.CalloutRequest.copyMail', ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:13:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5441
;

UPDATE AD_Field SET Name='Mail Template', Description='Text templates for mailings', Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.' WHERE AD_Column_ID=5441 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='R_Request', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:13:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=341
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=341
;

UPDATE AD_Ref_Table SET AD_Table_ID = 417, AD_Display = 5423, AD_Key = 5415, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 341
;

UPDATE AD_Column SET Name='Related Request', IsMandatory='N', IsTranslated='N', Description='Related Request (Master Issue, ..)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Request related to this request', AD_Reference_Value_ID=341, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='R_RequestRelated_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=2710, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13490
;

UPDATE AD_Field SET Name='Related Request', Description='Related Request (Master Issue, ..)', Help='Request related to this request' WHERE AD_Column_ID=13490 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Request', IsMandatory='Y', IsTranslated='N', Description='Request from a Business Partner or Prospect', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Request identifies a unique request from a Business Partner or Prospect.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='R_Request_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=1516, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:14:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5415
;

UPDATE AD_Field SET Name='Request', Description='Request from a Business Partner or Prospect', Help='The Request identifies a unique request from a Business Partner or Prospect.' WHERE AD_Column_ID=5415 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Resolution', IsMandatory='N', IsTranslated='N', Description='Request Resolution', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Resolution status (e.g. Fixed, Rejected, ..)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='R_Resolution_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2707, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:14:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13485
;

UPDATE AD_Field SET Name='Resolution', Description='Request Resolution', Help='Resolution status (e.g. Fixed, Rejected, ..)' WHERE AD_Column_ID=13485 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Standard Response', IsMandatory='N', IsTranslated='N', Description='Request Standard Response ', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Text blocks to be copied into request response text', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='R_StandardResponse_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2712, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout='org.compiere.model.CalloutRequest.copyResponse', ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:15:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13492
;

UPDATE AD_Field SET Name='Standard Response', Description='Request Standard Response ', Help='Text blocks to be copied into request response text' WHERE AD_Column_ID=13492 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='EXISTS (SELECT * FROM R_RequestType rt 
INNER JOIN R_StatusCategory sc ON (rt.R_StatusCategory_ID=sc.R_StatusCategory_ID)
WHERE R_Status.R_StatusCategory_ID=sc.R_StatusCategory_ID
AND rt.R_RequestType_ID=@R_RequestType_ID@)', Name='R_Status of Request Type', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-16 23:15:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=261
;

UPDATE AD_Column SET Name='Status', IsMandatory='N', IsTranslated='N', Description='Request Status', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Status if the request (open, closed, investigating, ..)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='R_Status_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=261, AD_Element_ID=2706, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:15:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13484
;

UPDATE AD_Field SET Name='Status', Description='Request Status', Help='Status if the request (open, closed, investigating, ..)' WHERE AD_Column_ID=13484 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Amount', Description='Number with 4 decimals', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=12
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=12
;

UPDATE AD_Column SET Name='Request Amount', IsMandatory='Y', IsTranslated='N', Description='Amount associated with this request', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Request Amount indicates any amount that is associated with this request.  For example, a warranty amount or refund amount.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='RequestAmt', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=1520, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:16:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5425
;

UPDATE AD_Field SET Name='Request Amount', Description='Amount associated with this request', Help='The Request Amount indicates any amount that is associated with this request.  For example, a warranty amount or refund amount.' WHERE AD_Column_ID=5425 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Result', IsMandatory='N', IsTranslated='N', Description='Result of the action taken', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Result indicates the result of any action taken on this request.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='Result', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=546, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5443
;

UPDATE AD_Field SET Name='Result', Description='Result of the action taken', Help='The Result indicates the result of any action taken on this request.' WHERE AD_Column_ID=5443 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_User - Internal', Description='Employee or SalesRep', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:16:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=286
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=286
;

UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND (bp.IsEmployee=''Y'' OR bp.IsSalesRep=''Y''))' WHERE AD_Reference_ID = 286
;

UPDATE AD_Column SET Name='Sales Representative', IsMandatory='Y', IsTranslated='N', Description='Sales Representative or Company Agent', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_User_ID@', Help='The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.', AD_Reference_Value_ID=286, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='SalesRep_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=1063, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:16:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5432
;

UPDATE AD_Field SET Name='Sales Representative', 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.' WHERE AD_Column_ID=5432 AND IsCentrallyMaintained='Y'
;

ALTER TABLE R_REQUEST MODIFY SalesRep_ID NUMBER(10) DEFAULT  NULL 
;

ALTER TABLE R_REQUEST MODIFY SalesRep_ID NOT NULL
;

UPDATE AD_Column SET Name='Start Date', IsMandatory='N', IsTranslated='N', Description='First effective day (inclusive)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Start Date indicates the first or starting date', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='StartDate', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=574, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13575
;

UPDATE AD_Field SET Name='Start Date', Description='First effective day (inclusive)', Help='The Start Date indicates the first or starting date' WHERE AD_Column_ID=13575 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Start Time', IsMandatory='N', IsTranslated='N', Description='Time started', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='StartTime', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=2713, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:17:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13493
;

UPDATE AD_Field SET Name='Start Time', Description='Time started', Help=NULL WHERE AD_Column_ID=13493 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Summary', IsMandatory='Y', IsTranslated='N', Description='Textual summary of this request', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Summary allows free form text entry of a recap of this request.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='Summary', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=1521, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5428
;

UPDATE AD_Field SET Name='Summary', Description='Textual summary of this request', Help='The Summary allows free form text entry of a recap of this request.' WHERE AD_Column_ID=5428 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='R_Request TaskStatus', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=366
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=366
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='0', Name=' 0% Not Started', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=815
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=815
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='D', Name='100% Complete', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=816
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=816
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='2', Name=' 20% Started', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=817
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=817
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='8', Name=' 80% Nearly Done', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=818
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=818
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='4', Name=' 40% Busy', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=819
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=819
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='6', Name=' 60% Good Progress', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=820
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=820
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='9', Name=' 90% Finishing', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:19:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=821
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=821
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='A', Name=' 95% Almost Done', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:19:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=822
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=822
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=366, Value='C', Name=' 99% Cleaning up', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:19:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=823
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=823
;

UPDATE AD_Column SET Name='Task Status', IsMandatory='N', IsTranslated='N', Description='Status of the Task', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Completion Rate and Status of the Task', AD_Reference_Value_ID=366, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='TaskStatus', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2898, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:19:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14725
;

UPDATE AD_Field SET Name='Task Status', Description='Status of the Task', Help='Completion Rate and Status of the Task' WHERE AD_Column_ID=14725 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:20:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5421
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=5421 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:20:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5416
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=5416 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:20:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5422
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=5422 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5417
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=5417 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Role', IsMandatory='N', IsTranslated='N', Description='Responsibility Role', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='-1', Help='The Role determines security and access a user who has this Role will have in the System.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='AD_Role_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=123, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:21:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13488
;

UPDATE AD_Field SET Name='Role', Description='Responsibility Role', Help='The Role determines security and access a user who has this Role will have in the System.' WHERE AD_Column_ID=13488 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='AD_User.C_BPartner_ID=@C_BPartner_ID@', Name='AD_User BPartner', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-16 23:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=123
;

UPDATE AD_Column SET Name='User/Contact', IsMandatory='N', IsTranslated='N', Description='User within the system - Internal or Business Partner Contact', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='-1', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='AD_User_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=123, AD_Element_ID=138, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:21:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5434
;

UPDATE AD_Field SET Name='User/Contact', Description='User within the system - Internal or Business Partner Contact', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact' WHERE AD_Column_ID=5434 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Activity', IsMandatory='N', IsTranslated='N', Description='Business Activity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='C_Activity_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1005, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:22:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13498
;

UPDATE AD_Field SET Name='Activity', Description='Business Activity', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing' WHERE AD_Column_ID=13498 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Business Partner ', IsMandatory='N', IsTranslated='N', Description='Identifies a Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='C_BPartner_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=187, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5433
;

UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=5433 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Campaign', IsMandatory='N', IsTranslated='N', Description='Marketing Campaign', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=417, ColumnName='C_Campaign_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=550, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5435
;

UPDATE AD_Field SET Name='Campaign', Description='Marketing Campaign', Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.' WHERE AD_Column_ID=5435 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='C_Invoice', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-16 23:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=336
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=336
;

UPDATE AD_Ref_Table SET AD_Table_ID = 318, AD_Display = 3492, AD_Key = 3484, isValueDisplayed = 'N', OrderByClause = 'C_Invoice.DocumentNo', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 336
;

UPDATE AD_Column SET Name='Request Invoice', IsMandatory='N', IsTranslated='N', Description='The generated invoice for this request', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The optionally generated invoice for the request', AD_Reference_Value_ID=336, Version=0, IsActive='Y', AD_Table_ID=417, ColumnName='C_InvoiceRequest_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=2717, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:23:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13499
;

UPDATE AD_Field SET Name='Request Invoice', Description='The generated invoice for this request', Help='The optionally generated invoice for the request' WHERE AD_Column_ID=13499 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='User Requests with reference to change request', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Requests (source)', SeqNo=30, AD_Table_ID=417, AD_Window_ID=356, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', AD_Column_ID=13952, ImportFields=NULL, Processing='N', TabLevel=2, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:24:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=743
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=743
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Standard Response ', DisplayLength=14, AD_Column_ID=13492, IsFieldOnly='N', Help='Text blocks to be copied into request response text', Name='Standard Response', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:24:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12038
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Next Action to be taken', DisplayLength=14, AD_Column_ID=5444, IsFieldOnly='N', Help='The Next Action indicates the next action to be taken on this request.', Name='Next action', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:24:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12036
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The document has been processed', DisplayLength=1, AD_Column_ID=5447, IsFieldOnly='N', Help='The Processed checkbox indicates that a document has been processed.', Name='Processed', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12058
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Financial Project', DisplayLength=14, AD_Column_ID=5799, IsFieldOnly='N', Help='A Project allows you to track and control internal or external activities.', Name='Project', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12037
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='This is a Self-Service entry or this entry can be changed via Self-Service', DisplayLength=1, AD_Column_ID=8774, IsFieldOnly='N', Help='Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.', Name='Self-Service', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:25:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12046
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Asset used internally or by customers', DisplayLength=26, AD_Column_ID=10580, IsFieldOnly='N', Help='An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.', Name='Asset', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:25:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12045
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Date when last alert were sent', DisplayLength=14, AD_Column_ID=12927, IsFieldOnly='N', Help='The last alert date is updated when a reminder email is sent', Name='Last Alert', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:26:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12044
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Database Table information', DisplayLength=14, AD_Column_ID=13078, IsFieldOnly='N', Help='The Database Table provides the information of the table definition', Name='Table', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12043
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Direct internal record ID', DisplayLength=23, AD_Column_ID=13079, IsFieldOnly='N', Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.', Name='Record ID', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12042
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Responsibility Role', DisplayLength=14, AD_Column_ID=13488, IsFieldOnly='N', Help='The Role determines security and access a user who has this Role will have in the System.', Name='Role', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12041
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Is this invoiced?', DisplayLength=1, AD_Column_ID=13489, IsFieldOnly='N', Help='If selected, invoices are created', Name='Invoiced', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:27:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12040
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Confidentiality of the individual entry', DisplayLength=14, AD_Column_ID=13491, IsFieldOnly='N', Help=NULL, Name='Entry Confidentiality', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:27:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12039
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12039
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Time started', DisplayLength=20, AD_Column_ID=13493, IsFieldOnly='N', Help=NULL, Name='Start Time', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:28:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12055
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12055
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='End of the time span', DisplayLength=20, AD_Column_ID=13494, IsFieldOnly='N', Help=NULL, Name='End Time', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:28:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12054
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12054
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Quantity used for this event', DisplayLength=26, AD_Column_ID=13495, IsFieldOnly='N', Help=NULL, Name='Quantity Used', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:28:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12053
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12053
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Invoiced Quantity', DisplayLength=26, AD_Column_ID=13496, IsFieldOnly='N', Help='The Invoiced Quantity indicates the quantity of a product that have been invoiced.', Name='Quantity Invoiced', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:28:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12052
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Product/Resource/Service used in Request', DisplayLength=26, AD_Column_ID=13497, IsFieldOnly='N', Help='Invoicing uses the Product used.', Name='Product Used', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:29:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12051
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Business Activity', DisplayLength=14, AD_Column_ID=13498, IsFieldOnly='N', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', Name='Activity', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:29:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12050
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The generated invoice for this request', DisplayLength=14, AD_Column_ID=13499, IsFieldOnly='N', Help='The optionally generated invoice for the request', Name='Request Invoice', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:30:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12049
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Material Shipment Document', DisplayLength=26, AD_Column_ID=13573, IsFieldOnly='N', Help='The Material Shipment / Receipt ', Name='Shipment/Receipt', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:30:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12048
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Return Material Authorization', DisplayLength=26, AD_Column_ID=13574, IsFieldOnly='N', Help='A Return Material Authorization may be required to accept returns and to create Credit Memos', Name='RMA', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:30:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12047
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='First effective day (inclusive)', DisplayLength=20, AD_Column_ID=13575, IsFieldOnly='N', Help='The Start Date indicates the first or starting date', Name='Start Date', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:31:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12057
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Close Date', DisplayLength=20, AD_Column_ID=13576, IsFieldOnly='N', Help='The Start Date indicates the last or final date', Name='Close Date', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:31:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12056
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=5418, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:33:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12029
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Amount associated with this request', DisplayLength=26, AD_Column_ID=5425, IsFieldOnly='N', Help='The Request Amount indicates any amount that is associated with this request.  For example, a warranty amount or refund amount.', Name='Request Amount', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:33:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12030
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Status of the next action for this Request', DisplayLength=14, AD_Column_ID=5427, IsFieldOnly='N', Help='The Due Type indicates if this request is Due, Overdue or Scheduled.', Name='Due type', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:34:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12031
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='This request has been escalated', DisplayLength=1, AD_Column_ID=5429, IsFieldOnly='N', Help='The Escalated checkbox indicates that this request has been escalated or raised in importance.', Name='Escalated', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:35:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12032
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Marketing Campaign', DisplayLength=14, AD_Column_ID=5435, IsFieldOnly='N', Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.', Name='Campaign', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:36:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12033
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Order', DisplayLength=26, AD_Column_ID=5436, IsFieldOnly='N', Help='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.', Name='Order', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:37:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12061
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Invoice Identifier', DisplayLength=26, AD_Column_ID=5437, IsFieldOnly='N', Help='The Invoice Document.', Name='Invoice', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:37:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12034
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Payment identifier', DisplayLength=26, AD_Column_ID=5438, IsFieldOnly='N', Help='The Payment is a unique identifier of this payment.', Name='Payment', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:38:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12060
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Text templates for mailings', DisplayLength=14, AD_Column_ID=5441, IsFieldOnly='N', Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.', Name='Mail Template', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:39:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12035
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Result of the action taken', DisplayLength=60, AD_Column_ID=5443, IsFieldOnly='N', Help='The Result indicates the result of any action taken on this request.', Name='Result', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:40:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12059
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=5416, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:40:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12062
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=5417, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:41:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12063
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='BOM (Engineering) Change Request', DisplayLength=26, AD_Column_ID=13952, IsFieldOnly='N', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', Name='Change Request', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:42:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12064
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request from a Business Partner or Prospect', DisplayLength=14, AD_Column_ID=5415, IsFieldOnly='N', Help='The Request identifies a unique request from a Business Partner or Prospect.', Name='Request', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12065
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document sequence number of the document', DisplayLength=20, AD_Column_ID=5423, IsFieldOnly='N', Help='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).', Name='Document No', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12066
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Type of request (e.g. Inquiry, Complaint, ..)', DisplayLength=14, AD_Column_ID=7791, IsFieldOnly='N', Help='Request Types are used for processing and categorizing requests. Options are Account Inquiry, Warranty Issue, etc.', Name='Request Type', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:43:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12067
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Group', DisplayLength=14, AD_Column_ID=13482, IsFieldOnly='N', Help='Group of requests (e.g. version numbers, responsibility, ...)', Name='Group', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=70, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:44:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12068
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Category', DisplayLength=14, AD_Column_ID=13483, IsFieldOnly='N', Help='Category or Topic of the Request ', Name='Category', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:44:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12069
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Related Request (Master Issue, ..)', DisplayLength=14, AD_Column_ID=13490, IsFieldOnly='N', Help='Request related to this request', Name='Related Request', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:44:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12070
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Status', DisplayLength=14, AD_Column_ID=13484, IsFieldOnly='N', Help='Status if the request (open, closed, investigating, ..)', Name='Status', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:45:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12071
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Resolution', DisplayLength=14, AD_Column_ID=13485, IsFieldOnly='N', Help='Resolution status (e.g. Fixed, Rejected, ..)', Name='Resolution', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:45:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12072
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Indicates if this request is of a high, medium or low priority.', DisplayLength=14, AD_Column_ID=5426, IsFieldOnly='N', Help='The Priority indicates the importance of this request.', Name='Priority', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=120, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12073
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Priority of the issue for the User', DisplayLength=14, AD_Column_ID=13486, IsFieldOnly='N', Help=NULL, Name='User Importance', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=130, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:46:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12074
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12074
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Textual summary of this request', DisplayLength=60, AD_Column_ID=5428, IsFieldOnly='N', Help='The Summary allows free form text entry of a recap of this request.', Name='Summary', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=140, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:47:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12075
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Sales Representative or Company Agent', DisplayLength=14, AD_Column_ID=5432, IsFieldOnly='N', Help='The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.', Name='Sales Representative', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=150, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:47:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12076
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Type of Confidentiality', DisplayLength=14, AD_Column_ID=13487, IsFieldOnly='N', Help=NULL, Name='Confidentiality', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=160, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:48:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12077
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12077
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Identifies a Business Partner', DisplayLength=26, AD_Column_ID=5433, IsFieldOnly='N', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson', Name='Business Partner ', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=170, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:49:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12078
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='User within the system - Internal or Business Partner Contact', DisplayLength=14, AD_Column_ID=5434, IsFieldOnly='N', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', Name='User/Contact', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=180, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12079
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Date this request was last acted on', DisplayLength=20, AD_Column_ID=5430, IsFieldOnly='N', Help='The Date Last Action indicates that last time that the request was acted on.', Name='Date last action', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=190, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:51:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12080
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Date that this request should be acted on', DisplayLength=20, AD_Column_ID=5445, IsFieldOnly='N', Help='The Date Next Action indicates the next scheduled date for an action to occur for this request.', Name='Date next action', AD_Tab_ID=743, IsSameLine='Y', IsHeading='N', SeqNo=200, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12081
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Result of last contact', DisplayLength=60, AD_Column_ID=5431, IsFieldOnly='N', Help='The Last Result identifies the result of the last contact made.', Name='Last Result', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=210, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:52:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12082
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Product, Service, Item', DisplayLength=26, AD_Column_ID=5439, IsFieldOnly='N', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product', AD_Tab_ID=743, IsSameLine='N', IsHeading='N', SeqNo=220, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:53:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12083
;

UPDATE AD_Tab SET Description='Fixed Change Requests of this Change Notice', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Fixed Change Requests', SeqNo=40, AD_Table_ID=800, AD_Window_ID=356, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='Y', AD_Column_ID=14001, ImportFields=NULL, Processing='N', TabLevel=1, IsInsertRecord='N', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-16 23:54:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=744
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=744
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Fixed in Change Notice', DisplayLength=10, AD_Column_ID=14001, IsFieldOnly='N', Help=NULL, Name='Fixed in', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:55:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12085
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12085
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=13938, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:56:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12086
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=13939, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=744, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:57:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12087
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Materials (Engineering) Change Notice (Version)', DisplayLength=14, AD_Column_ID=13946, IsFieldOnly='N', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', Name='Change Notice', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:57:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12088
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document sequence number of the document', DisplayLength=20, AD_Column_ID=13947, IsFieldOnly='N', Help='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).', Name='Document No', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:58:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12089
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='BOM (Engineering) Change Request', DisplayLength=14, AD_Column_ID=13937, IsFieldOnly='N', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', Name='Change Request', AD_Tab_ID=744, IsSameLine='Y', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12091
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Material', DisplayLength=14, AD_Column_ID=13945, IsFieldOnly='N', Help='The composition of the Product', Name='BOM', AD_Tab_ID=744, IsSameLine='Y', IsHeading='N', SeqNo=60, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:58:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12090
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=13948, IsFieldOnly='N', 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', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:59:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12092
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=13949, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:59:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12093
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=13950, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-16 23:59:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12094
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13940, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:00:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12095
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Additional Detail Information', DisplayLength=60, AD_Column_ID=13951, IsFieldOnly='N', Help=NULL, Name='Detail Information', AD_Tab_ID=744, IsSameLine='N', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:00:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12096
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12096
;

UPDATE AD_Window SET IsActive='Y', Name='BOM Change Notice', WindowType='M', Help='Change notices can be linked to BOMs or be stand alone.', Description='Maintain Bill of Materials (Engineering) Change Notice (Version)', IsSOTrx='Y', IsDefault='N', Processing='N', IsBetaFunctionality='N', EntityType='D',Updated=TO_DATE('2007-12-17 00:00:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=355
;

UPDATE AD_Tab SET Description='Fixed Change Request of this Change Notice', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Fixed Change Requests', SeqNo=50, AD_Table_ID=800, AD_Window_ID=355, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='Y', AD_Column_ID=14001, ImportFields=NULL, Processing='N', TabLevel=1, IsInsertRecord='N', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 00:01:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=736
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=736
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Fixed in Change Notice', DisplayLength=10, AD_Column_ID=14001, IsFieldOnly='N', Help=NULL, Name='Fixed in', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12084
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12084
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=13938, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:02:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11872
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=13939, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=736, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:02:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11877
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Materials (Engineering) Change Notice (Version)', DisplayLength=14, AD_Column_ID=13946, IsFieldOnly='N', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', Name='Change Notice', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:02:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11870
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document sequence number of the document', DisplayLength=20, AD_Column_ID=13947, IsFieldOnly='N', Help='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).', Name='Document No', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:03:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11875
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Material', DisplayLength=14, AD_Column_ID=13945, IsFieldOnly='N', Help='The composition of the Product', Name='BOM', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:03:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11869
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='BOM (Engineering) Change Request', DisplayLength=14, AD_Column_ID=13937, IsFieldOnly='N', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', Name='Change Request', AD_Tab_ID=736, IsSameLine='Y', IsHeading='N', SeqNo=60, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:03:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11871
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=13948, IsFieldOnly='N', 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', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:04:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11876
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=13949, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:04:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11874
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=13950, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:04:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11873
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13940, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:05:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11868
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Additional Detail Information', DisplayLength=60, AD_Column_ID=13951, IsFieldOnly='N', Help=NULL, Name='Detail Information', AD_Tab_ID=736, IsSameLine='N', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:07:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11878
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11878
;

UPDATE AD_Tab SET Description='User Requests with reference to change request', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Requests (source)', SeqNo=40, AD_Table_ID=417, AD_Window_ID=355, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', AD_Column_ID=13952, ImportFields=NULL, Processing='N', TabLevel=3, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 00:10:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=737
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=737
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Standard Response ', DisplayLength=14, AD_Column_ID=13492, IsFieldOnly='N', Help='Text blocks to be copied into request response text', Name='Standard Response', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:10:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11929
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Next Action to be taken', DisplayLength=14, AD_Column_ID=5444, IsFieldOnly='N', Help='The Next Action indicates the next action to be taken on this request.', Name='Next action', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:11:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11906
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The document has been processed', DisplayLength=1, AD_Column_ID=5447, IsFieldOnly='N', Help='The Processed checkbox indicates that a document has been processed.', Name='Processed', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:14:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11912
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Financial Project', DisplayLength=14, AD_Column_ID=5799, IsFieldOnly='N', Help='A Project allows you to track and control internal or external activities.', Name='Project', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:15:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11915
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='This is a Self-Service entry or this entry can be changed via Self-Service', DisplayLength=1, AD_Column_ID=8774, IsFieldOnly='N', Help='Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.', Name='Self-Service', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:18:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11927
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Asset used internally or by customers', DisplayLength=26, AD_Column_ID=10580, IsFieldOnly='N', Help='An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.', Name='Asset', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11882
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Date when last alert were sent', DisplayLength=14, AD_Column_ID=12927, IsFieldOnly='N', Help='The last alert date is updated when a reminder email is sent', Name='Last Alert', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11902
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Database Table information', DisplayLength=14, AD_Column_ID=13078, IsFieldOnly='N', Help='The Database Table provides the information of the table definition', Name='Table', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:24:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11934
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Direct internal record ID', DisplayLength=23, AD_Column_ID=13079, IsFieldOnly='N', Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.', Name='Record ID', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:26:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11918
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Responsibility Role', DisplayLength=14, AD_Column_ID=13488, IsFieldOnly='N', Help='The Role determines security and access a user who has this Role will have in the System.', Name='Role', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:29:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11925
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Is this invoiced?', DisplayLength=1, AD_Column_ID=13489, IsFieldOnly='N', Help='If selected, invoices are created', Name='Invoiced', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:31:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11900
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Confidentiality of the individual entry', DisplayLength=14, AD_Column_ID=13491, IsFieldOnly='N', Help=NULL, Name='Entry Confidentiality', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:33:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11895
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11895
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Time started', DisplayLength=20, AD_Column_ID=13493, IsFieldOnly='N', Help=NULL, Name='Start Time', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:35:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11931
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11931
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='End of the time span', DisplayLength=20, AD_Column_ID=13494, IsFieldOnly='N', Help=NULL, Name='End Time', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:38:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11894
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11894
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Quantity used for this event', DisplayLength=26, AD_Column_ID=13495, IsFieldOnly='N', Help=NULL, Name='Quantity Used', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:40:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11916
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11916
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Invoiced Quantity', DisplayLength=26, AD_Column_ID=13496, IsFieldOnly='N', Help='The Invoiced Quantity indicates the quantity of a product that have been invoiced.', Name='Quantity Invoiced', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:42:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11901
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Product/Resource/Service used in Request', DisplayLength=26, AD_Column_ID=13497, IsFieldOnly='N', Help='Invoicing uses the Product used.', Name='Product Used', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:45:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11914
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Business Activity', DisplayLength=14, AD_Column_ID=13498, IsFieldOnly='N', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', Name='Activity', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11881
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The generated invoice for this request', DisplayLength=14, AD_Column_ID=13499, IsFieldOnly='N', Help='The optionally generated invoice for the request', Name='Request Invoice', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11899
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Material Shipment Document', DisplayLength=26, AD_Column_ID=13573, IsFieldOnly='N', Help='The Material Shipment / Receipt ', Name='Shipment/Receipt', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11928
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Return Material Authorization', DisplayLength=26, AD_Column_ID=13574, IsFieldOnly='N', Help='A Return Material Authorization may be required to accept returns and to create Credit Memos', Name='RMA', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:48:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11917
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='First effective day (inclusive)', DisplayLength=20, AD_Column_ID=13575, IsFieldOnly='N', Help='The Start Date indicates the first or starting date', Name='Start Date', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:49:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11930
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Close Date', DisplayLength=20, AD_Column_ID=13576, IsFieldOnly='N', Help='The Start Date indicates the last or final date', Name='Close Date', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:49:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11888
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=5418, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:49:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11880
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Amount associated with this request', DisplayLength=26, AD_Column_ID=5425, IsFieldOnly='N', Help='The Request Amount indicates any amount that is associated with this request.  For example, a warranty amount or refund amount.', Name='Request Amount', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11921
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Status of the next action for this Request', DisplayLength=14, AD_Column_ID=5427, IsFieldOnly='N', Help='The Due Type indicates if this request is Due, Overdue or Scheduled.', Name='Due type', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11893
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='This request has been escalated', DisplayLength=1, AD_Column_ID=5429, IsFieldOnly='N', Help='The Escalated checkbox indicates that this request has been escalated or raised in importance.', Name='Escalated', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11896
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Marketing Campaign', DisplayLength=14, AD_Column_ID=5435, IsFieldOnly='N', Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.', Name='Campaign', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:51:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11884
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Order', DisplayLength=26, AD_Column_ID=5436, IsFieldOnly='N', Help='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.', Name='Order', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11907
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Invoice Identifier', DisplayLength=26, AD_Column_ID=5437, IsFieldOnly='N', Help='The Invoice Document.', Name='Invoice', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:52:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11898
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Payment identifier', DisplayLength=26, AD_Column_ID=5438, IsFieldOnly='N', Help='The Payment is a unique identifier of this payment.', Name='Payment', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:52:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11909
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Text templates for mailings', DisplayLength=14, AD_Column_ID=5441, IsFieldOnly='N', Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.', Name='Mail Template', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:53:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11905
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Result of the action taken', DisplayLength=60, AD_Column_ID=5443, IsFieldOnly='N', Help='The Result indicates the result of any action taken on this request.', Name='Result', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:53:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11924
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=5416, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:53:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11887
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=5417, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11908
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='BOM (Engineering) Change Request', DisplayLength=26, AD_Column_ID=13952, IsFieldOnly='N', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', Name='Change Request', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:54:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11886
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request from a Business Partner or Prospect', DisplayLength=14, AD_Column_ID=5415, IsFieldOnly='N', Help='The Request identifies a unique request from a Business Partner or Prospect.', Name='Request', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:54:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11920
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document sequence number of the document', DisplayLength=20, AD_Column_ID=5423, IsFieldOnly='N', Help='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).', Name='Document No', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:55:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11892
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Type of request (e.g. Inquiry, Complaint, ..)', DisplayLength=14, AD_Column_ID=7791, IsFieldOnly='N', Help='Request Types are used for processing and categorizing requests. Options are Account Inquiry, Warranty Issue, etc.', Name='Request Type', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:55:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11922
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Group', DisplayLength=14, AD_Column_ID=13482, IsFieldOnly='N', Help='Group of requests (e.g. version numbers, responsibility, ...)', Name='Group', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=70, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11897
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Category', DisplayLength=14, AD_Column_ID=13483, IsFieldOnly='N', Help='Category or Topic of the Request ', Name='Category', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:56:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11885
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Related Request (Master Issue, ..)', DisplayLength=14, AD_Column_ID=13490, IsFieldOnly='N', Help='Request related to this request', Name='Related Request', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:56:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11919
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Status', DisplayLength=14, AD_Column_ID=13484, IsFieldOnly='N', Help='Status if the request (open, closed, investigating, ..)', Name='Status', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11932
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Request Resolution', DisplayLength=14, AD_Column_ID=13485, IsFieldOnly='N', Help='Resolution status (e.g. Fixed, Rejected, ..)', Name='Resolution', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:57:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11923
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Indicates if this request is of a high, medium or low priority.', DisplayLength=14, AD_Column_ID=5426, IsFieldOnly='N', Help='The Priority indicates the importance of this request.', Name='Priority', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=120, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:57:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11910
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Priority of the issue for the User', DisplayLength=14, AD_Column_ID=13486, IsFieldOnly='N', Help=NULL, Name='User Importance', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=130, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:58:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11935
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11935
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Textual summary of this request', DisplayLength=60, AD_Column_ID=5428, IsFieldOnly='N', Help='The Summary allows free form text entry of a recap of this request.', Name='Summary', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=140, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:58:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11933
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Sales Representative or Company Agent', DisplayLength=14, AD_Column_ID=5432, IsFieldOnly='N', Help='The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.', Name='Sales Representative', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=150, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:58:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11926
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Type of Confidentiality', DisplayLength=14, AD_Column_ID=13487, IsFieldOnly='N', Help=NULL, Name='Confidentiality', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=160, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:58:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11889
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11889
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Identifies a Business Partner', DisplayLength=26, AD_Column_ID=5433, IsFieldOnly='N', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson', Name='Business Partner ', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=170, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:59:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11883
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='User within the system - Internal or Business Partner Contact', DisplayLength=14, AD_Column_ID=5434, IsFieldOnly='N', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', Name='User/Contact', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=180, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:59:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11936
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Date this request was last acted on', DisplayLength=20, AD_Column_ID=5430, IsFieldOnly='N', Help='The Date Last Action indicates that last time that the request was acted on.', Name='Date last action', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=190, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 00:59:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11890
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Date that this request should be acted on', DisplayLength=20, AD_Column_ID=5445, IsFieldOnly='N', Help='The Date Next Action indicates the next scheduled date for an action to occur for this request.', Name='Date next action', AD_Tab_ID=737, IsSameLine='Y', IsHeading='N', SeqNo=200, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:00:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11891
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Result of last contact', DisplayLength=60, AD_Column_ID=5431, IsFieldOnly='N', Help='The Last Result identifies the result of the last contact made.', Name='Last Result', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=210, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:00:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11903
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Product, Service, Item', DisplayLength=26, AD_Column_ID=5439, IsFieldOnly='N', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product', AD_Tab_ID=737, IsSameLine='N', IsHeading='N', SeqNo=220, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:01:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11913
;

UPDATE AD_Tab SET Description='Bill of Materials (Engineering) Change Notice (Version)', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Change Notice', SeqNo=10, AD_Table_ID=799, AD_Window_ID=355, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=0, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:01:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=733
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=733
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Materials (Engineering) Change Notice (Version)', DisplayLength=14, AD_Column_ID=13924, IsFieldOnly='N', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', Name='Change Notice', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:01:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11938
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=13925, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:02:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11939
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=13926, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=733, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:02:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11943
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=13932, IsFieldOnly='N', 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', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:02:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11942
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=13933, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:03:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11941
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=13934, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:05:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11940
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13927, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:06:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11937
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Additional Detail Information', DisplayLength=60, AD_Column_ID=13935, IsFieldOnly='N', Help=NULL, Name='Detail Information', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:07:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11944
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11944
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description=NULL, DisplayLength=23, AD_Column_ID=13936, IsFieldOnly='N', Help=NULL, Name='Process Now', AD_Tab_ID=733, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:08:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11945
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11945
;

UPDATE AD_Table SET Name='BOM', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=354, IsDeleteable='Y', TableName='M_BOM', Description='Bill of Material', IsHighVolume='N', ImportTable='N', IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 01:08:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=798
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:09:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13920
;

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=13920 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='AD_Org_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:10:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13910
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=13910 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='M_BOM Type', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:10:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=347
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=347
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=347, Value='A', Name='Current Active', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:10:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=742
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=742
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=347, Value='O', Name='Make-To-Order', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:10:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=743
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=743
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=347, Value='P', Name='Previous', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:11:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=744
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=744
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=347, Value='S', Name='Previous, Spare', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:11:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=745
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=745
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=347, Value='F', Name='Future', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:11:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=746
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=746
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=347, Value='M', Name='Maintenance', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:11:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=747
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=747
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=347, Value='R', Name='Repair', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:11:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=748
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=748
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 01:11:49','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:11:49','YYYY-MM-DD HH24:MI:SS'),0,0,53242,347,'C','Product Configure','Y',0,'EE01')
;

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=53242 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)
;

UPDATE AD_Column SET Name='BOM Type', IsMandatory='Y', IsTranslated='N', Description='Type of BOM', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='A', Help='The type of Bills of Materials determines the state', AD_Reference_Value_ID=347, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='BOMType', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2030, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13918
;

UPDATE AD_Field SET Name='BOM Type', Description='Type of BOM', Help='The type of Bills of Materials determines the state' WHERE AD_Column_ID=13918 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='M_BOM Use', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:12:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=348
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=348
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=348, Value='A', Name='Master', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:12:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=749
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=749
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=348, Value='E', Name='Engineering', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=750
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=750
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=348, Value='M', Name='Manufacturing', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=751
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=751
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=348, Value='P', Name='Planning', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:13:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=752
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=752
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 01:13:05','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:13:05','YYYY-MM-DD HH24:MI:SS'),0,0,53243,348,'Q','Quality','Y',0,'D')
;

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=53243 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)
;

UPDATE AD_Column SET Name='BOM Use', IsMandatory='Y', IsTranslated='N', Description='The use of the Bill of Material', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='A', Help='By default the Master BOM is used, if the alternatives are not defined', AD_Reference_Value_ID=348, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='BOMUse', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2784, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:13:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13919
;

UPDATE AD_Field SET Name='BOM Use', Description='The use of the Bill of Material', Help='By default the Master BOM is used, if the alternatives are not defined' WHERE AD_Column_ID=13919 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:13:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13912
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=13912 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='CreatedBy', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:14:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13913
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=13913 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:14:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13921
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=13921 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13922
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=13922 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:15:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13911
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=13911 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='BOM', IsMandatory='Y', IsTranslated='N', Description='Bill of Material', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The composition of the Product', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='M_BOM_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2782, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:15:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13908
;

UPDATE AD_Field SET Name='BOM', Description='Bill of Material', Help='The composition of the Product' WHERE AD_Column_ID=13908 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Change Notice', IsMandatory='N', IsTranslated='N', Description='Bill of Materials (Engineering) Change Notice (Version)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='M_ChangeNotice_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2783, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:16:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13917
;

UPDATE AD_Field SET Name='Change Notice', Description='Bill of Materials (Engineering) Change Notice (Version)', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.' WHERE AD_Column_ID=13917 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='M_Product_ID', FieldLength=10, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=231, AD_Element_ID=454, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13916
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=13916 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process Now', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='Processing', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=524, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:17:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13923
;

UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=13923 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13914
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=13914 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='AD_Client_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:17:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13909
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=13909 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=798, ColumnName='UpdatedBy', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:18:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13915
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=13915 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Bill of Material of Change Notice', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='BOM', SeqNo=20, AD_Table_ID=798, AD_Window_ID=355, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='Y', AD_Column_ID=13917, ImportFields=NULL, Processing='N', TabLevel=1, IsInsertRecord='N', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:18:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=734
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description=NULL, DisplayLength=23, AD_Column_ID=13923, IsFieldOnly='N', Help=NULL, Name='Process Now', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:19:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11855
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11855
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=13909, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:19:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11849
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=13910, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=734, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:19:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11854
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Materials (Engineering) Change Notice (Version)', DisplayLength=14, AD_Column_ID=13917, IsFieldOnly='N', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', Name='Change Notice', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:20:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11848
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Product, Service, Item', DisplayLength=14, AD_Column_ID=13916, IsFieldOnly='N', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:20:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11856
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Material', DisplayLength=14, AD_Column_ID=13908, IsFieldOnly='N', Help='The composition of the Product', Name='BOM', AD_Tab_ID=734, IsSameLine='Y', IsHeading='N', SeqNo=50, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:20:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11852
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=13920, IsFieldOnly='N', 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', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11853
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=13921, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:21:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11851
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=13922, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:21:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11850
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13911, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:21:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11845
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Type of BOM', DisplayLength=14, AD_Column_ID=13918, IsFieldOnly='N', Help='The type of Bills of Materials determines the state', Name='BOM Type', AD_Tab_ID=734, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11846
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The use of the Bill of Material', DisplayLength=14, AD_Column_ID=13919, IsFieldOnly='N', Help='By default the Master BOM is used, if the alternatives are not defined', Name='BOM Use', AD_Tab_ID=734, IsSameLine='Y', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:22:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11847
;

UPDATE AD_Tab SET Description='BOM (Engineering) Change Requests', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', OrderByClause=NULL, IsTranslationTab='N', Name='BOM Change Request', SeqNo=30, AD_Table_ID=800, AD_Window_ID=355, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', AD_Column_ID=13945, ImportFields=NULL, Processing='N', TabLevel=2, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=735
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=735
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='BOM (Engineering) Change Request', DisplayLength=14, AD_Column_ID=13937, IsFieldOnly='N', Help='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group referres to a Bill of Materials', Name='Change Request', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11860
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=13938, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11861
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=13939, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=735, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:23:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11866
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Material', DisplayLength=14, AD_Column_ID=13945, IsFieldOnly='N', Help='The composition of the Product', Name='BOM', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:23:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11858
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Bill of Materials (Engineering) Change Notice (Version)', DisplayLength=14, AD_Column_ID=13946, IsFieldOnly='N', Help='Engineering Change Document number you can track the modifications made to the BOM. The sequence of the ECD is allocated by the system using the Sequence entered for this Document Type.', Name='Change Notice', AD_Tab_ID=735, IsSameLine='Y', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:23:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11859
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document sequence number of the document', DisplayLength=20, AD_Column_ID=13947, IsFieldOnly='N', Help='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).', Name='Document No', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:24:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11864
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=13948, IsFieldOnly='N', 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', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:24:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11865
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=13949, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:24:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11863
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=13950, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11862
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13940, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:25:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11857
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Additional Detail Information', DisplayLength=60, AD_Column_ID=13951, IsFieldOnly='N', Help=NULL, Name='Detail Information', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:25:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11867
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=11867
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Fixed in Change Notice', DisplayLength=10, AD_Column_ID=14001, IsFieldOnly='N', Help=NULL, Name='Fixed in', AD_Tab_ID=735, IsSameLine='N', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12007
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12007
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 01:26:00','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:26:00','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturing Resource',53004,'M','A Manufacturing Resource is defined as anything required for production and its unavailability can affect the Production Plan. Manufacturing Resources can be: Plants, Production lines, Work Centers and Work Stations.

It mainly answers the question: Where is the product made?

A Specific production facility consisting of one or more people and/or machines which can be considered as one unit for purposes of capacity requiremets planning and detailed scheduling.',0,0,'Manufacturing Resource','N','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53004 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),53004,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),53004,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),53004,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:26:01','YYYY-MM-DD HH24:MI:SS'),53004,'Y',0,0,50001)
;

UPDATE AD_Table SET Name='Resource', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=236, IsDeleteable='Y', TableName='S_Resource', Description='Resource', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 01:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=487
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6861
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=6861 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:27:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6860
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=6860 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='User/Contact', IsMandatory='N', IsTranslated='N', Description='User within the system - Internal or Business Partner Contact', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='AD_User_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=164, AD_Element_ID=138, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:27:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8839
;

UPDATE AD_Field SET Name='User/Contact', Description='User within the system - Internal or Business Partner Contact', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact' WHERE AD_Column_ID=8839 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Chargeable Quantity', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='ChargeableQty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=2076, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:28:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8840
;

UPDATE AD_Field SET Name='Chargeable Quantity', Description=NULL, Help=NULL WHERE AD_Column_ID=8840 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:28:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6858
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=6858 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:28:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6857
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=6857 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Available', IsMandatory='Y', IsTranslated='N', Description='Resource is available', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='Resource is available for assignments', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='IsAvailable', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1762, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:29:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6849
;

UPDATE AD_Field SET Name='Available', Description='Resource is available', Help='Resource is available for assignments' WHERE AD_Column_ID=6849 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Warehouse', IsMandatory='Y', IsTranslated='N', Description='Storage Warehouse and Service Point', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='M_Warehouse_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=459, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6850
;

UPDATE AD_Field SET Name='Warehouse', Description='Storage Warehouse and Service Point', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.' WHERE AD_Column_ID=6850 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Resource Type', IsMandatory='Y', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='S_ResourceType_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1779, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:29:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6851
;

UPDATE AD_Field SET Name='Resource Type', Description=NULL, Help=NULL WHERE AD_Column_ID=6851 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Resource', IsMandatory='Y', IsTranslated='N', Description='Resource', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='S_Resource_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=1777, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:30:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6862
;

UPDATE AD_Field SET Name='Resource', Description='Resource', Help=NULL WHERE AD_Column_ID=6862 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:31:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6856
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=6856 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:31:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6855
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=6855 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Search Key', IsMandatory='Y', IsTranslated='N', Description='Search key for the record in the format required - must be unique', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='Value', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=620, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:32:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6854
;

UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', Help='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).' WHERE AD_Column_ID=6854 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:32:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6852
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=6852 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:32:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6859
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=6859 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=487, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:33:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6853
;

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=6853 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53230,'PercentUtilization','PercentUtilization',0,0,0,0,'PercentUtilization',TO_DATE('2007-12-17 01:33:26','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:33:26','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53230 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PercentUtilization','N','N','N',0,'Y',487,53272,'PercentUtilization',0,0,10,'N',TO_DATE('2007-12-17 01:33:26','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 01:33:26','YYYY-MM-DD HH24:MI:SS'),53230,'Y','N','N',0,'N','N','EE01')
;

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=53272 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 S_RESOURCE ADD PercentUtilization NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53231,'DailyCapacity','DailyCapacity',0,0,0,0,'DailyCapacity',TO_DATE('2007-12-17 01:33:28','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:33:28','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53231 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DailyCapacity','N','N','N',0,'Y',487,53273,'DailyCapacity',0,0,10,'N',TO_DATE('2007-12-17 01:33:28','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 01:33:28','YYYY-MM-DD HH24:MI:SS'),53231,'Y','N','N',0,'N','N','EE01')
;

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=53273 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 S_RESOURCE ADD DailyCapacity NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53232,'IsManufacturingResource','IsManufacturingResource',0,0,0,0,'IsManufacturingResource',TO_DATE('2007-12-17 01:33:30','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:33:30','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53232 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsManufacturingResource','N','N','N','N',0,'Y',487,53274,'IsManufacturingResource',0,0,1,'N',TO_DATE('2007-12-17 01:33:30','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 01:33:30','YYYY-MM-DD HH24:MI:SS'),53232,'Y','N','N',0,'N','N','EE01')
;

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=53274 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 S_RESOURCE ADD IsManufacturingResource CHAR(1) DEFAULT 'N' CHECK (IsManufacturingResource IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Waiting Time','N','N','Workflow Simulation Waiting time','N','Amount of time needed to prepare the performance of the task on Duration Units',0,'Y',487,53275,'WaitingTime',0,0,10,'N',TO_DATE('2007-12-17 01:33:34','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 01:33:34','YYYY-MM-DD HH24:MI:SS'),2331,'Y','N','N',0,'N','N','EE01')
;

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=53275 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 S_RESOURCE ADD WaitingTime NUMBER
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,Description,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53223,'L','S_Resource MFG Type','Manufacturing Resource Type',0,TO_DATE('2007-12-17 01:33:36','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 01:33:36','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53223 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Production Line',TO_DATE('2007-12-17 01:33:37','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:33:37','YYYY-MM-DD HH24:MI:SS'),0,0,53244,53223,'PL','Production Line','Y',0,'EE01')
;

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=53244 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 01:33:39','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:33:39','YYYY-MM-DD HH24:MI:SS'),0,0,53245,53223,'PT','Plant','Y',0,'EE01')
;

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=53245 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 01:33:42','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:33:42','YYYY-MM-DD HH24:MI:SS'),0,0,53246,53223,'WC','Work Center','Y',0,'EE01')
;

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=53246 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 01:33:43','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:33:43','YYYY-MM-DD HH24:MI:SS'),0,0,53247,53223,'WS','Work Station','Y',0,'EE01')
;

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=53247 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)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53233,'ManufacturingResourceType','ManufacturingResourceType',0,0,0,0,'ManufacturingResourceType',TO_DATE('2007-12-17 01:33:44','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:33:44','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53233 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('ManufacturingResourceType','N','N','N',53223,0,'Y',487,53276,'ManufacturingResourceType',0,0,2,'N',TO_DATE('2007-12-17 01:33:44','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 01:33:44','YYYY-MM-DD HH24:MI:SS'),53233,'Y','N','N',0,'N','N','EE01')
;

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=53276 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 S_RESOURCE ADD ManufacturingResourceType CHAR(2)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53234,'QueuingTime','QueuingTime',0,0,0,0,'QueuingTime',TO_DATE('2007-12-17 01:33:47','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:33:47','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53234 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QueuingTime','N','N','N',0,'Y',487,53277,'QueuingTime',0,0,10,'N',TO_DATE('2007-12-17 01:33:47','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 01:33:47','YYYY-MM-DD HH24:MI:SS'),53234,'Y','N','N',0,'N','N','EE01')
;

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=53277 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 S_RESOURCE ADD QueuingTime NUMBER
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,OrderByClause,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,WhereClause,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 01:33:49','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:33:49','YYYY-MM-DD HH24:MI:SS'),0,0,'Name','N','Manufacturing Resource',10,487,53015,53004,'IsManufacturingResource=''Y''','N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53015 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 01:33:50','YYYY-MM-DD HH24:MI:SS'),0,53287,26,8840,'N',0,TO_DATE('2007-12-17 01:33:50','YYYY-MM-DD HH24:MI:SS'),'Chargeable Quantity',53015,'N','N',0,'N','D')
;

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=53287 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 01:33:51','YYYY-MM-DD HH24:MI:SS'),0,53288,'Resource',14,6862,'N',0,TO_DATE('2007-12-17 01:33:51','YYYY-MM-DD HH24:MI:SS'),'Resource',53015,'N','N',0,'N','D')
;

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=53288 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:33:52','YYYY-MM-DD HH24:MI:SS'),0,53289,'Client/Tenant for this installation.',14,6861,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 01:33:52','YYYY-MM-DD HH24:MI:SS'),'Client',53015,'N','N',10,'N','EE01')
;

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=53289 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:33:53','YYYY-MM-DD HH24:MI:SS'),0,53290,'Organizational entity within client',14,6860,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 01:33:53','YYYY-MM-DD HH24:MI:SS'),'Organization',53015,'Y','N',20,'N','EE01')
;

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=53290 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:33:54','YYYY-MM-DD HH24:MI:SS'),0,53291,'The record is active in the system',1,6859,'N',0,'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.',TO_DATE('2007-12-17 01:33:54','YYYY-MM-DD HH24:MI:SS'),'Active',53015,'N','N',30,'N','EE01')
;

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=53291 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:33:55','YYYY-MM-DD HH24:MI:SS'),0,53292,'Optional short description of the record',60,6852,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 01:33:55','YYYY-MM-DD HH24:MI:SS'),'Description',53015,'N','N',40,'N','EE01')
;

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=53292 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:33:55','YYYY-MM-DD HH24:MI:SS'),0,53293,'Alphanumeric identifier of the entity',60,6853,'N',0,'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.',TO_DATE('2007-12-17 01:33:55','YYYY-MM-DD HH24:MI:SS'),'Name',53015,'N','N',40,'N','EE01')
;

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=53293 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:02','YYYY-MM-DD HH24:MI:SS'),0,53294,'User within the system - Internal or Business Partner Contact',14,8839,'N',0,'The User identifies a unique user in the system. This could be an internal user or a business partner contact',TO_DATE('2007-12-17 01:34:02','YYYY-MM-DD HH24:MI:SS'),'User/Contact',53015,'N','N',50,'N','EE01')
;

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=53294 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:04','YYYY-MM-DD HH24:MI:SS'),0,53295,14,6851,'N',0,TO_DATE('2007-12-17 01:34:04','YYYY-MM-DD HH24:MI:SS'),'Resource Type',53015,'N','N',70,'N','EE01')
;

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=53295 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:07','YYYY-MM-DD HH24:MI:SS'),0,53296,'Search key for the record in the format required - must be unique',40,6854,'N',0,'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).',TO_DATE('2007-12-17 01:34:07','YYYY-MM-DD HH24:MI:SS'),'Search Key',53015,'N','N',80,'N','EE01')
;

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=53296 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:08','YYYY-MM-DD HH24:MI:SS'),0,53297,'Storage Warehouse and Service Point',14,6850,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 01:34:08','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53015,'N','N',90,'N','EE01')
;

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=53297 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:09','YYYY-MM-DD HH24:MI:SS'),0,53298,'Resource is available',1,6849,'N',0,'Resource is available for assignments',TO_DATE('2007-12-17 01:34:09','YYYY-MM-DD HH24:MI:SS'),'Available',53015,'N','N',100,'N','EE01')
;

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=53298 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:10','YYYY-MM-DD HH24:MI:SS'),0,53299,1,53274,'N',0,TO_DATE('2007-12-17 01:34:10','YYYY-MM-DD HH24:MI:SS'),'IsManufacturingResource',53015,'N','N',110,'N','EE01')
;

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=53299 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:12','YYYY-MM-DD HH24:MI:SS'),0,53300,2,53276,'N',0,TO_DATE('2007-12-17 01:34:12','YYYY-MM-DD HH24:MI:SS'),'ManufacturingResourceType',53015,'N','N',120,'N','@IsManufacturingResource@ = ''Y''','EE01')
;

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=53300 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:13','YYYY-MM-DD HH24:MI:SS'),0,53301,10,53273,'N',0,TO_DATE('2007-12-17 01:34:13','YYYY-MM-DD HH24:MI:SS'),'DailyCapacity',53015,'N','N',130,'N','@IsManufacturingResource@ = ''Y''','EE01')
;

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=53301 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:15','YYYY-MM-DD HH24:MI:SS'),0,53302,10,53272,'N',0,TO_DATE('2007-12-17 01:34:15','YYYY-MM-DD HH24:MI:SS'),'PercentUtilization',53015,'Y','N',140,'N','@IsManufacturingResource@ = ''Y''','EE01')
;

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=53302 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:16','YYYY-MM-DD HH24:MI:SS'),0,53303,10,53277,'N',0,TO_DATE('2007-12-17 01:34:16','YYYY-MM-DD HH24:MI:SS'),'QueuingTime',53015,'N','N',150,'N','@IsManufacturingResource@ = ''Y''','EE01')
;

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=53303 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:34:16','YYYY-MM-DD HH24:MI:SS'),0,53304,'Workflow Simulation Waiting time',10,53275,'N',0,'Amount of time needed to prepare the performance of the task on Duration Units',TO_DATE('2007-12-17 01:34:16','YYYY-MM-DD HH24:MI:SS'),'Waiting Time',53015,'Y','N',160,'N','@IsManufacturingResource@ = ''Y''','EE01')
;

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=53304 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_Preference (AD_Preference_ID,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,Updated,Value,AD_Window_ID,Attribute,CreatedBy) VALUES (50000,0,0,0,'Y',TO_DATE('2007-12-17 01:34:17','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:34:17','YYYY-MM-DD HH24:MI:SS'),'0',53004,'AD_Org_ID',0)
;

UPDATE AD_Window SET IsActive='Y', Name='Resource Type', WindowType='M', Help='Maintain Resource types and their principal availability. it is used to calculate the available time in a resource. It allows input of starting time and end time for the slot according to the working days.', Description='Maintain Resource Types', IsSOTrx='Y', IsDefault='N', Processing='N', IsBetaFunctionality='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:34:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=237
;

UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=237
;

UPDATE AD_Table SET Name='Resource Type', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=237, IsDeleteable='Y', TableName='S_ResourceType', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 01:34:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=480
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:35:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6890
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=6890 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:35:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6891
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=6891 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Allow UoM Fractions', IsMandatory='Y', IsTranslated='N', Description='Allow Unit of Measure Fractions', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='If allowed, you can enter UoM Fractions', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='AllowUoMFractions', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1753, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:35:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6901
;

UPDATE AD_Field SET Name='Allow UoM Fractions', Description='Allow Unit of Measure Fractions', Help='If allowed, you can enter UoM Fractions' WHERE AD_Column_ID=6901 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Tax Category', IsMandatory='Y', IsTranslated='N', Description='Tax Category', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Tax Category provides a method of grouping similar taxes.  For example, Sales Tax or Value Added Tax.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='C_TaxCategory_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=211, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:36:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6932
;

UPDATE AD_Field SET Name='Tax Category', Description='Tax Category', Help='The Tax Category provides a method of grouping similar taxes.  For example, Sales Tax or Value Added Tax.' WHERE AD_Column_ID=6932 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='UOM', IsMandatory='Y', IsTranslated='N', Description='Unit of Measure', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The UOM defines a unique non monetary Unit of Measure', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='C_UOM_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=215, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:36:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6900
;

UPDATE AD_Field SET Name='UOM', Description='Unit of Measure', Help='The UOM defines a unique non monetary Unit of Measure' WHERE AD_Column_ID=6900 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Integer', Description='10 Digit numeric', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:37:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=11
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11
;

UPDATE AD_Column SET Name='Chargeable Quantity', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='ChargeableQty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2076, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:37:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8837
;

UPDATE AD_Field SET Name='Chargeable Quantity', Description=NULL, Help=NULL WHERE AD_Column_ID=8837 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:38:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6893
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=6893 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:38:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6894
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=6894 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:39:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6899
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=6899 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:39:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6892
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=6892 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Day Slot', IsMandatory='Y', IsTranslated='N', Description='Resource has day slot availability', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Resource is only available on certain days', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='IsDateSlot', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1764, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:40:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6930
;

UPDATE AD_Field SET Name='Day Slot', Description='Resource has day slot availability', Help='Resource is only available on certain days' WHERE AD_Column_ID=6930 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Single Assignment only', IsMandatory='Y', IsTranslated='N', Description='Only one assignment at a time (no double-booking or overlapping)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='If selected, you can only have one assignment for the resource at a single point in time.   It is also  not possible to have overlapping assignments.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='IsSingleAssignment', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1785, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:40:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6925
;

UPDATE AD_Field SET Name='Single Assignment only', Description='Only one assignment at a time (no double-booking or overlapping)', Help='If selected, you can only have one assignment for the resource at a single point in time.   It is also  not possible to have overlapping assignments.' WHERE AD_Column_ID=6925 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Time Slot', IsMandatory='Y', IsTranslated='N', Description='Resource has time slot availability', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Resource is only available at certain times', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='IsTimeSlot', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1768, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:41:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6922
;

UPDATE AD_Field SET Name='Time Slot', Description='Resource has time slot availability', Help='Resource is only available at certain times' WHERE AD_Column_ID=6922 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product Category', IsMandatory='Y', IsTranslated='N', Description='Category of a Product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies the category which this product belongs to.  Product categories are used for pricing and selection.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='M_Product_Category_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=453, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:41:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6931
;

UPDATE AD_Field SET Name='Product Category', Description='Category of a Product', Help='Identifies the category which this product belongs to.  Product categories are used for pricing and selection.' WHERE AD_Column_ID=6931 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Search Key', IsMandatory='Y', IsTranslated='N', Description='Search key for the record in the format required - must be unique', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='Value', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=620, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:42:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6897
;

UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', Help='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).' WHERE AD_Column_ID=6897 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Friday', IsMandatory='Y', IsTranslated='N', Description='Available on Fridays', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='OnFriday', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1769, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:42:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6924
;

UPDATE AD_Field SET Name='Friday', Description='Available on Fridays', Help=NULL WHERE AD_Column_ID=6924 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Monday', IsMandatory='Y', IsTranslated='N', Description='Available on Mondays', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='OnMonday', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1770, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:42:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6929
;

UPDATE AD_Field SET Name='Monday', Description='Available on Mondays', Help=NULL WHERE AD_Column_ID=6929 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Saturday', IsMandatory='Y', IsTranslated='N', Description='Available on Saturday', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='OnSaturday', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1771, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:43:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6921
;

UPDATE AD_Field SET Name='Saturday', Description='Available on Saturday', Help=NULL WHERE AD_Column_ID=6921 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Sunday', IsMandatory='Y', IsTranslated='N', Description='Available on Sundays', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='OnSunday', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1772, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:43:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6920
;

UPDATE AD_Field SET Name='Sunday', Description='Available on Sundays', Help=NULL WHERE AD_Column_ID=6920 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Thursday', IsMandatory='Y', IsTranslated='N', Description='Available on Thursdays', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='OnThursday', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1773, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:43:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6926
;

UPDATE AD_Field SET Name='Thursday', Description='Available on Thursdays', Help=NULL WHERE AD_Column_ID=6926 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Tuesday', IsMandatory='Y', IsTranslated='N', Description='Available on Tuesdays', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='OnTuesday', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1774, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:44:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6919
;

UPDATE AD_Field SET Name='Tuesday', Description='Available on Tuesdays', Help=NULL WHERE AD_Column_ID=6919 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Wednesday', IsMandatory='Y', IsTranslated='N', Description='Available on Wednesdays', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='OnWednesday', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1775, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:44:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6927
;

UPDATE AD_Field SET Name='Wednesday', Description='Available on Wednesdays', Help=NULL WHERE AD_Column_ID=6927 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Resource Type', IsMandatory='Y', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='S_ResourceType_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=1779, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:44:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6889
;

UPDATE AD_Field SET Name='Resource Type', Description=NULL, Help=NULL WHERE AD_Column_ID=6889 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Time', Description='Time', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:44:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=24
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=24
;

UPDATE AD_Column SET Name='Slot End', IsMandatory='N', IsTranslated='N', Description='Time when timeslot ends', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Ending time for time slots', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='TimeSlotEnd', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=24, AD_Val_Rule_ID=NULL, AD_Element_ID=1759, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:45:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6923
;

UPDATE AD_Field SET Name='Slot End', Description='Time when timeslot ends', Help='Ending time for time slots' WHERE AD_Column_ID=6923 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Slot Start', IsMandatory='N', IsTranslated='N', Description='Time when timeslot starts', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Starting time for time slots', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='TimeSlotStart', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=24, AD_Val_Rule_ID=NULL, AD_Element_ID=1760, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:45:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6928
;

UPDATE AD_Field SET Name='Slot Start', Description='Time when timeslot starts', Help='Starting time for time slots' WHERE AD_Column_ID=6928 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:45:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6895
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=6895 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:46:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6896
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=6896 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=480, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:46:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6898
;

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=6898 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Maintain Resource Types', Help='Maintain Resource types and their principal availability.', OrderByClause=NULL, IsTranslationTab='N', Name='Resource Type', SeqNo=10, AD_Table_ID=480, AD_Window_ID=237, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=0, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:47:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=418
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=418
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description=NULL, DisplayLength=14, AD_Column_ID=6889, IsFieldOnly='N', Help=NULL, Name='Resource Type', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:47:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5539
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5539
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description=NULL, DisplayLength=11, AD_Column_ID=8837, IsFieldOnly='N', Help=NULL, Name='Chargeable Quantity', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=20, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:47:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6569
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=6569
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=6890, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5540
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=6891, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5541
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Search key for the record in the format required - must be unique', DisplayLength=40, AD_Column_ID=6897, IsFieldOnly='N', Help='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).', Name='Search Key', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:48:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5543
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=6898, IsFieldOnly='N', 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', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5544
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=6899, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:49:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5545
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=6892, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:49:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5542
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Unit of Measure', DisplayLength=14, AD_Column_ID=6900, IsFieldOnly='N', Help='The UOM defines a unique non monetary Unit of Measure', Name='UOM', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:49:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5546
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Allow Unit of Measure Fractions', DisplayLength=1, AD_Column_ID=6901, IsFieldOnly='N', Help='If allowed, you can enter UoM Fractions', Name='Allow UoM Fractions', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:49:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5547
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Category of a Product', DisplayLength=14, AD_Column_ID=6931, IsFieldOnly='N', Help='Identifies the category which this product belongs to.  Product categories are used for pricing and selection.', Name='Product Category', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:50:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5588
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Tax Category', DisplayLength=14, AD_Column_ID=6932, IsFieldOnly='N', Help='The Tax Category provides a method of grouping similar taxes.  For example, Sales Tax or Value Added Tax.', Name='Tax Category', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=120, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:50:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5587
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Only one assignment at a time (no double-booking or overlapping)', DisplayLength=1, AD_Column_ID=6925, IsFieldOnly='N', Help='If selected, you can only have one assignment for the resource at a single point in time.   It is also  not possible to have overlapping assignments.', Name='Single Assignment only', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=130, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5581
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Resource has time slot availability', DisplayLength=1, AD_Column_ID=6922, IsFieldOnly='N', Help='Resource is only available at certain times', Name='Time Slot', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=140, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:51:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5578
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Time when timeslot starts', DisplayLength=1, AD_Column_ID=6928, IsFieldOnly='N', Help='Starting time for time slots', Name='Slot Start', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=150, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsTimeSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:51:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5584
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Time when timeslot ends', DisplayLength=1, AD_Column_ID=6923, IsFieldOnly='N', Help='Ending time for time slots', Name='Slot End', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=160, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsTimeSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5579
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Resource has day slot availability', DisplayLength=1, AD_Column_ID=6930, IsFieldOnly='N', Help='Resource is only available on certain days', Name='Day Slot', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=170, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 01:51:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5586
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Available on Sundays', DisplayLength=1, AD_Column_ID=6920, IsFieldOnly='N', Help=NULL, Name='Sunday', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=180, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsDateSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:52:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5576
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5576
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Available on Mondays', DisplayLength=1, AD_Column_ID=6929, IsFieldOnly='N', Help=NULL, Name='Monday', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=190, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsDateSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:52:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5585
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5585
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Available on Tuesdays', DisplayLength=1, AD_Column_ID=6919, IsFieldOnly='N', Help=NULL, Name='Tuesday', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=200, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsDateSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5575
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5575
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Available on Wednesdays', DisplayLength=1, AD_Column_ID=6927, IsFieldOnly='N', Help=NULL, Name='Wednesday', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=210, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsDateSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:53:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5583
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5583
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Available on Thursdays', DisplayLength=1, AD_Column_ID=6926, IsFieldOnly='N', Help=NULL, Name='Thursday', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=220, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsDateSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:53:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5582
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5582
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Available on Fridays', DisplayLength=1, AD_Column_ID=6924, IsFieldOnly='N', Help=NULL, Name='Friday', AD_Tab_ID=418, IsSameLine='N', IsHeading='N', SeqNo=230, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsDateSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:53:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5580
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5580
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Available on Saturday', DisplayLength=1, AD_Column_ID=6921, IsFieldOnly='N', Help=NULL, Name='Saturday', AD_Tab_ID=418, IsSameLine='Y', IsHeading='N', SeqNo=240, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@IsDateSlot@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5577
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=5577
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 01:53:56','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:53:56','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturing Workflows',53005,'M','Manufacturing Workflows (Routing) is a set of information detailing the method of manufacture of a particular item .It includes the operations to be performed their sequence the various work centers to be involved and the standards for setup and run. In some companies routing also includes information on tooling operator skill levels inspection operationstesting requirements etc.',0,0,'Maintain Manufacturing Workflows (Routing)','N','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53005 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),53005,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),53005,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),53005,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),53005,'Y',0,0,50001)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Node Tools','3','Y','N','N','PP_WF_Node_Product',TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),53016,0,TO_DATE('2007-12-17 01:53:57','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53016 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_WF_Node_Product',0,0,'PP_WF_Node_Product',50000,1000000,'Y',53013,TO_DATE('2007-12-17 01:53:58','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:53:58','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='_EntityTypeNew', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:54:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=389
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=389
;

UPDATE AD_Ref_Table SET AD_Table_ID = 882, AD_Display = 15601, AD_Key = 15592, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 389
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,ReadOnlyLogic,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Entity Type','Y','N','Dictionary Entity Type; Determines ownership and synchronization','N','U','The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',389,1.000000000000,'Y',53016,53278,'EntityType',0,0,40,'N',TO_DATE('2007-12-17 01:54:06','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 01:54:06','YYYY-MM-DD HH24:MI:SS'),1682,'Y','N','N',0,'@EntityType@=D','N','N','D')
;

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=53278 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_WF_Node_Product (EntityType VARCHAR2(40) DEFAULT 'U' NOT NULL)
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='AD_SysConfig ConfigurationLevel', Description='Configuration Level', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53222
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53222
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Configuration Level','N','N','Configuration Level for this parameter','N','S','Configuration Level for this parameter
S - just allowed system configuration
C - client configurable parameter
O - org configurable parameter',53222,0,'Y',53016,53279,'ConfigurationLevel',0,0,1,'N',TO_DATE('2007-12-17 01:54:35','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 01:54:35','YYYY-MM-DD HH24:MI:SS'),53229,'Y','N','N',0,'N','N','D')
;

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=53279 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 PP_WF_Node_Product ADD ConfigurationLevel CHAR(1) DEFAULT 'S'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Node','Y','N','Workflow Node (activity), step or process','N','The Workflow Node indicates a unique step or process in a Workflow.',0,'Y',53016,53280,'AD_WF_Node_ID',0,0,22,'Y',TO_DATE('2007-12-17 01:54:37','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 01:54:37','YYYY-MM-DD HH24:MI:SS'),142,'N','N','N',0,'N','N','EE01')
;

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=53280 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 PP_WF_Node_Product ADD AD_WF_Node_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53016,53281,'Created',0,0,7,'N',TO_DATE('2007-12-17 01:54:40','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 01:54:40','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53281 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 PP_WF_Node_Product ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53016,53282,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 01:54:41','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 01:54:41','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53282 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 PP_WF_Node_Product ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53016,53283,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 01:54:43','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 01:54:43','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53283 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 PP_WF_Node_Product ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53016,53284,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 01:54:44','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 01:54:44','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53284 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 PP_WF_Node_Product ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53235,'PP_WF_Node_Product_ID','PP_WF_Node_Product_ID',0,0,0,0,'PP_WF_Node_Product_ID',TO_DATE('2007-12-17 01:54:46','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:54:46','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53235 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_WF_Node_Product_ID','Y','N','N',0,'Y',53016,53285,'PP_WF_Node_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 01:54:46','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 01:54:46','YYYY-MM-DD HH24:MI:SS'),53235,'N','Y','N',0,'N','N','EE01')
;

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=53285 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 PP_WF_Node_Product ADD PP_WF_Node_Product_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_WF_Node_Product ADD CONSTRAINT PP_WF_Node_Product_Key PRIMARY KEY (PP_WF_Node_Product_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Quantity','N','N','Quantity','N','The Quantity indicates the number of a specific product or item for this document.',0,'Y',53016,53286,'Qty',0,0,22,'N',TO_DATE('2007-12-17 01:54:48','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 01:54:48','YYYY-MM-DD HH24:MI:SS'),526,'Y','N','N',0,'N','N','EE01')
;

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=53286 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 PP_WF_Node_Product ADD Qty NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sequence','N','N','Method of ordering records; lowest number comes first','N','The Sequence indicates the order of records',0,'Y',53016,53287,'SeqNo',0,0,22,'N',TO_DATE('2007-12-17 01:54:50','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 01:54:50','YYYY-MM-DD HH24:MI:SS'),566,'Y','N','N',0,'N','N','EE01')
;

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=53287 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 PP_WF_Node_Product ADD SeqNo NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53016,53288,'Updated',0,0,7,'N',TO_DATE('2007-12-17 01:54:51','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 01:54:51','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53288 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 PP_WF_Node_Product ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53016,53289,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 01:54:52','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 01:54:52','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53289 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 PP_WF_Node_Product ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53016,53290,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 01:54:54','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 01:54:54','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53290 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 PP_WF_Node_Product ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53016,53291,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 01:55:02','YYYY-MM-DD HH24:MI:SS'),'Y',19,117,0,TO_DATE('2007-12-17 01:55:02','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53291 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 PP_WF_Node_Product ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,AD_Column_ID,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 01:55:03','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:55:03','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Product',55,53016,53016,53005,'N','N','Y','Y','N',NULL,'N',53280,'N',0,2,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53016 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 01:55:04','YYYY-MM-DD HH24:MI:SS'),0,53305,22,53285,'N',0,TO_DATE('2007-12-17 01:55:04','YYYY-MM-DD HH24:MI:SS'),'PP_WF_Node_Product_ID',53016,'N','N',0,'N','EE01')
;

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=53305 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:05','YYYY-MM-DD HH24:MI:SS'),0,53306,'Client/Tenant for this installation.',22,53289,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 01:55:05','YYYY-MM-DD HH24:MI:SS'),'Client',53016,'N','N',10,'N','EE01')
;

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=53306 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:06','YYYY-MM-DD HH24:MI:SS'),0,53307,'Organizational entity within client',22,53291,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 01:55:06','YYYY-MM-DD HH24:MI:SS'),'Organization',53016,'Y','N',20,'N','EE01')
;

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=53307 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:07','YYYY-MM-DD HH24:MI:SS'),0,53308,'Workflow Node (activity), step or process',22,53280,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 01:55:07','YYYY-MM-DD HH24:MI:SS'),'Node',53016,'N','N',40,'N','EE01')
;

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=53308 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:08','YYYY-MM-DD HH24:MI:SS'),0,53309,'The record is active in the system',1,53283,'N',0,'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.',TO_DATE('2007-12-17 01:55:08','YYYY-MM-DD HH24:MI:SS'),'Active',53016,'N','N',50,'N','EE01')
;

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=53309 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:09','YYYY-MM-DD HH24:MI:SS'),0,53310,'Method of ordering records; lowest number comes first',22,53287,'N',0,'The Sequence indicates the order of records',TO_DATE('2007-12-17 01:55:09','YYYY-MM-DD HH24:MI:SS'),'Sequence',53016,'N','N',60,'N','EE01')
;

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=53310 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:09','YYYY-MM-DD HH24:MI:SS'),0,53311,'Product, Service, Item',22,53284,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 01:55:09','YYYY-MM-DD HH24:MI:SS'),'Product',53016,'Y','N',70,'N','EE01')
;

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=53311 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:10','YYYY-MM-DD HH24:MI:SS'),0,53312,'Quantity',22,53286,'N',0,'The Quantity indicates the number of a specific product or item for this document.',TO_DATE('2007-12-17 01:55:10','YYYY-MM-DD HH24:MI:SS'),'Quantity',53016,'N','N',80,'N','EE01')
;

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=53312 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Node Asset','3','Y','N','N','PP_WF_Node_Asset',TO_DATE('2007-12-17 01:55:11','YYYY-MM-DD HH24:MI:SS'),53017,0,TO_DATE('2007-12-17 01:55:11','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53017 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_WF_Node_Asset',0,0,'PP_WF_Node_Asset',50000,1000000,'Y',53014,TO_DATE('2007-12-17 01:55:12','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:55:12','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53017,53292,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 01:55:12','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 01:55:12','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53292 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_WF_Node_Asset (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53017,53293,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 01:55:17','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 01:55:17','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53293 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 PP_WF_Node_Asset ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Node','Y','N','Workflow Node (activity), step or process','N','The Workflow Node indicates a unique step or process in a Workflow.',0,'Y',53017,53294,'AD_WF_Node_ID',0,0,22,'Y',TO_DATE('2007-12-17 01:55:18','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 01:55:18','YYYY-MM-DD HH24:MI:SS'),142,'N','N','N',0,'N','N','EE01')
;

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=53294 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 PP_WF_Node_Asset ADD AD_WF_Node_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Asset','Y','N','Asset used internally or by customers','N','An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.',0,'Y',53017,53295,'A_Asset_ID',0,0,22,'N',TO_DATE('2007-12-17 01:55:20','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 01:55:20','YYYY-MM-DD HH24:MI:SS'),1884,'Y','N','N',0,'N','N','EE01')
;

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=53295 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 PP_WF_Node_Asset ADD A_Asset_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53017,53296,'Created',0,0,7,'N',TO_DATE('2007-12-17 01:55:21','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 01:55:21','YYYY-MM-DD HH24:MI:SS'),245,'Y','N','N',0,'N','N','EE01')
;

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=53296 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 PP_WF_Node_Asset ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53017,53297,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 01:55:23','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 01:55:23','YYYY-MM-DD HH24:MI:SS'),246,'Y','N','N',0,'N','N','EE01')
;

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=53297 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 PP_WF_Node_Asset ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53017,53298,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 01:55:24','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 01:55:24','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53298 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 PP_WF_Node_Asset ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53236,'PP_WF_Node_Asset_ID','PP_WF_Node_Asset_ID',0,0,0,0,'PP_WF_Node_Asset_ID',TO_DATE('2007-12-17 01:55:25','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 01:55:25','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53236 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_WF_Node_Asset_ID','Y','N','N',0,'Y',53017,53299,'PP_WF_Node_Asset_ID',0,0,22,'N',TO_DATE('2007-12-17 01:55:25','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 01:55:25','YYYY-MM-DD HH24:MI:SS'),53236,'N','N','N',0,'N','N','EE01')
;

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=53299 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 PP_WF_Node_Asset ADD PP_WF_Node_Asset_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sequence','N','N','Method of ordering records; lowest number comes first','N','The Sequence indicates the order of records',0,'Y',53017,53300,'SeqNo',0,0,10,'N',TO_DATE('2007-12-17 01:55:27','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 01:55:27','YYYY-MM-DD HH24:MI:SS'),566,'N','Y','N',0,'N','N','EE01')
;

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=53300 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 PP_WF_Node_Asset ADD SeqNo NUMBER(10)
;

ALTER TABLE PP_WF_Node_Asset ADD CONSTRAINT PP_WF_Node_Asset_Key PRIMARY KEY (SeqNo)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53017,53301,'Updated',0,0,7,'N',TO_DATE('2007-12-17 01:55:29','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 01:55:29','YYYY-MM-DD HH24:MI:SS'),607,'Y','N','N',0,'N','N','EE01')
;

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=53301 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 PP_WF_Node_Asset ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53017,53302,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 01:55:30','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 01:55:30','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53302 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 PP_WF_Node_Asset ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,AD_Column_ID,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 01:55:31','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 01:55:31','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Tools',56,53017,53017,53005,'N','N','N','Y','N',NULL,'N',53294,'N',0,2,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53017 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 01:55:32','YYYY-MM-DD HH24:MI:SS'),0,53313,22,53299,'N',0,TO_DATE('2007-12-17 01:55:32','YYYY-MM-DD HH24:MI:SS'),'PP_WF_Node_Asset_ID',53017,'N','N',0,'N','EE01')
;

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=53313 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:33','YYYY-MM-DD HH24:MI:SS'),0,53314,'Client/Tenant for this installation.',22,53292,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 01:55:33','YYYY-MM-DD HH24:MI:SS'),'Client',53017,'N','N',10,'N','EE01')
;

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=53314 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:34','YYYY-MM-DD HH24:MI:SS'),0,53315,'Organizational entity within client',22,53293,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 01:55:34','YYYY-MM-DD HH24:MI:SS'),'Organization',53017,'Y','N',20,'N','EE01')
;

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=53315 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:35','YYYY-MM-DD HH24:MI:SS'),0,53316,'Workflow Node (activity), step or process',22,53294,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 01:55:35','YYYY-MM-DD HH24:MI:SS'),'Node',53017,'N','N',30,'N','EE01')
;

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=53316 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:36','YYYY-MM-DD HH24:MI:SS'),0,53317,'The record is active in the system',1,53298,'N',0,'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.',TO_DATE('2007-12-17 01:55:36','YYYY-MM-DD HH24:MI:SS'),'Active',53017,'N','N',40,'N','EE01')
;

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=53317 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:37','YYYY-MM-DD HH24:MI:SS'),0,53318,'Method of ordering records; lowest number comes first',10,53300,'N',0,'The Sequence indicates the order of records',TO_DATE('2007-12-17 01:55:37','YYYY-MM-DD HH24:MI:SS'),'Sequence',53017,'N','N',50,'N','EE01')
;

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=53318 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 01:55:38','YYYY-MM-DD HH24:MI:SS'),0,53319,'Asset used internally or by customers',22,53295,'N',0,'An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.',TO_DATE('2007-12-17 01:55:38','YYYY-MM-DD HH24:MI:SS'),'Asset',53017,'Y','N',60,'N','EE01')
;

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=53319 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_Table SET Name='Workbench Trl', AccessLevel='4', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=231, IsDeleteable='Y', TableName='AD_Workbench_Trl', Description='Collection of windows, reports', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 01:55:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=470
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:56:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6443
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=6443 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_Language', Description='Language selection', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 01:56:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=106
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=106
;

UPDATE AD_Ref_Table SET AD_Table_ID = 111, AD_Display = 204, AD_Key = 203, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 106
;

UPDATE AD_Column SET Name='Language', IsMandatory='Y', IsTranslated='N', Description='Language for this entity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Language identifies the language to use for display and formatting', AD_Reference_Value_ID=106, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='AD_Language', FieldLength=6, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=109, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:56:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6436
;

UPDATE AD_Field SET Name='Language', Description='Language for this entity', Help='The Language identifies the language to use for display and formatting' WHERE AD_Column_ID=6436 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:57:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6438
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=6438 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workbench', IsMandatory='Y', IsTranslated='N', Description='Collection of windows, reports', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='AD_Workbench_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1646, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:57:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6435
;

UPDATE AD_Field SET Name='Workbench', Description='Collection of windows, reports', Help=NULL WHERE AD_Column_ID=6435 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:57:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6440
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=6440 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6441
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=6441 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:58:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6445
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=6445 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:58:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6446
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=6446 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:59:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6439
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=6439 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Translated', IsMandatory='Y', IsTranslated='N', Description='This column is translated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Translated checkbox indicates if this column is translated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='IsTranslated', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=420, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6447
;

UPDATE AD_Field SET Name='Translated', Description='This column is translated', Help='The Translated checkbox indicates if this column is translated.' WHERE AD_Column_ID=6447 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 01:59:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6437
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=6437 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:00:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6442
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=6442 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=470, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:00:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6444
;

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=6444 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:00:20','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:00:20','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Workflow Translation',15,470,53018,53005,'N','N','N','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53018 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 02:00:21','YYYY-MM-DD HH24:MI:SS'),0,53320,'Collection of windows, reports',22,6435,'N',0,TO_DATE('2007-12-17 02:00:21','YYYY-MM-DD HH24:MI:SS'),'Workbench',53018,'N','N',0,'N','D')
;

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=53320 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:22','YYYY-MM-DD HH24:MI:SS'),0,53321,'Client/Tenant for this installation.',22,6437,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 02:00:22','YYYY-MM-DD HH24:MI:SS'),'Client',53018,'N','N',10,'N','EE01')
;

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=53321 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:23','YYYY-MM-DD HH24:MI:SS'),0,53322,'Organizational entity within client',22,6438,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 02:00:23','YYYY-MM-DD HH24:MI:SS'),'Organization',53018,'Y','N',20,'N','EE01')
;

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=53322 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:24','YYYY-MM-DD HH24:MI:SS'),0,53323,'Language for this entity',6,6436,'N',0,'The Language identifies the language to use for display and formatting',TO_DATE('2007-12-17 02:00:24','YYYY-MM-DD HH24:MI:SS'),'Language',53018,'N','N',30,'N','EE01')
;

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=53323 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:25','YYYY-MM-DD HH24:MI:SS'),0,53324,'Alphanumeric identifier of the entity',60,6444,'N',0,'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.',TO_DATE('2007-12-17 02:00:25','YYYY-MM-DD HH24:MI:SS'),'Name',53018,'N','N',40,'N','EE01')
;

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=53324 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:25','YYYY-MM-DD HH24:MI:SS'),0,53325,'Optional short description of the record',255,6445,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 02:00:25','YYYY-MM-DD HH24:MI:SS'),'Description',53018,'N','N',50,'N','EE01')
;

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=53325 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:26','YYYY-MM-DD HH24:MI:SS'),0,53326,'Comment or Hint',2000,6446,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 02:00:26','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53018,'N','N',60,'N','EE01')
;

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=53326 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:27','YYYY-MM-DD HH24:MI:SS'),0,53327,'The record is active in the system',1,6439,'N',0,'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.',TO_DATE('2007-12-17 02:00:27','YYYY-MM-DD HH24:MI:SS'),'Active',53018,'N','N',70,'N','EE01')
;

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=53327 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:00:28','YYYY-MM-DD HH24:MI:SS'),0,53328,'This column is translated',1,6447,'N',0,'The Translated checkbox indicates if this column is translated.',TO_DATE('2007-12-17 02:00:28','YYYY-MM-DD HH24:MI:SS'),'Translated',53018,'N','N',80,'N','EE01')
;

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=53328 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_Table SET Name='Workflow Trl', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_Workflow_Trl', Description='Workflow or combination of tasks', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:00:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=133
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:01:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=314
;

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=314 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Language', IsMandatory='Y', IsTranslated='N', Description='Language for this entity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Language identifies the language to use for display and formatting', AD_Reference_Value_ID=106, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='AD_Language', FieldLength=6, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=109, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:01:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=313
;

UPDATE AD_Field SET Name='Language', Description='Language for this entity', Help='The Language identifies the language to use for display and formatting' WHERE AD_Column_ID=313 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:01:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1214
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=1214 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow', IsMandatory='Y', IsTranslated='N', Description='Workflow or combination of tasks', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow field identifies a unique Workflow in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='AD_Workflow_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=144, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:02:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=312
;

UPDATE AD_Field SET Name='Workflow', Description='Workflow or combination of tasks', Help='The Workflow field identifies a unique Workflow in the system.' WHERE AD_Column_ID=312 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:02:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=702
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=702 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:02:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=703
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=703 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:03:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=315
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=315 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:03:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=316
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=316 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:03:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=701
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=701 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Translated', IsMandatory='Y', IsTranslated='N', Description='This column is translated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Translated checkbox indicates if this column is translated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='IsTranslated', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=420, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:04:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=317
;

UPDATE AD_Field SET Name='Translated', Description='This column is translated', Help='The Translated checkbox indicates if this column is translated.' WHERE AD_Column_ID=317 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:04:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=704
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=704 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:04:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1213
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=1213 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=133, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:05:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=705
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=705 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:05:18','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:05:18','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Manufacturing Workflows Translation',20,133,53019,53005,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53019 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

UPDATE AD_Table SET Name='AD_Workflow_Access', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_Workflow_Access', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:05:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=202
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:05:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1341
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=1341 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:06:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1342
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=1342 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Role', IsMandatory='Y', IsTranslated='N', Description='Responsibility Role', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Role determines security and access a user who has this Role will have in the System.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='AD_Role_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=123, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:07:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4638
;

UPDATE AD_Field SET Name='Role', Description='Responsibility Role', Help='The Role determines security and access a user who has this Role will have in the System.' WHERE AD_Column_ID=4638 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow', IsMandatory='Y', IsTranslated='N', Description='Workflow or combination of tasks', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow field identifies a unique Workflow in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='AD_Workflow_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=144, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:07:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1339
;

UPDATE AD_Field SET Name='Workflow', Description='Workflow or combination of tasks', Help='The Workflow field identifies a unique Workflow in the system.' WHERE AD_Column_ID=1339 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1344
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=1344 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:09:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1345
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=1345 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:09:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1343
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=1343 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Read Write', IsMandatory='Y', IsTranslated='N', Description='Field is read / write', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Read Write indicates that this field may be read and updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='IsReadWrite', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=406, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:09:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1348
;

UPDATE AD_Field SET Name='Read Write', Description='Field is read / write', Help='The Read Write indicates that this field may be read and updated.' WHERE AD_Column_ID=1348 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:10:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1346
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=1346 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=202, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:10:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1347
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=1347 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:10:38','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:10:38','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Access',30,202,53020,53005,'N','N','N','N','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53020 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:10:40','YYYY-MM-DD HH24:MI:SS'),0,53329,'Client/Tenant for this installation.',14,1341,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 02:10:40','YYYY-MM-DD HH24:MI:SS'),'Client',53020,'N','N',10,'N','EE01')
;

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=53329 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:10:41','YYYY-MM-DD HH24:MI:SS'),0,53330,'Organizational entity within client',14,1342,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 02:10:41','YYYY-MM-DD HH24:MI:SS'),'Organization',53020,'Y','N',20,'N','EE01')
;

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=53330 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:10:43','YYYY-MM-DD HH24:MI:SS'),0,53331,'Workflow or combination of tasks',14,1339,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 02:10:43','YYYY-MM-DD HH24:MI:SS'),'Workflow',53020,'N','N',30,'Y','EE01')
;

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=53331 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:10:44','YYYY-MM-DD HH24:MI:SS'),0,53332,'Responsibility Role',14,4638,'N',0,'The Role determines security and access a user who has this Role will have in the System.',TO_DATE('2007-12-17 02:10:44','YYYY-MM-DD HH24:MI:SS'),'Role',53020,'N','N',40,'N','EE01')
;

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=53332 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:10:45','YYYY-MM-DD HH24:MI:SS'),0,53333,'The record is active in the system',1,1343,'N',0,'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.',TO_DATE('2007-12-17 02:10:45','YYYY-MM-DD HH24:MI:SS'),'Active',53020,'N','N',50,'N','EE01')
;

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=53333 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:10:46','YYYY-MM-DD HH24:MI:SS'),0,53334,'Field is read / write',1,1348,'N',0,'The Read Write indicates that this field may be read and updated.',TO_DATE('2007-12-17 02:10:46','YYYY-MM-DD HH24:MI:SS'),'Read Write',53020,'N','N',60,'N','EE01')
;

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=53334 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_Table SET Name='Workflow Block', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_WF_Block', Description='Workflow Transaction Execution Block', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:10:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=647
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:11:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10495
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=10495 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:11:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10493
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=10493 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow Block', IsMandatory='Y', IsTranslated='N', Description='Workflow Transaction Execution Block', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='AD_WF_Block_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2309, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:12:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10494
;

UPDATE AD_Field SET Name='Workflow Block', Description='Workflow Transaction Execution Block', Help='A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.' WHERE AD_Column_ID=10494 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow', IsMandatory='Y', IsTranslated='N', Description='Workflow or combination of tasks', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow field identifies a unique Workflow in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='AD_Workflow_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=144, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:12:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10487
;

UPDATE AD_Field SET Name='Workflow', Description='Workflow or combination of tasks', Help='The Workflow field identifies a unique Workflow in the system.' WHERE AD_Column_ID=10487 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10492
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=10492 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:13:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10489
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=10489 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:13:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10485
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=10485 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:13:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10490
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=10490 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:14:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10486
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=10486 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:14:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10488
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=10488 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=647, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:14:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10491
;

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=10491 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:14:41','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:14:41','YYYY-MM-DD HH24:MI:SS'),0,'  ',0,'N','Block',40,647,53021,53005,'N','N','Y','N','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53021 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 02:14:42','YYYY-MM-DD HH24:MI:SS'),0,53335,'Workflow Transaction Execution Block',14,10494,'N',0,'A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.',TO_DATE('2007-12-17 02:14:42','YYYY-MM-DD HH24:MI:SS'),'Workflow Block',53021,'N','N',10,'N','D')
;

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=53335 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:14:43','YYYY-MM-DD HH24:MI:SS'),0,53336,'Client/Tenant for this installation.',14,10486,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 02:14:43','YYYY-MM-DD HH24:MI:SS'),'Client',53021,'N','N',20,'Y','EE01')
;

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=53336 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:14:44','YYYY-MM-DD HH24:MI:SS'),0,53337,'Organizational entity within client',14,10493,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 02:14:44','YYYY-MM-DD HH24:MI:SS'),'Organization',53021,'Y','N',30,'Y','EE01')
;

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=53337 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:14:45','YYYY-MM-DD HH24:MI:SS'),0,53338,'Workflow or combination of tasks',14,10487,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 02:14:45','YYYY-MM-DD HH24:MI:SS'),'Workflow',53021,'N','N',40,'Y','EE01')
;

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=53338 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:14:46','YYYY-MM-DD HH24:MI:SS'),0,53339,'Alphanumeric identifier of the entity',60,10491,'N',0,'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.',TO_DATE('2007-12-17 02:14:46','YYYY-MM-DD HH24:MI:SS'),'Name',53021,'N','N',50,'N','EE01')
;

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=53339 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:14:47','YYYY-MM-DD HH24:MI:SS'),0,53340,'Optional short description of the record',60,10485,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 02:14:47','YYYY-MM-DD HH24:MI:SS'),'Description',53021,'N','N',60,'N','EE01')
;

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=53340 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:14:48','YYYY-MM-DD HH24:MI:SS'),0,53341,'The record is active in the system',1,10490,'N',0,'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.',TO_DATE('2007-12-17 02:14:48','YYYY-MM-DD HH24:MI:SS'),'Active',53021,'N','N',70,'N','EE01')
;

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=53341 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_Table SET Name='AD_PInstance_Para', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=332, IsDeleteable='Y', TableName='AD_PInstance_Para', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:15:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=283
;

UPDATE AD_Column SET Name='Client', IsMandatory='N', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:15:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8232
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=8232 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='N', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8231
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=8231 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='N', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:16:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8228
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=8228 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='N', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8227
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=8227 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Info', IsMandatory='N', IsTranslated='N', Description='Information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Information displays data from the source document line.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='Info', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=1270, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:16:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5664
;

UPDATE AD_Field SET Name='Info', Description='Information', Help='The Information displays data from the source document line.' WHERE AD_Column_ID=5664 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Info To', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='Info_To', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=1560, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:17:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5665
;

UPDATE AD_Field SET Name='Info To', Description=NULL, Help=NULL WHERE AD_Column_ID=5665 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='N', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:17:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8229
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=8229 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='N', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:17:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8226
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=8226 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='N', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8230
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=8230 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Parameter Name', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='ParameterName', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=1196, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:18:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4213
;

UPDATE AD_Field SET Name='Parameter Name', Description=NULL, Help=NULL WHERE AD_Column_ID=4213 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Number', Description='Float Number', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:18:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=22
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=22
;

UPDATE AD_Column SET Name='Process Number', IsMandatory='N', IsTranslated='N', Description='Process Parameter', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='P_Number', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=22, AD_Val_Rule_ID=NULL, AD_Element_ID=1121, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:18:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3734
;

UPDATE AD_Field SET Name='Process Number', Description='Process Parameter', Help=NULL WHERE AD_Column_ID=3734 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process Instance', IsMandatory='Y', IsTranslated='N', Description='Instance of the process', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='AD_PInstance_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=114, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:19:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2787
;

UPDATE AD_Field SET Name='Process Instance', Description='Instance of the process', Help=NULL WHERE AD_Column_ID=2787 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process Number To', IsMandatory='N', IsTranslated='N', Description='Process Parameter', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='P_Number_To', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=22, AD_Val_Rule_ID=NULL, AD_Element_ID=1122, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3735
;

UPDATE AD_Field SET Name='Process Number To', Description='Process Parameter', Help=NULL WHERE AD_Column_ID=3735 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process String', IsMandatory='N', IsTranslated='N', Description='Process Parameter', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='P_String', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=491, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:19:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2791
;

UPDATE AD_Field SET Name='Process String', Description='Process Parameter', Help=NULL WHERE AD_Column_ID=2791 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process String To', IsMandatory='N', IsTranslated='N', Description='Process Parameter', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='P_String_To', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=492, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2792
;

UPDATE AD_Field SET Name='Process String To', Description='Process Parameter', Help=NULL WHERE AD_Column_ID=2792 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Sequence', IsMandatory='Y', IsTranslated='N', Description='Method of ordering records; lowest number comes first', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Sequence indicates the order of records', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='SeqNo', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=566, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:20:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3733
;

UPDATE AD_Field SET Name='Sequence', Description='Method of ordering records; lowest number comes first', Help='The Sequence indicates the order of records' WHERE AD_Column_ID=3733 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process Date To', IsMandatory='N', IsTranslated='N', Description='Process Parameter', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='P_Date_To', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=484, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2798
;

UPDATE AD_Field SET Name='Process Date To', Description='Process Parameter', Help=NULL WHERE AD_Column_ID=2798 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process Date', IsMandatory='N', IsTranslated='N', Description='Process Parameter', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=283, ColumnName='P_Date', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=483, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2797
;

UPDATE AD_Field SET Name='Process Date', Description='Process Parameter', Help=NULL WHERE AD_Column_ID=2797 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:21:18','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:21:18','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Parameter',60,283,53022,53005,'N','N','N','N','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53022 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

UPDATE AD_Table SET Name='Node Trl', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_WF_Node_Trl', Description='Workflow Node (activity), step or process', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:21:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=130
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:21:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=299
;

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=299 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Language', IsMandatory='Y', IsTranslated='N', Description='Language for this entity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Language identifies the language to use for display and formatting', AD_Reference_Value_ID=106, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='AD_Language', FieldLength=6, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=109, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:22:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=298
;

UPDATE AD_Field SET Name='Language', Description='Language for this entity', Help='The Language identifies the language to use for display and formatting' WHERE AD_Column_ID=298 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1208
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=1208 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Node', IsMandatory='Y', IsTranslated='N', Description='Workflow Node (activity), step or process', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow Node indicates a unique step or process in a Workflow.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='AD_WF_Node_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=142, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=297
;

UPDATE AD_Field SET Name='Node', Description='Workflow Node (activity), step or process', Help='The Workflow Node indicates a unique step or process in a Workflow.' WHERE AD_Column_ID=297 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=687
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=687 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:23:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=688
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=688 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:23:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=300
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=300 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:24:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2290
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=2290 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=686
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=686 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Translated', IsMandatory='Y', IsTranslated='N', Description='This column is translated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Translated checkbox indicates if this column is translated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='IsTranslated', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=420, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=301
;

UPDATE AD_Field SET Name='Translated', Description='This column is translated', Help='The Translated checkbox indicates if this column is translated.' WHERE AD_Column_ID=301 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:25:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=689
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=689 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1207
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=1207 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=130, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:26:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=690
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=690 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:26:24','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:26:24','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Node Translation',70,130,53023,53005,'N','N','N','N','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53023 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:25','YYYY-MM-DD HH24:MI:SS'),0,53342,'Client/Tenant for this installation.',14,1207,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 02:26:25','YYYY-MM-DD HH24:MI:SS'),'Client',53023,'N','N',10,'N','EE01')
;

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=53342 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:26','YYYY-MM-DD HH24:MI:SS'),0,53343,'Organizational entity within client',14,1208,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 02:26:26','YYYY-MM-DD HH24:MI:SS'),'Organization',53023,'Y','N',20,'N','EE01')
;

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=53343 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:27','YYYY-MM-DD HH24:MI:SS'),0,53344,'Workflow Node (activity), step or process',14,297,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 02:26:27','YYYY-MM-DD HH24:MI:SS'),'Node',53023,'N','N',30,'Y','EE01')
;

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=53344 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:28','YYYY-MM-DD HH24:MI:SS'),0,53345,'Language for this entity',14,298,'N',0,'The Language identifies the language to use for display and formatting',TO_DATE('2007-12-17 02:26:28','YYYY-MM-DD HH24:MI:SS'),'Language',53023,'N','N',40,'Y','EE01')
;

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=53345 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:29','YYYY-MM-DD HH24:MI:SS'),0,53346,'The record is active in the system',1,686,'N',0,'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.',TO_DATE('2007-12-17 02:26:29','YYYY-MM-DD HH24:MI:SS'),'Active',53023,'N','N',50,'N','EE01')
;

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=53346 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:29','YYYY-MM-DD HH24:MI:SS'),0,53347,'This column is translated',1,301,'N',0,'The Translated checkbox indicates if this column is translated.',TO_DATE('2007-12-17 02:26:29','YYYY-MM-DD HH24:MI:SS'),'Translated',53023,'N','N',60,'N','EE01')
;

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=53347 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:30','YYYY-MM-DD HH24:MI:SS'),0,53348,'Alphanumeric identifier of the entity',60,299,'N',0,'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.',TO_DATE('2007-12-17 02:26:30','YYYY-MM-DD HH24:MI:SS'),'Name',53023,'N','N',70,'N','EE01')
;

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=53348 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:31','YYYY-MM-DD HH24:MI:SS'),0,53349,'Optional short description of the record',60,300,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 02:26:31','YYYY-MM-DD HH24:MI:SS'),'Description',53023,'N','N',80,'N','EE01')
;

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=53349 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:26:32','YYYY-MM-DD HH24:MI:SS'),0,53350,'Comment or Hint',60,2290,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 02:26:32','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53023,'N','N',90,'N','EE01')
;

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=53350 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_Table SET Name='Transition Condition', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_WF_NextCondition', Description='Workflow Node Transition Condition', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:26:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=706
;

UPDATE AD_Column SET Name='Value To', IsMandatory='N', IsTranslated='N', Description='Value To', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='Value2', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=1455, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:27:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11576
;

UPDATE AD_Field SET Name='Value To', Description='Value To', Help=NULL WHERE AD_Column_ID=11576 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Column', IsMandatory='Y', IsTranslated='N', Description='Column in the table', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Link to the database column of the table', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='AD_Column_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=100, AD_Element_ID=104, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:27:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11579
;

UPDATE AD_Field SET Name='Column', Description='Column in the table', Help='Link to the database column of the table' WHERE AD_Column_ID=11579 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:27:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11569
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=11569 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Transition Condition', IsMandatory='Y', IsTranslated='N', Description='Workflow Node Transition Condition', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Optional restriction of transition of one node to the next', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='AD_WF_NextCondition_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2461, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:28:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11565
;

UPDATE AD_Field SET Name='Transition Condition', Description='Workflow Node Transition Condition', Help='Optional restriction of transition of one node to the next' WHERE AD_Column_ID=11565 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Node Transition', IsMandatory='Y', IsTranslated='N', Description='Workflow Node Transition', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='AD_WF_NodeNext_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2462, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:28:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11571
;

UPDATE AD_Field SET Name='Node Transition', Description='Workflow Node Transition', Help='The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.' WHERE AD_Column_ID=11571 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='AD_Find AndOr', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:28:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=204
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=204
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=204, Value='A', Name='And', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:28:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=364
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=364
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=204, Value='O', Name='Or', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:29:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=365
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=365
;

UPDATE AD_Column SET Name='And/Or', IsMandatory='Y', IsTranslated='N', Description='Logical operation: AND or OR', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='O', Help=NULL, AD_Reference_Value_ID=204, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='AndOr', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1452, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:29:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11566
;

UPDATE AD_Field SET Name='And/Or', Description='Logical operation: AND or OR', Help=NULL WHERE AD_Column_ID=11566 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:29:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11567
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=11567 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:30:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11564
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=11564 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Entity Type', IsMandatory='Y', IsTranslated='N', Description='Dictionary Entity Type; Determines ownership and synchronization', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='U', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!', AD_Reference_Value_ID=389, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='EntityType', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=1682, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@EntityType@=D', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:31:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11577
;

UPDATE AD_Field SET Name='Entity Type', Description='Dictionary Entity Type; Determines ownership and synchronization', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!' WHERE AD_Column_ID=11577 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:31:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11575
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=11575 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='AD_Find Operation', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:31:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=205
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=205
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='==', Name=' =', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:31:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=366
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=366
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='>=', Name='>=', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:31:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=367
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=367
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='>>', Name='>', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=368
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=368
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='<<', Name='<', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:32:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=369
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=369
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='~~', Name=' ~', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:32:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=370
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=370
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='<=', Name='<=', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:32:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=371
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=371
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='AB', Name='|<x>|', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:32:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=372
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=372
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='SQ', Name='sql', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:32:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=373
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=373
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=205, Value='!=', Name='!=', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=672
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=672
;

UPDATE AD_Column SET Name='Operation', IsMandatory='Y', IsTranslated='N', Description='Compare Operation', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=205, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='Operation', FieldLength=2, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1454, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:32:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11568
;

UPDATE AD_Field SET Name='Operation', Description='Compare Operation', Help=NULL WHERE AD_Column_ID=11568 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Sequence', IsMandatory='Y', IsTranslated='N', Description='Method of ordering records; lowest number comes first', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_WF_NextCondition WHERE AD_WF_NodeNext_ID=@AD_WF_NodeNext_ID@', Help='The Sequence indicates the order of records', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='SeqNo', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=566, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:33:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11572
;

UPDATE AD_Field SET Name='Sequence', Description='Method of ordering records; lowest number comes first', Help='The Sequence indicates the order of records' WHERE AD_Column_ID=11572 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:33:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11578
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=11578 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11574
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=11574 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:34:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11570
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=11570 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Search Key', IsMandatory='Y', IsTranslated='N', Description='Search key for the record in the format required - must be unique', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=706, ColumnName='Value', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=620, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:34:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11573
;

UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', Help='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).' WHERE AD_Column_ID=11573 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:34:58','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:34:58','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Condition',90,706,53024,53005,'N','N','Y','N','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53024 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 02:34:59','YYYY-MM-DD HH24:MI:SS'),0,53351,'Workflow Node Transition Condition',14,11565,'N',0,'Optional restriction of transition of one node to the next',TO_DATE('2007-12-17 02:34:59','YYYY-MM-DD HH24:MI:SS'),'Transition Condition',53024,'N','N',10,'N','EE01')
;

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=53351 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:00','YYYY-MM-DD HH24:MI:SS'),0,53352,'Client/Tenant for this installation.',14,11570,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 02:35:00','YYYY-MM-DD HH24:MI:SS'),'Client',53024,'N','N',20,'Y','EE01')
;

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=53352 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:01','YYYY-MM-DD HH24:MI:SS'),0,53353,'Organizational entity within client',14,11569,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 02:35:01','YYYY-MM-DD HH24:MI:SS'),'Organization',53024,'Y','N',30,'Y','EE01')
;

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=53353 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:02','YYYY-MM-DD HH24:MI:SS'),0,53354,'Workflow Node Transition',14,11571,'N',0,'The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.',TO_DATE('2007-12-17 02:35:02','YYYY-MM-DD HH24:MI:SS'),'Node Transition',53024,'N','N',40,'Y','EE01')
;

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=53354 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:03','YYYY-MM-DD HH24:MI:SS'),0,53355,'Method of ordering records; lowest number comes first',11,11572,'N',0,'The Sequence indicates the order of records',TO_DATE('2007-12-17 02:35:03','YYYY-MM-DD HH24:MI:SS'),'Sequence',53024,'N','N',50,'N','EE01')
;

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=53355 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:04','YYYY-MM-DD HH24:MI:SS'),0,53356,'The record is active in the system',1,11575,'N',0,'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.',TO_DATE('2007-12-17 02:35:04','YYYY-MM-DD HH24:MI:SS'),'Active',53024,'N','N',60,'N','EE01')
;

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=53356 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:05','YYYY-MM-DD HH24:MI:SS'),0,53357,'Logical operation: AND or OR',14,11566,'N',0,TO_DATE('2007-12-17 02:35:05','YYYY-MM-DD HH24:MI:SS'),'And/Or',53024,'N','N',70,'N','EE01')
;

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=53357 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:06','YYYY-MM-DD HH24:MI:SS'),0,53358,'Column in the table',14,11579,'N',0,'Link to the database column of the table',TO_DATE('2007-12-17 02:35:06','YYYY-MM-DD HH24:MI:SS'),'Column',53024,'N','N',80,'N','EE01')
;

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=53358 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:06','YYYY-MM-DD HH24:MI:SS'),0,53359,'Compare Operation',14,11568,'N',0,TO_DATE('2007-12-17 02:35:06','YYYY-MM-DD HH24:MI:SS'),'Operation',53024,'Y','N',90,'N','EE01')
;

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=53359 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 02:35:09','YYYY-MM-DD HH24:MI:SS'),0,53360,'Condition Value',20,11573,'N',0,TO_DATE('2007-12-17 02:35:09','YYYY-MM-DD HH24:MI:SS'),'Value',53024,'N','N',100,'N','EE01')
;

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=53360 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:09','YYYY-MM-DD HH24:MI:SS'),0,53361,'Value To',20,11576,'N',0,TO_DATE('2007-12-17 02:35:09','YYYY-MM-DD HH24:MI:SS'),'Value To',53024,'Y','N',110,'N','@Operation@=AB','EE01')
;

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=53361 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:35:10','YYYY-MM-DD HH24:MI:SS'),0,53362,'Dictionary Entity Type; Determines ownership and synchronization',20,11577,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 02:35:10','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53024,'N','N',120,'N','EE01')
;

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=53362 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_Table SET Name='Node', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_WF_Node', Description='Workflow Node (activity) step or process', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:35:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=129
;

UPDATE AD_Column SET Name='Attribute Value', IsMandatory='N', IsTranslated='N', Description='Value of the Attribute', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Adempiere converts the (string) field values to the attribute data type.  Booleans (Yes-No) may have the values "true" and "false", the date format is YYYY-MM-DD', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AttributeValue', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=2317, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:35:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11560
;

UPDATE AD_Field SET Name='Attribute Value', Description='Value of the Attribute', Help='Adempiere converts the (string) field values to the attribute data type.  Booleans (Yes-No) may have the values "true" and "false", the date format is YYYY-MM-DD' WHERE AD_Column_ID=11560 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Column', IsMandatory='N', IsTranslated='N', Description='Column in the table', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Link to the database column of the table', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Column_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=100, AD_Element_ID=104, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:36:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11558
;

UPDATE AD_Field SET Name='Column', Description='Column in the table', Help='Link to the database column of the table' WHERE AD_Column_ID=11558 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Image', IsMandatory='N', IsTranslated='N', Description='Image or Icon', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Image_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1639, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:36:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10575
;

UPDATE AD_Field SET Name='Image', Description='Image or Icon', Help='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)' WHERE AD_Column_ID=10575 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='AD_WF_Block.AD_Workflow_ID=@AD_Workflow_ID@', Name='AD_WF_Block of Workflow', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 02:36:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=185
;

UPDATE AD_Column SET Name='Workflow Block', IsMandatory='N', IsTranslated='N', Description='Workflow Transaction Execution Block', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_WF_Block_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=185, AD_Element_ID=2309, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:36:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10556
;

UPDATE AD_Field SET Name='Workflow Block', Description='Workflow Transaction Execution Block', Help='A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.' WHERE AD_Column_ID=10556 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow Responsible', IsMandatory='N', IsTranslated='N', Description='Responsible for Workflow Execution', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_WF_Responsible_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2314, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:37:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10549
;

UPDATE AD_Field SET Name='Workflow Responsible', Description='Responsible for Workflow Execution', Help='The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.' WHERE AD_Column_ID=10549 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Attribute Name', IsMandatory='N', IsTranslated='N', Description='Name of the Attribute', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifier of the attribute', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AttributeName', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=2315, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:37:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11561
;

UPDATE AD_Field SET Name='Attribute Name', Description='Name of the Attribute', Help='Identifier of the attribute' WHERE AD_Column_ID=11561 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Costs+Prices', Description='Costs + Prices (minimum currency precision but if exists more)', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:37:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=37
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=37
;

UPDATE AD_Column SET Name='Cost', IsMandatory='Y', IsTranslated='N', Description='Cost information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Cost', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=37, AD_Val_Rule_ID=NULL, AD_Element_ID=2319, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:38:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10552
;

UPDATE AD_Field SET Name='Cost', Description='Cost information', Help=NULL WHERE AD_Column_ID=10552 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='_Document Action', Description='Document action list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:38:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=135
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=135
;

UPDATE AD_Column SET Name='Document Action', IsMandatory='N', IsTranslated='N', Description='The targeted status of the document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='CO', Help='You find the current status in the Document Status field. The options are listed in a popup', AD_Reference_Value_ID=135, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='DocAction', FieldLength=2, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=287, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:40:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11677
;

UPDATE AD_Field SET Name='Document Action', Description='The targeted status of the document', Help='You find the current status in the Document Status field. The options are listed in a popup' WHERE AD_Column_ID=11677 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Duration', IsMandatory='Y', IsTranslated='N', Description='Normal Duration in Duration Unit', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Expected (normal) Length of time for the execution', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Duration', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2320, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:40:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10550
;

UPDATE AD_Field SET Name='Duration', Description='Normal Duration in Duration Unit', Help='Expected (normal) Length of time for the execution' WHERE AD_Column_ID=10550 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Dynamic Priority Change', IsMandatory='N', IsTranslated='N', Description='Change of priority when Activity is suspended waiting for user', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Starting with the Process / Node priority level, the priority of the suspended activity can be changed dynamically. Example +5 every 10 minutes', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='DynPriorityChange', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=22, AD_Val_Rule_ID=NULL, AD_Element_ID=2636, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:41:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12941
;

UPDATE AD_Field SET Name='Dynamic Priority Change', Description='Change of priority when Activity is suspended waiting for user', Help='Starting with the Process / Node priority level, the priority of the suspended activity can be changed dynamically. Example +5 every 10 minutes' WHERE AD_Column_ID=12941 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='_Frequency Type', Description='Processor Frequency Type', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:41:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=221
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=221
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=221, Value='M', Name='Minute', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:41:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=439
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=439
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=221, Value='H', Name='Hour', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:41:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=440
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=440
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=221, Value='D', Name='Day', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:41:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=441
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=441
;

UPDATE AD_Column SET Name='Dynamic Priority Unit', IsMandatory='N', IsTranslated='N', Description='Change of priority when Activity is suspended waiting for user', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Starting with the Process / Node priority level, the priority of the suspended activity can be changed dynamically. Example +5 every 10 minutes', AD_Reference_Value_ID=221, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='DynPriorityUnit', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2638, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:42:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12940
;

UPDATE AD_Field SET Name='Dynamic Priority Unit', Description='Change of priority when Activity is suspended waiting for user', Help='Starting with the Process / Node priority level, the priority of the suspended activity can be changed dynamically. Example +5 every 10 minutes' WHERE AD_Column_ID=12940 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Entity Type', IsMandatory='Y', IsTranslated='N', Description='Dictionary Entity Type; Determines ownership and synchronization', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='''U''', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!', AD_Reference_Value_ID=389, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='EntityType', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=1682, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@EntityType@=D', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:42:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7725
;

UPDATE AD_Field SET Name='Entity Type', Description='Dictionary Entity Type; Determines ownership and synchronization', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!' WHERE AD_Column_ID=7725 AND IsCentrallyMaintained='Y'
;

ALTER TABLE AD_WF_NODE MODIFY EntityType VARCHAR2(40) DEFAULT 'U'
;

UPDATE AD_WF_Node SET EntityType='U' WHERE EntityType IS NULL
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='WF_Start-Finish Mode', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:42:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=303
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=303
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=303, Value='A', Name='Automatic', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:42:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=613
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=613
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=303, Value='M', Name='Manual', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:42:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=614
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=614
;

UPDATE AD_Column SET Name='Finish Mode', IsMandatory='N', IsTranslated='N', Description='Workflow Activity Finish Mode', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='How the system operated at the end of an activity. Automatic  implies return when the invoked applications finished control - Manual the user has to explicitly terminate the activity.', AD_Reference_Value_ID=303, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='FinishMode', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2322, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:43:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10558
;

UPDATE AD_Field SET Name='Finish Mode', Description='Workflow Activity Finish Mode', Help='How the system operated at the end of an activity. Automatic  implies return when the invoked applications finished control - Manual the user has to explicitly terminate the activity.' WHERE AD_Column_ID=10558 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Centrally maintained', IsMandatory='Y', IsTranslated='N', Description='Information maintained in System Element table', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in ''System Element'' table  or ''Window'' table.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='IsCentrallyMaintained', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=362, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:43:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5818
;

UPDATE AD_Field SET Name='Centrally maintained', Description='Information maintained in System Element table', Help='The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in ''System Element'' table  or ''Window'' table.' WHERE AD_Column_ID=5818 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='WF_Join_Split', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:43:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=301
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=301
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=301, Value='A', Name='AND', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:43:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=607
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=607
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=301, Value='X', Name='XOR', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:43:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=608
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=608
;

UPDATE AD_Column SET Name='Join Element', IsMandatory='Y', IsTranslated='N', Description='Semantics for multiple incoming Transitions', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='X', Help='Semantics for multiple incoming Transitions for a Node/Activity. AND joins all concurrent threads - XOR requires one thread (no synchronization).', AD_Reference_Value_ID=301, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='JoinElement', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2336, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:44:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10571
;

UPDATE AD_Field SET Name='Join Element', Description='Semantics for multiple incoming Transitions', Help='Semantics for multiple incoming Transitions for a Node/Activity. AND joins all concurrent threads - XOR requires one thread (no synchronization).' WHERE AD_Column_ID=10571 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Duration Limit', IsMandatory='Y', IsTranslated='N', Description='Maximum Duration in Duration Unit', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Limit', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2323, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:44:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10546
;

UPDATE AD_Field SET Name='Duration Limit', Description='Maximum Duration in Duration Unit', Help='Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.' WHERE AD_Column_ID=10546 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Priority', IsMandatory='N', IsTranslated='N', Description='Indicates if this request is of a high, medium or low priority.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Priority indicates the importance of this request.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Priority', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1514, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:44:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10557
;

UPDATE AD_Field SET Name='Priority', Description='Indicates if this request is of a high, medium or low priority.', Help='The Priority indicates the importance of this request.' WHERE AD_Column_ID=10557 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Split Element', IsMandatory='Y', IsTranslated='N', Description='Semantics for multiple outgoing Transitions', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='X', Help='Semantics for multiple outgoing Transitions for a Node/Activity.  AND represents multiple concurrent threads - XOR represents the first transition with a true Transaition condition.', AD_Reference_Value_ID=301, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='SplitElement', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2337, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:45:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10572
;

UPDATE AD_Field SET Name='Split Element', Description='Semantics for multiple outgoing Transitions', Help='Semantics for multiple outgoing Transitions for a Node/Activity.  AND represents multiple concurrent threads - XOR represents the first transition with a true Transaition condition.' WHERE AD_Column_ID=10572 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Start Mode', IsMandatory='N', IsTranslated='N', Description='Workflow Activity Start Mode ', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='How is the execution of an activity triggered. Automatic are triggered implicitly by the system, Manual explicitly by the User.', AD_Reference_Value_ID=303, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='StartMode', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2327, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:45:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10548
;

UPDATE AD_Field SET Name='Start Mode', Description='Workflow Activity Start Mode ', Help='How is the execution of an activity triggered. Automatic are triggered implicitly by the system, Manual explicitly by the User.' WHERE AD_Column_ID=10548 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='WF_SubFlow Execution', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:45:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=307
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=307
;

UPDATE AD_Column SET Name='Subflow Execution', IsMandatory='N', IsTranslated='N', Description='Mode how the sub-workflow is executed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=307, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='SubflowExecution', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2328, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:46:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10551
;

UPDATE AD_Field SET Name='Subflow Execution', Description='Mode how the sub-workflow is executed', Help=NULL WHERE AD_Column_ID=10551 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Search Key', IsMandatory='Y', IsTranslated='N', Description='Search key for the record in the format required - must be unique', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Value', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=620, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:46:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11739
;

UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', Help='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).' WHERE AD_Column_ID=11739 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Wait Time', IsMandatory='N', IsTranslated='N', Description='Time in minutes to wait (sleep)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Time in minutes to be suspended (sleep)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='WaitTime', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2464, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:46:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11559
;

UPDATE AD_Field SET Name='Wait Time', Description='Time in minutes to wait (sleep)', Help='Time in minutes to be suspended (sleep)' WHERE AD_Column_ID=11559 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Waiting Time', IsMandatory='Y', IsTranslated='N', Description='Workflow Simulation Waiting time and to Mnufacturing is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Amount of time needed to prepare the performance of the task on Duration Units

To Manufacturing is:

The Waiting Time is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse. 

Both, queue time and waiting time entered in the resource are used as default values for the nodes in the workflow.

', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='WaitingTime', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2331, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:47:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10553
;

UPDATE AD_Field SET Name='Waiting Time', Description='Workflow Simulation Waiting time and to Mnufacturing is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse', Help='Amount of time needed to prepare the performance of the task on Duration Units

To Manufacturing is:

The Waiting Time is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse. 

Both, queue time and waiting time entered in the resource are used as default values for the nodes in the workflow.

' WHERE AD_Column_ID=10553 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Working Time', IsMandatory='N', IsTranslated='N', Description='Workflow Simulation Execution Time', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Amount of time the performer of the activity needs to perform the task in Duration Unit', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='WorkingTime', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2333, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:47:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10554
;

UPDATE AD_Field SET Name='Working Time', Description='Workflow Simulation Execution Time', Help='Amount of time the performer of the activity needs to perform the task in Duration Unit' WHERE AD_Column_ID=10554 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='X Position', IsMandatory='Y', IsTranslated='N', Description='Absolute X (horizontal) position in 1/72 of an inch', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Absolute X (horizontal) position in 1/72 of an inch', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='XPosition', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1810, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7726
;

UPDATE AD_Field SET Name='X Position', Description='Absolute X (horizontal) position in 1/72 of an inch', Help='Absolute X (horizontal) position in 1/72 of an inch' WHERE AD_Column_ID=7726 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Y Position', IsMandatory='Y', IsTranslated='N', Description='Absolute Y (vertical) position in 1/72 of an inch', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Absolute Y (vertical) position in 1/72 of an inch', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='YPosition', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1812, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:48:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7724
;

UPDATE AD_Field SET Name='Y Position', Description='Absolute Y (vertical) position in 1/72 of an inch', Help='Absolute Y (vertical) position in 1/72 of an inch' WHERE AD_Column_ID=7724 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='Y', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:48:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=294
;

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=294 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N','The Valid To date indicates the last day of a date range',0,'Y',129,53303,'ValidTo',0,0,7,'N',TO_DATE('2007-12-17 02:48:25','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 02:48:25','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53303 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 AD_WF_NODE ADD ValidTo DATE
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='Y', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:48:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1206
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=1206 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:49:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=681
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=681 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_Workflow', Description='Workflows', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:49:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=174
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=174
;

UPDATE AD_Ref_Table SET AD_Table_ID = 117, AD_Display = 236, AD_Key = 351, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 174
;

UPDATE AD_Column SET Name='Workflow', IsMandatory='N', IsTranslated='N', Description='Workflow or tasks', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow field identifies a unique workflow.   A workflow is a grouping of related tasks, in a specified sequence and optionally including approvals', AD_Reference_Value_ID=174, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Workflow_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=632, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:49:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2379
;

UPDATE AD_Field SET Name='Workflow', Description='Workflow or tasks', Help='The Workflow field identifies a unique workflow.   A workflow is a grouping of related tasks, in a specified sequence and optionally including approvals' WHERE AD_Column_ID=2379 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53237,'IsMilestone','IsMilestone',0,0,0,0,'IsMilestone',TO_DATE('2007-12-17 02:49:34','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 02:49:34','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53237 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsMilestone','N','N','N','N',0,'Y',129,53304,'IsMilestone',0,0,1,'N',TO_DATE('2007-12-17 02:49:34','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 02:49:34','YYYY-MM-DD HH24:MI:SS'),53237,'Y','N','N',0,'N','N','EE01')
;

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=53304 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 AD_WF_NODE ADD IsMilestone CHAR(1) DEFAULT 'N' CHECK (IsMilestone IN ('Y','N'))
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53238,'IsSubcontracting','IsSubcontracting',0,0,0,0,'IsSubcontracting',TO_DATE('2007-12-17 02:49:36','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 02:49:36','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53238 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsSubcontracting','N','N','N','N',0,'Y',129,53305,'IsSubcontracting',0,0,1,'N',TO_DATE('2007-12-17 02:49:36','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 02:49:36','YYYY-MM-DD HH24:MI:SS'),53238,'Y','N','N',0,'N','N','EE01')
;

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=53305 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 AD_WF_NODE ADD IsSubcontracting CHAR(1) DEFAULT 'N' CHECK (IsSubcontracting IN ('Y','N'))
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53239,'UnitsCycles','UnitsCycles',0,0,0,0,'UnitsCycles',TO_DATE('2007-12-17 02:49:40','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 02:49:40','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53239 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UnitsCycles','N','N','N','0',0,'Y',129,53306,'UnitsCycles',0,0,14,'N',TO_DATE('2007-12-17 02:49:40','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 02:49:40','YYYY-MM-DD HH24:MI:SS'),53239,'Y','N','N',0,'N','N','EE01')
;

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=53306 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 AD_WF_NODE ADD UnitsCycles NUMBER DEFAULT 0
;

UPDATE AD_Column SET Name='Special Form', IsMandatory='N', IsTranslated='N', Description='Special Form', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Special Form field identifies a unique Special Form in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Form_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1298, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:50:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4654
;

UPDATE AD_Field SET Name='Special Form', Description='Special Form', Help='The Special Form field identifies a unique Special Form in the system.' WHERE AD_Column_ID=4654 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:50:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=684
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=684 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:50:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=435
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=435 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process', IsMandatory='N', IsTranslated='N', Description='Process or Report', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Process field identifies a unique Process or Report in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Process_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=117, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:51:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3377
;

UPDATE AD_Field SET Name='Process', Description='Process or Report', Help='The Process field identifies a unique Process or Report in the system.' WHERE AD_Column_ID=3377 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='OS Task', IsMandatory='N', IsTranslated='N', Description='Operation System Task', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Task field identifies a Operation System Task in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Task_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=128, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2380
;

UPDATE AD_Field SET Name='OS Task', Description='Operation System Task', Help='The Task field identifies a Operation System Task in the system.' WHERE AD_Column_ID=2380 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53240,'MovingTime','MovingTime',0,0,0,0,'MovingTime',TO_DATE('2007-12-17 02:51:25','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 02:51:25','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53240 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('MovingTime','N','N','N',0,'Y',129,53307,'MovingTime',0,0,22,'N',TO_DATE('2007-12-17 02:51:25','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 02:51:25','YYYY-MM-DD HH24:MI:SS'),53240,'Y','N','N',0,'N','N','EE01')
;

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=53307 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 AD_WF_NODE ADD MovingTime NUMBER(10)
;

UPDATE AD_Column SET Name='Node', IsMandatory='Y', IsTranslated='N', Description='Workflow Node (activity), step or process', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow Node indicates a unique step or process in a Workflow.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_WF_Node_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=142, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:51:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=293
;

UPDATE AD_Field SET Name='Node', Description='Workflow Node (activity), step or process', Help='The Workflow Node indicates a unique step or process in a Workflow.' WHERE AD_Column_ID=293 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Window', IsMandatory='N', IsTranslated='N', Description='Data entry or display window', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Window field identifies a unique Window in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Window_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=143, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2292
;

UPDATE AD_Field SET Name='Window', Description='Data entry or display window', Help='The Window field identifies a unique Window in the system.' WHERE AD_Column_ID=2292 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow', IsMandatory='Y', IsTranslated='N', Description='Workflow or combination of tasks', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow field identifies a unique Workflow in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Workflow_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=144, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:52:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=296
;

UPDATE AD_Field SET Name='Workflow', Description='Workflow or combination of tasks', Help='The Workflow field identifies a unique Workflow in the system.' WHERE AD_Column_ID=296 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='WF_Action', Description='Superset of Menu Action', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:52:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=302
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=302
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='D', Name='Document Action', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:52:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=669
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=669
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='M', Name='EMail', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=798
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=798
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='X', Name='User Form', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=633
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=633
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='T', Name='Apps Task', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=634
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=634
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='R', Name='Apps Report', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=636
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=636
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='P', Name='Apps Process', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=637
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=637
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 02:53:31','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:53:31','YYYY-MM-DD HH24:MI:SS'),0,0,53248,302,'B','User Workbench','N',0,'D')
;

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=53248 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)
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='Z', Name='Wait (Sleep)', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=609
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=609
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='C', Name='User Choice', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=610
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=610
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='F', Name='Sub Workflow', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:53:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=611
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=611
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='V', Name='Set Variable', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:54:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=612
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=612
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=302, Value='W', Name='User Window', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:54:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=615
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=615
;

UPDATE AD_Column SET Name='Action', IsMandatory='Y', IsTranslated='N', Description='Indicates the Action to be performed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='The Action field is a drop down list box which indicates the Action to be performed for this Item.', AD_Reference_Value_ID=302, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Action', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=152, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:54:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2291
;

UPDATE AD_Field SET Name='Action', Description='Indicates the Action to be performed', Help='The Action field is a drop down list box which indicates the Action to be performed for this Item.' WHERE AD_Column_ID=2291 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53241,'OverlapUnits','OverlapUnits',0,0,0,0,'OverlapUnits',TO_DATE('2007-12-17 02:54:29','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 02:54:29','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53241 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('OverlapUnits','N','N','N',0,'Y',129,53308,'OverlapUnits',0,0,22,'N',TO_DATE('2007-12-17 02:54:29','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 02:54:29','YYYY-MM-DD HH24:MI:SS'),53241,'Y','N','N',0,'N','N','EE01')
;

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=53308 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 AD_WF_NODE ADD OverlapUnits NUMBER(10)
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:54:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=434
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=434 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Business Partner ','N','N','Identifies a Business Partner','N','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',0,'Y',129,53309,'C_BPartner_ID',0,0,10,'N',TO_DATE('2007-12-17 02:54:50','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 02:54:50','YYYY-MM-DD HH24:MI:SS'),187,'Y','N','N',0,'N','N','EE01')
;

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=53309 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 AD_WF_NODE ADD C_BPartner_ID NUMBER(10)
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:55:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=685
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=685 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=682
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=682 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:55:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=683
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=683 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='Y', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:56:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=295
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=295 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QueuingTime','N','N','N',0,'Y',129,53310,'QueuingTime',0,0,22,'N',TO_DATE('2007-12-17 02:56:18','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 02:56:18','YYYY-MM-DD HH24:MI:SS'),53234,'Y','N','N',0,'N','N','EE01')
;

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=53310 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 AD_WF_NODE ADD QueuingTime NUMBER(10)
;

UPDATE AD_Column SET Name='Mail Template', IsMandatory='N', IsTranslated='N', Description='Text templates for mailings', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='R_MailText_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1515, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:56:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14602
;

UPDATE AD_Field SET Name='Mail Template', Description='Text templates for mailings', Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.' WHERE AD_Column_ID=14602 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','N','N','Resource','N',0,'Y',129,53311,'S_Resource_ID',0,0,10,'N',TO_DATE('2007-12-17 02:56:37','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 02:56:37','YYYY-MM-DD HH24:MI:SS'),1777,'Y','N','N',0,'N','N','EE01')
;

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=53311 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 AD_WF_NODE ADD S_Resource_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Setup Time','N','N','Setup time before starting Production','N','Once per operation',0,'Y',129,53312,'SetupTime',0,0,22,'N',TO_DATE('2007-12-17 02:56:39','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 02:56:39','YYYY-MM-DD HH24:MI:SS'),2777,'Y','N','N',0,'N','N','EE01')
;

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=53312 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 AD_WF_NODE ADD SetupTime NUMBER(10)
;

UPDATE AD_Column SET Name='EMail Address', IsMandatory='N', IsTranslated='N', Description='Electronic Mail Address', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='EMail', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=881, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14601
;

UPDATE AD_Field SET Name='EMail Address', Description='Electronic Mail Address', Help='The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.' WHERE AD_Column_ID=14601 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','N','N','Valid from including this date (first day)','N','The Valid From date indicates the first day of a date range',0,'Y',129,53313,'ValidFrom',0,0,7,'N',TO_DATE('2007-12-17 02:56:59','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 02:56:59','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53313 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 AD_WF_NODE ADD ValidFrom DATE
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='AD_WF_Node EMailRecipient', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:57:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=363
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=363
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=363, Value='D', Name='Document Owner', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:57:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=799
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=799
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=363, Value='B', Name='Document Business Partner', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:57:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=800
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=800
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=363, Value='R', Name='WF Responsible', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 02:57:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=801
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=801
;

UPDATE AD_Column SET Name='EMail Recipient', IsMandatory='N', IsTranslated='N', Description='Recipient of the EMail', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=363, Version=0, IsActive='Y', AD_Table_ID=129, ColumnName='EMailRecipient', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2879, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:57:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14600
;

UPDATE AD_Field SET Name='EMail Recipient', Description='Recipient of the EMail', Help=NULL WHERE AD_Column_ID=14600 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 02:57:49','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 02:57:49','YYYY-MM-DD HH24:MI:SS'),0,'Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for operation.','Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for operation.',0,'N','Operation',50,129,53025,53005,'N','N','Y','Y','N',NULL,'N','N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53025 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 02:57:50','YYYY-MM-DD HH24:MI:SS'),0,53363,'Information maintained in System Element table',1,5818,'N',0,'The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in ''System Element'' table  or ''Window'' table.',TO_DATE('2007-12-17 02:57:50','YYYY-MM-DD HH24:MI:SS'),'Centrally maintained',53025,'Y','N',0,'N','EE01')
;

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=53363 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 02:57:51','YYYY-MM-DD HH24:MI:SS'),0,53364,'Workflow Node (activity), step or process',14,293,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 02:57:51','YYYY-MM-DD HH24:MI:SS'),'Node',53025,'N','N',0,'N','EE01')
;

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=53364 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 02:57:52','YYYY-MM-DD HH24:MI:SS'),0,53365,'Absolute X (horizontal) position in 1/72 of an inch',11,7726,'N',0,'Absolute X (horizontal) position in 1/72 of an inch',TO_DATE('2007-12-17 02:57:52','YYYY-MM-DD HH24:MI:SS'),'X Position',53025,'N','N',0,'N','EE01')
;

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=53365 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 02:57:52','YYYY-MM-DD HH24:MI:SS'),0,53366,'Absolute Y (vertical) position in 1/72 of an inch',11,7724,'N',0,'Absolute Y (vertical) position in 1/72 of an inch',TO_DATE('2007-12-17 02:57:52','YYYY-MM-DD HH24:MI:SS'),'Y Position',53025,'N','N',0,'N','EE01')
;

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=53366 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:57:53','YYYY-MM-DD HH24:MI:SS'),0,53367,'Client/Tenant for this installation.',14,434,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 02:57:53','YYYY-MM-DD HH24:MI:SS'),'Client',53025,'N','N',10,'N','EE01')
;

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=53367 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:57:54','YYYY-MM-DD HH24:MI:SS'),0,53368,'Organizational entity within client',14,435,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 02:57:54','YYYY-MM-DD HH24:MI:SS'),'Organization',53025,'Y','N',20,'N','EE01')
;

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=53368 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:57:55','YYYY-MM-DD HH24:MI:SS'),0,53369,'Workflow or combination of tasks',14,296,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 02:57:55','YYYY-MM-DD HH24:MI:SS'),'Workflow',53025,'N','N',30,'Y','EE01')
;

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=53369 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:57:56','YYYY-MM-DD HH24:MI:SS'),0,53370,'Search key for the record in the format required - must be unique',40,11739,'N',0,'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).',TO_DATE('2007-12-17 02:57:56','YYYY-MM-DD HH24:MI:SS'),'Search Key',53025,'N','N',40,'N','EE01')
;

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=53370 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:57:57','YYYY-MM-DD HH24:MI:SS'),0,53371,'Alphanumeric identifier of the entity',60,294,'N',0,'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.',TO_DATE('2007-12-17 02:57:57','YYYY-MM-DD HH24:MI:SS'),'Name',53025,'N','N',50,'N','EE01')
;

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=53371 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:57:58','YYYY-MM-DD HH24:MI:SS'),0,53372,'Optional short description of the record',60,295,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 02:57:58','YYYY-MM-DD HH24:MI:SS'),'Description',53025,'N','N',60,'N','EE01')
;

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=53372 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:57:59','YYYY-MM-DD HH24:MI:SS'),0,53373,'Comment or Hint',60,1206,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 02:57:59','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53025,'N','N',70,'N','EE01')
;

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=53373 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:00','YYYY-MM-DD HH24:MI:SS'),0,53374,'The record is active in the system',1,681,'N',0,'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.',TO_DATE('2007-12-17 02:58:00','YYYY-MM-DD HH24:MI:SS'),'Active',53025,'N','N',80,'N','EE01')
;

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=53374 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 02:58:00','YYYY-MM-DD HH24:MI:SS'),0,53375,'Resource',10,53311,'N',0,'Select the manufacturing resource (previously defined) where you want to execute the operation. For the product costing, the Resource rate is taken from the cost element introduced in the window Product Costing.',TO_DATE('2007-12-17 02:58:00','YYYY-MM-DD HH24:MI:SS'),'Resource',53025,'N','N',90,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53375 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:01','YYYY-MM-DD HH24:MI:SS'),0,53376,1,53304,'N',0,TO_DATE('2007-12-17 02:58:01','YYYY-MM-DD HH24:MI:SS'),'IsMilestone',53025,'N','N',100,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53376 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:02','YYYY-MM-DD HH24:MI:SS'),0,53377,1,53305,'N',0,TO_DATE('2007-12-17 02:58:02','YYYY-MM-DD HH24:MI:SS'),'IsSubcontracting',53025,'N','N',110,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53377 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 02:58:03','YYYY-MM-DD HH24:MI:SS'),0,53378,'Identifies a Business Partner to Subcontrating',10,53309,'N',0,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2007-12-17 02:58:03','YYYY-MM-DD HH24:MI:SS'),'Business Partner ',53025,'Y','N',120,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q'' & @IsSubcontrating@=''N'' ','EE01')
;

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=53378 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:04','YYYY-MM-DD HH24:MI:SS'),0,53379,'Dictionary Entity Type; Determines ownership and synchronization',20,7725,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 02:58:04','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53025,'N','N',130,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53379 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 02:58:05','YYYY-MM-DD HH24:MI:SS'),0,53380,'Valid from including this date (first day)',0,53313,'N',0,'The Valid From date indicates the first day of a date range.

WHEN you enter dates IN THE fields Valid FROM . TO we give THE THE period OF TIME WHERE this operation will have TO be considered FOR THE elaboration OF THE product.',TO_DATE('2007-12-17 02:58:05','YYYY-MM-DD HH24:MI:SS'),'Valid FROM',53025,'N','N',140,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53380 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 02:58:06','YYYY-MM-DD HH24:MI:SS'),0,53381,'Valid to including this date (last day)',0,53303,'N',0,'The Valid To date indicates the last day of a date range

WHEN you enter dates IN THE fields Valid FROM . TO we give THE THE period OF TIME WHERE this operation will have TO be considered FOR THE elaboration OF THE product.',TO_DATE('2007-12-17 02:58:06','YYYY-MM-DD HH24:MI:SS'),'Valid TO',53025,'Y','N',150,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53381 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:07','YYYY-MM-DD HH24:MI:SS'),0,53382,'Responsible for Workflow Execution',14,10549,'N',0,'The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.',TO_DATE('2007-12-17 02:58:07','YYYY-MM-DD HH24:MI:SS'),'Workflow Responsible',53025,'N','N',160,'N','EE01')
;

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=53382 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:08','YYYY-MM-DD HH24:MI:SS'),0,53383,'Indicates if this request is of a high, medium or low priority.',11,10557,'N',0,'The Priority indicates the importance of this request.',TO_DATE('2007-12-17 02:58:08','YYYY-MM-DD HH24:MI:SS'),'Priority',53025,'Y','N',170,'N','EE01')
;

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=53383 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:08','YYYY-MM-DD HH24:MI:SS'),0,53384,'Workflow Activity Start Mode ',14,10548,'N',0,'How is the execution of an activity triggered. Automatic are triggered implicitly by the system, Manual explicitly by the User.',TO_DATE('2007-12-17 02:58:08','YYYY-MM-DD HH24:MI:SS'),'Start Mode',53025,'N','N',180,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53384 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:09','YYYY-MM-DD HH24:MI:SS'),0,53385,'Workflow Activity Finish Mode',14,10558,'N',0,'How the system operated at the end of an activity. Automatic  implies return when the invoked applications finished control - Manual the user has to explicitly terminate the activity.',TO_DATE('2007-12-17 02:58:09','YYYY-MM-DD HH24:MI:SS'),'Finish Mode',53025,'Y','N',190,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53385 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:10','YYYY-MM-DD HH24:MI:SS'),0,53386,'Semantics for multiple incoming Transitions',14,10571,'N',0,'Semantics for multiple incoming Transitions for a Node/Activity. AND joins all concurrent threads - XOR requires one thread (no synchronization).',TO_DATE('2007-12-17 02:58:10','YYYY-MM-DD HH24:MI:SS'),'Join Element',53025,'N','N',200,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53386 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:11','YYYY-MM-DD HH24:MI:SS'),0,53387,'Semantics for multiple outgoing Transitions',14,10572,'N',0,'Semantics for multiple outgoing Transitions for a Node/Activity.  AND represents multiple concurrent threads - XOR represents the first transition with a true Transaition condition.',TO_DATE('2007-12-17 02:58:11','YYYY-MM-DD HH24:MI:SS'),'Split Element',53025,'Y','N',210,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53387 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:12','YYYY-MM-DD HH24:MI:SS'),0,53388,'Indicates the Action to be performed',14,2291,'N',0,'The Action field is a drop down list box which indicates the Action to be performed for this Item.',TO_DATE('2007-12-17 02:58:12','YYYY-MM-DD HH24:MI:SS'),'Action',53025,'N','N',220,'N','EE01')
;

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=53388 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:13','YYYY-MM-DD HH24:MI:SS'),0,53389,'Image or Icon',14,10575,'N',0,'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)',TO_DATE('2007-12-17 02:58:13','YYYY-MM-DD HH24:MI:SS'),'Image',53025,'Y','N',230,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53389 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:14','YYYY-MM-DD HH24:MI:SS'),0,53390,'Data entry or display window',14,2292,'N',0,'The Window field identifies a unique Window in the system.',TO_DATE('2007-12-17 02:58:14','YYYY-MM-DD HH24:MI:SS'),'Window',53025,'N','N',240,'N','@Action@=W','EE01')
;

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=53390 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:15','YYYY-MM-DD HH24:MI:SS'),0,53391,'Special Form',14,4654,'N',0,'The Special Form field identifies a unique Special Form in the system.',TO_DATE('2007-12-17 02:58:15','YYYY-MM-DD HH24:MI:SS'),'Special Form',53025,'N','N',250,'N','@Action@=X','EE01')
;

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=53391 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:15','YYYY-MM-DD HH24:MI:SS'),0,53392,'Operation System Task',14,2380,'N',0,'The Task field identifies a Operation System Task in the system.',TO_DATE('2007-12-17 02:58:15','YYYY-MM-DD HH24:MI:SS'),'OS Task',53025,'N','N',260,'N','@Action@=T','EE01')
;

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=53392 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:16','YYYY-MM-DD HH24:MI:SS'),0,53393,'Workflow or tasks',14,2379,'N',0,'The Workflow field identifies a unique workflow.   A workflow is a grouping of related tasks, in a specified sequence and optionally including approvals',TO_DATE('2007-12-17 02:58:16','YYYY-MM-DD HH24:MI:SS'),'Workflow',53025,'N','N',270,'N','@Action@=F | @Action@=L','EE01')
;

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=53393 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:17','YYYY-MM-DD HH24:MI:SS'),0,53394,'Mode how the sub-workflow is executed',14,10551,'N',0,TO_DATE('2007-12-17 02:58:17','YYYY-MM-DD HH24:MI:SS'),'Subflow Execution',53025,'Y','N',280,'N','@Action@=F','EE01')
;

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=53394 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:18','YYYY-MM-DD HH24:MI:SS'),0,53395,'Process or Report',14,3377,'N',0,'The Process field identifies a unique Process or Report in the system.',TO_DATE('2007-12-17 02:58:18','YYYY-MM-DD HH24:MI:SS'),'Process',53025,'N','N',290,'N','@Action@=P | @Action@=R','EE01')
;

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=53395 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:19','YYYY-MM-DD HH24:MI:SS'),0,53396,'Column in the table',14,11558,'N',0,'Link to the database column of the table',TO_DATE('2007-12-17 02:58:19','YYYY-MM-DD HH24:MI:SS'),'Column',53025,'N','N',300,'N','@Action@=V | @Action@=C','EE01')
;

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=53396 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:20','YYYY-MM-DD HH24:MI:SS'),0,53397,'Name of the Attribute',20,11561,'N',0,'Identifier of the attribute',TO_DATE('2007-12-17 02:58:20','YYYY-MM-DD HH24:MI:SS'),'Attribute Name',53025,'Y','N',310,'N','@Action@=V','EE01')
;

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=53397 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:21','YYYY-MM-DD HH24:MI:SS'),0,53398,'Value of the Attribute',60,11560,'N',0,'Adempiere converts the (string) field values to the attribute data type.  Booleans (Yes-No) may have the values "true" and "false", the date format is YYYY-MM-DD',TO_DATE('2007-12-17 02:58:21','YYYY-MM-DD HH24:MI:SS'),'Attribute Value',53025,'N','N',320,'N','@Action@=V','EE01')
;

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=53398 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:22','YYYY-MM-DD HH24:MI:SS'),0,53399,'The targeted status of the document',14,11677,'N',0,'You find the current status in the Document Status field. The options are listed in a popup',TO_DATE('2007-12-17 02:58:22','YYYY-MM-DD HH24:MI:SS'),'Document Action',53025,'N','N',330,'N','@Action@=D | @WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53399 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:22','YYYY-MM-DD HH24:MI:SS'),0,53400,'Time in minutes to wait (sleep)',11,11559,'N',0,'Time in minutes to be suspended (sleep)',TO_DATE('2007-12-17 02:58:22','YYYY-MM-DD HH24:MI:SS'),'Wait Time',53025,'N','N',340,'N','@Action@=Z','EE01')
;

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=53400 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:23','YYYY-MM-DD HH24:MI:SS'),0,53401,'Cost information',26,10552,'N',0,TO_DATE('2007-12-17 02:58:23','YYYY-MM-DD HH24:MI:SS'),'Cost',53025,'N','N',350,'N',127,'@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53401 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:24','YYYY-MM-DD HH24:MI:SS'),0,53402,0,53306,'N',0,TO_DATE('2007-12-17 02:58:24','YYYY-MM-DD HH24:MI:SS'),'UnitsCycles',53025,'N','N',360,'N','EE01')
;

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=53402 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:25','YYYY-MM-DD HH24:MI:SS'),0,53403,22,53308,'N',0,TO_DATE('2007-12-17 02:58:25','YYYY-MM-DD HH24:MI:SS'),'OverlapUnits',53025,'Y','N',370,'N','EE01')
;

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=53403 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:26','YYYY-MM-DD HH24:MI:SS'),0,53404,'Workflow Simulation Execution Time',11,10554,'N',0,'Amount of time the performer of the activity needs to perform the task in Duration Unit',TO_DATE('2007-12-17 02:58:26','YYYY-MM-DD HH24:MI:SS'),'Working Time',53025,'N','N',380,'N','EE01')
;

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=53404 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:27','YYYY-MM-DD HH24:MI:SS'),0,53405,22,53310,'N',0,TO_DATE('2007-12-17 02:58:27','YYYY-MM-DD HH24:MI:SS'),'QueuingTime',53025,'N','N',390,'N','EE01')
;

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=53405 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:28','YYYY-MM-DD HH24:MI:SS'),0,53406,'Setup time before starting Production',22,53312,'N',0,'Once per operation',TO_DATE('2007-12-17 02:58:28','YYYY-MM-DD HH24:MI:SS'),'Setup Time',53025,'Y','N',400,'N','EE01')
;

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=53406 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:29','YYYY-MM-DD HH24:MI:SS'),0,53407,'Normal Duration in Duration Unit',11,10550,'N',0,'Expected (normal) Length of time for the execution',TO_DATE('2007-12-17 02:58:29','YYYY-MM-DD HH24:MI:SS'),'Duration',53025,'N','N',410,'N','EE01')
;

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=53407 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:29','YYYY-MM-DD HH24:MI:SS'),0,53408,'Maximum Duration in Duration Unit',11,10546,'N',0,'Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.',TO_DATE('2007-12-17 02:58:29','YYYY-MM-DD HH24:MI:SS'),'Duration Limit',53025,'N','N',420,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53408 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:30','YYYY-MM-DD HH24:MI:SS'),0,53409,'Workflow Simulation Waiting time',11,10553,'N',0,'Amount of time needed to prepare the performance of the task on Duration Units',TO_DATE('2007-12-17 02:58:30','YYYY-MM-DD HH24:MI:SS'),'Waiting Time',53025,'N','N',430,'N','EE01')
;

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=53409 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:31','YYYY-MM-DD HH24:MI:SS'),0,53410,22,53307,'N',0,TO_DATE('2007-12-17 02:58:31','YYYY-MM-DD HH24:MI:SS'),'MovingTime',53025,'Y','N',440,'N','EE01')
;

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=53410 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:32','YYYY-MM-DD HH24:MI:SS'),0,53411,'Change of priority when Activity is suspended waiting for user',22,12941,'N',0,'Starting with the Process / Node priority level, the priority of the suspended activity can be changed dynamically. Example +5 every 10 minutes',TO_DATE('2007-12-17 02:58:32','YYYY-MM-DD HH24:MI:SS'),'Dynamic Priority Change',53025,'N','N',450,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53411 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 02:58:33','YYYY-MM-DD HH24:MI:SS'),0,53412,'Change of priority when Activity is suspended waiting for user',1,12940,'N',0,'Starting with the Process / Node priority level, the priority of the suspended activity can be changed dynamically. Example +5 every 10 minutes',TO_DATE('2007-12-17 02:58:33','YYYY-MM-DD HH24:MI:SS'),'Dynamic Priority Unit',53025,'N','N',460,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53412 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_Table SET Name='Node Transition', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_WF_NodeNext', Description='Workflow Node Transition', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 02:58:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=131
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:59:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10579
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=10579 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Transition Code', IsMandatory='N', IsTranslated='N', Description='Code resulting in TRUE of FALSE', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The transition is executed, if the code results in TRUE (or is empty)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='TransitionCode', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=2329, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:59:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10559
;

UPDATE AD_Field SET Name='Transition Code', Description='Code resulting in TRUE of FALSE', Help='The transition is executed, if the code results in TRUE (or is empty)' WHERE AD_Column_ID=10559 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Node Transition', IsMandatory='Y', IsTranslated='N', Description='Workflow Node Transition', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='AD_WF_NodeNext_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2462, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 02:59:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11562
;

UPDATE AD_Field SET Name='Node Transition', Description='Workflow Node Transition', Help='The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.' WHERE AD_Column_ID=11562 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Entity Type', IsMandatory='Y', IsTranslated='N', Description='Dictionary Entity Type; Determines ownership and synchronization', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='U', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!', AD_Reference_Value_ID=389, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='EntityType', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=1682, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@EntityType@=D', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:00:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10569
;

UPDATE AD_Field SET Name='Entity Type', Description='Dictionary Entity Type; Determines ownership and synchronization', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!' WHERE AD_Column_ID=10569 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Std User Workflow', IsMandatory='Y', IsTranslated='N', Description='Standard Manual User Approval Workflow', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='If selected, only documents with an open status (drafted, in progress, approved, rejected, invalid) and standard user actions (prepare, complete, approve, reject) are allowed to continue.  Use this to prevent having to define details on how automatic processes (unlock, invalidate, post, re-activate) and when the document is closed for normal user action (completed, waiting, closed, voided, reversed).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='IsStdUserWorkflow', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2501, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:00:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11961
;

UPDATE AD_Field SET Name='Std User Workflow', Description='Standard Manual User Approval Workflow', Help='If selected, only documents with an open status (drafted, in progress, approved, rejected, invalid) and standard user actions (prepare, complete, approve, reject) are allowed to continue.  Use this to prevent having to define details on how automatic processes (unlock, invalidate, post, re-activate) and when the document is closed for normal user action (completed, waiting, closed, voided, reversed).' WHERE AD_Column_ID=11961 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Node', IsMandatory='Y', IsTranslated='N', Description='Workflow Node (activity), step or process', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow Node indicates a unique step or process in a Workflow.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='AD_WF_Node_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=142, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:00:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=304
;

UPDATE AD_Field SET Name='Node', Description='Workflow Node (activity), step or process', Help='The Workflow Node indicates a unique step or process in a Workflow.' WHERE AD_Column_ID=304 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Sequence', IsMandatory='Y', IsTranslated='N', Description='Method of ordering records; lowest number comes first', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue='10', Help='The Sequence indicates the order of records', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='SeqNo', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=566, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:01:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10578
;

UPDATE AD_Field SET Name='Sequence', Description='Method of ordering records; lowest number comes first', Help='The Sequence indicates the order of records' WHERE AD_Column_ID=10578 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_WF_Next Nodes', Description='Next workflow node selection', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=109
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=109
;

UPDATE AD_Ref_Table SET AD_Table_ID = 129, AD_Display = 294, AD_Key = 293, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 109
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='AD_WF_Node.AD_WorkFlow_ID=@AD_Workflow_ID@', Name='AD_Workflow_Nodes within current Workflow', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 03:01:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=140
;

UPDATE AD_Column SET Name='Next Node', IsMandatory='Y', IsTranslated='N', Description='Next Node in workflow', IsIdentifier='Y', SeqNo=3, ColumnSQL=NULL, DefaultValue=NULL, Help='The Next Node indicates the next step or task in this Workflow.', AD_Reference_Value_ID=109, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='AD_WF_Next_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=140, AD_Element_ID=141, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:01:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1209
;

UPDATE AD_Field SET Name='Next Node', Description='Next Node in workflow', Help='The Next Node indicates the next step or task in this Workflow.' WHERE AD_Column_ID=1209 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:02:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=695
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=695 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:03:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=756
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=756 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:03:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=692
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=692 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:04:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=693
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=693 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:04:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=691
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=691 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:04:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=694
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=694 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=131, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:05:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=755
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=755 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 03:05:15','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:05:15','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Node Transition','The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.',0,'N','Transition',80,131,53026,53005,'N','N','Y','Y','N',NULL,'N','N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53026 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:05:16','YYYY-MM-DD HH24:MI:SS'),0,53413,'Workflow Node Transition',14,11562,'N',0,'The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.',TO_DATE('2007-12-17 03:05:16','YYYY-MM-DD HH24:MI:SS'),'Node Transition',53026,'N','N',0,'N','EE01')
;

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=53413 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:17','YYYY-MM-DD HH24:MI:SS'),0,53414,'Client/Tenant for this installation.',14,755,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 03:05:17','YYYY-MM-DD HH24:MI:SS'),'Client',53026,'N','N',10,'N','EE01')
;

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=53414 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:18','YYYY-MM-DD HH24:MI:SS'),0,53415,'Organizational entity within client',14,756,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 03:05:18','YYYY-MM-DD HH24:MI:SS'),'Organization',53026,'Y','N',20,'N','EE01')
;

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=53415 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:18','YYYY-MM-DD HH24:MI:SS'),0,53416,'Workflow Node (activity), step or process',14,304,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 03:05:18','YYYY-MM-DD HH24:MI:SS'),'Node',53026,'N','N',30,'Y','EE01')
;

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=53416 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:19','YYYY-MM-DD HH24:MI:SS'),0,53417,'Next Node in workflow',14,1209,'N',0,'The Next Node indicates the next step or task in this Workflow.',TO_DATE('2007-12-17 03:05:19','YYYY-MM-DD HH24:MI:SS'),'Next Node',53026,'N','N',40,'N','EE01')
;

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=53417 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:20','YYYY-MM-DD HH24:MI:SS'),0,53418,'Method of ordering records; lowest number comes first',11,10578,'N',0,'The Sequence indicates the order of records',TO_DATE('2007-12-17 03:05:20','YYYY-MM-DD HH24:MI:SS'),'Sequence',53026,'N','N',50,'N','EE01')
;

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=53418 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:21','YYYY-MM-DD HH24:MI:SS'),0,53419,'Optional short description of the record',60,10579,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 03:05:21','YYYY-MM-DD HH24:MI:SS'),'Description',53026,'N','N',60,'N','EE01')
;

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=53419 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:22','YYYY-MM-DD HH24:MI:SS'),0,53420,'The record is active in the system',1,691,'N',0,'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.',TO_DATE('2007-12-17 03:05:22','YYYY-MM-DD HH24:MI:SS'),'Active',53026,'N','N',70,'N','EE01')
;

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=53420 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:23','YYYY-MM-DD HH24:MI:SS'),0,53421,'Standard Manual User Approval Workflow',1,11961,'N',0,'If selected, only documents with an open status (drafted, in progress, approved, rejected, invalid) and standard user actions (prepare, complete, approve, reject) are allowed to continue.  Use this to prevent having to define details on how automatic processes (unlock, invalidate, post, re-activate) and when the document is closed for normal user action (completed, waiting, closed, voided, reversed).',TO_DATE('2007-12-17 03:05:23','YYYY-MM-DD HH24:MI:SS'),'Std User Workflow',53026,'N','N',80,'N','EE01')
;

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=53421 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:24','YYYY-MM-DD HH24:MI:SS'),0,53422,'Code resulting in TRUE of FALSE',60,10559,'N',0,'The transition is executed, if the code results in TRUE (or is empty)',TO_DATE('2007-12-17 03:05:24','YYYY-MM-DD HH24:MI:SS'),'Transition Code',53026,'N','N',90,'Y','EE01')
;

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=53422 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:05:25','YYYY-MM-DD HH24:MI:SS'),0,53423,'Dictionary Entity Type; Determines ownership and synchronization',20,10569,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 03:05:25','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53026,'N','N',100,'N','EE01')
;

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=53423 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_Table SET Name='Workflow', AccessLevel='6', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=113, IsDeleteable='Y', TableName='AD_Workflow', Description='Workflow or combination of tasks', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 03:05:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=117
;

UPDATE AD_Column SET Name='Working Time', IsMandatory='Y', IsTranslated='N', Description='Workflow Simulation Execution Time', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Amount of time the performer of the activity needs to perform the task in Duration Unit', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='WorkingTime', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2333, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:05:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10536
;

UPDATE AD_Field SET Name='Working Time', Description='Workflow Simulation Execution Time', Help='Amount of time the performer of the activity needs to perform the task in Duration Unit' WHERE AD_Column_ID=10536 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='AD_Table Access Levels', Description='Table Access and Sharing Level list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:06:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=5
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=5
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=5, Value='6', Name='System+Client', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:06:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=194
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=194
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=5, Value='2', Name='Client only', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:06:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=594
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=594
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=5, Value='1', Name='Organization', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:07:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=51
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=51
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=5, Value='3', Name='Client+Organization', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:07:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=5, Value='4', Name='System only', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:07:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=54
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=54
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=5, Value='7', Name='All', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:07:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=57
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=57
;

UPDATE AD_Column SET Name='Data Access Level', IsMandatory='Y', IsTranslated='N', Description='Access Level required', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Indicates the access level required for this record or process.', AD_Reference_Value_ID=5, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AccessLevel', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=145, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5789
;

UPDATE AD_Field SET Name='Data Access Level', Description='Access Level required', Help='Indicates the access level required for this record or process.' WHERE AD_Column_ID=5789 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Author', IsMandatory='Y', IsTranslated='N', Description='Author/Creator of the Entity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Author', FieldLength=20, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=2318, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:09:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10534
;

UPDATE AD_Field SET Name='Author', Description='Author/Creator of the Entity', Help=NULL WHERE AD_Column_ID=10534 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Cost', IsMandatory='Y', IsTranslated='N', Description='Cost information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Cost', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2319, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:09:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10542
;

UPDATE AD_Field SET Name='Cost', Description='Cost information', Help=NULL WHERE AD_Column_ID=10542 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Document Value Logic', IsMandatory='N', IsTranslated='N', Description='Logic to determine Workflow Start - If true, a workflow process is started for the document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='You can enter simple logic using variables like @Created@=@Updated@, which fires, when a record is created. If you need to evaluate also values of other records, you need to use SQL logic and need to prefix this logic with "SQL=". Example: start a Order verify workflow, when a business partner ordered something and is over the credit limit  "SQL=EXISTS (SELECT * FROM C_BPartner bp WHERE C_Order. C_BPartner_ID=bp. C_BPartner_ID AND SO_CreditUsed > SO_CreditLimit)".
Note that the SQL based logic checks for duplicate workflows (i.e. a workflow is started only once per record).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='DocValueLogic', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=2624, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:09:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12923
;

UPDATE AD_Field SET Name='Document Value Logic', Description='Logic to determine Workflow Start - If true, a workflow process is started for the document', Help='You can enter simple logic using variables like @Created@=@Updated@, which fires, when a record is created. If you need to evaluate also values of other records, you need to use SQL logic and need to prefix this logic with "SQL=". Example: start a Order verify workflow, when a business partner ordered something and is over the credit limit  "SQL=EXISTS (SELECT * FROM C_BPartner bp WHERE C_Order. C_BPartner_ID=bp. C_BPartner_ID AND SO_CreditUsed > SO_CreditLimit)".
Note that the SQL based logic checks for duplicate workflows (i.e. a workflow is started only once per record).' WHERE AD_Column_ID=12923 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Duration', IsMandatory='Y', IsTranslated='N', Description='Normal Duration in Duration Unit', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Expected (normal) Length of time for the execution', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Duration', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2320, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:10:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10539
;

UPDATE AD_Field SET Name='Duration', Description='Normal Duration in Duration Unit', Help='Expected (normal) Length of time for the execution' WHERE AD_Column_ID=10539 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='WF_DurationUnit', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:10:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=299
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=299
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=299, Value='Y', Name='Year', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:10:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=598
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=598
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=299, Value='M', Name='Month', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:11:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=599
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=599
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=299, Value='D', Name='Day', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:11:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=600
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=600
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=299, Value='h', Name='hour', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:11:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=601
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=601
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=299, Value='m', Name='minute', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:11:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=602
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=602
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=299, Value='s', Name='second', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:11:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=603
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=603
;

UPDATE AD_Column SET Name='Duration Unit', IsMandatory='N', IsTranslated='N', Description='Unit of Duration', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Unit to define the length of time for the execution', AD_Reference_Value_ID=299, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='DurationUnit', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2321, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:11:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10544
;

UPDATE AD_Field SET Name='Duration Unit', Description='Unit of Duration', Help='Unit to define the length of time for the execution' WHERE AD_Column_ID=10544 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Entity Type', IsMandatory='Y', IsTranslated='N', Description='Dictionary Entity Type; Determines ownership and synchronization', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='U', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!', AD_Reference_Value_ID=389, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='EntityType', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=1682, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@EntityType@=D', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7722
;

UPDATE AD_Field SET Name='Entity Type', Description='Dictionary Entity Type; Determines ownership and synchronization', Help='The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!' WHERE AD_Column_ID=7722 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Default', IsMandatory='Y', IsTranslated='N', Description='Default value', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Default Checkbox indicates if this record will be used as a default value.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='IsDefault', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1103, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11554
;

UPDATE AD_Field SET Name='Default', Description='Default value', Help='The Default Checkbox indicates if this record will be used as a default value.' WHERE AD_Column_ID=11554 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Valid', IsMandatory='Y', IsTranslated='N', Description='Element is valid', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The element passed the validation check', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='IsValid', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2002, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:13:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12938
;

UPDATE AD_Field SET Name='Valid', Description='Element is valid', Help='The element passed the validation check' WHERE AD_Column_ID=12938 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Duration Limit', IsMandatory='N', IsTranslated='N', Description='Maximum Duration in Duration Unit', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Limit', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2323, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:13:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10537
;

UPDATE AD_Field SET Name='Duration Limit', Description='Maximum Duration in Duration Unit', Help='Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.' WHERE AD_Column_ID=10537 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Priority', IsMandatory='N', IsTranslated='N', Description='Indicates if this request is of a high, medium or low priority.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Priority indicates the importance of this request.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Priority', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1514, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:13:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10535
;

UPDATE AD_Field SET Name='Priority', Description='Indicates if this request is of a high, medium or low priority.', Help='The Priority indicates the importance of this request.' WHERE AD_Column_ID=10535 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='_PublishStatus', Description='Publication Status', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=310
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=310
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=310, Value='R', Name='Released', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:13:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=644
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=644
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=310, Value='T', Name='Test', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:14:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=645
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=645
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=310, Value='U', Name='Under Revision', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:14:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=646
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=646
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=310, Value='V', Name='Void', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:14:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=647
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=647
;

UPDATE AD_Column SET Name='Publication Status', IsMandatory='Y', IsTranslated='N', Description='Status of Publication', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='U', Help='Used for internal documentation', AD_Reference_Value_ID=310, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='PublishStatus', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2338, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:14:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10585
;

UPDATE AD_Field SET Name='Publication Status', Description='Status of Publication', Help='Used for internal documentation' WHERE AD_Column_ID=10585 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Valid from', IsMandatory='N', IsTranslated='N', Description='Valid from including this date (first day)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Valid From date indicates the first day of a date range', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='ValidFrom', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=617, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:15:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10538
;

UPDATE AD_Field SET Name='Valid from', Description='Valid from including this date (first day)', Help='The Valid From date indicates the first day of a date range' WHERE AD_Column_ID=10538 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Valid to', IsMandatory='N', IsTranslated='N', Description='Valid to including this date (last day)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Valid To date indicates the last day of a date range', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='ValidTo', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=618, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:15:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10543
;

UPDATE AD_Field SET Name='Valid to', Description='Valid to including this date (last day)', Help='The Valid To date indicates the last day of a date range' WHERE AD_Column_ID=10543 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Process SET Name='Validate Workflow', Statistic_Seconds=0, Description='Validate thet the workflos is correct', Classname='org.compiere.wf.WorkflowValidate', ProcedureName=NULL, IsActive='Y', Help='(limited checking)', IsReport='N', IsDirectPrint='N', AccessLevel='6', Statistic_Count=0, Value='AD_Workflow_Validate', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 03:15:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=304
;

UPDATE AD_Column SET Name='Validate Workflow', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='ValidateWorkflow', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=2463, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=304, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:16:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11555
;

UPDATE AD_Field SET Name='Validate Workflow', Description=NULL, Help=NULL WHERE AD_Column_ID=11555 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Search Key', IsMandatory='Y', IsTranslated='N', Description='Search key for the record in the format required - must be unique', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Value', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=620, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:16:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11557
;

UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', Help='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).' WHERE AD_Column_ID=11557 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Version', IsMandatory='Y', IsTranslated='N', Description='Version of the table definition', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Version indicates the version of this table definition.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Version', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=624, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:16:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10541
;

UPDATE AD_Field SET Name='Version', Description='Version of the table definition', Help='The Version indicates the version of this table definition.' WHERE AD_Column_ID=10541 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Waiting Time', IsMandatory='Y', IsTranslated='N', Description='Workflow Simulation Waiting time and to Mnufacturing is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Amount of time needed to prepare the performance of the task on Duration Units

To Manufacturing is:

The Waiting Time is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse. 

Both, queue time and waiting time entered in the resource are used as default values for the nodes in the workflow.

', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='WaitingTime', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2331, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:17:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10545
;

UPDATE AD_Field SET Name='Waiting Time', Description='Workflow Simulation Waiting time and to Mnufacturing is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse', Help='Amount of time needed to prepare the performance of the task on Duration Units

To Manufacturing is:

The Waiting Time is the time which normally a manufacturing order operation has to wait since it is finished until it is moved to the next operation or to the warehouse. 

Both, queue time and waiting time entered in the resource are used as default values for the nodes in the workflow.

' WHERE AD_Column_ID=10545 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='AD_Workflow Type', Description='Workflow Type', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:17:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=328
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=328
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:17:22','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:17:22','YYYY-MM-DD HH24:MI:SS'),0,0,53249,328,'M','Manufacturing','Y',0,'D')
;

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=53249 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:17:24','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:17:24','YYYY-MM-DD HH24:MI:SS'),0,0,53250,328,'Q','Quality','Y',0,'D')
;

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=53250 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)
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=328, Value='P', Name='Document Process', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:17:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=689
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=689
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=328, Value='V', Name='Document Value', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:17:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=690
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=690
;

UPDATE AD_Column SET Name='Workflow Type', IsMandatory='Y', IsTranslated='N', Description='Type of Worflow', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='G', Help='The type of workflow determines how the workflow is started.', AD_Reference_Value_ID=328, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='WorkflowType', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=2626, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:18:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12922
;

UPDATE AD_Field SET Name='Workflow Type', Description='Type of Worflow', Help='The type of workflow determines how the workflow is started.' WHERE AD_Column_ID=12922 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Table', IsMandatory='N', IsTranslated='N', Description='Database Table information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Database Table provides the information of the table definition', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AD_Table_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=126, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11556
;

UPDATE AD_Field SET Name='Table', Description='Database Table information', Help='The Database Table provides the information of the table definition' WHERE AD_Column_ID=11556 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow Responsible', IsMandatory='N', IsTranslated='N', Description='Responsible for Workflow Execution', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AD_WF_Responsible_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2314, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:19:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10540
;

UPDATE AD_Field SET Name='Workflow Responsible', Description='Responsible for Workflow Execution', Help='The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.' WHERE AD_Column_ID=10540 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow Processor', IsMandatory='N', IsTranslated='N', Description='Workflow Processor Server', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Workflow Processor Server', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AD_WorkflowProcessor_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2358, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:19:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10918
;

UPDATE AD_Field SET Name='Workflow Processor', Description='Workflow Processor Server', Help='Workflow Processor Server' WHERE AD_Column_ID=10918 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='Y', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:19:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=236
;

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=236 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','N','N','Resource','N',0,'Y',117,53314,'S_Resource_ID',0,0,10,'N',TO_DATE('2007-12-17 03:19:53','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:19:53','YYYY-MM-DD HH24:MI:SS'),1777,'Y','N','N',0,'N','N','EE01')
;

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=53314 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 AD_WORKFLOW ADD S_Resource_ID NUMBER(10)
;

UPDATE AD_Column SET Name='Node', IsMandatory='N', IsTranslated='N', Description='Workflow Node (activity), step or process', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow Node indicates a unique step or process in a Workflow.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AD_WF_Node_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=140, AD_Element_ID=142, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:20:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4655
;

UPDATE AD_Field SET Name='Node', Description='Workflow Node (activity), step or process', Help='The Workflow Node indicates a unique step or process in a Workflow.' WHERE AD_Column_ID=4655 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Setup Time','N','N','Setup time before starting Production','N','Once per operation',0,'Y',117,53315,'SetupTime',0,0,22,'N',TO_DATE('2007-12-17 03:20:14','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 03:20:14','YYYY-MM-DD HH24:MI:SS'),2777,'Y','N','N',0,'N','N','EE01')
;

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=53315 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 AD_WORKFLOW ADD SetupTime NUMBER(10)
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:20:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=634
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=634 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow', IsMandatory='Y', IsTranslated='N', Description='Workflow or combination of tasks', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow field identifies a unique Workflow in the system.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AD_Workflow_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=144, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:20:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=351
;

UPDATE AD_Field SET Name='Workflow', Description='Workflow or combination of tasks', Help='The Workflow field identifies a unique Workflow in the system.' WHERE AD_Column_ID=351 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('MovingTime','N','N','N',0,'Y',117,53316,'MovingTime',0,0,22,'N',TO_DATE('2007-12-17 03:20:53','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 03:20:53','YYYY-MM-DD HH24:MI:SS'),53240,'Y','N','N',0,'N','N','EE01')
;

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=53316 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 AD_WORKFLOW ADD MovingTime NUMBER(10)
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:21:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=635
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=635 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=632
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=632 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=633
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=633 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='Y', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:22:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=237
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=237 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,Description,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53224,'L','PP_Process Type','Process Type',0,TO_DATE('2007-12-17 03:22:15','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 03:22:15','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53224 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('The diferent Continuos Flow is that two or more products are manufactured in the same facility (long setup times the run time is hours or several days.)',TO_DATE('2007-12-17 03:22:16','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:22:16','YYYY-MM-DD HH24:MI:SS'),0,0,53251,53224,'BF','Batch Flow ','Y',0,'EE01')
;

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=53251 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)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Continuous flow usually referes to the production or processing of fluids waster powders basic metals  etc.',TO_DATE('2007-12-17 03:22:17','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:22:17','YYYY-MM-DD HH24:MI:SS'),0,0,53252,53224,'CF','Continuous Flow','Y',0,'EE01')
;

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=53252 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)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Excess capacity may exist and either the production rate is adjusted to match the demand rate or the line is periodically idle.',TO_DATE('2007-12-17 03:22:18','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:22:18','YYYY-MM-DD HH24:MI:SS'),0,0,53253,53224,'DR','Dedicate Repetititive Flow','Y',0,'EE01')
;

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=53253 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)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('A Job Shop is characterized by the organitation of similar equipmnnet by function. As Job flow from Work Center to Work Center or Departament to Departament and the diferent type of operation is performance in each center or departament',TO_DATE('2007-12-17 03:22:19','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:22:19','YYYY-MM-DD HH24:MI:SS'),0,0,53254,53224,'JS','Job Shop','Y',0,'EE01')
;

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=53254 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)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Are also used to manufacture two or more However the chanover time between model is minimal (frequenctly zero) and different models are intermixed on the same line',TO_DATE('2007-12-17 03:22:20','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:22:20','YYYY-MM-DD HH24:MI:SS'),0,0,53255,53224,'MR','Mixed Repetitive Flow','Y',0,'EE01')
;

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=53255 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)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Plant',TO_DATE('2007-12-17 03:22:21','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:22:21','YYYY-MM-DD HH24:MI:SS'),0,0,53256,53224,'PL','Plant','Y',0,'EE01')
;

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=53256 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)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53242,'ProcessType','ProcessType',0,0,0,0,'ProcessType',TO_DATE('2007-12-17 03:22:22','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:22:22','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53242 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('ProcessType','N','N','N',53224,0,'Y',117,53317,'ProcessType',0,0,2,'N',TO_DATE('2007-12-17 03:22:22','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 03:22:22','YYYY-MM-DD HH24:MI:SS'),53242,'Y','N','N',0,'N','N','EE01')
;

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=53317 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 AD_WORKFLOW ADD ProcessType CHAR(2)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document No','N','N','Document sequence number of the document','N','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).',0,'Y',117,53318,'DocumentNo',0,0,30,'N',TO_DATE('2007-12-17 03:22:24','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:22:24','YYYY-MM-DD HH24:MI:SS'),290,'Y','N','N',0,'N','N','EE01')
;

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=53318 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 AD_WORKFLOW ADD DocumentNo NVARCHAR2(30)
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=430
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=430 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53243,'QtyBatchSize','QtyBatchSize',0,0,0,0,'QtyBatchSize',TO_DATE('2007-12-17 03:22:51','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:22:51','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53243 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatchSize','N','N','N','1',0,'Y',117,53319,'QtyBatchSize',0,0,10,'N',TO_DATE('2007-12-17 03:22:51','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:22:51','YYYY-MM-DD HH24:MI:SS'),53243,'Y','N','N',0,'N','N','EE01')
;

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=53319 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 AD_WORKFLOW ADD QtyBatchSize NUMBER DEFAULT 1
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QueuingTime','N','N','N',0,'Y',117,53320,'QueuingTime',0,0,22,'N',TO_DATE('2007-12-17 03:22:54','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 03:22:54','YYYY-MM-DD HH24:MI:SS'),53234,'Y','N','N',0,'N','N','EE01')
;

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=53320 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 AD_WORKFLOW ADD QueuingTime NUMBER(10)
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='Y', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:23:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=238
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=238 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:23:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=431
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=431 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=117, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:24:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=631
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=631 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,WhereClause,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 03:24:06','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:24:06','YYYY-MM-DD HH24:MI:SS'),0,'Workflows used by manufacture a product',0,'N','Manufacturing Workflows',10,117,53027,53005,'WorkflowType=''M'' OR WorkflowType=''Q''','N','N','N','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53027 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:24:07','YYYY-MM-DD HH24:MI:SS'),0,53424,'Workflow or combination of tasks',14,351,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 03:24:07','YYYY-MM-DD HH24:MI:SS'),'Workflow',53027,'N','N',0,'N','D')
;

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=53424 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:08','YYYY-MM-DD HH24:MI:SS'),0,53425,'Client/Tenant for this installation.',14,430,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 03:24:08','YYYY-MM-DD HH24:MI:SS'),'Client',53027,'N','N',10,'N','EE01')
;

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=53425 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:08','YYYY-MM-DD HH24:MI:SS'),0,53426,'Organizational entity within client',14,431,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 03:24:08','YYYY-MM-DD HH24:MI:SS'),'Organization',53027,'Y','N',20,'N','EE01')
;

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=53426 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:09','YYYY-MM-DD HH24:MI:SS'),0,53427,'Search key for the record in the format required - must be unique',20,11557,'N',0,'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).',TO_DATE('2007-12-17 03:24:09','YYYY-MM-DD HH24:MI:SS'),'Search Key',53027,'N','N',30,'N','EE01')
;

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=53427 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:10','YYYY-MM-DD HH24:MI:SS'),0,53428,'Alphanumeric identifier of the entity',60,236,'N',0,'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.',TO_DATE('2007-12-17 03:24:10','YYYY-MM-DD HH24:MI:SS'),'Name',53027,'N','N',40,'N','EE01')
;

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=53428 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:11','YYYY-MM-DD HH24:MI:SS'),0,53429,'Optional short description of the record',60,237,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 03:24:11','YYYY-MM-DD HH24:MI:SS'),'Description',53027,'N','N',50,'N','EE01')
;

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=53429 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:12','YYYY-MM-DD HH24:MI:SS'),0,53430,'Comment or Hint',60,238,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 03:24:12','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53027,'N','N',60,'N','EE01')
;

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=53430 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:14','YYYY-MM-DD HH24:MI:SS'),0,53431,'The record is active in the system',1,631,'N',0,'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.',TO_DATE('2007-12-17 03:24:14','YYYY-MM-DD HH24:MI:SS'),'Active',53027,'N','N',70,'N','EE01')
;

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=53431 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:14','YYYY-MM-DD HH24:MI:SS'),0,53432,'Default value',1,11554,'N',0,'The Default Checkbox indicates if this record will be used as a default value.',TO_DATE('2007-12-17 03:24:14','YYYY-MM-DD HH24:MI:SS'),'Default',53027,'Y','N',80,'N','EE01')
;

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=53432 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:15','YYYY-MM-DD HH24:MI:SS'),0,53433,'Type of Worflow',1,12922,'N',0,'The type of workflow determines how the workflow is started.',TO_DATE('2007-12-17 03:24:15','YYYY-MM-DD HH24:MI:SS'),'Workflow Type',53027,'N','N',90,'N','EE01')
;

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=53433 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:16','YYYY-MM-DD HH24:MI:SS'),0,53434,3,53317,'N',0,TO_DATE('2007-12-17 03:24:16','YYYY-MM-DD HH24:MI:SS'),'ProcessType',53027,'Y','N',100,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53434 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:17','YYYY-MM-DD HH24:MI:SS'),0,53435,'Resource',10,53314,'N',0,TO_DATE('2007-12-17 03:24:17','YYYY-MM-DD HH24:MI:SS'),'Resource',53027,'N','N',110,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53435 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:18','YYYY-MM-DD HH24:MI:SS'),0,53436,22,53319,'N',0,TO_DATE('2007-12-17 03:24:18','YYYY-MM-DD HH24:MI:SS'),'QtyBatchSize',53027,'N','N',120,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53436 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:19','YYYY-MM-DD HH24:MI:SS'),0,53437,'Database Table information',26,11556,'N',0,'The Database Table provides the information of the table definition',TO_DATE('2007-12-17 03:24:19','YYYY-MM-DD HH24:MI:SS'),'Table',53027,'Y','N',130,'N','@WorkflowType@!G | @WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53437 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:20','YYYY-MM-DD HH24:MI:SS'),0,53438,'Logic to determine Workflow Start - If true, a workflow process is started for the document',2000,12923,'N',0,'You can enter simple logic using variables like @Created@=@Updated@, which fires, when a record is created. If you need to evaluate also values of other records, you need to use SQL logic and need to prefix this logic with "SQL=". Example: start a Order verify workflow, when a business partner ordered something and is over the credit limit  "SQL=EXISTS (SELECT * FROM C_BPartner bp WHERE C_Order. C_BPartner_ID=bp. C_BPartner_ID AND SO_CreditUsed > SO_CreditLimit)".
Note that the SQL based logic checks for duplicate workflows (i.e. a workflow is started only once per record).',TO_DATE('2007-12-17 03:24:20','YYYY-MM-DD HH24:MI:SS'),'Document Value Logic',53027,'N','N',140,'N','@WorkflowType@=''V''','EE01')
;

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=53438 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:21','YYYY-MM-DD HH24:MI:SS'),0,53439,'Access Level required',14,5789,'N',0,'Indicates the access level required for this record or process.',TO_DATE('2007-12-17 03:24:21','YYYY-MM-DD HH24:MI:SS'),'Data Access Level',53027,'N','N',150,'N','EE01')
;

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=53439 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:22','YYYY-MM-DD HH24:MI:SS'),0,53440,'Dictionary Entity Type; Determines ownership and synchronization',20,7722,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 03:24:22','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53027,'Y','N',160,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53440 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:22','YYYY-MM-DD HH24:MI:SS'),0,53441,'Responsible for Workflow Execution',14,10540,'N',0,'The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.',TO_DATE('2007-12-17 03:24:22','YYYY-MM-DD HH24:MI:SS'),'Workflow Responsible',53027,'N','N',170,'N','EE01')
;

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=53441 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:23','YYYY-MM-DD HH24:MI:SS'),0,53442,'Indicates if this request is of a high, medium or low priority.',11,10535,'N',0,'The Priority indicates the importance of this request.',TO_DATE('2007-12-17 03:24:23','YYYY-MM-DD HH24:MI:SS'),'Priority',53027,'Y','N',180,'N','EE01')
;

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=53442 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:24','YYYY-MM-DD HH24:MI:SS'),0,53443,'Valid from including this date (first day)',14,10538,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 03:24:24','YYYY-MM-DD HH24:MI:SS'),'Valid from',53027,'N','N',190,'N','EE01')
;

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=53443 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:27','YYYY-MM-DD HH24:MI:SS'),0,53444,'Valid to including this date (last day)',14,10543,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 03:24:27','YYYY-MM-DD HH24:MI:SS'),'Valid to',53027,'Y','N',200,'N','EE01')
;

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=53444 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:28','YYYY-MM-DD HH24:MI:SS'),0,53445,'Status of Publication',14,10585,'N',0,'Used for internal documentation',TO_DATE('2007-12-17 03:24:28','YYYY-MM-DD HH24:MI:SS'),'Publication Status',53027,'N','N',210,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53445 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:29','YYYY-MM-DD HH24:MI:SS'),0,53446,'Document sequence number of the document',20,53318,'N',0,'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).',TO_DATE('2007-12-17 03:24:29','YYYY-MM-DD HH24:MI:SS'),'Document No',53027,'N','N',220,'N','EE01')
;

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=53446 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:30','YYYY-MM-DD HH24:MI:SS'),0,53447,'Version of the table definition',11,10541,'N',0,'The Version indicates the version of this table definition.',TO_DATE('2007-12-17 03:24:30','YYYY-MM-DD HH24:MI:SS'),'Version',53027,'Y','N',230,'N','EE01')
;

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=53447 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:30','YYYY-MM-DD HH24:MI:SS'),0,53448,'Author/Creator of the Entity',20,10534,'N',0,TO_DATE('2007-12-17 03:24:30','YYYY-MM-DD HH24:MI:SS'),'Author',53027,'N','N',240,'N','EE01')
;

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=53448 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:24:31','YYYY-MM-DD HH24:MI:SS'),0,53449,'Workflow Node step or process',14,4655,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 03:24:31','YYYY-MM-DD HH24:MI:SS'),'Start Node',53027,'N','N',250,'N',113,'EE01')
;

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=53449 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:32','YYYY-MM-DD HH24:MI:SS'),0,53450,'Workflow Processor Server',14,10918,'N',0,'Workflow Processor Server',TO_DATE('2007-12-17 03:24:32','YYYY-MM-DD HH24:MI:SS'),'Workflow Processor',53027,'Y','N',260,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53450 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:33','YYYY-MM-DD HH24:MI:SS'),0,53451,'Cost information',11,10542,'N',0,TO_DATE('2007-12-17 03:24:33','YYYY-MM-DD HH24:MI:SS'),'Cost',53027,'N','N',270,'N',127,'@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53451 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:34','YYYY-MM-DD HH24:MI:SS'),0,53452,'Workflow Simulation Execution Time',11,10536,'N',0,'Amount of time the performer of the activity needs to perform the task in Duration Unit',TO_DATE('2007-12-17 03:24:34','YYYY-MM-DD HH24:MI:SS'),'Working Time',53027,'Y','N',280,'N','EE01')
;

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=53452 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:35','YYYY-MM-DD HH24:MI:SS'),0,53453,22,53320,'N',0,TO_DATE('2007-12-17 03:24:35','YYYY-MM-DD HH24:MI:SS'),'QueuingTime',53027,'N','N',290,'N','EE01')
;

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=53453 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:36','YYYY-MM-DD HH24:MI:SS'),0,53454,'Setup time before starting Production',22,53315,'N',0,'Once per operation',TO_DATE('2007-12-17 03:24:36','YYYY-MM-DD HH24:MI:SS'),'Setup Time',53027,'Y','N',300,'N','EE01')
;

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=53454 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:37','YYYY-MM-DD HH24:MI:SS'),0,53455,'Normal Duration in Duration Unit',11,10539,'N',0,'Expected (normal) Length of time for the execution',TO_DATE('2007-12-17 03:24:37','YYYY-MM-DD HH24:MI:SS'),'Duration',53027,'N','N',310,'N','EE01')
;

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=53455 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:38','YYYY-MM-DD HH24:MI:SS'),0,53456,'Unit of Duration',14,10544,'N',0,'Unit to define the length of time for the execution',TO_DATE('2007-12-17 03:24:38','YYYY-MM-DD HH24:MI:SS'),'Duration Unit',53027,'Y','N',320,'N','EE01')
;

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=53456 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:39','YYYY-MM-DD HH24:MI:SS'),0,53457,'Maximum Duration in Duration Unit',11,10537,'N',0,'Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.',TO_DATE('2007-12-17 03:24:39','YYYY-MM-DD HH24:MI:SS'),'Duration Limit',53027,'N','N',330,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53457 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:40','YYYY-MM-DD HH24:MI:SS'),0,53458,'Workflow Simulation Waiting time',11,10545,'N',0,'Amount of time needed to prepare the performance of the task on Duration Units',TO_DATE('2007-12-17 03:24:40','YYYY-MM-DD HH24:MI:SS'),'Waiting Time',53027,'N','N',340,'N','EE01')
;

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=53458 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:41','YYYY-MM-DD HH24:MI:SS'),0,53459,22,53316,'N',0,TO_DATE('2007-12-17 03:24:41','YYYY-MM-DD HH24:MI:SS'),'MovingTime',53027,'Y','N',350,'N','EE01')
;

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=53459 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:24:42','YYYY-MM-DD HH24:MI:SS'),0,53460,23,11555,'N',0,TO_DATE('2007-12-17 03:24:42','YYYY-MM-DD HH24:MI:SS'),'Validate Workflow',53027,'N','N',360,'N','EE01')
;

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=53460 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_Preference (AD_Preference_ID,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,Updated,Value,AD_Window_ID,Attribute,CreatedBy) VALUES (50001,0,0,0,'Y',TO_DATE('2007-12-17 03:24:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:24:43','YYYY-MM-DD HH24:MI:SS'),'C',53005,'Action',0)
;

INSERT INTO AD_Workflow (Created,IsActive,AD_Client_ID,AD_Workflow_ID,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,UpdatedBy,AccessLevel,WorkflowType,Limit,DurationUnit,WaitingTime,Version,Cost,Author,Priority,PublishStatus,WorkingTime,Duration,IsValid,IsDefault,Value,EntityType) VALUES (TO_DATE('2007-12-17 03:24:44','YYYY-MM-DD HH24:MI:SS'),'Y',0,50001,'Setup Manufacturing Workflow','This workflow defines the Manufacturing Workflow  Setup','Manufacturing Workflow Setup',0,TO_DATE('2007-12-17 03:24:44','YYYY-MM-DD HH24:MI:SS'),0,0,'3','G',0,'D',0,0,0,'Victor Perez',0,'R',0,0,'N','N','Setup Manufacturing Workflow','EE01')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50001 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50001,0,0,0,TO_DATE('2007-12-17 03:24:44','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 03:24:44','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,AD_Window_ID,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50001,'N',TO_DATE('2007-12-17 03:24:45','YYYY-MM-DD HH24:MI:SS'),'Warehouse & Locators','Y',0,0,50003,'W',139,'Warehouse & Locators',0,TO_DATE('2007-12-17 03:24:45','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Warehouse & Locators','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50003 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,AD_Window_ID,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50001,'N',TO_DATE('2007-12-17 03:24:46','YYYY-MM-DD HH24:MI:SS'),'Resource Type','Y',0,0,50004,'W',237,'Resource Type',0,TO_DATE('2007-12-17 03:24:46','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Resource Type','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50004 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50001,'EE01','N',50004,10,50003,0,0,TO_DATE('2007-12-17 03:24:47','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 03:24:47','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,AD_Window_ID,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50001,'N',TO_DATE('2007-12-17 03:24:48','YYYY-MM-DD HH24:MI:SS'),'Manufacturing Workflows','Y',0,0,50005,'W',53005,'Manufacturing Workflows',0,TO_DATE('2007-12-17 03:24:48','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Manufacturing Workflows','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50005 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,AD_Window_ID,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50001,'N',TO_DATE('2007-12-17 03:24:49','YYYY-MM-DD HH24:MI:SS'),'Manufacturing Resource','Y',0,0,50006,'W',53004,'Manufacturing Resource',0,TO_DATE('2007-12-17 03:24:49','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Manufacturing Resource','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50006 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50002,'EE01','N',50006,10,50005,0,0,TO_DATE('2007-12-17 03:24:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 03:24:50','YYYY-MM-DD HH24:MI:SS'),0)
;

UPDATE AD_Workflow SET AD_WF_Node_ID=50004, IsValid='Y',Updated=TO_DATE('2007-12-17 03:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50001
;

INSERT INTO AD_Workflow (Created,IsActive,AD_Client_ID,AD_Workflow_ID,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,UpdatedBy,AccessLevel,WorkflowType,Limit,DurationUnit,WaitingTime,Version,Cost,Author,Priority,PublishStatus,WorkingTime,Duration,IsValid,IsDefault,Value,EntityType) VALUES (TO_DATE('2007-12-17 03:24:53','YYYY-MM-DD HH24:MI:SS'),'Y',0,50002,'Setup Bill of Material & Formula','This workflow defines the Bill of Material & Formula','Bill of Material & Formula Setup',0,TO_DATE('2007-12-17 03:24:53','YYYY-MM-DD HH24:MI:SS'),0,0,'3','G',0,'D',0,0,0,'Victor Perez',0,'R',0,0,'N','N','Setup Bill of Material & Formula','EE01')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50002 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50002,0,0,0,TO_DATE('2007-12-17 03:24:53','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 03:24:53','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,AD_Window_ID,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50002,'N',TO_DATE('2007-12-17 03:24:54','YYYY-MM-DD HH24:MI:SS'),'Maintain Unit of Measure ','Y',0,0,50007,'W',120,'Unit of Measure',0,TO_DATE('2007-12-17 03:24:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Unit of Measure','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50007 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,AD_Window_ID,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50002,'N',TO_DATE('2007-12-17 03:24:55','YYYY-MM-DD HH24:MI:SS'),'Maintain Products','Y',0,0,50008,'W',140,'Product',0,TO_DATE('2007-12-17 03:24:55','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Product','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50008 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

UPDATE AD_Workflow SET AD_WF_Node_ID=159, IsValid='Y',Updated=TO_DATE('2007-12-17 03:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50002
;

INSERT INTO AD_WINDOW (IsActive,Created,CreatedBy,Updated,UpdatedBy,NAME,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 03:24:56','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:24:56','YYYY-MM-DD HH24:MI:SS'),0,'Bill of Materials & Formula ',53006,'M','It is a list of all the subassemblies, intermediates, parts and raw material that go into a parent assembly showing the quantity of each required to make an assembly. There are a variety of display formats of bill of material, including single level bill of material, indented bill of material, modular (planning), costed bill of material, etc. May also be called .formula,., .recipe., .ingredients list. in certain industries.

It answers the question, what are the components of the product?',0,0,'Maintain Product Bill of Materials & Formula ','N','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53006 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),53006,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),53006,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),53006,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),53006,'Y',0,0,50001)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,AD_Window_ID,IsDeleteable,TableName,Created,Description,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'BOM & Formaula','3','Y','N',53006,'Y','PP_Product_BOM',TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),'Define the Parent Product to this BOM & Formula',53018,0,TO_DATE('2007-12-17 03:24:57','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53018 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Product_BOM',0,0,'PP_Product_BOM',50000,1000000,'Y',53015,TO_DATE('2007-12-17 03:24:58','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:24:58','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','Y','N','Search key for the record in the format required - must be unique','Y',1,'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).',0,'Y',53018,53321,'Value',0,0,80,'N',TO_DATE('2007-12-17 03:24:59','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:24:59','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','EE01')
;

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=53321 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Product_BOM (VALUE NVARCHAR2(80) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','Y','N','Alphanumeric identifier of the entity','Y',2,'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.',0,'Y',53018,53322,'Name',0,0,60,'N',TO_DATE('2007-12-17 03:25:00','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 03:25:00','YYYY-MM-DD HH24:MI:SS'),469,'Y','N','N',0,'N','N','EE01')
;

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=53322 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 PP_Product_BOM ADD NAME NVARCHAR2(60) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document No','N','N','Document sequence number of the document','Y',3,'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).',0,'Y',53018,53323,'DocumentNo',0,0,22,'N',TO_DATE('2007-12-17 03:25:02','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:25:02','YYYY-MM-DD HH24:MI:SS'),290,'Y','N','N',0,'N','N','EE01')
;

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=53323 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 PP_Product_BOM ADD DocumentNo NVARCHAR2(22)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53244,'Revision','Revision',0,0,0,0,'Revision',TO_DATE('2007-12-17 03:25:04','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:25:04','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53244 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Revision','N','N','N',4,0,'Y',53018,53324,'Revision',0,0,10,'N',TO_DATE('2007-12-17 03:25:04','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:25:04','YYYY-MM-DD HH24:MI:SS'),53244,'Y','N','N',0,'N','N','EE01')
;

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=53324 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 PP_Product_BOM ADD Revision NVARCHAR2(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N',5,'A description is limited to 255 characters.',0,'Y',53018,53325,'Description',0,0,255,'N',TO_DATE('2007-12-17 03:25:06','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:25:06','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53325 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 PP_Product_BOM ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('PP_Product_BOM CopyFrom',0,0,0,TO_DATE('2007-12-17 03:25:07','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CopyFromBOM',53004,TO_DATE('2007-12-17 03:25:07','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','N','N','1',0,'PP_Product_BOM CopyFrom','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53004 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53245,'BOM & Formaula','PP_Product_BOM_ID',0,0,0,0,'BOM & Formaula',TO_DATE('2007-12-17 03:25:09','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:25:09','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53245 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53027,0,0,'BOM & Formaula','Y',0,'Define the Parent Product to this BOM & Formula','Define the Parent Product to this BOM & Formula',53004,TO_DATE('2007-12-17 03:25:09','YYYY-MM-DD HH24:MI:SS'),'PP_Product_BOM_ID','Y','N',0,0,18,TO_DATE('2007-12-17 03:25:09','YYYY-MM-DD HH24:MI:SS'),'Y',10,53245,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53027 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)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Copy From','N','N','Copy From Record','N','Copy From Record',0,'Y',53018,53326,'CopyFrom',0,0,1,'N',TO_DATE('2007-12-17 03:25:11','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 03:25:11','YYYY-MM-DD HH24:MI:SS'),2037,'Y','N','N',53004,0,'N','N','EE01')
;

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=53326 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 PP_Product_BOM ADD CopyFrom CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53018,53327,'Created',0,0,7,'N',TO_DATE('2007-12-17 03:25:12','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 03:25:12','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53327 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 PP_Product_BOM ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53018,53328,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 03:25:14','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 03:25:14','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53328 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 PP_Product_BOM ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Comment/Help','N','N','Comment or Hint','N','The Help field contains a hint, comment or help about the use of this item.',0,'Y',53018,53329,'Help',0,0,2000,'N',TO_DATE('2007-12-17 03:25:15','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 03:25:15','YYYY-MM-DD HH24:MI:SS'),326,'Y','N','N',0,'N','N','EE01')
;

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=53329 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 PP_Product_BOM ADD Help NVARCHAR2(2000)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53018,53330,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 03:25:17','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:25:17','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53330 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 PP_Product_BOM ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53018,53331,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 03:25:18','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:25:18','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53331 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 PP_Product_BOM ADD AD_Client_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Change Notice','N','N','Bill of Materials (Engineering) Change Notice (Version)','N',0,'Y',53018,53332,'M_ChangeNotice_ID',0,0,10,'N',TO_DATE('2007-12-17 03:25:19','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:25:19','YYYY-MM-DD HH24:MI:SS'),2783,'Y','N','N',0,'N','N','EE01')
;

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=53332 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 PP_Product_BOM ADD M_ChangeNotice_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53018,53333,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 03:25:21','YYYY-MM-DD HH24:MI:SS'),'Y',30,231,0,TO_DATE('2007-12-17 03:25:21','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53333 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 PP_Product_BOM ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM & Formaula','Y','N','N',0,'Y',53018,53334,'PP_Product_BOM_ID',0,0,22,'N',TO_DATE('2007-12-17 03:25:22','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 03:25:22','YYYY-MM-DD HH24:MI:SS'),53245,'N','Y','N',0,'N','N','EE01')
;

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=53334 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 PP_Product_BOM ADD PP_Product_BOM_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Product_BOM ADD CONSTRAINT PP_Product_BOM_Key PRIMARY KEY (PP_Product_BOM_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process Now','N','N','N',0,'Y',53018,53335,'Processing',0,0,1,'N',TO_DATE('2007-12-17 03:25:24','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 03:25:24','YYYY-MM-DD HH24:MI:SS'),524,'Y','N','N',0,'N','N','EE01')
;

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=53335 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 PP_Product_BOM ADD Processing CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53018,53336,'Updated',0,0,7,'N',TO_DATE('2007-12-17 03:25:25','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 03:25:25','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53336 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 PP_Product_BOM ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53018,53337,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 03:25:27','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 03:25:27','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53337 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 PP_Product_BOM ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','Y','N','Valid from including this date (first day)','N','The Valid From date indicates the first day of a date range',0,'Y',53018,53338,'ValidFrom',0,0,7,'N',TO_DATE('2007-12-17 03:25:32','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 03:25:32','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53338 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 PP_Product_BOM ADD ValidFrom DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N','The Valid To date indicates the last day of a date range',0,'Y',53018,53339,'ValidTo',0,0,7,'N',TO_DATE('2007-12-17 03:25:33','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 03:25:33','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53339 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 PP_Product_BOM ADD ValidTo DATE
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Product Attribute', Description='Product Attribute', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:25:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=35
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=35
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53018,53340,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 03:25:41','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 03:25:41','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'N','N','EE01')
;

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=53340 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 PP_Product_BOM ADD M_AttributeSetInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53018,53341,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 03:25:42','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 03:25:42','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53341 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 PP_Product_BOM ADD AD_Org_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM Type','N','N','Type of BOM','N','A','The type of Bills of Materials determines the state',347,0,'Y',53018,53342,'BOMType',0,0,1,'N',TO_DATE('2007-12-17 03:25:43','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 03:25:43','YYYY-MM-DD HH24:MI:SS'),2030,'Y','N','N',0,'N','N','EE01')
;

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=53342 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 PP_Product_BOM ADD BOMType CHAR(1) DEFAULT 'A'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM Use','N','N','The use of the Bill of Material','N','M','By default the Master BOM is used, if the alternatives are not defined',348,0,'Y',53018,53343,'BOMUse',0,0,1,'N',TO_DATE('2007-12-17 03:25:45','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 03:25:45','YYYY-MM-DD HH24:MI:SS'),2784,'Y','N','N',0,'N','N','EE01')
;

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=53343 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 PP_Product_BOM ADD BOMUse CHAR(1) DEFAULT 'M'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','N','N','Unit of Measure','N','The UOM defines a unique non monetary Unit of Measure',0,'Y',53018,53344,'C_UOM_ID',0,0,22,'N',TO_DATE('2007-12-17 03:25:46','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:25:46','YYYY-MM-DD HH24:MI:SS'),215,'Y','N','N',0,'N','N','EE01')
;

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=53344 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 PP_Product_BOM ADD C_UOM_ID NUMBER(10)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 03:25:48','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:25:48','YYYY-MM-DD HH24:MI:SS'),0,'Define the Parent Product to this BOM & Formula','Define the Parent Product to this BOM & Formula',0,'N','Parent Product',10,53018,53028,53006,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53028 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:25:49','YYYY-MM-DD HH24:MI:SS'),0,53461,1,53335,'N',0,TO_DATE('2007-12-17 03:25:49','YYYY-MM-DD HH24:MI:SS'),'Process Now',53028,'N','N',0,'N','EE01')
;

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=53461 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:49','YYYY-MM-DD HH24:MI:SS'),0,53462,'Client/Tenant for this installation.',22,53331,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 03:25:49','YYYY-MM-DD HH24:MI:SS'),'Client',53028,'N','N',10,'N','EE01')
;

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=53462 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:51','YYYY-MM-DD HH24:MI:SS'),0,53463,'Organizational entity within client',22,53341,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 03:25:51','YYYY-MM-DD HH24:MI:SS'),'Organization',53028,'Y','N',20,'N','EE01')
;

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=53463 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:52','YYYY-MM-DD HH24:MI:SS'),0,53464,'Search key for the record in the format required - must be unique',80,53321,'N',0,'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).',TO_DATE('2007-12-17 03:25:52','YYYY-MM-DD HH24:MI:SS'),'Search Key',53028,'N','N',30,'N','EE01')
;

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=53464 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:52','YYYY-MM-DD HH24:MI:SS'),0,53465,'Alphanumeric identifier of the entity',120,53322,'N',0,'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.',TO_DATE('2007-12-17 03:25:52','YYYY-MM-DD HH24:MI:SS'),'Name',53028,'N','N',40,'N','EE01')
;

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=53465 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:53','YYYY-MM-DD HH24:MI:SS'),0,53466,'Optional short description of the record',510,53325,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 03:25:53','YYYY-MM-DD HH24:MI:SS'),'Description',53028,'N','N',50,'N','EE01')
;

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=53466 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:54','YYYY-MM-DD HH24:MI:SS'),0,53467,'Comment or Hint',2000,53329,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 03:25:54','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53028,'N','N',60,'N','EE01')
;

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=53467 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:55','YYYY-MM-DD HH24:MI:SS'),0,53468,'The record is active in the system',1,53330,'N',0,'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.',TO_DATE('2007-12-17 03:25:55','YYYY-MM-DD HH24:MI:SS'),'Active',53028,'N','N',70,'N','EE01')
;

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=53468 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:56','YYYY-MM-DD HH24:MI:SS'),0,53469,'Bill of Materials (Engineering) Change Notice (Version)',10,53332,'N',0,TO_DATE('2007-12-17 03:25:56','YYYY-MM-DD HH24:MI:SS'),'Change Notice',53028,'Y','N',80,'N','EE01')
;

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=53469 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:57','YYYY-MM-DD HH24:MI:SS'),0,53470,'Document sequence number of the document',22,53323,'N',0,'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).',TO_DATE('2007-12-17 03:25:57','YYYY-MM-DD HH24:MI:SS'),'Document No',53028,'N','N',90,'N','EE01')
;

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=53470 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:58','YYYY-MM-DD HH24:MI:SS'),0,53471,10,53324,'N',0,TO_DATE('2007-12-17 03:25:58','YYYY-MM-DD HH24:MI:SS'),'Revision',53028,'Y','N',100,'N','EE01')
;

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=53471 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:25:59','YYYY-MM-DD HH24:MI:SS'),0,53472,'Valid from including this date (first day)',7,53338,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 03:25:59','YYYY-MM-DD HH24:MI:SS'),'Valid from',53028,'N','N',110,'N','EE01')
;

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=53472 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:26:00','YYYY-MM-DD HH24:MI:SS'),0,53473,'Valid to including this date (last day)',7,53339,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 03:26:00','YYYY-MM-DD HH24:MI:SS'),'Valid to',53028,'Y','N',120,'N','EE01')
;

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=53473 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:26:01','YYYY-MM-DD HH24:MI:SS'),0,53474,'Product, Service, Item',22,53333,'N',0,'Identifies an item which is either purchased or sold in this organization.

The product field along with the product instance identify the parent product.
',TO_DATE('2007-12-17 03:26:01','YYYY-MM-DD HH24:MI:SS'),'Product',53028,'N','N',130,'N','EE01')
;

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=53474 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:26:01','YYYY-MM-DD HH24:MI:SS'),0,53475,'Product Attribute Set Instance',22,53340,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 03:26:01','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53028,'Y','N',140,'N','EE01')
;

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=53475 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:26:03','YYYY-MM-DD HH24:MI:SS'),0,53476,'Unit of Measure',22,53344,'N',0,'The UOM defines a unique non monetary Unit of Measure

The manufacturing Unit of Measure is also introduced and it will be taken into account for the quantities entered for the components.',TO_DATE('2007-12-17 03:26:03','YYYY-MM-DD HH24:MI:SS'),'UOM',53028,'N','N',150,'N','EE01')
;

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=53476 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:26:05','YYYY-MM-DD HH24:MI:SS'),0,53477,'Type of BOM',1,53342,'N',0,'The type of Bills of Materials determines the state',TO_DATE('2007-12-17 03:26:05','YYYY-MM-DD HH24:MI:SS'),'BOM Type',53028,'N','N',160,'N','EE01')
;

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=53477 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:26:06','YYYY-MM-DD HH24:MI:SS'),0,53478,'The use of the Bill of Material',1,53343,'N',0,'By default the Master BOM is used, if the alternatives are not defined',TO_DATE('2007-12-17 03:26:06','YYYY-MM-DD HH24:MI:SS'),'BOM Use',53028,'Y','N',170,'N','EE01')
;

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=53478 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:26:06','YYYY-MM-DD HH24:MI:SS'),0,53479,22,53334,'N',0,TO_DATE('2007-12-17 03:26:06','YYYY-MM-DD HH24:MI:SS'),'BOM & Formaula',53028,'N','N',180,'N','EE01')
;

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=53479 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:26:07','YYYY-MM-DD HH24:MI:SS'),0,53480,'Copy From Record',1,53326,'N',0,'Copy From Record',TO_DATE('2007-12-17 03:26:07','YYYY-MM-DD HH24:MI:SS'),'Copy From',53028,'N','N',190,'N','EE01')
;

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=53480 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,Help,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'BOM Line','3','The information relative to every component that will be used in the BOM & Formula of the finished product.','Y','N','Y','PP_Product_BOMLine',TO_DATE('2007-12-17 03:26:08','YYYY-MM-DD HH24:MI:SS'),53019,0,TO_DATE('2007-12-17 03:26:08','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53019 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Product_BOMLine',0,0,'PP_Product_BOMLine',50000,1000000,'Y',53016,TO_DATE('2007-12-17 03:26:09','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:09','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53246,'Feature','Feature',0,0,0,0,'Feature',TO_DATE('2007-12-17 03:26:09','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:09','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53246 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Feature','N','N','N',0,'Y',53019,53345,'Feature',0,0,30,'N',TO_DATE('2007-12-17 03:26:09','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:26:09','YYYY-MM-DD HH24:MI:SS'),53246,'Y','N','N',0,'N','N','EE01')
;

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=53345 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Product_BOMLine (Feature NVARCHAR2(30))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','@#AD_ORG_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53019,53346,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 03:26:13','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 03:26:13','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53346 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 PP_Product_BOMLine ADD AD_Org_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53247,'Assay','Assay',0,0,0,0,'Assay',TO_DATE('2007-12-17 03:26:14','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:14','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53247 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Assay','N','N','N',0,'Y',53019,53347,'Assay',0,0,22,'N',TO_DATE('2007-12-17 03:26:14','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:26:14','YYYY-MM-DD HH24:MI:SS'),53247,'Y','N','N',0,'N','N','EE01')
;

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=53347 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 PP_Product_BOMLine ADD Assay NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53248,'BackflushGroup','BackflushGroup',0,0,0,0,'BackflushGroup',TO_DATE('2007-12-17 03:26:17','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:17','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53248 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BackflushGroup','N','N','N',0,'Y',53019,53348,'BackflushGroup',0,0,20,'N',TO_DATE('2007-12-17 03:26:17','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:26:17','YYYY-MM-DD HH24:MI:SS'),53248,'Y','N','N',0,'N','N','EE01')
;

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=53348 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 PP_Product_BOMLine ADD BackflushGroup NVARCHAR2(20)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','N','N','Unit of Measure','N','The UOM defines a unique non monetary Unit of Measure',0,'Y',53019,53349,'C_UOM_ID',0,0,22,'N',TO_DATE('2007-12-17 03:26:19','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:26:19','YYYY-MM-DD HH24:MI:SS'),215,'Y','N','N',0,'N','N','EE01')
;

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=53349 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 PP_Product_BOMLine ADD C_UOM_ID NUMBER(10)
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53225,'L','PP_ComponentType',0,TO_DATE('2007-12-17 03:26:21','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 03:26:21','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53225 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:22','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:22','YYYY-MM-DD HH24:MI:SS'),0,0,53257,53225,'BY','By Product','Y',0,'EE01')
;

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=53257 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:22','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:22','YYYY-MM-DD HH24:MI:SS'),0,0,53258,53225,'CO','Component','Y',0,'EE01')
;

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=53258 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:23','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:23','YYYY-MM-DD HH24:MI:SS'),0,0,53259,53225,'PH','Phantom','Y',0,'EE01')
;

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=53259 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:24','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:24','YYYY-MM-DD HH24:MI:SS'),0,0,53260,53225,'PK','Packing','Y',0,'EE01')
;

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=53260 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:25','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:25','YYYY-MM-DD HH24:MI:SS'),0,0,53261,53225,'PL','Planning','Y',0,'EE01')
;

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=53261 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:26','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:26','YYYY-MM-DD HH24:MI:SS'),0,0,53262,53225,'TL','Tools','Y',0,'EE01')
;

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=53262 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:27','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:27','YYYY-MM-DD HH24:MI:SS'),0,0,53263,53225,'OP','Option','Y',0,'EE01')
;

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=53263 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:26:28','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:28','YYYY-MM-DD HH24:MI:SS'),0,0,53264,53225,'VA','Variant','Y',0,'EE01')
;

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=53264 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)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53249,'ComponentType','ComponentType',0,0,0,0,'ComponentType',TO_DATE('2007-12-17 03:26:29','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:29','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53249 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('ComponentType','N','N','N','CO',53225,0,'Y',53019,53350,'ComponentType',0,0,2,'N',TO_DATE('2007-12-17 03:26:29','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 03:26:29','YYYY-MM-DD HH24:MI:SS'),53249,'Y','N','N',0,'N','N','EE01')
;

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=53350 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 PP_Product_BOMLine ADD ComponentType CHAR(2) DEFAULT 'CO'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53019,53351,'Created',0,0,7,'N',TO_DATE('2007-12-17 03:26:31','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 03:26:31','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53351 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 PP_Product_BOMLine ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53019,53352,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 03:26:33','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 03:26:33','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53352 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 PP_Product_BOMLine ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53019,53353,'Description',0,0,255,'N',TO_DATE('2007-12-17 03:26:34','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 03:26:34','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53353 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 PP_Product_BOMLine ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53250,'Forecast','Forecast',0,0,0,0,'Forecast',TO_DATE('2007-12-17 03:26:35','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:35','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53250 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Forecast','N','N','N',0,'Y',53019,53354,'Forecast',0,0,22,'N',TO_DATE('2007-12-17 03:26:35','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:26:35','YYYY-MM-DD HH24:MI:SS'),53250,'Y','N','N',0,'N','N','EE01')
;

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=53354 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 PP_Product_BOMLine ADD Forecast NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Comment/Help','N','N','Comment or Hint','N','The Help field contains a hint, comment or help about the use of this item.',0,'Y',53019,53355,'Help',0,0,2000,'N',TO_DATE('2007-12-17 03:26:37','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 03:26:37','YYYY-MM-DD HH24:MI:SS'),326,'Y','N','N',0,'N','N','EE01')
;

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=53355 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 PP_Product_BOMLine ADD Help NVARCHAR2(2000)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53019,53356,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 03:26:39','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:26:39','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53356 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 PP_Product_BOMLine ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53251,'IsCritical','IsCritical',0,0,0,0,'IsCritical',TO_DATE('2007-12-17 03:26:40','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:40','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53251 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsCritical','N','N','N','N',0,'Y',53019,53357,'IsCritical',0,0,1,'N',TO_DATE('2007-12-17 03:26:40','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:26:40','YYYY-MM-DD HH24:MI:SS'),53251,'Y','N','N',0,'N','N','EE01')
;

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=53357 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 PP_Product_BOMLine ADD IsCritical CHAR(1) DEFAULT 'N' CHECK (IsCritical IN ('Y','N'))
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53252,'IsQtyPercentage','IsQtyPercentage',0,0,0,0,'IsQtyPercentage',TO_DATE('2007-12-17 03:26:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:43','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53252 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsQtyPercentage','N','N','N',0,'Y',53019,53358,'IsQtyPercentage',0,0,1,'N',TO_DATE('2007-12-17 03:26:43','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:26:43','YYYY-MM-DD HH24:MI:SS'),53252,'Y','N','N',0,'N','N','EE01')
;

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=53358 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 PP_Product_BOMLine ADD IsQtyPercentage CHAR(1) CHECK (IsQtyPercentage IN ('Y','N'))
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,Description,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53226,'L','PP_Product_BOM IssueMethod','Issue Method',0,TO_DATE('2007-12-17 03:26:45','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 03:26:45','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53226 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Issue',TO_DATE('2007-12-17 03:26:46','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:46','YYYY-MM-DD HH24:MI:SS'),0,0,53265,53226,'0','Issue','Y',0,'EE01')
;

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=53265 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)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('BackFlush',TO_DATE('2007-12-17 03:26:47','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:26:47','YYYY-MM-DD HH24:MI:SS'),0,0,53266,53226,'1','BackFlush','Y',0,'EE01')
;

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=53266 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)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53253,'IssueMethod','IssueMethod',0,0,0,0,'IssueMethod',TO_DATE('2007-12-17 03:26:48','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:48','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53253 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IssueMethod','Y','N','N',53226,0,'Y',53019,53359,'IssueMethod',0,0,1,'N',TO_DATE('2007-12-17 03:26:48','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 03:26:48','YYYY-MM-DD HH24:MI:SS'),53253,'Y','N','N',0,'N','N','EE01')
;

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=53359 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 PP_Product_BOMLine ADD IssueMethod CHAR(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Lead Time Offset','N','N','Optional Lead Time offest before starting production','N',0,'Y',53019,53360,'LeadTimeOffset',0,0,10,'N',TO_DATE('2007-12-17 03:26:50','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 03:26:50','YYYY-MM-DD HH24:MI:SS'),2789,'Y','N','N',0,'N','N','EE01')
;

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=53360 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 PP_Product_BOMLine ADD LeadTimeOffset NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Line No','Y','N','Unique line for this document','N','@SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Product_BOMLine WHERE PP_Product_BOMLine_ID=@PP_Product_BOMLine_ID@','Indicates the unique line for a document.  It will also control the display order of the lines within a document.',0,'Y',53019,53361,'Line',0,0,22,'N',TO_DATE('2007-12-17 03:26:52','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 03:26:52','YYYY-MM-DD HH24:MI:SS'),439,'Y','N','N',0,'N','N','EE01')
;

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=53361 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 PP_Product_BOMLine ADD Line NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53019,53362,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 03:26:53','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 03:26:53','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'N','N','EE01')
;

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=53362 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 PP_Product_BOMLine ADD M_AttributeSetInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Change Notice','N','N','Bill of Materials (Engineering) Change Notice (Version)','N',0,'Y',53019,53363,'M_ChangeNotice_ID',0,0,10,'N',TO_DATE('2007-12-17 03:26:54','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:26:54','YYYY-MM-DD HH24:MI:SS'),2783,'Y','N','N',0,'N','N','EE01')
;

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=53363 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 PP_Product_BOMLine ADD M_ChangeNotice_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53019,53364,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 03:26:56','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 03:26:56','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'org.eevolution.model.CalloutBOM.parent','N','N','EE01')
;

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=53364 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 PP_Product_BOMLine ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53254,'PP_Product_BOMLine_ID','PP_Product_BOMLine_ID',0,0,0,0,'PP_Product_BOMLine_ID',TO_DATE('2007-12-17 03:26:57','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:26:57','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53254 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Product_BOMLine_ID','Y','N','N',0,'Y',53019,53365,'PP_Product_BOMLine_ID',0,0,22,'N',TO_DATE('2007-12-17 03:26:57','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 03:26:57','YYYY-MM-DD HH24:MI:SS'),53254,'N','Y','N',0,'N','N','EE01')
;

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=53365 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 PP_Product_BOMLine ADD PP_Product_BOMLine_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Product_BOMLine ADD CONSTRAINT PP_Product_BOMLine_Key PRIMARY KEY (PP_Product_BOMLine_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM & Formaula','Y','N','N',0,'Y',53019,53366,'PP_Product_BOM_ID',0,0,22,'Y',TO_DATE('2007-12-17 03:26:59','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 03:26:59','YYYY-MM-DD HH24:MI:SS'),53245,'N','N','N',0,'N','N','EE01')
;

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=53366 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 PP_Product_BOMLine ADD PP_Product_BOM_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53255,'QtyBOM','QtyBOM',0,0,0,0,'QtyBOM',TO_DATE('2007-12-17 03:27:01','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:27:01','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53255 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBOM','N','N','N',0,'Y',53019,53367,'QtyBOM',0,0,22,'N',TO_DATE('2007-12-17 03:27:01','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 03:27:01','YYYY-MM-DD HH24:MI:SS'),53255,'Y','N','N',0,'N','N','EE01')
;

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=53367 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 PP_Product_BOMLine ADD QtyBOM NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53256,'QtyBatch','QtyBatch',0,0,0,0,'QtyBatch',TO_DATE('2007-12-17 03:27:04','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:27:04','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53256 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatch','N','N','N',0,'Y',53019,53368,'QtyBatch',0,0,22,'N',TO_DATE('2007-12-17 03:27:04','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 03:27:04','YYYY-MM-DD HH24:MI:SS'),53256,'Y','N','N',0,'N','N','EE01')
;

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=53368 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 PP_Product_BOMLine ADD QtyBatch NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53257,'Scrap','Scrap',0,0,0,0,'Scrap',TO_DATE('2007-12-17 03:27:06','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:27:06','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53257 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Scrap','N','N','N',0,'Y',53019,53369,'Scrap',0,0,22,'N',TO_DATE('2007-12-17 03:27:06','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 03:27:06','YYYY-MM-DD HH24:MI:SS'),53257,'Y','N','N',0,'N','N','EE01')
;

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=53369 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 PP_Product_BOMLine ADD Scrap NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53019,53370,'Updated',0,0,7,'N',TO_DATE('2007-12-17 03:27:08','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 03:27:08','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53370 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 PP_Product_BOMLine ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53019,53371,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 03:27:10','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 03:27:10','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53371 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 PP_Product_BOMLine ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','Y','N','Valid from including this date (first day)','N','@#Date@','The Valid From date indicates the first day of a date range',0,'Y',53019,53372,'ValidFrom',0,0,7,'N',TO_DATE('2007-12-17 03:27:11','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 03:27:11','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53372 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 PP_Product_BOMLine ADD ValidFrom DATE DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53019,53373,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 03:27:12','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:27:12','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53373 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 PP_Product_BOMLine ADD AD_Client_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N','The Valid To date indicates the last day of a date range',0,'Y',53019,53374,'ValidTo',0,0,7,'N',TO_DATE('2007-12-17 03:27:14','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 03:27:14','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53374 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 PP_Product_BOMLine ADD ValidTo DATE
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 03:27:15','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:27:15','YYYY-MM-DD HH24:MI:SS'),0,'Components of the BOM & Formula','The information relative to every component that will be used in the BOM & Formula of the finished product.',0,'N','Components of the BOM & Formula',20,53019,53029,53006,'N','N','N','Y','N',NULL,'N','N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53029 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:27:16','YYYY-MM-DD HH24:MI:SS'),0,53481,22,53366,'N',0,TO_DATE('2007-12-17 03:27:16','YYYY-MM-DD HH24:MI:SS'),'BOM & Formaula',53029,'N','N',0,'N','EE01')
;

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=53481 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:27:17','YYYY-MM-DD HH24:MI:SS'),0,53482,22,53365,'N',0,TO_DATE('2007-12-17 03:27:17','YYYY-MM-DD HH24:MI:SS'),'PP_Product_BOMLine_ID',53029,'N','N',0,'N','EE01')
;

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=53482 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:27:18','YYYY-MM-DD HH24:MI:SS'),0,53483,'Client/Tenant for this installation.',22,53373,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 03:27:18','YYYY-MM-DD HH24:MI:SS'),'Client',53029,'N','N',0,'N','EE01')
;

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=53483 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:27:19','YYYY-MM-DD HH24:MI:SS'),0,53484,'Organizational entity within client',22,53346,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 03:27:19','YYYY-MM-DD HH24:MI:SS'),'Organization',53029,'Y','N',0,'N','EE01')
;

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=53484 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:20','YYYY-MM-DD HH24:MI:SS'),0,53485,'Unique line for this document',22,53361,'N',0,'Indicates the unique line for a document.  It will also control the display order of the lines within a document.',TO_DATE('2007-12-17 03:27:20','YYYY-MM-DD HH24:MI:SS'),'Line No',53029,'N','N',10,'N','EE01')
;

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=53485 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:21','YYYY-MM-DD HH24:MI:SS'),0,53486,'Optional short description of the record',510,53353,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 03:27:21','YYYY-MM-DD HH24:MI:SS'),'Description',53029,'N','N',20,'N','EE01')
;

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=53486 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:21','YYYY-MM-DD HH24:MI:SS'),0,53487,'Comment or Hint',2000,53355,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 03:27:21','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53029,'N','N',30,'N','EE01')
;

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=53487 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:22','YYYY-MM-DD HH24:MI:SS'),0,53488,'The record is active in the system',1,53356,'N',0,'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.',TO_DATE('2007-12-17 03:27:22','YYYY-MM-DD HH24:MI:SS'),'Active',53029,'N','N',40,'N','EE01')
;

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=53488 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:23','YYYY-MM-DD HH24:MI:SS'),0,53489,'Bill of Materials (Engineering) Change Notice (Version)',10,53363,'N',0,TO_DATE('2007-12-17 03:27:23','YYYY-MM-DD HH24:MI:SS'),'Change Notice',53029,'Y','N',50,'N','EE01')
;

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=53489 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:27:24','YYYY-MM-DD HH24:MI:SS'),0,53490,'Valid from including this date (first day)',7,53372,'N',0,'The Valid From date indicates the first day of a date range

The Valid From and Valid To dates indicate the valid time period to use the BOM in a Manufacturing Order.',TO_DATE('2007-12-17 03:27:24','YYYY-MM-DD HH24:MI:SS'),'Valid from',53029,'N','N',60,'N','EE01')
;

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=53490 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:25','YYYY-MM-DD HH24:MI:SS'),0,53491,'Valid to including this date (last day)',7,53374,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 03:27:25','YYYY-MM-DD HH24:MI:SS'),'Valid to',53029,'Y','N',70,'N','EE01')
;

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=53491 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:26','YYYY-MM-DD HH24:MI:SS'),0,53492,'Product, Service, Item',22,53364,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 03:27:26','YYYY-MM-DD HH24:MI:SS'),'Product',53029,'N','N',80,'N','EE01')
;

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=53492 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:27','YYYY-MM-DD HH24:MI:SS'),0,53493,'Product Attribute Set Instance',22,53362,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 03:27:27','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53029,'Y','N',90,'N','EE01')
;

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=53493 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:28','YYYY-MM-DD HH24:MI:SS'),0,53494,0,53350,'N',0,TO_DATE('2007-12-17 03:27:28','YYYY-MM-DD HH24:MI:SS'),'ComponentType',53029,'N','N',100,'N','EE01')
;

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=53494 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:29','YYYY-MM-DD HH24:MI:SS'),0,53495,30,53345,'N',0,TO_DATE('2007-12-17 03:27:29','YYYY-MM-DD HH24:MI:SS'),'Feature',53029,'Y','N',110,'N','@ComponentType@=''VA'' & @BOMType@=''C'' | @ComponentType@=''OP'' & @BOMType@=''C''','EE01')
;

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=53495 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:30','YYYY-MM-DD HH24:MI:SS'),0,53496,1,53358,'N',0,TO_DATE('2007-12-17 03:27:30','YYYY-MM-DD HH24:MI:SS'),'IsQtyPercentage',53029,'N','N',120,'N','EE01')
;

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=53496 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:31','YYYY-MM-DD HH24:MI:SS'),0,53497,1,53357,'N',0,TO_DATE('2007-12-17 03:27:31','YYYY-MM-DD HH24:MI:SS'),'IsCritical',53029,'Y','N',130,'N','EE01')
;

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=53497 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:32','YYYY-MM-DD HH24:MI:SS'),0,53498,22,53367,'N',0,TO_DATE('2007-12-17 03:27:32','YYYY-MM-DD HH24:MI:SS'),'QtyBOM',53029,'N','N',140,'N','@IsQtyPercentage@ = N','EE01')
;

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=53498 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:33','YYYY-MM-DD HH24:MI:SS'),0,53499,22,53368,'N',0,TO_DATE('2007-12-17 03:27:33','YYYY-MM-DD HH24:MI:SS'),'QtyBatch',53029,'N','N',150,'N','@IsQtyPercentage@ = Y','EE01')
;

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=53499 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:33','YYYY-MM-DD HH24:MI:SS'),0,53500,'Unit of Measure',22,53349,'Y',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 03:27:33','YYYY-MM-DD HH24:MI:SS'),'UOM',53029,'Y','N',160,'N','EE01')
;

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=53500 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:34','YYYY-MM-DD HH24:MI:SS'),0,53501,22,53347,'N',0,TO_DATE('2007-12-17 03:27:34','YYYY-MM-DD HH24:MI:SS'),'Assay',53029,'N','N',170,'N','EE01')
;

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=53501 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:35','YYYY-MM-DD HH24:MI:SS'),0,53502,22,53369,'N',0,TO_DATE('2007-12-17 03:27:35','YYYY-MM-DD HH24:MI:SS'),'Scrap',53029,'Y','N',180,'N','EE01')
;

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=53502 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:36','YYYY-MM-DD HH24:MI:SS'),0,53503,1,53359,'N',0,TO_DATE('2007-12-17 03:27:36','YYYY-MM-DD HH24:MI:SS'),'IssueMethod',53029,'N','N',190,'N','EE01')
;

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=53503 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:37','YYYY-MM-DD HH24:MI:SS'),0,53504,'Optional Lead Time offest before starting production',10,53360,'N',0,TO_DATE('2007-12-17 03:27:37','YYYY-MM-DD HH24:MI:SS'),'Lead Time Offset',53029,'Y','N',200,'N','EE01')
;

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=53504 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:38','YYYY-MM-DD HH24:MI:SS'),0,53505,20,53348,'N',0,TO_DATE('2007-12-17 03:27:38','YYYY-MM-DD HH24:MI:SS'),'BackflushGroup',53029,'N','N',210,'N','EE01')
;

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=53505 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:27:39','YYYY-MM-DD HH24:MI:SS'),0,53506,22,53354,'N',0,TO_DATE('2007-12-17 03:27:39','YYYY-MM-DD HH24:MI:SS'),'Forecast',53029,'Y','N',220,'N','EE01')
;

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=53506 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_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,Help,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.VTreeBOM',0,TO_DATE('2007-12-17 03:27:40','YYYY-MM-DD HH24:MI:SS'),0,0,'BOM & Formula Info','Shows in two different panels the parent-component relationship for the product entered in the Product field.',53001,TO_DATE('2007-12-17 03:27:40','YYYY-MM-DD HH24:MI:SS'),'Y','The BOM & Formula Review option menu shows in two different panels the parent-component relationship for the product entered in the Product field.

You need to introduce the parent product you want to see its components then click the OK button, next drag the left margin of the panel to the right and you will have the two panels.

When you need to consult an implosion, click the implosion check box and enter the component you wish to consult and tick the Implosion check box.

You need to introduce the parent product you want to see its components then click the OK button, next drag the left margin of the panel to the right and you will have the two panels.

The left panel shows the BOM hierarchies in a tree form. The right panel shows the information connected with the BOM for every product in it','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53001 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53001,0,0,0,0,'Y',TO_DATE('2007-12-17 03:27:41','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:27:41','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Multi Level BOM & Formula Detail',0,0,0,'Shows in two different panels the parent-component relationship for the product entered in the Product field.',TO_DATE('2007-12-17 03:27:41','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.PrintBOM',53006,TO_DATE('2007-12-17 03:27:41','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','The BOM & Formula Review option menu shows in two different panels the parent-component relationship for the product entered in the Product field.

You need to introduce the parent product you want to see its components then click the OK button, next drag the left margin of the panel to the right and you will have the two panels.

When you need to consult an implosion, click the implosion check box and enter the component you wish to consult and tick the Implosion check box.

You need to introduce the parent product you want to see its components then click the OK button, next drag the left margin of the panel to the right and you will have the two panels.

The left panel shows the BOM hierarchies in a tree form. The right panel shows the information connected with the BOM for every product in it.','Y','N','3',0,'PP_Multi Level BOM & Formula','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53006 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,DefaultValue,IsMandatory,SeqNo,EntityType) VALUES (53028,0,0,'Implotion','Y',1,53006,TO_DATE('2007-12-17 03:27:42','YYYY-MM-DD HH24:MI:SS'),'Implotion','Y','N',0,0,20,TO_DATE('2007-12-17 03:27:42','YYYY-MM-DD HH24:MI:SS'),'N','N',20,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53028 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53029,0,0,'Product','Y',22,'Product, Service, Item','Identifies an item which is either purchased or sold in this organization.',53006,TO_DATE('2007-12-17 03:27:43','YYYY-MM-DD HH24:MI:SS'),'M_Product_ID','Y','N',0,0,162,30,TO_DATE('2007-12-17 03:27:43','YYYY-MM-DD HH24:MI:SS'),'Y',10,454,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53029 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)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Mutiple Components Change',0,0,0,'This option allows the change of any component into BOM or Formula',TO_DATE('2007-12-17 03:27:44','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.ComponentChange',53008,TO_DATE('2007-12-17 03:27:44','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This option allows the change of any component into BOM or Formula','N','N','3',0,'PP_Mutiple Components Change','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53008 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53030,0,0,'NewProduct','Y',0,53008,TO_DATE('2007-12-17 03:27:45','YYYY-MM-DD HH24:MI:SS'),'M_Product_ID','N','N',0,0,19,TO_DATE('2007-12-17 03:27:45','YYYY-MM-DD HH24:MI:SS'),'N',40,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53030 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53031,0,0,'Valid to','Y',10,'Valid to including this date (last day)','The Valid To date indicates the last day of a date range',53008,TO_DATE('2007-12-17 03:27:46','YYYY-MM-DD HH24:MI:SS'),'ValidTo','Y','N',0,0,15,TO_DATE('2007-12-17 03:27:46','YYYY-MM-DD HH24:MI:SS'),'N',10,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53031 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)
;

INSERT INTO AD_Reference (AD_Reference_ID,Help,ValidationType,Name,Description,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53227,'Component Change','L','PP_Product_BOM Component Change','Component Change',0,TO_DATE('2007-12-17 03:27:47','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 03:27:47','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53227 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:27:48','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:27:48','YYYY-MM-DD HH24:MI:SS'),0,0,53267,53227,'A','Add','Y',0,'EE01')
;

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=53267 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:27:49','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:27:49','YYYY-MM-DD HH24:MI:SS'),0,0,53268,53227,'D','Deactivate','Y',0,'EE01')
;

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=53268 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:27:50','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:27:50','YYYY-MM-DD HH24:MI:SS'),0,0,53269,53227,'E','Expire','Y',0,'EE01')
;

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=53269 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:27:51','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:27:51','YYYY-MM-DD HH24:MI:SS'),0,0,53270,53227,'R','Replace','Y',0,'EE01')
;

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=53270 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:27:53','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:27:53','YYYY-MM-DD HH24:MI:SS'),0,0,53271,53227,'RE','Replace & Expire','Y',0,'EE01')
;

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=53271 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53032,0,0,'Action','Y',0,53008,TO_DATE('2007-12-17 03:27:54','YYYY-MM-DD HH24:MI:SS'),'Action','N','N',0,0,53227,17,TO_DATE('2007-12-17 03:27:54','YYYY-MM-DD HH24:MI:SS'),'N',30,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53032 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)
;

INSERT INTO AD_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,Help,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.VProductConfigurationBOM',0,TO_DATE('2007-12-17 03:27:54','YYYY-MM-DD HH24:MI:SS'),0,0,'Product Configuration BOM','This form let create a product configure with multy level using options and variants',53002,TO_DATE('2007-12-17 03:27:54','YYYY-MM-DD HH24:MI:SS'),'Y','A configurable Bill of Material (CBOM) is used by industries that have multiple options and highly configurable products.

The CBOM is used to dynamically create "end-items" that a company sells. The benefit of using CBOM structure is it reduces the work-effort needed to maintain product structures. The configurable BOM is most frequently driven by "configurator" software, however it can be enabled manually (manual maintenance is infrequent because its unwieldy to manage the number of permutaions and combinations of possible configurations) The development of the CBOM is dependent on having a Modular BOM structure in place (see Modular BOM). The Modular BOM structure provides the assemblies/sub-systems that can be selected to "configure" an end-item.','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53002 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53002,0,0,0,0,'Y',TO_DATE('2007-12-17 03:27:56','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:27:56','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Workflow (Created,IsActive,AD_Client_ID,AD_Workflow_ID,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,UpdatedBy,AccessLevel,WorkflowType,Limit,DurationUnit,WaitingTime,Version,Cost,Author,Priority,PublishStatus,WorkingTime,Duration,IsValid,IsDefault,Value,EntityType) VALUES (TO_DATE('2007-12-17 03:28:05','YYYY-MM-DD HH24:MI:SS'),'Y',0,50003,'Setup Planning Management','Before the production processes can be done, it is necessary to plan the activities which must be accomplished to assure the products can be gotten at the right time in order not to remain a long time in the warehouse, or at the contrary, to cause delays in shipments because components shortages in the manufacturing order.

Another subject to take into account are the production cost and the capacity of shipping good quality products.

Using Planning Management you answer the question: When and How Many products we must get?','Planning Management Setup',0,TO_DATE('2007-12-17 03:28:05','YYYY-MM-DD HH24:MI:SS'),0,0,'3','G',0,'D',0,0,0,'Victor Perez',0,'R',0,0,'N','N','Setup Planning Management','EE01')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_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_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50003 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50003,0,0,0,TO_DATE('2007-12-17 03:28:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 03:28:06','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50003,'N',TO_DATE('2007-12-17 03:28:07','YYYY-MM-DD HH24:MI:SS'),'Setup Material Requirement Planning','Y',0,0,50009,'F','Material Requirement Planning Setup',0,TO_DATE('2007-12-17 03:28:07','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Setup Material Requirement Planning','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50009 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50003,'N',TO_DATE('2007-12-17 03:28:07','YYYY-MM-DD HH24:MI:SS'),'Setup Capacity Requirement Planning','Y',0,0,50010,'F','Capacity Requirement Planning Setup',0,TO_DATE('2007-12-17 03:28:07','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Setup Capacity Requirement Planning','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50010 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Workflow_ID,IsCentrallyMaintained,Created,Description,IsActive,AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,Action,AD_Window_ID,Name,CreatedBy,Updated,UpdatedBy,XPosition,WorkingTime,Value,SplitElement,YPosition,Duration,DocAction,Priority,WaitingTime,JoinElement,WaitTime,Cost,DynPriorityChange,EntityType) VALUES (50003,'N',TO_DATE('2007-12-17 03:28:08','YYYY-MM-DD HH24:MI:SS'),'Forecast','Y',0,0,50011,'W',328,'Forecast',0,TO_DATE('2007-12-17 03:28:08','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Forecast','X',0,0,'CO',0,0,'X',0,0,0,'EE01')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_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_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50011 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50003,'EE01','N',50011,10,50009,0,0,TO_DATE('2007-12-17 03:28:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 03:28:09','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 03:28:10','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:28:10','YYYY-MM-DD HH24:MI:SS'),0,'Product Planning',53007,'M','in the Window Product Planning you enter the product information which will serve as a base to execute the algorithms of Material Requirement Planning, along with MPS, open orders and inventories',0,0,'Maintain Product Planning','Y','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53007 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),53007,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),53007,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),53007,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),53007,'Y',0,0,50001)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Data Product Planning','3','Y','N','Y','PP_Product_Planning',TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),53020,0,TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53020 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Product_Planning',0,0,'PP_Product_Planning',50000,1000000,'Y',53017,TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:28:11','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='AD_Client.AD_Client_ID <> 0', Name='AD_Client Trx Security validation', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 03:28:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=129
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53020,53375,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 03:28:20','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 03:28:20','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53375 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Product_Planning (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53020,53376,'AD_Org_ID',0,0,10,'N',TO_DATE('2007-12-17 03:28:27','YYYY-MM-DD HH24:MI:SS'),'Y',19,202,0,TO_DATE('2007-12-17 03:28:27','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53376 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 PP_Product_Planning ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow','N','N','Workflow or combination of tasks','N','The Workflow field identifies a unique Workflow in the system.',0,'Y',53020,53377,'AD_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 03:28:28','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:28:28','YYYY-MM-DD HH24:MI:SS'),144,'Y','N','N',0,'N','N','EE01')
;

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=53377 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 PP_Product_Planning ADD AD_Workflow_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53020,53378,'Created',0,0,20,'N',TO_DATE('2007-12-17 03:28:30','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 03:28:30','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53378 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 PP_Product_Planning ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53020,53379,'CreatedBy',0,0,20,'N',TO_DATE('2007-12-17 03:28:31','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 03:28:31','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53379 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 PP_Product_Planning ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Promised Delivery Time','N','N','Promised days between order and delivery','N','The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.',0,'Y',53020,53380,'DeliveryTime_Promised',0,0,10,'N',TO_DATE('2007-12-17 03:28:32','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:28:32','YYYY-MM-DD HH24:MI:SS'),1256,'Y','N','N',0,'N','N','EE01')
;

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=53380 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 PP_Product_Planning ADD DeliveryTime_Promised NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53020,53381,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 03:28:34','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:34','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53381 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 PP_Product_Planning ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53258,'IsCreatePlan','IsCreatePlan',0,0,0,0,'IsCreatePlan',TO_DATE('2007-12-17 03:28:36','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:28:36','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53258 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsCreatePlan','Y','N','N',0,'Y',53020,53382,'IsCreatePlan',0,0,1,'N',TO_DATE('2007-12-17 03:28:36','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:36','YYYY-MM-DD HH24:MI:SS'),53258,'Y','N','N',0,'N','N','EE01')
;

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=53382 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 PP_Product_Planning ADD IsCreatePlan CHAR(1) CHECK (IsCreatePlan IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53259,'IsDemand','IsDemand',0,0,0,0,'IsDemand',TO_DATE('2007-12-17 03:28:40','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:28:40','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53259 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsDemand','N','N','N','N',0,'Y',53020,53383,'IsDemand',0,0,1,'N',TO_DATE('2007-12-17 03:28:40','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:40','YYYY-MM-DD HH24:MI:SS'),53259,'Y','N','N',0,'N','N','EE01')
;

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=53383 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 PP_Product_Planning ADD IsDemand CHAR(1) DEFAULT 'N' CHECK (IsDemand IN ('Y','N'))
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53260,'IsIssue','IsIssue',0,0,0,0,'IsIssue',TO_DATE('2007-12-17 03:28:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:28:43','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53260 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsIssue','Y','N','N','Y',0,'Y',53020,53384,'IsIssue',0,0,1,'N',TO_DATE('2007-12-17 03:28:43','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:43','YYYY-MM-DD HH24:MI:SS'),53260,'Y','N','N',0,'N','N','EE01')
;

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=53384 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 PP_Product_Planning ADD IsIssue CHAR(1) DEFAULT 'Y' CHECK (IsIssue IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53261,'IsMPS','IsMPS',0,0,0,0,'IsMPS',TO_DATE('2007-12-17 03:28:45','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:28:45','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53261 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsMPS','N','N','N',0,'Y',53020,53385,'IsMPS',0,0,1,'N',TO_DATE('2007-12-17 03:28:45','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:45','YYYY-MM-DD HH24:MI:SS'),53261,'Y','N','N',0,'N','N','EE01')
;

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=53385 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 PP_Product_Planning ADD IsMPS CHAR(1) CHECK (IsMPS IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Phantom','Y','N','Phantom Component','N','Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.',0,'Y',53020,53386,'IsPhantom',0,0,1,'N',TO_DATE('2007-12-17 03:28:47','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:47','YYYY-MM-DD HH24:MI:SS'),2788,'Y','N','N',0,'N','N','EE01')
;

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=53386 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 PP_Product_Planning ADD IsPhantom CHAR(1) CHECK (IsPhantom IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53262,'IsRequiredMRP','IsRequiredMRP',0,0,0,0,'IsRequiredMRP',TO_DATE('2007-12-17 03:28:48','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:28:48','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53262 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsRequiredMRP','Y','N','N',0,'Y',53020,53387,'IsRequiredMRP',0,0,1,'N',TO_DATE('2007-12-17 03:28:48','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:48','YYYY-MM-DD HH24:MI:SS'),53262,'N','N','N',0,'N','N','EE01')
;

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=53387 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 PP_Product_Planning ADD IsRequiredMRP CHAR(1) CHECK (IsRequiredMRP IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53263,'IsSupply','IsSupply',0,0,0,0,'IsSupply',TO_DATE('2007-12-17 03:28:51','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:28:51','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53263 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsSupply','N','N','N','N',0,'Y',53020,53388,'IsSupply',0,0,1,'N',TO_DATE('2007-12-17 03:28:51','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:28:51','YYYY-MM-DD HH24:MI:SS'),53263,'Y','N','N',0,'N','N','EE01')
;

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=53388 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 PP_Product_Planning ADD IsSupply CHAR(1) DEFAULT 'N' CHECK (IsSupply IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53020,53389,'M_Product_ID',0,0,22,'Y',TO_DATE('2007-12-17 03:28:53','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:28:53','YYYY-MM-DD HH24:MI:SS'),454,'N','N','N',0,'N','N','EE01')
;

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=53389 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 PP_Product_Planning ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','Y','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',53020,53390,'M_Warehouse_ID',0,0,22,'N',TO_DATE('2007-12-17 03:28:55','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:28:55','YYYY-MM-DD HH24:MI:SS'),459,'N','N','N',0,'N','N','EE01')
;

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=53390 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 PP_Product_Planning ADD M_Warehouse_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53264,'Order_Max','Order_Max',0,0,0,0,'Order_Max',TO_DATE('2007-12-17 03:28:56','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:28:56','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53264 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order_Max','N','N','N',0,'Y',53020,53391,'Order_Max',0,0,10,'N',TO_DATE('2007-12-17 03:28:56','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:28:56','YYYY-MM-DD HH24:MI:SS'),53264,'Y','N','N',0,'N','N','EE01')
;

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=53391 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 PP_Product_Planning ADD Order_Max NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Minimum Order Qty','N','N','Minimum order quantity in UOM','N','The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.',0,'Y',53020,53392,'Order_Min',0,0,14,'N',TO_DATE('2007-12-17 03:28:59','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:28:59','YYYY-MM-DD HH24:MI:SS'),942,'Y','N','N',0,'N','N','EE01')
;

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=53392 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 PP_Product_Planning ADD Order_Min NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order Pack Qty','N','N','Package order size in UOM (e.g. order set of 5 units)','N','The Order Pack Quantity indicates the number of units in each pack of this product.',0,'Y',53020,53393,'Order_Pack',0,0,14,'N',TO_DATE('2007-12-17 03:29:00','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:29:00','YYYY-MM-DD HH24:MI:SS'),943,'Y','N','N',0,'N','N','EE01')
;

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=53393 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 PP_Product_Planning ADD Order_Pack NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53265,'Order_Period','Order_Period',0,0,0,0,'Order_Period',TO_DATE('2007-12-17 03:29:02','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:02','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53265 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order_Period','N','N','N',0,'Y',53020,53394,'Order_Period',0,0,22,'N',TO_DATE('2007-12-17 03:29:02','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:29:02','YYYY-MM-DD HH24:MI:SS'),53265,'Y','N','N',0,'N','N','EE01')
;

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=53394 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 PP_Product_Planning ADD Order_Period NUMBER
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53228,'L','PP_Product_Planning Order Policy',0,TO_DATE('2007-12-17 03:29:04','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 03:29:04','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53228 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:29:05','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:29:05','YYYY-MM-DD HH24:MI:SS'),0,0,53272,53228,'FQ','Order Fixed Quantity','Y',0,'EE01')
;

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=53272 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:29:07','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:29:07','YYYY-MM-DD HH24:MI:SS'),0,0,53273,53228,'LFL','Lote For Lote','Y',0,'EE01')
;

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=53273 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 03:29:07','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:29:07','YYYY-MM-DD HH24:MI:SS'),0,0,53274,53228,'POQ','Period Order Quantity','Y',0,'EE01')
;

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=53274 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)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53266,'Order_Policy','Order_Policy',0,0,0,0,'Order_Policy',TO_DATE('2007-12-17 03:29:08','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:08','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53266 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order_Policy','N','N','N',53228,0,'Y',53020,53395,'Order_Policy',0,0,3,'N',TO_DATE('2007-12-17 03:29:08','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 03:29:08','YYYY-MM-DD HH24:MI:SS'),53266,'Y','N','N',0,'N','N','EE01')
;

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=53395 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 PP_Product_Planning ADD Order_Policy CHAR(3)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53267,'Order_Qty','Order_Qty',0,0,0,0,'Order_Qty',TO_DATE('2007-12-17 03:29:10','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:10','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53267 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order_Qty','N','N','N',0,'Y',53020,53396,'Order_Qty',0,0,22,'N',TO_DATE('2007-12-17 03:29:10','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:29:10','YYYY-MM-DD HH24:MI:SS'),53267,'Y','N','N',0,'N','N','EE01')
;

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=53396 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 PP_Product_Planning ADD Order_Qty NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM & Formaula','N','N','N',0,'Y',53020,53397,'PP_Product_BOM_ID',0,0,22,'N',TO_DATE('2007-12-17 03:29:13','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:29:13','YYYY-MM-DD HH24:MI:SS'),53245,'Y','N','N',0,'N','N','EE01')
;

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=53397 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 PP_Product_Planning ADD PP_Product_BOM_ID NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53268,'PP_Product_Planning_ID','PP_Product_Planning_ID',0,0,0,0,'PP_Product_Planning_ID',TO_DATE('2007-12-17 03:29:15','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:15','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53268 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Product_Planning_ID','Y','N','N',0,'Y',53020,53398,'PP_Product_Planning_ID',0,0,22,'N',TO_DATE('2007-12-17 03:29:15','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 03:29:15','YYYY-MM-DD HH24:MI:SS'),53268,'N','Y','N',0,'N','N','EE01')
;

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=53398 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 PP_Product_Planning ADD PP_Product_Planning_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Product_Planning ADD CONSTRAINT PP_Product_Planning_Key PRIMARY KEY (PP_Product_Planning_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53269,'Planner_ID','Planner_ID',0,0,0,0,'Planner_ID',TO_DATE('2007-12-17 03:29:18','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:18','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53269 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Planner_ID','N','N','N',110,0,'Y',53020,53399,'Planner_ID',0,0,22,'N',TO_DATE('2007-12-17 03:29:18','YYYY-MM-DD HH24:MI:SS'),'Y',18,164,0,TO_DATE('2007-12-17 03:29:18','YYYY-MM-DD HH24:MI:SS'),53269,'Y','N','N',0,'N','N','EE01')
;

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=53399 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 PP_Product_Planning ADD Planner_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','Y','N','Resource','N',0,'Y',53020,53400,'S_Resource_ID',0,0,22,'N',TO_DATE('2007-12-17 03:29:21','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 03:29:21','YYYY-MM-DD HH24:MI:SS'),1777,'N','N','N',0,'N','N','EE01')
;

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=53400 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 PP_Product_Planning ADD S_Resource_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53270,'TimeFence','TimeFence',0,0,0,0,'TimeFence',TO_DATE('2007-12-17 03:29:22','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:22','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53270 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('TimeFence','N','N','N',0,'Y',53020,53401,'TimeFence',0,0,22,'N',TO_DATE('2007-12-17 03:29:22','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:29:22','YYYY-MM-DD HH24:MI:SS'),53270,'Y','N','N',0,'N','N','EE01')
;

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=53401 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 PP_Product_Planning ADD TimeFence NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53271,'TransfertTime','TransfertTime',0,0,0,0,'TransfertTime',TO_DATE('2007-12-17 03:29:25','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:25','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53271 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('TransfertTime','N','N','N',0,'Y',53020,53402,'TransfertTime',0,0,10,'N',TO_DATE('2007-12-17 03:29:25','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:29:25','YYYY-MM-DD HH24:MI:SS'),53271,'Y','N','N',0,'N','N','EE01')
;

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=53402 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 PP_Product_Planning ADD TransfertTime NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53020,53403,'Updated',0,0,22,'N',TO_DATE('2007-12-17 03:29:30','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 03:29:30','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53403 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 PP_Product_Planning ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53020,53404,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 03:29:32','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 03:29:32','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53404 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 PP_Product_Planning ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Working Time','N','N','Workflow Simulation Execution Time','N','Amount of time the performer of the activity needs to perform the task in Duration Unit',0,'Y',53020,53405,'WorkingTime',0,0,22,'N',TO_DATE('2007-12-17 03:29:33','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 03:29:33','YYYY-MM-DD HH24:MI:SS'),2333,'Y','N','N',0,'N','N','EE01')
;

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=53405 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 PP_Product_Planning ADD WorkingTime NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53272,'Yield','Yield',0,0,0,0,'Yield',TO_DATE('2007-12-17 03:29:35','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:29:35','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53272 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Yield','N','N','N',0,'Y',53020,53406,'Yield',0,0,22,'N',TO_DATE('2007-12-17 03:29:35','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 03:29:35','YYYY-MM-DD HH24:MI:SS'),53272,'Y','N','N',0,'N','N','EE01')
;

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=53406 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 PP_Product_Planning ADD Yield NUMBER(10)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 03:29:37','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:29:37','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Data Planning',20,53020,53030,53007,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53030 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 03:29:38','YYYY-MM-DD HH24:MI:SS'),0,53507,22,53398,'N',0,TO_DATE('2007-12-17 03:29:38','YYYY-MM-DD HH24:MI:SS'),'PP_Product_Planning_ID',53030,'N','N',0,'N','EE01')
;

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=53507 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:39','YYYY-MM-DD HH24:MI:SS'),0,53508,'Client/Tenant for this installation.',0,53375,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 03:29:39','YYYY-MM-DD HH24:MI:SS'),'Client',53030,'N','N',10,'N','EE01')
;

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=53508 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:40','YYYY-MM-DD HH24:MI:SS'),0,53509,'Organizational entity within client',0,53376,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 03:29:40','YYYY-MM-DD HH24:MI:SS'),'Organization',53030,'Y','N',20,'N','EE01')
;

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=53509 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:41','YYYY-MM-DD HH24:MI:SS'),0,53510,'Product, Service, Item',0,53389,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 03:29:41','YYYY-MM-DD HH24:MI:SS'),'Product',53030,'N','N',30,'N','EE01')
;

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=53510 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:43','YYYY-MM-DD HH24:MI:SS'),0,53511,'The record is active in the system',1,53381,'N',0,'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.',TO_DATE('2007-12-17 03:29:43','YYYY-MM-DD HH24:MI:SS'),'Active',53030,'N','N',40,'N','EE01')
;

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=53511 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:29:43','YYYY-MM-DD HH24:MI:SS'),0,53512,'Storage Warehouse and Service Point',0,53390,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.

Warehouse place where you locate and control the products',TO_DATE('2007-12-17 03:29:43','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53030,'N','N',50,'N','EE01')
;

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=53512 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:29:44','YYYY-MM-DD HH24:MI:SS'),0,53513,'Resource',0,53400,'N',0,'A manufacturing resource is a place where a product will be made.',TO_DATE('2007-12-17 03:29:44','YYYY-MM-DD HH24:MI:SS'),'Resource',53030,'Y','N',60,'N','EE01')
;

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=53513 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:45','YYYY-MM-DD HH24:MI:SS'),0,53514,1,53383,'N',0,TO_DATE('2007-12-17 03:29:45','YYYY-MM-DD HH24:MI:SS'),'IsDemand',53030,'N','N',70,'N','EE01')
;

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=53514 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:46','YYYY-MM-DD HH24:MI:SS'),0,53515,1,53388,'N',0,TO_DATE('2007-12-17 03:29:46','YYYY-MM-DD HH24:MI:SS'),'IsSupply',53030,'Y','N',80,'N','EE01')
;

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=53515 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:47','YYYY-MM-DD HH24:MI:SS'),0,53516,22,53399,'N',0,TO_DATE('2007-12-17 03:29:47','YYYY-MM-DD HH24:MI:SS'),'Planner_ID',53030,'N','N',90,'N','EE01')
;

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=53516 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:29:48','YYYY-MM-DD HH24:MI:SS'),0,53517,30,53397,'N',0,'The name BOM/Formula that you introduce in this window will be considered the default BOM to produce the product in this Organization-Plant-Warehouse. If you do not fill this field the default BOM & Formula for the entity will be the BOM/Formula which has the same name as the product.',TO_DATE('2007-12-17 03:29:48','YYYY-MM-DD HH24:MI:SS'),'BOM & Formula',53030,'N','N',100,'N','EE01')
;

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=53517 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:29:49','YYYY-MM-DD HH24:MI:SS'),0,53518,'Workflow or combination of tasks',30,53377,'N',0,'The Workflow field identifies a unique Workflow in the system.

The Workflow you introduce in this window will be considered the default Workflow to produce the product in this Organization-Plant-Warehouse. If you do not fill this field the defaul Workflow for the entity will be the Workflow with the same name as the product.',TO_DATE('2007-12-17 03:29:49','YYYY-MM-DD HH24:MI:SS'),'Workflow',53030,'N','N',110,'N','EE01')
;

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=53518 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:50','YYYY-MM-DD HH24:MI:SS'),0,53519,1,53385,'N',0,TO_DATE('2007-12-17 03:29:50','YYYY-MM-DD HH24:MI:SS'),'IsMPS',53030,'N','N',120,'N','EE01')
;

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=53519 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:51','YYYY-MM-DD HH24:MI:SS'),0,53520,1,53382,'N',0,TO_DATE('2007-12-17 03:29:51','YYYY-MM-DD HH24:MI:SS'),'IsCreatePlan',53030,'Y','N',130,'N','EE01')
;

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=53520 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:52','YYYY-MM-DD HH24:MI:SS'),0,53521,1,53387,'N',0,TO_DATE('2007-12-17 03:29:52','YYYY-MM-DD HH24:MI:SS'),'IsRequiredMRP',53030,'N','N',140,'Y','EE01')
;

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=53521 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:53','YYYY-MM-DD HH24:MI:SS'),0,53522,0,53401,'N',0,TO_DATE('2007-12-17 03:29:53','YYYY-MM-DD HH24:MI:SS'),'TimeFence',53030,'Y','N',150,'N','EE01')
;

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=53522 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:29:53','YYYY-MM-DD HH24:MI:SS'),0,53523,'Promised days between order and delivery',0,53380,'N',0,'The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.

You must enter the average number of days to receive the product in the warehouse since you approve the requisition or manufacturing order until you receive the material in the warehouse . If the product is bought you must register the calendar days required since you make the PO until you receive the material in the warehouse. If the product is manufactured in your plant you must register the number of working days since you release the MO until you receive the material in the warehouse.',TO_DATE('2007-12-17 03:29:53','YYYY-MM-DD HH24:MI:SS'),'Promised Delivery Time',53030,'N','N',160,'N','EE01')
;

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=53523 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:55','YYYY-MM-DD HH24:MI:SS'),0,53524,10,53402,'N',0,TO_DATE('2007-12-17 03:29:55','YYYY-MM-DD HH24:MI:SS'),'TransfertTime',53030,'Y','N',170,'N','EE01')
;

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=53524 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:56','YYYY-MM-DD HH24:MI:SS'),0,53525,0,53395,'N',0,TO_DATE('2007-12-17 03:29:56','YYYY-MM-DD HH24:MI:SS'),'Order_Policy',53030,'N','N',180,'N','EE01')
;

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=53525 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:57','YYYY-MM-DD HH24:MI:SS'),0,53526,22,53394,'N',0,TO_DATE('2007-12-17 03:29:57','YYYY-MM-DD HH24:MI:SS'),'Order_Period',53030,'Y','N',190,'N','EE01')
;

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=53526 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:57','YYYY-MM-DD HH24:MI:SS'),0,53527,1,53384,'N',0,TO_DATE('2007-12-17 03:29:57','YYYY-MM-DD HH24:MI:SS'),'IsIssue',53030,'N','N',200,'N','EE01')
;

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=53527 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:29:59','YYYY-MM-DD HH24:MI:SS'),0,53528,'Phantom Component',1,53386,'N',0,'Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.',TO_DATE('2007-12-17 03:29:59','YYYY-MM-DD HH24:MI:SS'),'Phantom',53030,'Y','N',210,'N','EE01')
;

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=53528 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:30:00','YYYY-MM-DD HH24:MI:SS'),0,53529,22,53396,'N',0,TO_DATE('2007-12-17 03:30:00','YYYY-MM-DD HH24:MI:SS'),'Order_Qty',53030,'N','N',220,'N','EE01')
;

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=53529 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:30:03','YYYY-MM-DD HH24:MI:SS'),0,53530,'Package order size in UOM (e.g. order set of 5 units)',0,53393,'N',0,'The Order Pack Quantity indicates the number of units in each pack of this product.',TO_DATE('2007-12-17 03:30:03','YYYY-MM-DD HH24:MI:SS'),'Order Pack Qty',53030,'Y','N',230,'N','EE01')
;

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=53530 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:30:12','YYYY-MM-DD HH24:MI:SS'),0,53531,'Minimum order quantity in UOM',0,53392,'N',0,'The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.',TO_DATE('2007-12-17 03:30:12','YYYY-MM-DD HH24:MI:SS'),'Minimum Order Qty',53030,'N','N',240,'N','EE01')
;

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=53531 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:30:16','YYYY-MM-DD HH24:MI:SS'),0,53532,10,53391,'N',0,TO_DATE('2007-12-17 03:30:16','YYYY-MM-DD HH24:MI:SS'),'Order_Max',53030,'Y','N',250,'N','EE01')
;

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=53532 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 03:30:16','YYYY-MM-DD HH24:MI:SS'),0,53533,'Workflow Simulation Execution Time',22,53405,'N',0,'Amount of time the performer of the activity needs to perform the task in Duration Unit

In the field Working Time you enter the accumulated time (using the Promising Delivery Time) in the critical path of the BOM for this product. It is the required time to produce the product as if you would not have any component on hand.',TO_DATE('2007-12-17 03:30:16','YYYY-MM-DD HH24:MI:SS'),'Working Time',53030,'N','N',260,'N','EE01')
;

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=53533 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:30:17','YYYY-MM-DD HH24:MI:SS'),0,53534,22,53406,'N',0,TO_DATE('2007-12-17 03:30:17','YYYY-MM-DD HH24:MI:SS'),'Yield',53030,'Y','N',270,'N','EE01')
;

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=53534 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_Table SET Name='Product Purchasing', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=140, IsDeleteable='Y', TableName='M_Product_PO', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 03:30:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=210
;

UPDATE AD_Column SET Name='Royalty Amount', IsMandatory='N', IsTranslated='N', Description='(Included) Amount for copyright, etc.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='RoyaltyAmt', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=1918, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:31:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7964
;

UPDATE AD_Field SET Name='Royalty Amount', Description='(Included) Amount for copyright, etc.', Help=NULL WHERE AD_Column_ID=7964 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Manufacturer', IsMandatory='N', IsTranslated='N', Description='Manufacturer of the Product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='Manufacturer', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1915, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:31:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7965
;

UPDATE AD_Field SET Name='Manufacturer', Description='Manufacturer of the Product', Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)' WHERE AD_Column_ID=7965 AND IsCentrallyMaintained='Y'
;

ALTER TABLE M_PRODUCT_PO MODIFY Manufacturer CHAR(30) DEFAULT  NULL 
;

UPDATE AD_Column SET Name='Last Invoice Price', IsMandatory='N', IsTranslated='N', Description='Price of the last invoice for the product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Last Invoice Price indicates the last price paid (per the invoice) for this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='PriceLastInv', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=37, AD_Val_Rule_ID=NULL, AD_Element_ID=1740, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6712
;

UPDATE AD_Field SET Name='Last Invoice Price', Description='Price of the last invoice for the product', Help='The Last Invoice Price indicates the last price paid (per the invoice) for this product.' WHERE AD_Column_ID=6712 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Currency', IsMandatory='N', IsTranslated='N', Description='The Currency for this record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Indicates the Currency to be used when processing or reporting on this record', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='C_Currency_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=193, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:32:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3910
;

UPDATE AD_Field SET Name='Currency', Description='The Currency for this record', Help='Indicates the Currency to be used when processing or reporting on this record' WHERE AD_Column_ID=3910 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='UOM', IsMandatory='N', IsTranslated='N', Description='Unit of Measure', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The UOM defines a unique non monetary Unit of Measure', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='C_UOM_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=215, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2706
;

UPDATE AD_Field SET Name='UOM', Description='Unit of Measure', Help='The UOM defines a unique non monetary Unit of Measure' WHERE AD_Column_ID=2706 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Cost per Order', IsMandatory='N', IsTranslated='N', Description='Fixed Cost Per Order', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Cost Per Order indicates the fixed charge levied when an order for this product is placed.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='CostPerOrder', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=37, AD_Val_Rule_ID=NULL, AD_Element_ID=1254, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:33:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4379
;

UPDATE AD_Field SET Name='Cost per Order', Description='Fixed Cost Per Order', Help='The Cost Per Order indicates the fixed charge levied when an order for this product is placed.' WHERE AD_Column_ID=4379 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:33:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2313
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=2313 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:33:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2314
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=2314 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Actual Delivery Time', IsMandatory='N', IsTranslated='N', Description='Actual days between order and delivery', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Actual Delivery Time indicates the number of days elapsed between placing an order and the delivery of the order', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='DeliveryTime_Actual', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1255, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:34:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4378
;

UPDATE AD_Field SET Name='Actual Delivery Time', Description='Actual days between order and delivery', Help='The Actual Delivery Time indicates the number of days elapsed between placing an order and the delivery of the order' WHERE AD_Column_ID=4378 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Promised Delivery Time', IsMandatory='N', IsTranslated='N', Description='Promised days between order and delivery', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='DeliveryTime_Promised', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1256, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4377
;

UPDATE AD_Field SET Name='Promised Delivery Time', Description='Promised days between order and delivery', Help='The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.' WHERE AD_Column_ID=4377 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Discontinued', IsMandatory='N', IsTranslated='N', Description='This product is no longer available', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Discontinued check box indicates a product that has been discontinued.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='Discontinued', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=278, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:34:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2711
;

UPDATE AD_Field SET Name='Discontinued', Description='This product is no longer available', Help='The Discontinued check box indicates a product that has been discontinued.' WHERE AD_Column_ID=2711 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Discontinued by', IsMandatory='N', IsTranslated='N', Description='Discontinued By', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Discontinued By indicates the individual who discontinued this product', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='DiscontinuedBy', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=279, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:35:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2712
;

UPDATE AD_Field SET Name='Discontinued by', Description='Discontinued By', Help='The Discontinued By indicates the individual who discontinued this product' WHERE AD_Column_ID=2712 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:35:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2312
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=2312 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Current vendor', IsMandatory='Y', IsTranslated='N', Description='Use this Vendor for pricing and stock replenishment', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='The Current Vendor indicates if prices are used and Product is reordered from this vendor', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='IsCurrentVendor', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1235, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:35:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4292
;

UPDATE AD_Field SET Name='Current vendor', Description='Use this Vendor for pricing and stock replenishment', Help='The Current Vendor indicates if prices are used and Product is reordered from this vendor' WHERE AD_Column_ID=4292 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@M_Product_ID@', Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='M_Product_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=231, AD_Element_ID=454, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:36:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1420
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=1420 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Minimum Order Qty', IsMandatory='N', IsTranslated='N', Description='Minimum order quantity in UOM', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.

Minimum Order Quantity is used when the orders should be done at least for this quantity because of vendor policies or fabrication limitations. The MRP process will use this quantity when the calculated planned order is for a smaller quantity than the Minimum Order Quantity then MRP creates the planned order for the Minimum Order Quantity. The system generates a message warning this quantity change.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='Order_Min', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=942, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:36:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3021
;

UPDATE AD_Field SET Name='Minimum Order Qty', Description='Minimum order quantity in UOM', Help='The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.

Minimum Order Quantity is used when the orders should be done at least for this quantity because of vendor policies or fabrication limitations. The MRP process will use this quantity when the calculated planned order is for a smaller quantity than the Minimum Order Quantity then MRP creates the planned order for the Minimum Order Quantity. The system generates a message warning this quantity change.' WHERE AD_Column_ID=3021 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Order Pack Qty', IsMandatory='N', IsTranslated='N', Description='Package order size in UOM (e.g. order set of 5 units)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Order Pack Quantity indicates the number of units in each pack of this product.

When you enter a quantity in the Order Pack Qty field, the Planned orders should be created in multiples of this quantity. , this is useful when the vendor only sells fixed quantities of products or when by effects of the MRP calculation you get fraction of products which must be gotten in integer quantities.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='Order_Pack', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=943, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:36:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3022
;

UPDATE AD_Field SET Name='Order Pack Qty', Description='Package order size in UOM (e.g. order set of 5 units)', Help='The Order Pack Quantity indicates the number of units in each pack of this product.

When you enter a quantity in the Order Pack Qty field, the Planned orders should be created in multiples of this quantity. , this is useful when the vendor only sells fixed quantities of products or when by effects of the MRP calculation you get fraction of products which must be gotten in integer quantities.' WHERE AD_Column_ID=3022 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Price effective', IsMandatory='N', IsTranslated='N', Description='Effective Date of Price', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Price Effective indicates the date this price is for. This allows you to enter future prices for products which will become effective when appropriate.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='PriceEffective', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=1123, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:37:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3912
;

UPDATE AD_Field SET Name='Price effective', Description='Effective Date of Price', Help='The Price Effective indicates the date this price is for. This allows you to enter future prices for products which will become effective when appropriate.' WHERE AD_Column_ID=3912 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Last PO Price', IsMandatory='N', IsTranslated='N', Description='Price of the last purchase order for the product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Last PO Price indicates the last price paid (per the purchase order) for this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='PriceLastPO', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=37, AD_Val_Rule_ID=NULL, AD_Element_ID=954, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:37:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3020
;

UPDATE AD_Field SET Name='Last PO Price', Description='Price of the last purchase order for the product', Help='The Last PO Price indicates the last price paid (per the purchase order) for this product.' WHERE AD_Column_ID=3020 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='List Price', IsMandatory='N', IsTranslated='N', Description='List Price', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The List Price is the official List Price in the document currency.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='PriceList', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=37, AD_Val_Rule_ID=NULL, AD_Element_ID=520, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:38:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3019
;

UPDATE AD_Field SET Name='List Price', Description='List Price', Help='The List Price is the official List Price in the document currency.' WHERE AD_Column_ID=3019 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='PO Price', IsMandatory='N', IsTranslated='N', Description='Price based on a purchase order', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The PO Price indicates the price for a product per the purchase order.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='PricePO', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=37, AD_Val_Rule_ID=NULL, AD_Element_ID=1124, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:38:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3911
;

UPDATE AD_Field SET Name='PO Price', Description='Price based on a purchase order', Help='The PO Price indicates the price for a product per the purchase order.' WHERE AD_Column_ID=3911 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Quality Rating', IsMandatory='N', IsTranslated='N', Description='Method for rating vendors', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Quality Rating indicates how a vendor is rated (higher number = higher quality)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='QualityRating', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1258, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:38:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4376
;

UPDATE AD_Field SET Name='Quality Rating', Description='Method for rating vendors', Help='The Quality Rating indicates how a vendor is rated (higher number = higher quality)' WHERE AD_Column_ID=4376 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='UPC/EAN', IsMandatory='N', IsTranslated='N', Description='Bar Code (Universal Product Code or its superset European Article Number)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='UPC', FieldLength=20, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=603, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:39:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4792
;

UPDATE AD_Field SET Name='UPC/EAN', Description='Bar Code (Universal Product Code or its superset European Article Number)', Help='Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ' WHERE AD_Column_ID=4792 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:39:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2315
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=2315 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:39:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2316
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=2316 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Partner Category', IsMandatory='N', IsTranslated='N', Description='Product Category of the Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Business Partner Category identifies the category used by the Business Partner for this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='VendorCategory', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=622, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:40:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2710
;

UPDATE AD_Field SET Name='Partner Category', Description='Product Category of the Business Partner', Help='The Business Partner Category identifies the category used by the Business Partner for this product.' WHERE AD_Column_ID=2710 AND IsCentrallyMaintained='Y'
;

ALTER TABLE M_PRODUCT_PO MODIFY VendorCategory CHAR(30) DEFAULT  NULL 
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:40:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1421
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=1421 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Partner Product Key', IsMandatory='Y', IsTranslated='N', Description='Product Key of the Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@Value@', Help='The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='VendorProductNo', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=623, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:40:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2709
;

UPDATE AD_Field SET Name='Partner Product Key', Description='Product Key of the Business Partner', Help='The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.' WHERE AD_Column_ID=2709 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:41:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1422
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=1422 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_BPartner.IsActive=''Y'' AND C_BPartner.IsSummary=''N''', Name='C_BPartner (Trx)', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 03:41:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=230
;

UPDATE AD_Column SET Name='Business Partner ', IsMandatory='Y', IsTranslated='N', Description='Identifies a Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='0', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=210, ColumnName='C_BPartner_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=230, AD_Element_ID=187, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:41:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2705
;

UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=2705 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 03:41:52','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 03:41:52','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Purchasing',40,210,53031,53007,'N','N','N','Y','N',NULL,'N','N',0,0,'Y','N','D')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53031 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:52','YYYY-MM-DD HH24:MI:SS'),0,53535,'Client/Tenant for this installation.',14,1421,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 03:41:52','YYYY-MM-DD HH24:MI:SS'),'Client',53031,'N','N',10,'Y','D')
;

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=53535 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:53','YYYY-MM-DD HH24:MI:SS'),0,53536,'Organizational entity within client',14,1422,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 03:41:53','YYYY-MM-DD HH24:MI:SS'),'Organization',53031,'Y','N',20,'Y','D')
;

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=53536 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:54','YYYY-MM-DD HH24:MI:SS'),0,53537,'Product, Service, Item',26,1420,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 03:41:54','YYYY-MM-DD HH24:MI:SS'),'Product',53031,'N','N',30,'Y','D')
;

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=53537 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:56','YYYY-MM-DD HH24:MI:SS'),0,53538,'Identifies a Business Partner',26,2705,'N',0,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2007-12-17 03:41:56','YYYY-MM-DD HH24:MI:SS'),'Business Partner ',53031,'N','N',40,'N','D')
;

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=53538 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:57','YYYY-MM-DD HH24:MI:SS'),0,53539,'Method for rating vendors',11,4376,'N',0,'The Quality Rating indicates how a vendor is rated (higher number = higher quality)',TO_DATE('2007-12-17 03:41:57','YYYY-MM-DD HH24:MI:SS'),'Quality Rating',53031,'Y','N',50,'N','D')
;

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=53539 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:57','YYYY-MM-DD HH24:MI:SS'),0,53540,'The record is active in the system',1,2312,'N',0,'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.',TO_DATE('2007-12-17 03:41:57','YYYY-MM-DD HH24:MI:SS'),'Active',53031,'N','N',60,'N','D')
;

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=53540 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:58','YYYY-MM-DD HH24:MI:SS'),0,53541,'Use this Vendor for pricing and stock replenishment',1,4292,'N',0,'The Current Vendor indicates if prices are used and Product is reordered from this vendor',TO_DATE('2007-12-17 03:41:58','YYYY-MM-DD HH24:MI:SS'),'Current vendor',53031,'Y','N',70,'N','D')
;

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=53541 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:41:59','YYYY-MM-DD HH24:MI:SS'),0,53542,'Bar Code (Universal Product Code or its superset European Article Number)',20,4792,'N',0,'Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ',TO_DATE('2007-12-17 03:41:59','YYYY-MM-DD HH24:MI:SS'),'UPC/EAN',53031,'N','N',80,'N','D')
;

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=53542 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:00','YYYY-MM-DD HH24:MI:SS'),0,53543,'The Currency for this record',14,3910,'N',0,'Indicates the Currency to be used when processing or reporting on this record',TO_DATE('2007-12-17 03:42:00','YYYY-MM-DD HH24:MI:SS'),'Currency',53031,'N','N',90,'N','D')
;

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=53543 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:01','YYYY-MM-DD HH24:MI:SS'),0,53544,'List Price',26,3019,'N',0,'The List Price is the official List Price in the document currency.',TO_DATE('2007-12-17 03:42:01','YYYY-MM-DD HH24:MI:SS'),'List Price',53031,'N','N',100,'N','D')
;

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=53544 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:02','YYYY-MM-DD HH24:MI:SS'),0,53545,'Effective Date of Price',14,3912,'N',0,'The Price Effective indicates the date this price is for. This allows you to enter future prices for products which will become effective when appropriate.',TO_DATE('2007-12-17 03:42:02','YYYY-MM-DD HH24:MI:SS'),'Price effective',53031,'Y','N',110,'N','D')
;

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=53545 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:03','YYYY-MM-DD HH24:MI:SS'),0,53546,'Price based on a purchase order',26,3911,'N',0,'The PO Price indicates the price for a product per the purchase order.',TO_DATE('2007-12-17 03:42:03','YYYY-MM-DD HH24:MI:SS'),'PO Price',53031,'N','N',120,'N','D')
;

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=53546 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:04','YYYY-MM-DD HH24:MI:SS'),0,53547,'(Included) Amount for copyright, etc.',26,7964,'N',0,TO_DATE('2007-12-17 03:42:04','YYYY-MM-DD HH24:MI:SS'),'Royalty Amount',53031,'Y','N',130,'N','D')
;

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=53547 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:04','YYYY-MM-DD HH24:MI:SS'),0,53548,'Price of the last purchase order for the product',26,3020,'N',0,'The Last PO Price indicates the last price paid (per the purchase order) for this product.',TO_DATE('2007-12-17 03:42:04','YYYY-MM-DD HH24:MI:SS'),'Last PO Price',53031,'N','N',140,'Y','D')
;

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=53548 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:05','YYYY-MM-DD HH24:MI:SS'),0,53549,'Price of the last invoice for the product',26,6712,'N',0,'The Last Invoice Price indicates the last price paid (per the invoice) for this product.',TO_DATE('2007-12-17 03:42:05','YYYY-MM-DD HH24:MI:SS'),'Last Invoice Price',53031,'Y','N',150,'Y','D')
;

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=53549 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:07','YYYY-MM-DD HH24:MI:SS'),0,53550,'Unit of Measure',14,2706,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 03:42:07','YYYY-MM-DD HH24:MI:SS'),'UOM',53031,'N','N',160,'N','D')
;

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=53550 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:08','YYYY-MM-DD HH24:MI:SS'),0,53551,'Minimum order quantity in UOM',26,3021,'N',0,'The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.',TO_DATE('2007-12-17 03:42:08','YYYY-MM-DD HH24:MI:SS'),'Minimum Order Qty',53031,'N','N',170,'N','D')
;

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=53551 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:09','YYYY-MM-DD HH24:MI:SS'),0,53552,'Package order size in UOM (e.g. order set of 5 units)',26,3022,'N',0,'The Order Pack Quantity indicates the number of units in each pack of this product.',TO_DATE('2007-12-17 03:42:09','YYYY-MM-DD HH24:MI:SS'),'Order Pack Qty',53031,'Y','N',180,'N','D')
;

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=53552 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:10','YYYY-MM-DD HH24:MI:SS'),0,53553,'Promised days between order and delivery',11,4377,'N',0,'The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.',TO_DATE('2007-12-17 03:42:10','YYYY-MM-DD HH24:MI:SS'),'Promised Delivery Time',53031,'N','N',190,'N','D')
;

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=53553 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:10','YYYY-MM-DD HH24:MI:SS'),0,53554,'Actual days between order and delivery',11,4378,'N',0,'The Actual Delivery Time indicates the number of days elapsed between placing an order and the delivery of the order',TO_DATE('2007-12-17 03:42:10','YYYY-MM-DD HH24:MI:SS'),'Actual Delivery Time',53031,'Y','N',200,'Y','D')
;

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=53554 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:11','YYYY-MM-DD HH24:MI:SS'),0,53555,'Fixed Cost Per Order',26,4379,'N',0,'The Cost Per Order indicates the fixed charge levied when an order for this product is placed.',TO_DATE('2007-12-17 03:42:11','YYYY-MM-DD HH24:MI:SS'),'Cost per Order',53031,'N','N',210,'N','D')
;

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=53555 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:12','YYYY-MM-DD HH24:MI:SS'),0,53556,'Product Key of the Business Partner',20,2709,'N',0,'The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.',TO_DATE('2007-12-17 03:42:12','YYYY-MM-DD HH24:MI:SS'),'Partner Product Key',53031,'N','N',220,'N','D')
;

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=53556 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:13','YYYY-MM-DD HH24:MI:SS'),0,53557,'Product Category of the Business Partner',20,2710,'N',0,'The Business Partner Category identifies the category used by the Business Partner for this product.',TO_DATE('2007-12-17 03:42:13','YYYY-MM-DD HH24:MI:SS'),'Partner Category',53031,'Y','N',230,'N','D')
;

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=53557 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:14','YYYY-MM-DD HH24:MI:SS'),0,53558,'Manufacturer of the Product',20,7965,'N',0,'The manufacturer of the Product (used if different from the Business Partner / Vendor)',TO_DATE('2007-12-17 03:42:14','YYYY-MM-DD HH24:MI:SS'),'Manufacturer',53031,'N','N',240,'N','D')
;

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=53558 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:15','YYYY-MM-DD HH24:MI:SS'),0,53559,'This product is no longer available',1,2711,'N',0,'The Discontinued check box indicates a product that has been discontinued.',TO_DATE('2007-12-17 03:42:15','YYYY-MM-DD HH24:MI:SS'),'Discontinued',53031,'N','N',250,'N','D')
;

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=53559 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 03:42:16','YYYY-MM-DD HH24:MI:SS'),0,53560,'Discontinued By',14,2712,'N',0,'The Discontinued By indicates the individual who discontinued this product',TO_DATE('2007-12-17 03:42:16','YYYY-MM-DD HH24:MI:SS'),'Discontinued by',53031,'Y','N',260,'N','@Discontinued@=''Y''','D')
;

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=53560 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_Table SET Name='Product', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=140, IsDeleteable='Y', TableName='M_Product', Description='Product Service Item', IsHighVolume='Y', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 03:42:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=208
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Locator (WH)', Description='Warehouse Locator Data type', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:42:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=31
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=31
;

UPDATE AD_Column SET Name='Locator', IsMandatory='N', IsTranslated='N', Description='Warehouse Locator', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Locator indicates where in a Warehouse a product is located.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='M_Locator_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=31, AD_Val_Rule_ID=NULL, AD_Element_ID=448, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9420
;

UPDATE AD_Field SET Name='Locator', Description='Warehouse Locator', Help='The Locator indicates where in a Warehouse a product is located.' WHERE AD_Column_ID=9420 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Self-Service', IsMandatory='Y', IsTranslated='N', Description='This is a Self-Service entry or this entry can be changed via Self-Service', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsSelfService', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2063, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:43:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10261
;

UPDATE AD_Field SET Name='Self-Service', Description='This is a Self-Service entry or this entry can be changed via Self-Service', Help='Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.' WHERE AD_Column_ID=10261 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Attribute Set', IsMandatory='N', IsTranslated='N', Description='Product Attribute Set', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Define Product Attribute Sets to add additional attributes and values to the product. You need to define a Attribute Set if you want to enable Serial and Lot Number tracking.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='M_AttributeSet_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2017, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:43:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8417
;

UPDATE AD_Field SET Name='Attribute Set', Description='Product Attribute Set', Help='Define Product Attribute Sets to add additional attributes and values to the product. You need to define a Attribute Set if you want to enable Serial and Lot Number tracking.' WHERE AD_Column_ID=8417 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Version No', IsMandatory='N', IsTranslated='N', Description='Version Number', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='VersionNo', FieldLength=20, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=1949, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:44:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7973
;

UPDATE AD_Field SET Name='Version No', Description='Version Number', Help=NULL WHERE AD_Column_ID=7973 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Freight Category', IsMandatory='N', IsTranslated='N', Description='Category of the Freight', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Freight Categories are used to calculate the Freight for the Shipper selected', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='M_FreightCategory_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2111, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:44:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9329
;

UPDATE AD_Field SET Name='Freight Category', Description='Category of the Freight', Help='Freight Categories are used to calculate the Freight for the Shipper selected' WHERE AD_Column_ID=9329 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='URL', Description='URL', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:44:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=40
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=40
;

UPDATE AD_Column SET Name='Image URL', IsMandatory='N', IsTranslated='N', Description='URL of  image', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='URL of image; The image is not stored in the database, but retrieved at runtime. The image can be a gif, jpeg or png.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='ImageURL', FieldLength=120, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=40, AD_Val_Rule_ID=NULL, AD_Element_ID=1720, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:44:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7962
;

UPDATE AD_Field SET Name='Image URL', Description='URL of  image', Help='URL of image; The image is not stored in the database, but retrieved at runtime. The image can be a gif, jpeg or png.' WHERE AD_Column_ID=7962 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='M_Product_ProductType', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:45:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=270
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=270
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=270, Value='I', Name='Item', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=539
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=539
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=270, Value='S', Name='Service', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:45:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=540
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=540
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=270, Value='R', Name='Resource', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:45:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=541
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=541
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=270, Value='E', Name='Expense type', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:45:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=542
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=542
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=270, Value='O', Name='Online', IsActive='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:45:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=543
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=543
;

UPDATE AD_Column SET Name='Product Type', IsMandatory='Y', IsTranslated='N', Description='Type of product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='I', Help='The type of product also determines accounting consequences.', AD_Reference_Value_ID=270, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='ProductType', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1899, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:46:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7795
;

UPDATE AD_Field SET Name='Product Type', Description='Type of product', Help='The type of product also determines accounting consequences.' WHERE AD_Column_ID=7795 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Mail Template', IsMandatory='N', IsTranslated='N', Description='Text templates for mailings', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='R_MailText_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1515, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:46:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7972
;

UPDATE AD_Field SET Name='Mail Template', Description='Text templates for mailings', Help='The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.' WHERE AD_Column_ID=7972 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description URL', IsMandatory='N', IsTranslated='N', Description='URL for the description', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='DescriptionURL', FieldLength=120, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=40, AD_Val_Rule_ID=NULL, AD_Element_ID=1920, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:46:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7963
;

UPDATE AD_Field SET Name='Description URL', Description='URL for the description', Help=NULL WHERE AD_Column_ID=7963 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Expense Type', IsMandatory='N', IsTranslated='N', Description='Expense report type', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='S_ExpenseType_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1776, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:47:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6771
;

UPDATE AD_Field SET Name='Expense Type', Description='Expense report type', Help=NULL WHERE AD_Column_ID=6771 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Resource', IsMandatory='N', IsTranslated='N', Description='Resource', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='S_Resource_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1777, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:47:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6773
;

UPDATE AD_Field SET Name='Resource', Description='Resource', Help=NULL WHERE AD_Column_ID=6773 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Drop Shipment', IsMandatory='Y', IsTranslated='N', Description='Drop Shipments are sent from the Vendor directly to the Customer', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsDropShip', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2466, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:48:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12147
;

UPDATE AD_Field SET Name='Drop Shipment', Description='Drop Shipments are sent from the Vendor directly to the Customer', Help='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.' WHERE AD_Column_ID=12147 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Guarantee Days', IsMandatory='N', IsTranslated='N', Description='Number of days the product is guaranteed or available', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='If the value is 0, there is no limit to the availability or guarantee, otherwise the guarantee date is calculated by adding the days to the delivery date.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='GuaranteeDays', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=1937, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:48:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=7974
;

UPDATE AD_Field SET Name='Guarantee Days', Description='Number of days the product is guaranteed or available', Help='If the value is 0, there is no limit to the availability or guarantee, otherwise the guarantee date is calculated by adding the days to the delivery date.' WHERE AD_Column_ID=7974 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Min Guarantee Days', IsMandatory='N', IsTranslated='N', Description='Minumum number of guarantee days', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='When selecting batch/products with a guarantee date, the minimum left guarantee days for automatic picking.  You can pick any batch/product manually. ', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='GuaranteeDaysMin', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2197, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:48:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9889
;

UPDATE AD_Field SET Name='Min Guarantee Days', Description='Minumum number of guarantee days', Help='When selecting batch/products with a guarantee date, the minimum left guarantee days for automatic picking.  You can pick any batch/product manually. ' WHERE AD_Column_ID=9889 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Featured in Web Store', IsMandatory='Y', IsTranslated='N', Description='If selected, the product is displayed in the inital or any empy search', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='In the display of products in the Web Store, the product is displayed in the inital view or if no search criteria are entered. To be displayed, the product must be in the price list used.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsWebStoreFeatured', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2277, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:49:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10260
;

UPDATE AD_Field SET Name='Featured in Web Store', Description='If selected, the product is displayed in the inital or any empy search', Help='In the display of products in the Web Store, the product is displayed in the inital view or if no search criteria are entered. To be displayed, the product must be in the price list used.' WHERE AD_Column_ID=10260 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Subscription Type', IsMandatory='N', IsTranslated='N', Description='Type of subscription', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Subscription type and renewal frequency', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='C_SubscriptionType_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2385, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10919
;

UPDATE AD_Field SET Name='Subscription Type', Description='Type of subscription', Help='Subscription type and renewal frequency' WHERE AD_Column_ID=10919 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Attribute Set Instance', IsMandatory='Y', IsTranslated='N', Description='Product Attribute Set Instance', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='M_AttributeSetInstance_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=35, AD_Val_Rule_ID=NULL, AD_Element_ID=2019, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:49:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8418
;

UPDATE AD_Field SET Name='Attribute Set Instance', Description='Product Attribute Set Instance', Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.' WHERE AD_Column_ID=8418 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Search Key', IsMandatory='Y', IsTranslated='N', Description='Search key for the record in the format required - must be unique', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Value', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=620, IsUpdateable='Y', IsKey='N', IsSelectionColumn='Y', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2011
;

UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', Help='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).' WHERE AD_Column_ID=2011 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='UPC/EAN', IsMandatory='N', IsTranslated='N', Description='Bar Code (Universal Product Code or its superset European Article Number)', IsIdentifier='N', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='UPC', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=603, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:50:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2304
;

UPDATE AD_Field SET Name='UPC/EAN', Description='Bar Code (Universal Product Code or its superset European Article Number)', Help='Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ' WHERE AD_Column_ID=2304 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='Y', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Name', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:51:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1410
;

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=1410 AND IsCentrallyMaintained='Y'
;

ALTER TABLE M_PRODUCT MODIFY NAME NVARCHAR2(255) DEFAULT  NULL 
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='Y', Description='Optional short description of the record', IsIdentifier='N', SeqNo=3, ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1411
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=1411 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53273,'IsToFormule','IsToFormule',0,0,0,0,'IsToFormule',TO_DATE('2007-12-17 03:51:33','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:51:33','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53273 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsToFormule','N','N','N',0,'N',208,53407,'IsToFormule',0,0,1,'N',TO_DATE('2007-12-17 03:51:33','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 03:51:33','YYYY-MM-DD HH24:MI:SS'),53273,'Y','N','N',0,'N','N','EE01')
;

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=53407 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 M_PRODUCT ADD IsToFormule CHAR(1) CHECK (IsToFormule IN ('Y','N'))
;

UPDATE AD_Column SET Name='Verified', IsMandatory='Y', IsTranslated='N', Description='The BOM configuration has been verified', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='The Verified check box indicates if the configuration of this product has been verified.  This is used for products that consist of a bill of materials', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsVerified', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1177, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:51:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4711
;

UPDATE AD_Field SET Name='Verified', Description='The BOM configuration has been verified', Help='The Verified check box indicates if the configuration of this product has been verified.  This is used for products that consist of a bill of materials' WHERE AD_Column_ID=4711 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53274,'LowLevel','LowLevel',0,0,0,0,'LowLevel',TO_DATE('2007-12-17 03:52:00','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 03:52:00','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53274 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('LowLevel','N','N','N',0,'Y',208,53408,'LowLevel',0,0,8,'N',TO_DATE('2007-12-17 03:52:00','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 03:52:00','YYYY-MM-DD HH24:MI:SS'),53274,'N','N','N',0,'N','N','EE01')
;

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=53408 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 M_PRODUCT ADD LowLevel NUMBER(10)
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='M_Product Category ', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:52:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=163
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=163
;

UPDATE AD_Ref_Table SET AD_Table_ID = 209, AD_Display = 1776, AD_Key = 2020, isValueDisplayed = 'Y', OrderByClause = 'M_Product_Category.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 163
;

UPDATE AD_Column SET Name='Product Category', IsMandatory='Y', IsTranslated='N', Description='Category of a Product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies the category which this product belongs to.  Product categories are used for pricing and selection.', AD_Reference_Value_ID=163, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='M_Product_Category_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=453, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:52:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2012
;

UPDATE AD_Field SET Name='Product Category', Description='Category of a Product', Help='Identifies the category which this product belongs to.  Product categories are used for pricing and selection.' WHERE AD_Column_ID=2012 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='M_Product_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=454, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:52:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1402
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=1402 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Process SET Name='Verify BOM', Statistic_Seconds=0, Description='Verify BOM Structure', Classname='org.compiere.process.M_Product_BOM_Check', ProcedureName=NULL, IsActive='Y', Help='The Verify BOM Structure checks the elements and steps which comprise a Bill of Materials.', IsReport='N', IsDirectPrint='N', AccessLevel='3', Statistic_Count=0, Value='M_Product_BOM', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 03:53:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=136
;

UPDATE AD_Column SET Name='Process Now', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Processing', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=524, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=136, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:53:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4712
;

UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=4712 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='SKU', IsMandatory='N', IsTranslated='N', Description='Stock Keeping Unit', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The SKU indicates a user defined stock keeping unit.  It may be used for an additional bar code symbols or your own schema.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='SKU', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=549, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:53:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2305
;

UPDATE AD_Field SET Name='SKU', Description='Stock Keeping Unit', Help='The SKU indicates a user defined stock keeping unit.  It may be used for an additional bar code symbols or your own schema.' WHERE AD_Column_ID=2305 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_User - SalesRep', Description='Sales Representative', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 03:54:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=190
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=190
;

UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND bp.IsSalesRep=''Y'')
' WHERE AD_Reference_ID = 190
;

UPDATE AD_Column SET Name='Sales Representative', IsMandatory='N', IsTranslated='N', Description='Sales Representative or Company Agent', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.', AD_Reference_Value_ID=190, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='SalesRep_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=1063, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:54:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3391
;

UPDATE AD_Field SET Name='Sales Representative', 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.' WHERE AD_Column_ID=3391 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Shelf Depth', IsMandatory='N', IsTranslated='N', Description='Shelf depth required', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Shelf Depth indicates the depth dimension required on a shelf for a product ', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='ShelfDepth', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=570, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:54:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2309
;

UPDATE AD_Field SET Name='Shelf Depth', Description='Shelf depth required', Help='The Shelf Depth indicates the depth dimension required on a shelf for a product ' WHERE AD_Column_ID=2309 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Shelf Height', IsMandatory='N', IsTranslated='N', Description='Shelf height required', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Shelf Height indicates the height dimension required on a shelf for a product', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='ShelfHeight', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=571, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:55:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2308
;

UPDATE AD_Field SET Name='Shelf Height', Description='Shelf height required', Help='The Shelf Height indicates the height dimension required on a shelf for a product' WHERE AD_Column_ID=2308 AND IsCentrallyMaintained='Y'
;

ALTER TABLE M_PRODUCT MODIFY ShelfHeight NUMBER DEFAULT  NULL 
;

UPDATE AD_Column SET Name='Shelf Width', IsMandatory='N', IsTranslated='N', Description='Shelf width required', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Shelf Width indicates the width dimension required on a shelf for a product', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='ShelfWidth', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=572, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:55:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2307
;

UPDATE AD_Field SET Name='Shelf Width', Description='Shelf width required', Help='The Shelf Width indicates the width dimension required on a shelf for a product' WHERE AD_Column_ID=2307 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Units Per Pallet', IsMandatory='N', IsTranslated='N', Description='Units Per Pallet', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Units per Pallet indicates the number of units of this product which fit on a pallet.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='UnitsPerPallet', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=37, AD_Val_Rule_ID=NULL, AD_Element_ID=604, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:56:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2310
;

UPDATE AD_Field SET Name='Units Per Pallet', Description='Units Per Pallet', Help='The Units per Pallet indicates the number of units of this product which fit on a pallet.' WHERE AD_Column_ID=2310 AND IsCentrallyMaintained='Y'
;

ALTER TABLE M_PRODUCT MODIFY UnitsPerPallet NUMBER DEFAULT  NULL 
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:56:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1408
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=1408 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:56:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1409
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=1409 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Volume', IsMandatory='N', IsTranslated='N', Description='Volume of a product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Volume indicates the volume of the product in the Volume UOM of the Client', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Volume', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=627, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:57:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1766
;

UPDATE AD_Field SET Name='Volume', Description='Volume of a product', Help='The Volume indicates the volume of the product in the Volume UOM of the Client' WHERE AD_Column_ID=1766 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:57:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1403
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=1403 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Weight', IsMandatory='N', IsTranslated='N', Description='Weight of a product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Weight indicates the weight  of the product in the Weight UOM of the Client', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Weight', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=629, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:58:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1767
;

UPDATE AD_Field SET Name='Weight', Description='Weight of a product', Help='The Weight indicates the weight  of the product in the Weight UOM of the Client' WHERE AD_Column_ID=1767 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1404
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=1404 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Revenue Recognition', IsMandatory='N', IsTranslated='N', Description='Method for recording revenue', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Revenue Recognition indicates how revenue will be recognized for this product', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='C_RevenueRecognition_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1078, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:58:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3909
;

UPDATE AD_Field SET Name='Revenue Recognition', Description='Method for recording revenue', Help='The Revenue Recognition indicates how revenue will be recognized for this product' WHERE AD_Column_ID=3909 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Tax Category', IsMandatory='Y', IsTranslated='N', Description='Tax Category', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Tax Category provides a method of grouping similar taxes.  For example, Sales Tax or Value Added Tax.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='C_TaxCategory_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=211, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2019
;

UPDATE AD_Field SET Name='Tax Category', Description='Tax Category', Help='The Tax Category provides a method of grouping similar taxes.  For example, Sales Tax or Value Added Tax.' WHERE AD_Column_ID=2019 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='UOM', IsMandatory='Y', IsTranslated='N', Description='Unit of Measure', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The UOM defines a unique non monetary Unit of Measure', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='C_UOM_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=215, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 03:59:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1760
;

UPDATE AD_Field SET Name='UOM', Description='Unit of Measure', Help='The UOM defines a unique non monetary Unit of Measure' WHERE AD_Column_ID=1760 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Classification', IsMandatory='N', IsTranslated='N', Description='Classification for grouping', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Classification can be used to optionally group products.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Classification', FieldLength=12, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=852, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:00:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3016
;

UPDATE AD_Field SET Name='Classification', Description='Classification for grouping', Help='The Classification can be used to optionally group products.' WHERE AD_Column_ID=3016 AND IsCentrallyMaintained='Y'
;

ALTER TABLE M_PRODUCT MODIFY Classification NVARCHAR2(12) DEFAULT  NULL 
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:00:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1406
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=1406 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:00:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1407
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=1407 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Discontinued', IsMandatory='N', IsTranslated='N', Description='This product is no longer available', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Discontinued check box indicates a product that has been discontinued.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Discontinued', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=278, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:01:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2703
;

UPDATE AD_Field SET Name='Discontinued', Description='This product is no longer available', Help='The Discontinued check box indicates a product that has been discontinued.' WHERE AD_Column_ID=2703 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Discontinued by', IsMandatory='N', IsTranslated='N', Description='Discontinued By', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Discontinued By indicates the individual who discontinued this product', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='DiscontinuedBy', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=279, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:01:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2704
;

UPDATE AD_Field SET Name='Discontinued by', Description='Discontinued By', Help='The Discontinued By indicates the individual who discontinued this product' WHERE AD_Column_ID=2704 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Document Note', IsMandatory='N', IsTranslated='Y', Description='Additional information for a Document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Document Note is used for recording any additional information regarding this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='DocumentNote', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=868, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:02:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3014
;

UPDATE AD_Field SET Name='Document Note', Description='Additional information for a Document', Help='The Document Note is used for recording any additional information regarding this product.' WHERE AD_Column_ID=3014 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:02:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3015
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=3015 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:02:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1405
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=1405 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Bill of Materials', IsMandatory='Y', IsTranslated='N', Description='Bill of Materials', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='The Bill of Materials check box indicates if this product consists of a bill of materials.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsBOM', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:03:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4708
;

UPDATE AD_Field SET Name='Bill of Materials', Description='Bill of Materials', Help='The Bill of Materials check box indicates if this product consists of a bill of materials.' WHERE AD_Column_ID=4708 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Exclude Auto Delivery', IsMandatory='Y', IsTranslated='N', Description='Exclude from automatic Delivery', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='N', Help='The product is excluded from generating Shipments.  This allows manual creation of shipments for high demand items. If selected, you need to create the shipment manually.
But, the item is always included, when the delivery rule of the Order is Force (e.g. for POS). 
This allows finer granularity of the Delivery Rule Manual.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsExcludeAutoDelivery', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2867, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:03:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14505
;

UPDATE AD_Field SET Name='Exclude Auto Delivery', Description='Exclude from automatic Delivery', Help='The product is excluded from generating Shipments.  This allows manual creation of shipments for high demand items. If selected, you need to create the shipment manually.
But, the item is always included, when the delivery rule of the Order is Force (e.g. for POS). 
This allows finer granularity of the Delivery Rule Manual.' WHERE AD_Column_ID=14505 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Print detail records on invoice ', IsMandatory='Y', IsTranslated='N', Description='Print detail BOM elements on the invoice', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Print Details on Invoice indicates that the BOM element products will print on the Invoice as opposed to this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsInvoicePrintDetails', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1175, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:03:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4709
;

UPDATE AD_Field SET Name='Print detail records on invoice ', Description='Print detail BOM elements on the invoice', Help='The Print Details on Invoice indicates that the BOM element products will print on the Invoice as opposed to this product.' WHERE AD_Column_ID=4709 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Print detail records on pick list', IsMandatory='Y', IsTranslated='N', Description='Print detail BOM elements on the pick list', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Print Details on Pick List indicates that the BOM element products will print on the Pick List as opposed to this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsPickListPrintDetails', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1176, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:04:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4710
;

UPDATE AD_Field SET Name='Print detail records on pick list', Description='Print detail BOM elements on the pick list', Help='The Print Details on Pick List indicates that the BOM element products will print on the Pick List as opposed to this product.' WHERE AD_Column_ID=4710 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Purchased', IsMandatory='Y', IsTranslated='N', Description='Organization purchases this product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='The Purchased check box indicates if this product is purchased by this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsPurchased', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=403, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:04:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1762
;

UPDATE AD_Field SET Name='Purchased', Description='Organization purchases this product', Help='The Purchased check box indicates if this product is purchased by this organization.' WHERE AD_Column_ID=1762 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Sold', IsMandatory='Y', IsTranslated='N', Description='Organization sells this product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='The Sold check box indicates if this product is sold by this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsSold', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=414, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:04:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1763
;

UPDATE AD_Field SET Name='Sold', Description='Organization sells this product', Help='The Sold check box indicates if this product is sold by this organization.' WHERE AD_Column_ID=1763 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Stocked', IsMandatory='Y', IsTranslated='N', Description='Organization stocks this product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='The Stocked check box indicates if this product is stocked by this Organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsStocked', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=415, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic='@ProductType@=R | @ProductType@=E | @ProductType@=O', IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:05:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1761
;

UPDATE AD_Field SET Name='Stocked', Description='Organization stocks this product', Help='The Stocked check box indicates if this product is stocked by this Organization.' WHERE AD_Column_ID=1761 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Summary Level', IsMandatory='Y', IsTranslated='N', Description='This is a summary entity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=208, ColumnName='IsSummary', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=416, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:05:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1413
;

UPDATE AD_Field SET Name='Summary Level', Description='This is a summary entity', Help='A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.' WHERE AD_Column_ID=1413 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 04:05:35','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:05:35','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Product',10,208,53032,53007,'N','N','N','Y','N',NULL,'N','N',0,0,'Y','N','D')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53032 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 04:05:36','YYYY-MM-DD HH24:MI:SS'),0,53561,0,53408,'N',0,TO_DATE('2007-12-17 04:05:36','YYYY-MM-DD HH24:MI:SS'),'LowLevel',53032,'N','N',0,'Y','D')
;

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=53561 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 04:05:40','YYYY-MM-DD HH24:MI:SS'),0,53562,'Product, Service, Item',14,1402,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 04:05:40','YYYY-MM-DD HH24:MI:SS'),'Product',53032,'N','N',0,'N','D')
;

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=53562 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:05:41','YYYY-MM-DD HH24:MI:SS'),0,53563,'Client/Tenant for this installation.',14,1403,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 04:05:41','YYYY-MM-DD HH24:MI:SS'),'Client',53032,'N','N',10,'Y','D')
;

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=53563 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:05:52','YYYY-MM-DD HH24:MI:SS'),0,53564,'Organizational entity within client',14,1404,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 04:05:52','YYYY-MM-DD HH24:MI:SS'),'Organization',53032,'Y','N',20,'Y','D')
;

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=53564 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:05:53','YYYY-MM-DD HH24:MI:SS'),0,53565,'Search key for the record in the format required - must be unique',20,2011,'N',0,'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).',TO_DATE('2007-12-17 04:05:53','YYYY-MM-DD HH24:MI:SS'),'Search Key',53032,'N','N',30,'Y','D')
;

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=53565 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:05:58','YYYY-MM-DD HH24:MI:SS'),0,53566,'Alphanumeric identifier of the entity',60,1410,'N',0,'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.',TO_DATE('2007-12-17 04:05:58','YYYY-MM-DD HH24:MI:SS'),'Name',53032,'N','N',40,'Y','D')
;

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=53566 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:05:59','YYYY-MM-DD HH24:MI:SS'),0,53567,'Optional short description of the record',60,1411,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 04:05:59','YYYY-MM-DD HH24:MI:SS'),'Description',53032,'N','N',50,'Y','D')
;

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=53567 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:05:59','YYYY-MM-DD HH24:MI:SS'),0,53568,'Comment or Hint',60,3015,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 04:05:59','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53032,'N','N',60,'Y','D')
;

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=53568 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:00','YYYY-MM-DD HH24:MI:SS'),0,53569,'Additional information for a Document',60,3014,'N',0,'The Document Note is used for recording any additional information regarding this product.',TO_DATE('2007-12-17 04:06:00','YYYY-MM-DD HH24:MI:SS'),'Document Note',53032,'N','N',70,'Y','D')
;

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=53569 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:01','YYYY-MM-DD HH24:MI:SS'),0,53570,'Bar Code (Universal Product Code or its superset European Article Number)',20,2304,'N',0,'Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ',TO_DATE('2007-12-17 04:06:01','YYYY-MM-DD HH24:MI:SS'),'UPC/EAN',53032,'N','N',80,'Y','D')
;

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=53570 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:04','YYYY-MM-DD HH24:MI:SS'),0,53571,'Stock Keeping Unit',20,2305,'N',0,'The SKU indicates a user defined stock keeping unit.  It may be used for an additional bar code symbols or your own schema.',TO_DATE('2007-12-17 04:06:04','YYYY-MM-DD HH24:MI:SS'),'SKU',53032,'Y','N',90,'Y','D')
;

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=53571 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:05','YYYY-MM-DD HH24:MI:SS'),0,53572,'The record is active in the system',1,1405,'N',0,'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.',TO_DATE('2007-12-17 04:06:05','YYYY-MM-DD HH24:MI:SS'),'Active',53032,'N','N',100,'Y','D')
;

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=53572 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:10','YYYY-MM-DD HH24:MI:SS'),0,53573,'This is a summary entity',1,1413,'N',0,'A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.',TO_DATE('2007-12-17 04:06:10','YYYY-MM-DD HH24:MI:SS'),'Summary Level',53032,'Y','N',110,'Y','D')
;

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=53573 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:11','YYYY-MM-DD HH24:MI:SS'),0,53574,'Category of a Product',14,2012,'N',0,'Identifies the category which this product belongs to.  Product categories are used for pricing and selection.',TO_DATE('2007-12-17 04:06:11','YYYY-MM-DD HH24:MI:SS'),'Product Category',53032,'N','N',120,'Y','D')
;

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=53574 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:13','YYYY-MM-DD HH24:MI:SS'),0,53575,'Classification for grouping',1,3016,'N',0,'The Classification can be used to optionally group products.',TO_DATE('2007-12-17 04:06:13','YYYY-MM-DD HH24:MI:SS'),'Classification',53032,'Y','N',130,'Y','D')
;

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=53575 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:15','YYYY-MM-DD HH24:MI:SS'),0,53576,'Tax Category',14,2019,'N',0,'The Tax Category provides a method of grouping similar taxes.  For example, Sales Tax or Value Added Tax.',TO_DATE('2007-12-17 04:06:15','YYYY-MM-DD HH24:MI:SS'),'Tax Category',53032,'N','N',140,'Y','@IsSold@=''Y'' | @IsPurchased@=''Y'' & @IsSummary@=''N''','D')
;

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=53576 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:17','YYYY-MM-DD HH24:MI:SS'),0,53577,'Method for recording revenue',14,3909,'N',0,'The Revenue Recognition indicates how revenue will be recognized for this product',TO_DATE('2007-12-17 04:06:17','YYYY-MM-DD HH24:MI:SS'),'Revenue Recognition',53032,'Y','N',150,'Y','@IsSold@=''Y''','D')
;

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=53577 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:19','YYYY-MM-DD HH24:MI:SS'),0,53578,'Unit of Measure',14,1760,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 04:06:19','YYYY-MM-DD HH24:MI:SS'),'UOM',53032,'N','N',160,'Y','D')
;

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=53578 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:20','YYYY-MM-DD HH24:MI:SS'),0,53579,'Sales Representative or Company Agent',14,3391,'N',0,'The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.',TO_DATE('2007-12-17 04:06:20','YYYY-MM-DD HH24:MI:SS'),'Sales Representative',53032,'Y','N',170,'Y','D')
;

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=53579 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:22','YYYY-MM-DD HH24:MI:SS'),0,53580,'Type of product',14,7795,'N',0,'The type of product also determines accounting consequences.',TO_DATE('2007-12-17 04:06:22','YYYY-MM-DD HH24:MI:SS'),'Product Type',53032,'N','N',180,'Y','D')
;

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=53580 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:23','YYYY-MM-DD HH24:MI:SS'),0,53581,'Text templates for mailings',14,7972,'N',0,'The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',TO_DATE('2007-12-17 04:06:23','YYYY-MM-DD HH24:MI:SS'),'Mail Template',53032,'Y','N',190,'Y','D')
;

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=53581 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:25','YYYY-MM-DD HH24:MI:SS'),0,53582,'Weight of a product',26,1767,'N',0,'The Weight indicates the weight  of the product in the Weight UOM of the Client',TO_DATE('2007-12-17 04:06:25','YYYY-MM-DD HH24:MI:SS'),'Weight',53032,'N','N',200,'Y','@IsSummary@=''N'' & @ProductType@=I','D')
;

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=53582 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:27','YYYY-MM-DD HH24:MI:SS'),0,53583,'Volume of a product',26,1766,'N',0,'The Volume indicates the volume of the product in the Volume UOM of the Client',TO_DATE('2007-12-17 04:06:27','YYYY-MM-DD HH24:MI:SS'),'Volume',53032,'Y','N',210,'Y','@IsSummary@=''N'' & @ProductType@=I','D')
;

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=53583 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:28','YYYY-MM-DD HH24:MI:SS'),0,53584,'Category of the Freight',14,9329,'N',0,'Freight Categories are used to calculate the Freight for the Shipper selected',TO_DATE('2007-12-17 04:06:28','YYYY-MM-DD HH24:MI:SS'),'Freight Category',53032,'N','N',220,'Y','@IsSummary@=''N'' & @ProductType@=I','D')
;

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=53584 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:31','YYYY-MM-DD HH24:MI:SS'),0,53585,'Drop Shipments are sent from the Vendor directly to the Customer',1,12147,'N',0,'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.',TO_DATE('2007-12-17 04:06:31','YYYY-MM-DD HH24:MI:SS'),'Drop Shipment',53032,'Y','N',230,'Y','@IsSummary@=''N'' & @ProductType@=I','D')
;

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=53585 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:32','YYYY-MM-DD HH24:MI:SS'),0,53586,'Organization stocks this product',1,1761,'N',0,'The Stocked check box indicates if this product is stocked by this Organization.',TO_DATE('2007-12-17 04:06:32','YYYY-MM-DD HH24:MI:SS'),'Stocked',53032,'N','N',240,'Y','@IsSummary@=''N'' & @ProductType@=I','D')
;

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=53586 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:34','YYYY-MM-DD HH24:MI:SS'),0,53587,'Warehouse Locator',23,9420,'N',0,'The Locator indicates where in a Warehouse a product is located.',TO_DATE('2007-12-17 04:06:34','YYYY-MM-DD HH24:MI:SS'),'Locator',53032,'Y','N',250,'Y','@IsSummary@=N & @ProductType@=I & @IsStocked@=Y','D')
;

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=53587 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:35','YYYY-MM-DD HH24:MI:SS'),0,53588,'Shelf width required',11,2307,'N',0,'The Shelf Width indicates the width dimension required on a shelf for a product',TO_DATE('2007-12-17 04:06:35','YYYY-MM-DD HH24:MI:SS'),'Shelf Width',53032,'N','N',260,'Y','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','D')
;

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=53588 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:37','YYYY-MM-DD HH24:MI:SS'),0,53589,'Shelf height required',11,2308,'N',0,'The Shelf Height indicates the height dimension required on a shelf for a product',TO_DATE('2007-12-17 04:06:37','YYYY-MM-DD HH24:MI:SS'),'Shelf Height',53032,'Y','N',270,'Y','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','D')
;

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=53589 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:47','YYYY-MM-DD HH24:MI:SS'),0,53590,'Shelf depth required',11,2309,'N',0,'The Shelf Depth indicates the depth dimension required on a shelf for a product ',TO_DATE('2007-12-17 04:06:47','YYYY-MM-DD HH24:MI:SS'),'Shelf Depth',53032,'N','N',280,'Y','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','D')
;

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=53590 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:06:58','YYYY-MM-DD HH24:MI:SS'),0,53591,'Units Per Pallet',11,2310,'N',0,'The Units per Pallet indicates the number of units of this product which fit on a pallet.',TO_DATE('2007-12-17 04:06:58','YYYY-MM-DD HH24:MI:SS'),'Units Per Pallet',53032,'Y','N',290,'Y','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','D')
;

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=53591 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:12','YYYY-MM-DD HH24:MI:SS'),0,53592,'Bill of Materials',1,4708,'N',0,'The Bill of Materials check box indicates if this product consists of a bill of materials.',TO_DATE('2007-12-17 04:07:12','YYYY-MM-DD HH24:MI:SS'),'Bill of Materials',53032,'N','N',300,'N','@IsSummary@=''N'' & @ProductType@=I | @ProductType@=S','D')
;

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=53592 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:17','YYYY-MM-DD HH24:MI:SS'),0,53593,'The BOM configuration has been verified',1,4711,'N',0,'The Verified check box indicates if the configuration of this product has been verified.  This is used for products that consist of a bill of materials',TO_DATE('2007-12-17 04:07:17','YYYY-MM-DD HH24:MI:SS'),'Verified',53032,'Y','N',310,'Y','@IsSummary@=''N'' & @IsBOM@=''Y''','D')
;

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=53593 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:18','YYYY-MM-DD HH24:MI:SS'),0,53594,23,4712,'N',0,TO_DATE('2007-12-17 04:07:18','YYYY-MM-DD HH24:MI:SS'),'Process Now',53032,'N','N',320,'Y','@IsSummary@=''N'' & @IsBOM@=''Y'' & @IsVerified@=''N''','D')
;

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=53594 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:20','YYYY-MM-DD HH24:MI:SS'),0,53595,'Print detail BOM elements on the invoice',1,4709,'N',0,'The Print Details on Invoice indicates that the BOM element products will print on the Invoice as opposed to this product.',TO_DATE('2007-12-17 04:07:20','YYYY-MM-DD HH24:MI:SS'),'Print detail records on invoice ',53032,'N','N',330,'Y','@IsSummary@=''N'' & @IsBOM@=''Y''','D')
;

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=53595 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:21','YYYY-MM-DD HH24:MI:SS'),0,53596,'Print detail BOM elements on the pick list',1,4710,'N',0,'The Print Details on Pick List indicates that the BOM element products will print on the Pick List as opposed to this product.',TO_DATE('2007-12-17 04:07:21','YYYY-MM-DD HH24:MI:SS'),'Print detail records on pick list',53032,'Y','N',340,'Y','@IsSummary@=''N'' & @IsBOM@=''Y''','D')
;

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=53596 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:23','YYYY-MM-DD HH24:MI:SS'),0,53597,'Organization purchases this product',1,1762,'N',0,'The Purchased check box indicates if this product is purchased by this organization.',TO_DATE('2007-12-17 04:07:23','YYYY-MM-DD HH24:MI:SS'),'Purchased',53032,'N','N',350,'N','@IsSummary@=''N''','D')
;

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=53597 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:24','YYYY-MM-DD HH24:MI:SS'),0,53598,'Organization sells this product',1,1763,'N',0,'The Sold check box indicates if this product is sold by this organization.',TO_DATE('2007-12-17 04:07:24','YYYY-MM-DD HH24:MI:SS'),'Sold',53032,'Y','N',360,'N','@IsSummary@=''N''','D')
;

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=53598 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:25','YYYY-MM-DD HH24:MI:SS'),0,53599,'This product is no longer available',1,2703,'N',0,'The Discontinued check box indicates a product that has been discontinued.',TO_DATE('2007-12-17 04:07:25','YYYY-MM-DD HH24:MI:SS'),'Discontinued',53032,'N','N',370,'Y','@IsSummary@=''N''','D')
;

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=53599 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:26','YYYY-MM-DD HH24:MI:SS'),0,53600,'Discontinued By',14,2704,'N',0,'The Discontinued By indicates the individual who discontinued this product',TO_DATE('2007-12-17 04:07:26','YYYY-MM-DD HH24:MI:SS'),'Discontinued by',53032,'Y','N',380,'Y','@IsSummary@=''N'' & @Discontinued@=''Y''','D')
;

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=53600 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:27','YYYY-MM-DD HH24:MI:SS'),0,53601,'Expense report type',14,6771,'N',0,TO_DATE('2007-12-17 04:07:27','YYYY-MM-DD HH24:MI:SS'),'Expense Type',53032,'N','N',390,'Y','@ProductType@=E','D')
;

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=53601 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:28','YYYY-MM-DD HH24:MI:SS'),0,53602,'Resource',14,6773,'N',0,TO_DATE('2007-12-17 04:07:28','YYYY-MM-DD HH24:MI:SS'),'Resource',53032,'N','N',400,'Y','@ProductType@=R','D')
;

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=53602 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:29','YYYY-MM-DD HH24:MI:SS'),0,53603,'Type of subscription',14,10919,'N',0,'Subscription type and renewal frequency',TO_DATE('2007-12-17 04:07:29','YYYY-MM-DD HH24:MI:SS'),'Subscription Type',53032,'N','N',410,'Y','D')
;

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=53603 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:30','YYYY-MM-DD HH24:MI:SS'),0,53604,'URL of  image',20,7962,'N',0,'URL of image; The image is not stored in the database, but retrieved at runtime. The image can be a gif, jpeg or png.',TO_DATE('2007-12-17 04:07:30','YYYY-MM-DD HH24:MI:SS'),'Image URL',53032,'N','N',420,'Y','D')
;

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=53604 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:32','YYYY-MM-DD HH24:MI:SS'),0,53605,'URL for the description',20,7963,'N',0,TO_DATE('2007-12-17 04:07:32','YYYY-MM-DD HH24:MI:SS'),'Description URL',53032,'Y','N',430,'Y','D')
;

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=53605 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:33','YYYY-MM-DD HH24:MI:SS'),0,53606,'Version Number',20,7973,'N',0,TO_DATE('2007-12-17 04:07:33','YYYY-MM-DD HH24:MI:SS'),'Version No',53032,'Y','N',440,'Y','D')
;

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=53606 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:34','YYYY-MM-DD HH24:MI:SS'),0,53607,'Number of days the product is guaranteed or available',11,7974,'N',0,'If the value is 0, there is no limit to the availability or guarantee, otherwise the guarantee date is calculated by adding the days to the delivery date.',TO_DATE('2007-12-17 04:07:34','YYYY-MM-DD HH24:MI:SS'),'Guarantee Days',53032,'N','N',450,'Y','D')
;

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=53607 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:35','YYYY-MM-DD HH24:MI:SS'),0,53608,'Minumum number of guarantee days',11,9889,'N',0,'When selecting batch/products with a guarantee date, the minimum left guarantee days for automatic picking.  You can pick any batch/product manually. ',TO_DATE('2007-12-17 04:07:35','YYYY-MM-DD HH24:MI:SS'),'Min Guarantee Days',53032,'Y','N',460,'Y','D')
;

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=53608 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:36','YYYY-MM-DD HH24:MI:SS'),0,53609,'Product Attribute Set',14,8417,'N',0,'Define Product Attribute Sets to add additional attributes and values to the product. You need to define a Attribute Set if you want to enable Serial and Lot Number tracking.',TO_DATE('2007-12-17 04:07:36','YYYY-MM-DD HH24:MI:SS'),'Attribute Set',53032,'N','N',470,'Y','D')
;

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=53609 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:37','YYYY-MM-DD HH24:MI:SS'),0,53610,'Product Attribute Set Instance',26,8418,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 04:07:37','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53032,'Y','N',480,'Y','D')
;

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=53610 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:38','YYYY-MM-DD HH24:MI:SS'),0,53611,'If selected, the product is displayed in the inital or any empy search',1,10260,'N',0,'In the display of products in the Web Store, the product is displayed in the inital view or if no search criteria are entered. To be displayed, the product must be in the price list used.',TO_DATE('2007-12-17 04:07:38','YYYY-MM-DD HH24:MI:SS'),'Featured in Web Store',53032,'N','N',490,'Y','D')
;

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=53611 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:07:39','YYYY-MM-DD HH24:MI:SS'),0,53612,'This is a Self-Service entry or this entry can be changed via Self-Service',1,10261,'N',0,'Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.',TO_DATE('2007-12-17 04:07:39','YYYY-MM-DD HH24:MI:SS'),'Self-Service',53032,'Y','N',500,'Y','D')
;

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=53612 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_Table SET Name='M_Replenish', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=140, IsDeleteable='Y', TableName='M_Replenish', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 04:08:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=249
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:09:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1959
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=1959 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:09:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1960
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=1960 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:09:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1962
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=1962 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:10:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1963
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=1963 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1961
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=1961 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Maximum Level', IsMandatory='Y', IsTranslated='N', Description='Maximum Inventory level for this product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Indicates the maximum quantity of this product to be stocked in inventory.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='Level_Max', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=434, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:11:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1968
;

UPDATE AD_Field SET Name='Maximum Level', Description='Maximum Inventory level for this product', Help='Indicates the maximum quantity of this product to be stocked in inventory.' WHERE AD_Column_ID=1968 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Minimum Level', IsMandatory='Y', IsTranslated='N', Description='Minimum Inventory level for this product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Indicates the minimum quantity of this product to be stocked in inventory.
', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='Level_Min', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=435, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:11:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1967
;

UPDATE AD_Field SET Name='Minimum Level', Description='Minimum Inventory level for this product', Help='Indicates the minimum quantity of this product to be stocked in inventory.
' WHERE AD_Column_ID=1967 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='M_Product_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=231, AD_Element_ID=454, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:11:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1957
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=1957 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='M_Warehouse of Client', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:11:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=197
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=197
;

UPDATE AD_Ref_Table SET AD_Table_ID = 190, AD_Display = 1152, AD_Key = 1151, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'M_Warehouse.AD_Client_ID=@#AD_Client_ID@' WHERE AD_Reference_ID = 197
;

UPDATE AD_Column SET Name='Source Warehouse', IsMandatory='N', IsTranslated='N', Description='Optional Warehouse to replenish from', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='If defined, the warehouse selected is used to replenish the product(s)', AD_Reference_Value_ID=197, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='M_WarehouseSource_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=2814, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14099
;

UPDATE AD_Field SET Name='Source Warehouse', Description='Optional Warehouse to replenish from', Help='If defined, the warehouse selected is used to replenish the product(s)' WHERE AD_Column_ID=14099 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Warehouse', IsMandatory='Y', IsTranslated='N', Description='Storage Warehouse and Service Point', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='M_Warehouse_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=459, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1958
;

UPDATE AD_Field SET Name='Warehouse', Description='Storage Warehouse and Service Point', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.' WHERE AD_Column_ID=1958 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='M_Replenish Type', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:12:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=164
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=164
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=164, Value='2', Name='Maintain Maximum Level', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:12:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=240
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=240
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=164, Value='0', Name='Manual', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:13:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=242
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=242
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=164, Value='1', Name='Reorder below Minimum Level', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:13:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=244
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=244
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=164, Value='9', Name='Custom', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:13:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=772
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=772
;

UPDATE AD_Column SET Name='Replenish Type', IsMandatory='Y', IsTranslated='N', Description='Method for re-ordering a product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Replenish Type indicates if this product will be manually re-ordered, ordered when the quantity is below the minimum quantity or ordered when it is below the maximum quantity. If you select a custom replenishment type, you need to create a class implementing org.compiere.util.ReplenishInterface and set that on warehouse level.', AD_Reference_Value_ID=164, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='ReplenishType', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=545, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:13:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1966
;

UPDATE AD_Field SET Name='Replenish Type', Description='Method for re-ordering a product', Help='The Replenish Type indicates if this product will be manually re-ordered, ordered when the quantity is below the minimum quantity or ordered when it is below the maximum quantity. If you select a custom replenishment type, you need to create a class implementing org.compiere.util.ReplenishInterface and set that on warehouse level.' WHERE AD_Column_ID=1966 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:14:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1964
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=1964 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=249, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:14:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=1965
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=1965 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 04:14:28','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:14:28','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Replenish',30,249,53033,53007,'N','N','N','Y','N',NULL,'N','N',0,0,'Y','N','D')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53033 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:29','YYYY-MM-DD HH24:MI:SS'),0,53613,'Client/Tenant for this installation.',14,1959,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 04:14:29','YYYY-MM-DD HH24:MI:SS'),'Client',53033,'N','N',10,'Y','D')
;

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=53613 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:30','YYYY-MM-DD HH24:MI:SS'),0,53614,'Organizational entity within client',14,1960,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 04:14:30','YYYY-MM-DD HH24:MI:SS'),'Organization',53033,'Y','N',20,'Y','D')
;

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=53614 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:31','YYYY-MM-DD HH24:MI:SS'),0,53615,'Product, Service, Item',14,1957,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 04:14:31','YYYY-MM-DD HH24:MI:SS'),'Product',53033,'N','N',30,'Y','D')
;

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=53615 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:32','YYYY-MM-DD HH24:MI:SS'),0,53616,'Storage Warehouse and Service Point',14,1958,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 04:14:32','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53033,'N','N',40,'N','D')
;

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=53616 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:33','YYYY-MM-DD HH24:MI:SS'),0,53617,'The record is active in the system',1,1961,'N',0,'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.',TO_DATE('2007-12-17 04:14:33','YYYY-MM-DD HH24:MI:SS'),'Active',53033,'N','N',50,'N','D')
;

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=53617 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:33','YYYY-MM-DD HH24:MI:SS'),0,53618,'Method for re-ordering a product',14,1966,'N',0,'The Replenish Type indicates if this product will be manually re-ordered, ordered when the quantity is below the minimum quantity or ordered when it is below the maximum quantity. If you select a custom replenishment type, you need to create a class implementing org.compiere.util.ReplenishInterface and set that on warehouse level.',TO_DATE('2007-12-17 04:14:33','YYYY-MM-DD HH24:MI:SS'),'Replenish Type',53033,'N','N',60,'N','D')
;

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=53618 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:34','YYYY-MM-DD HH24:MI:SS'),0,53619,'Minimum Inventory level for this product',26,1967,'N',0,'Indicates the minimum quantity of this product to be stocked in inventory.
',TO_DATE('2007-12-17 04:14:34','YYYY-MM-DD HH24:MI:SS'),'Minimum Level',53033,'N','N',70,'N','D')
;

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=53619 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:14:35','YYYY-MM-DD HH24:MI:SS'),0,53620,'Maximum Inventory level for this product',26,1968,'N',0,'Indicates the maximum quantity of this product to be stocked in inventory.',TO_DATE('2007-12-17 04:14:35','YYYY-MM-DD HH24:MI:SS'),'Maximum Level',53033,'N','N',80,'N','D')
;

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=53620 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_Table SET Name='Inventory Transaction', AccessLevel='1', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=130, IsDeleteable='N', TableName='M_Transaction', Description=NULL, IsHighVolume='Y', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 04:14:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=329
;

UPDATE AD_Column SET Name='Project Issue', IsMandatory='N', IsTranslated='N', Description='Project Issues (Material, Labor)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Issues to the project initiated by the "Issue to Project" process. You can issue Receipts, Time and Expenses, or Stock.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='C_ProjectIssue_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=2178, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:15:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9855
;

UPDATE AD_Field SET Name='Project Issue', Description='Project Issues (Material, Labor)', Help='Issues to the project initiated by the "Issue to Project" process. You can issue Receipts, Time and Expenses, or Stock.' WHERE AD_Column_ID=9855 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Attribute Set Instance', IsMandatory='Y', IsTranslated='N', Description='Product Attribute Set Instance', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_AttributeSetInstance_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=35, AD_Val_Rule_ID=NULL, AD_Element_ID=2019, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:16:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9867
;

UPDATE AD_Field SET Name='Attribute Set Instance', Description='Product Attribute Set Instance', Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.' WHERE AD_Column_ID=9867 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Movement Date', IsMandatory='Y', IsTranslated='N', Description='Date a product was moved in or out of inventory', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='MovementDate', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=1037, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:16:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3669
;

UPDATE AD_Field SET Name='Movement Date', Description='Date a product was moved in or out of inventory', Help='The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.' WHERE AD_Column_ID=3669 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='M_Transaction Movement Type', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:17:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=189
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=189
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='P+', Name='Production +', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=391
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=391
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='P-', Name='Production -', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:17:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=392
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=392
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='C-', Name='Customer Shipment', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:17:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=312
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=312
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='C+', Name='Customer Returns', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:17:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=313
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=313
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='V+', Name='Vendor Receipts', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:17:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=314
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=314
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='V-', Name='Vendor Returns', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:17:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=315
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=315
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='I-', Name='Inventory Out', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=316
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=316
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='I+', Name='Inventory In', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:18:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=317
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=317
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='M-', Name='Movement From', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=349
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=349
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='M+', Name='Movement To', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:18:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=350
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=350
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='W+', Name='Work Order +', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:18:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=582
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=582
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=189, Value='W-', Name='Work Order -', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:18:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=583
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=583
;

UPDATE AD_Column SET Name='Movement Type', IsMandatory='Y', IsTranslated='N', Description='Method of moving the inventory', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue=NULL, Help='The Movement Type indicates the type of movement (in, out, to production, etc)', AD_Reference_Value_ID=189, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='MovementType', FieldLength=2, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=1039, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:19:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3666
;

UPDATE AD_Field SET Name='Movement Type', Description='Method of moving the inventory', Help='The Movement Type indicates the type of movement (in, out, to production, etc)' WHERE AD_Column_ID=3666 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='Y', SeqNo=3, ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_Product_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=231, AD_Element_ID=454, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:19:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3668
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=3668 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Shipment/Receipt Line', IsMandatory='N', IsTranslated='N', Description='Line on Shipment or Receipt document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_InOutLine_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1026, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:19:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3673
;

UPDATE AD_Field SET Name='Shipment/Receipt Line', Description='Line on Shipment or Receipt document', Help='The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document' WHERE AD_Column_ID=3673 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Phys.Inventory Line', IsMandatory='N', IsTranslated='N', Description='Unique line in an Inventory document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Physical Inventory Line indicates the inventory document line (if applicable) for this transaction', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_InventoryLine_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1028, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:20:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3671
;

UPDATE AD_Field SET Name='Phys.Inventory Line', Description='Unique line in an Inventory document', Help='The Physical Inventory Line indicates the inventory document line (if applicable) for this transaction' WHERE AD_Column_ID=3671 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Locator', IsMandatory='Y', IsTranslated='N', Description='Warehouse Locator', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Locator indicates where in a Warehouse a product is located.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_Locator_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=31, AD_Val_Rule_ID=NULL, AD_Element_ID=448, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:20:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3667
;

UPDATE AD_Field SET Name='Locator', Description='Warehouse Locator', Help='The Locator indicates where in a Warehouse a product is located.' WHERE AD_Column_ID=3667 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Move Line', IsMandatory='N', IsTranslated='N', Description='Inventory Move document Line', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_MovementLine_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1031, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3672
;

UPDATE AD_Field SET Name='Move Line', Description='Inventory Move document Line', Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction' WHERE AD_Column_ID=3672 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Production Line', IsMandatory='N', IsTranslated='N', Description='Document Line representing a production', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Production Line indicates the production document line (if applicable) for this transaction', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_ProductionLine_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1033, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3674
;

UPDATE AD_Field SET Name='Production Line', Description='Document Line representing a production', Help='The Production Line indicates the production document line (if applicable) for this transaction' WHERE AD_Column_ID=3674 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Inventory Transaction', IsMandatory='Y', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='M_Transaction_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=1035, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:21:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3658
;

UPDATE AD_Field SET Name='Inventory Transaction', Description=NULL, Help=NULL WHERE AD_Column_ID=3658 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Movement Quantity', IsMandatory='Y', IsTranslated='N', Description='Quantity of a product moved.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Movement Quantity indicates the quantity of a product that has been moved.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='MovementQty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=1038, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:21:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3670
;

UPDATE AD_Field SET Name='Movement Quantity', Description='Quantity of a product moved.', Help='The Movement Quantity indicates the quantity of a product that has been moved.' WHERE AD_Column_ID=3670 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53275,'PP_Order_BOMLine_ID','PP_Order_BOMLine_ID',0,0,0,0,'PP_Order_BOMLine_ID',TO_DATE('2007-12-17 04:21:57','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:21:57','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53275 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOMLine_ID','N','N','N',0,'Y',329,53409,'PP_Order_BOMLine_ID',0,0,10,'N',TO_DATE('2007-12-17 04:21:57','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:21:57','YYYY-MM-DD HH24:MI:SS'),53275,'Y','N','N',0,'N','N','EE01')
;

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=53409 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 M_TRANSACTION ADD PP_Order_BOMLine_ID NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53276,'PP_Order_ID','PP_Order_ID',0,0,0,0,'PP_Order_ID',TO_DATE('2007-12-17 04:21:59','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:21:59','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53276 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','N','N','N',0,'Y',329,53410,'PP_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 04:21:59','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:21:59','YYYY-MM-DD HH24:MI:SS'),53276,'Y','N','N',0,'N','N','EE01')
;

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=53410 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 M_TRANSACTION ADD PP_Order_ID NUMBER(10)
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:22:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3664
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=3664 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=129, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:22:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3659
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=3659 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3665
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=3665 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=130, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:23:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3660
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=3660 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:23:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3662
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=3662 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:24:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3663
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=3663 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=329, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:24:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3661
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=3661 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 04:24:44','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:24:44','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Transaction',50,329,53034,53007,'N','N','N','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53034 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 04:24:45','YYYY-MM-DD HH24:MI:SS'),0,53621,14,3658,'N',0,TO_DATE('2007-12-17 04:24:45','YYYY-MM-DD HH24:MI:SS'),'Inventory Transaction',53034,'N','N',10,'N','EE01')
;

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=53621 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:45','YYYY-MM-DD HH24:MI:SS'),0,53622,'Client/Tenant for this installation.',14,3659,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 04:24:45','YYYY-MM-DD HH24:MI:SS'),'Client',53034,'N','N',20,'Y','EE01')
;

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=53622 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:46','YYYY-MM-DD HH24:MI:SS'),0,53623,'Organizational entity within client',14,3660,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 04:24:46','YYYY-MM-DD HH24:MI:SS'),'Organization',53034,'Y','N',30,'N','EE01')
;

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=53623 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:48','YYYY-MM-DD HH24:MI:SS'),0,53624,'Product, Service, Item',26,3668,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 04:24:48','YYYY-MM-DD HH24:MI:SS'),'Product',53034,'N','N',40,'N','EE01')
;

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=53624 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:49','YYYY-MM-DD HH24:MI:SS'),0,53625,'Product Attribute Set Instance',26,9867,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 04:24:49','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53034,'Y','N',50,'N','EE01')
;

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=53625 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:49','YYYY-MM-DD HH24:MI:SS'),0,53626,'The record is active in the system',1,3661,'N',0,'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.',TO_DATE('2007-12-17 04:24:49','YYYY-MM-DD HH24:MI:SS'),'Active',53034,'N','N',60,'N','EE01')
;

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=53626 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:51','YYYY-MM-DD HH24:MI:SS'),0,53627,'Warehouse Locator',14,3667,'N',0,'The Locator indicates where in a Warehouse a product is located.',TO_DATE('2007-12-17 04:24:51','YYYY-MM-DD HH24:MI:SS'),'Locator',53034,'N','N',70,'N','EE01')
;

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=53627 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:52','YYYY-MM-DD HH24:MI:SS'),0,53628,'Quantity of a product moved.',26,3670,'N',0,'The Movement Quantity indicates the quantity of a product that has been moved.',TO_DATE('2007-12-17 04:24:52','YYYY-MM-DD HH24:MI:SS'),'Movement Quantity',53034,'N','N',80,'N','EE01')
;

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=53628 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (2,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:53','YYYY-MM-DD HH24:MI:SS'),0,53629,'Date a product was moved in or out of inventory',14,3669,'N',0,'The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.',TO_DATE('2007-12-17 04:24:53','YYYY-MM-DD HH24:MI:SS'),'Movement Date',53034,'Y','N',90,'N','EE01')
;

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=53629 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:54','YYYY-MM-DD HH24:MI:SS'),0,53630,'Method of moving the inventory',14,3666,'N',0,'The Movement Type indicates the type of movement (in, out, to production, etc)',TO_DATE('2007-12-17 04:24:54','YYYY-MM-DD HH24:MI:SS'),'Movement Type',53034,'N','N',100,'N','EE01')
;

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=53630 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:55','YYYY-MM-DD HH24:MI:SS'),0,53631,'Line on Shipment or Receipt document',26,3673,'N',0,'The Shipment/Receipt Line indicates a unique line in a Shipment/Receipt document',TO_DATE('2007-12-17 04:24:55','YYYY-MM-DD HH24:MI:SS'),'Shipment/Receipt Line',53034,'N','N',110,'N','EE01')
;

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=53631 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:57','YYYY-MM-DD HH24:MI:SS'),0,53632,'Unique line in an Inventory document',26,3671,'N',0,'The Physical Inventory Line indicates the inventory document line (if applicable) for this transaction',TO_DATE('2007-12-17 04:24:57','YYYY-MM-DD HH24:MI:SS'),'Phys.Inventory Line',53034,'N','N',120,'N','EE01')
;

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=53632 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:58','YYYY-MM-DD HH24:MI:SS'),0,53633,'Inventory Move document Line',26,3672,'N',0,'The Movement Line indicates the inventory movement document line (if applicable) for this transaction',TO_DATE('2007-12-17 04:24:58','YYYY-MM-DD HH24:MI:SS'),'Move Line',53034,'N','N',130,'N','EE01')
;

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=53633 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:24:58','YYYY-MM-DD HH24:MI:SS'),0,53634,'Document Line representing a production',26,3674,'N',0,'The Production Line indicates the production document line (if applicable) for this transaction',TO_DATE('2007-12-17 04:24:58','YYYY-MM-DD HH24:MI:SS'),'Production Line',53034,'N','N',140,'N','EE01')
;

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=53634 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:25:00','YYYY-MM-DD HH24:MI:SS'),0,53635,10,53410,'N',0,TO_DATE('2007-12-17 04:25:00','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53034,'N','N',140,'N','EE01')
;

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=53635 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:25:01','YYYY-MM-DD HH24:MI:SS'),0,53636,10,53409,'N',0,TO_DATE('2007-12-17 04:25:01','YYYY-MM-DD HH24:MI:SS'),'PP_Order_BOMLine_ID',53034,'N','N',150,'N','EE01')
;

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=53636 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:25:02','YYYY-MM-DD HH24:MI:SS'),0,53637,'Project Issues (Material, Labor)',26,9855,'N',0,'Issues to the project initiated by the "Issue to Project" process. You can issue Receipts, Time and Expenses, or Stock.',TO_DATE('2007-12-17 04:25:02','YYYY-MM-DD HH24:MI:SS'),'Project Issue',53034,'N','N',150,'N','EE01')
;

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=53637 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_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Create Product Planning',0,0,0,'This process will create the data plannig register for every product',TO_DATE('2007-12-17 04:25:03','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CreateProductPlanning',53010,TO_DATE('2007-12-17 04:25:03','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','In order to facilitate to load the data planning of similar products, you can run the process Create product Planning and this process will create the data plannig register for every product which fits the parameters: Product category, Warehouse and Resource.

You must indicate the planning parameters defined in the last section for every Product category, Warehouse, and Resource set. Every product which fit these three parameters will have a data planning record with the same data planning values you enter in this form.','N','N','3',0,'PP_Product_Planning','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53010 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53033,0,0,'Warehouse','Y',0,'Storage Warehouse and Service Point','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',53010,TO_DATE('2007-12-17 04:25:04','YYYY-MM-DD HH24:MI:SS'),'M_Warehouse_ID','Y','N',0,0,19,TO_DATE('2007-12-17 04:25:04','YYYY-MM-DD HH24:MI:SS'),'N',20,459,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53033 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53034,0,0,'Product Category','Y',0,'Category of a Product','Identifies the category which this product belongs to.  Product categories are used for pricing and selection.',53010,TO_DATE('2007-12-17 04:25:05','YYYY-MM-DD HH24:MI:SS'),'M_Product_Category_ID','Y','N',0,0,19,TO_DATE('2007-12-17 04:25:05','YYYY-MM-DD HH24:MI:SS'),'N',10,453,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53034 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53035,0,0,'Resource','Y',0,'Resource',53010,TO_DATE('2007-12-17 04:25:06','YYYY-MM-DD HH24:MI:SS'),'S_Resource_ID','Y','N',0,0,19,TO_DATE('2007-12-17 04:25:06','YYYY-MM-DD HH24:MI:SS'),'N',30,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53035 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53036,0,0,'Workflow','Y',0,'Workflow or combination of tasks','The Workflow field identifies a unique Workflow in the system.',53010,TO_DATE('2007-12-17 04:25:07','YYYY-MM-DD HH24:MI:SS'),'AD_Workflow_ID','Y','N',0,0,19,TO_DATE('2007-12-17 04:25:07','YYYY-MM-DD HH24:MI:SS'),'N',80,144,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53036 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53037,0,0,'Working Time','Y',0,'Workflow Simulation Execution Time','Amount of time the performer of the activity needs to perform the task in Duration Unit',53010,TO_DATE('2007-12-17 04:25:08','YYYY-MM-DD HH24:MI:SS'),'WorkingTime','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:08','YYYY-MM-DD HH24:MI:SS'),'N',150,2333,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53037 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53038,0,0,'Promised Delivery Time','Y',0,'Promised days between order and delivery','The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.',53010,TO_DATE('2007-12-17 04:25:08','YYYY-MM-DD HH24:MI:SS'),'DeliveryTime_Promised','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:08','YYYY-MM-DD HH24:MI:SS'),'N',170,1256,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53038 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53039,0,0,'Planner','Y',0,53010,TO_DATE('2007-12-17 04:25:10','YYYY-MM-DD HH24:MI:SS'),'Planner_ID','Y','N',0,0,286,18,TO_DATE('2007-12-17 04:25:10','YYYY-MM-DD HH24:MI:SS'),'N',200,53269,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53039 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53040,0,0,'Is Demand','Y',0,'Indicate the product in this Organization-Warehouse could be required for a Forecast, Sales Order or Manufacturing Order.','Indicate the product in this Organization-Warehouse could be required for a Forecast, Sales Order or Manufacturing Order.',53010,TO_DATE('2007-12-17 04:25:11','YYYY-MM-DD HH24:MI:SS'),'IsDemand','Y','N',0,0,20,TO_DATE('2007-12-17 04:25:11','YYYY-MM-DD HH24:MI:SS'),'N',50,53259,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53040 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53041,0,0,'Is Supply','Y',0,'Indicate the product in this Organization-Plant-Warehouse can satisfy a demand from the Master Production Schedule.','Indicate the product in this Organization-Plant-Warehouse can satisfy a demand from the Master Production Schedule.',53010,TO_DATE('2007-12-17 04:25:13','YYYY-MM-DD HH24:MI:SS'),'IsSupply','Y','N',0,0,20,TO_DATE('2007-12-17 04:25:13','YYYY-MM-DD HH24:MI:SS'),'N',60,53263,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53041 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53042,0,0,'Is Create Plan','Y',0,'Indicates MRP must create Planned orders for this Product-organization-warehouse.','Indicates MRP must create Planned orders for this Product-organization-warehouse, if is ''No''  then you need to use the Replenishment tab in the product window and control the inventory level using the Replenish Report.',53010,TO_DATE('2007-12-17 04:25:14','YYYY-MM-DD HH24:MI:SS'),'IsCreatePlan','Y','N',0,0,20,TO_DATE('2007-12-17 04:25:14','YYYY-MM-DD HH24:MI:SS'),'N',40,53258,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53042 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53043,0,0,'Order Policy','Y',0,'Is refereed to the way MRP should adjust Planned Order','Is refereed to the way MRP should adjust Planned Order to the Organization-Warehouse-Resource needs. The valid options are: Fixed Order Quantity , Lot for Lot and Period Order Quantity.

Use Fixed Order Quantity when you always need to ask the same Quantity of product, this Quantity is entered in the field Order Qty.

If the order policy is not FOQ and you enter a quantity in the Order Qty field, this quantity is the Economic Order Quantity.

The Lot for Lot Policy means MRP process must generate one planned order for each demand not satisfied.

The Period Order Quantity policy refers to the way MRP create one single planned order with every net requirements for a certain number of days. this days are entered in the field Order Period.
',53010,TO_DATE('2007-12-17 04:25:15','YYYY-MM-DD HH24:MI:SS'),'Order_Policy','Y','N',0,0,53228,17,TO_DATE('2007-12-17 04:25:15','YYYY-MM-DD HH24:MI:SS'),'N',190,53266,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53043 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53044,0,0,'Order Pack Qty','Y',0,'Package order size in UOM (e.g. order set of 5 units)','The Order Pack Quantity indicates the number of units in each pack of this product.

When you enter a quantity in the Order Pack Qty field, the Planned orders should be created in multiples of this quantity. , this is useful when the vendor only sells fixed quantities of products or when by effects of the MRP calculation you get fraction of products which must be gotten in integer quantities.',53010,TO_DATE('2007-12-17 04:25:16','YYYY-MM-DD HH24:MI:SS'),'Order_Pack','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:16','YYYY-MM-DD HH24:MI:SS'),'N',130,943,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53044 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53045,0,0,'Minimum Order Qty','Y',0,'Minimum order quantity in UOM','The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.

Minimum Order Quantity is used when the orders should be done at least for this quantity because of vendor policies or fabrication limitations. The MRP process will use this quantity when the calculated planned order is for a smaller quantity than the Minimum Order Quantity then MRP creates the planned order for the Minimum Order Quantity. The system generates a message warning this quantity change.',53010,TO_DATE('2007-12-17 04:25:17','YYYY-MM-DD HH24:MI:SS'),'Order_Min','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:17','YYYY-MM-DD HH24:MI:SS'),'N',110,942,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53045 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53046,0,0,'Order Max','Y',0,'Order max is the maximum order quantity and it is used when the orders should be done at the maximum for this quantity because of vendor policies or warehouse limitations.','Order max is the maximum order quantity and it is used when the orders should be done at the maximum for this quantity because of vendor policies or warehouse limitations. 

The MRP process will use the quantity calculated to create the planned order but generates a message warning the quantity is greater than the maximum quantity.',53010,TO_DATE('2007-12-17 04:25:18','YYYY-MM-DD HH24:MI:SS'),'Order_Max','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:18','YYYY-MM-DD HH24:MI:SS'),'N',120,53264,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53046 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53047,0,0,'Is MPS','Y',0,'Indicates if this product is part of Master Production Schedule ','Indicates if this product is part of Master Production Schedule ',53010,TO_DATE('2007-12-17 04:25:19','YYYY-MM-DD HH24:MI:SS'),'IsMPS','Y','N',0,0,20,TO_DATE('2007-12-17 04:25:19','YYYY-MM-DD HH24:MI:SS'),'N',70,53261,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53047 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53048,0,0,'Time Fence','Y',0,'is the number of days since you execute the MRP process','is the number of days since you execute the MRP process inside of which the system must not change the planned orders. The system will generate action messages warning if some order needs to be modified or created into the time fence .',53010,TO_DATE('2007-12-17 04:25:20','YYYY-MM-DD HH24:MI:SS'),'TimeFence','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:20','YYYY-MM-DD HH24:MI:SS'),'N',90,53270,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53048 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53049,0,0,'Transfert Time','Y',0,'Is the number of days the product needs to be moved from one warehouse to another.','Is the number of days the product needs to be moved from one warehouse to another.',53010,TO_DATE('2007-12-17 04:25:21','YYYY-MM-DD HH24:MI:SS'),'TransfertTime','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:21','YYYY-MM-DD HH24:MI:SS'),'N',100,53271,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53049 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53050,0,0,'Order Qty','Y',0,'Order Qty is indicated that this is the economic batch size.','Order Qty is indicated that this is the economic batch size.',53010,TO_DATE('2007-12-17 04:25:22','YYYY-MM-DD HH24:MI:SS'),'Order_Qty','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:22','YYYY-MM-DD HH24:MI:SS'),'N',140,53267,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53050 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53051,0,0,'Yield','Y',0,'Enter the percentage of the product you expect will satisfy the QA specifications vs the total quantity to be produced.','Enter the percentage of the product you expect will satisfy the QA specifications vs the total quantity to be produced.',53010,TO_DATE('2007-12-17 04:25:23','YYYY-MM-DD HH24:MI:SS'),'Yield','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:23','YYYY-MM-DD HH24:MI:SS'),'N',160,53272,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53051 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53052,0,0,'Order Period','Y',0,'Indicates the Quantity to The Period Order Quantity policy','Indicates the Quantity to The Period Order Quantity policy refers to the way MRP create one single planned order with every net requirements for a certain number of days. this days are entered in the field Order Period.',53010,TO_DATE('2007-12-17 04:25:25','YYYY-MM-DD HH24:MI:SS'),'Order_Period','Y','N',0,0,29,TO_DATE('2007-12-17 04:25:25','YYYY-MM-DD HH24:MI:SS'),'N',180,53265,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53052 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)
;

UPDATE AD_Table SET Name='Forecast', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=328, IsDeleteable='Y', TableName='M_Forecast', Description='Material Forecast', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 04:25:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=720
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:26:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11904
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=11904 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11917
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=11917 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Calendar', IsMandatory='Y', IsTranslated='N', Description='Accounting Calendar Name', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='C_Calendar_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=190, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:27:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11912
;

UPDATE AD_Field SET Name='Calendar', 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.' WHERE AD_Column_ID=11912 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_Year.C_Calendar_ID=@C_Calendar_ID@', Name='C_Year of Calendar', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 04:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=198
;

UPDATE AD_Column SET Name='Year', IsMandatory='Y', IsTranslated='N', Description='Calendar Year', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Year uniquely identifies an accounting year for a calendar.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='C_Year_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=198, AD_Element_ID=223, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:27:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11909
;

UPDATE AD_Field SET Name='Year', Description='Calendar Year', Help='The Year uniquely identifies an accounting year for a calendar.' WHERE AD_Column_ID=11909 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:28:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11907
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=11907 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:28:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11906
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=11906 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:28:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11911
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=11911 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:29:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11905
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=11905 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:29:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11913
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=11913 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Default', IsMandatory='Y', IsTranslated='N', Description='Default value', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Default Checkbox indicates if this record will be used as a default value.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='IsDefault', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1103, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:29:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11915
;

UPDATE AD_Field SET Name='Default', Description='Default value', Help='The Default Checkbox indicates if this record will be used as a default value.' WHERE AD_Column_ID=11915 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Forecast', IsMandatory='Y', IsTranslated='N', Description='Material Forecast', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Material Forecast', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='M_Forecast_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2498, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:30:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11918
;

UPDATE AD_Field SET Name='Forecast', Description='Material Forecast', Help='Material Forecast' WHERE AD_Column_ID=11918 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:30:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11910
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=11910 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process Now', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='Processing', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=524, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:31:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11916
;

UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=11916 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:31:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11914
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=11914 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=720, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:32:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11908
;

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=11908 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Material Forecast', Help='Material Forecast', OrderByClause=NULL, IsTranslationTab='N', Name='Forecast', SeqNo=10, AD_Table_ID=720, AD_Window_ID=328, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=0, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:32:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=653
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=653
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Material Forecast', DisplayLength=14, AD_Column_ID=11918, IsFieldOnly='N', Help='Material Forecast', Name='Forecast', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:32:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10300
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=11910, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=20, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:33:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10293
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=11917, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=653, IsSameLine='Y', IsHeading='N', SeqNo=30, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:33:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10299
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=11908, IsFieldOnly='N', 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', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:33:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10291
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=11911, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:33:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10294
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=11905, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:34:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10290
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=11913, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:34:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10296
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Default value', DisplayLength=1, AD_Column_ID=11915, IsFieldOnly='N', Help='The Default Checkbox indicates if this record will be used as a default value.', Name='Default', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:34:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10297
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Accounting Calendar Name', DisplayLength=14, AD_Column_ID=11912, IsFieldOnly='N', 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', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:35:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10295
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Calendar Year', DisplayLength=14, AD_Column_ID=11909, IsFieldOnly='N', Help='The Year uniquely identifies an accounting year for a calendar.', Name='Year', AD_Tab_ID=653, IsSameLine='Y', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:35:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10292
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description=NULL, DisplayLength=23, AD_Column_ID=11916, IsFieldOnly='N', Help=NULL, Name='Process Now', AD_Tab_ID=653, IsSameLine='N', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:35:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10298
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10298
;

UPDATE AD_Table SET Name='Forecast Line', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=328, IsDeleteable='Y', TableName='M_ForecastLine', Description='Forecast Line', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 04:36:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=722
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:36:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11933
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=11933 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:36:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11937
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=11937 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Quantity', IsMandatory='Y', IsTranslated='N', Description='Quantity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Quantity indicates the number of a specific product or item for this document.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='Qty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=526, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:37:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11938
;

UPDATE AD_Field SET Name='Quantity', Description='Quantity', Help='The Quantity indicates the number of a specific product or item for this document.' WHERE AD_Column_ID=11938 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Calculated Quantity', IsMandatory='Y', IsTranslated='N', Description='Calculated Quantity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='QtyCalculated', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=2500, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:37:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11959
;

UPDATE AD_Field SET Name='Calculated Quantity', Description='Calculated Quantity', Help=NULL WHERE AD_Column_ID=11959 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:39:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11931
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=11931 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:40:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11935
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=11935 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:40:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11932
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=11932 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:41:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11936
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=11936 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:41:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11940
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=11940 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Forecast Line', IsMandatory='Y', IsTranslated='N', Description='Forecast Line', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Forecast of Product Qyantity by Period', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='M_ForecastLine_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2499, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:41:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11942
;

UPDATE AD_Field SET Name='Forecast Line', Description='Forecast Line', Help='Forecast of Product Qyantity by Period' WHERE AD_Column_ID=11942 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Forecast', IsMandatory='Y', IsTranslated='N', Description='Material Forecast', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Material Forecast', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='M_Forecast_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2498, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:42:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11939
;

UPDATE AD_Field SET Name='Forecast', Description='Material Forecast', Help='Material Forecast' WHERE AD_Column_ID=11939 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_Period.C_Year_ID=@C_Year_ID@', Name='C_Period of Year', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 04:42:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=199
;

UPDATE AD_Column SET Name='Period', IsMandatory='Y', IsTranslated='N', Description='Period of the Calendar', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='The Period indicates an exclusive range of dates for a calendar.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='C_Period_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=199, AD_Element_ID=206, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:42:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11934
;

UPDATE AD_Field SET Name='Period', Description='Period of the Calendar', Help='The Period indicates an exclusive range of dates for a calendar.' WHERE AD_Column_ID=11934 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=722, ColumnName='M_Product_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=231, AD_Element_ID=454, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:43:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11941
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=11941 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','Y','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',722,53411,'M_Warehouse_ID',0,0,22,'N',TO_DATE('2007-12-17 04:43:05','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:43:05','YYYY-MM-DD HH24:MI:SS'),459,'Y','N','N',0,'N','N','EE01')
;

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=53411 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 M_FORECASTLINE ADD M_Warehouse_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Promised','Y','N','Date Order was promised','N','The Date Promised indicates the date, if any, that an Order was promised for.',0,'Y',722,53412,'DatePromised',0,0,7,'N',TO_DATE('2007-12-17 04:43:07','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 04:43:07','YYYY-MM-DD HH24:MI:SS'),269,'Y','N','N',0,'N','N','EE01')
;

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=53412 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 M_FORECASTLINE ADD DatePromised DATE NOT NULL
;

UPDATE AD_Tab SET Description='Forecast Line', Help='Forecast of Product Qyantity by Period', OrderByClause=NULL, IsTranslationTab='N', Name='Line', SeqNo=20, AD_Table_ID=722, AD_Window_ID=328, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=1, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:43:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=654
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=654
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Forecast Line', DisplayLength=14, AD_Column_ID=11942, IsFieldOnly='N', Help='Forecast of Product Qyantity by Period', Name='Forecast Line', AD_Tab_ID=654, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:43:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10302
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=11935, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=654, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:44:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10304
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=11937, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=654, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:44:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10305
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Material Forecast', DisplayLength=14, AD_Column_ID=11939, IsFieldOnly='N', Help='Material Forecast', Name='Forecast', AD_Tab_ID=654, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:44:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10307
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=11940, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=654, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:44:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10308
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Period of the Calendar', DisplayLength=14, AD_Column_ID=11934, IsFieldOnly='N', Help='The Period indicates an exclusive range of dates for a calendar.', Name='Period', AD_Tab_ID=654, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:45:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10303
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:45:15','YYYY-MM-DD HH24:MI:SS'),0,53638,'Storage Warehouse and Service Point',22,53411,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 04:45:15','YYYY-MM-DD HH24:MI:SS'),'Warehouse',654,'N','N',60,'N','EE01')
;

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=53638 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:45:16','YYYY-MM-DD HH24:MI:SS'),0,53639,'Date Order was promised',7,53412,'N',0,'The Date Promised indicates the date, if any, that an Order was promised for.',TO_DATE('2007-12-17 04:45:16','YYYY-MM-DD HH24:MI:SS'),'Date Promised',654,'Y','N',70,'N','EE01')
;

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=53639 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 SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Product, Service, Item', DisplayLength=26, AD_Column_ID=11941, IsFieldOnly='N', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product', AD_Tab_ID=654, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:45:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10301
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Quantity', DisplayLength=26, AD_Column_ID=11938, IsFieldOnly='N', Help='The Quantity indicates the number of a specific product or item for this document.', Name='Quantity', AD_Tab_ID=654, IsSameLine='N', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:45:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10306
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Calculated Quantity', DisplayLength=26, AD_Column_ID=11959, IsFieldOnly='N', Help=NULL, Name='Calculated Quantity', AD_Tab_ID=654, IsSameLine='Y', IsHeading='N', SeqNo=100, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:46:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10310
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10310
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,Help,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 04:46:13','YYYY-MM-DD HH24:MI:SS'),'Material Requirement Planning Setup',0,'3','Victor Perez',0,0,'D','EE01','N','N',0,0,'R','Setup Material Requirement Planning',0,0,'G',TO_DATE('2007-12-17 04:46:13','YYYY-MM-DD HH24:MI:SS'),50004,0,0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.','10000000',0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials. It create planned orders to balance demand ans supply for products and it issues recommendations to receipt material with the right quantities and at the right dates to satisfy the Master Production Schedule in the most efficient way.',0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50004 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50004,0,0,0,TO_DATE('2007-12-17 04:46:14','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:46:14','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Setup Manufacturing Management',0,0,0,0,0,'Manufacturing Management Setup','Y',TO_DATE('2007-12-17 04:46:14','YYYY-MM-DD HH24:MI:SS'),0,50012,50004,'F',0,0,TO_DATE('2007-12-17 04:46:14','YYYY-MM-DD HH24:MI:SS'),0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50012 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Notice',0,0,0,0,0,'Notice','Y',TO_DATE('2007-12-17 04:46:15','YYYY-MM-DD HH24:MI:SS'),0,50013,193,50004,'W',0,0,TO_DATE('2007-12-17 04:46:15','YYYY-MM-DD HH24:MI:SS'),0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50013 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Setup Discrete Manufacturing',0,0,0,0,0,'Discrete Manufacturing Setup','Y',TO_DATE('2007-12-17 04:46:16','YYYY-MM-DD HH24:MI:SS'),0,50014,50004,'F',0,0,TO_DATE('2007-12-17 04:46:16','YYYY-MM-DD HH24:MI:SS'),0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50014 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50012,Updated=TO_DATE('2007-12-17 04:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50004
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Calculate Low Level',0,0,0,'This process calculate and register the lowest level of a product inside any BOM. It is used in the MRP calculations and should be executed when you enter a new BOM.',TO_DATE('2007-12-17 04:46:19','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CalculateLowLevel',53012,TO_DATE('2007-12-17 04:46:19','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This process calculate and register the lowest level of a product inside any BOM. It is used in the MRP calculations and should be executed when you enter a new BOM.','N','N','3',0,'PP_Calculate Low Level','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53012 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Create Record MRP',0,0,0,'This process recreate the demand, approved and open orders for a product.',TO_DATE('2007-12-17 04:46:20','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.MRPUpdate',53014,TO_DATE('2007-12-17 04:46:20','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This process recreate the demand, approved and open orders for a product.

Generally, this process is only performed during the implementation of MRP','N','N','3',0,'PP_Create Record MRP','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53014 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Calculate Material Plan',0,0,0,'This process calcualte the demand, approved and open orders for a product.',TO_DATE('2007-12-17 04:46:22','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.MRP',53016,TO_DATE('2007-12-17 04:46:22','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This process calcualte the demand, approved and open orders for a product.','N','N','3',0,'PP_Calculate Material Plan','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53016 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53053,0,0,'Version','Y',20,'Version of the table definition','The Version indicates the version of this table definition.',53016,TO_DATE('2007-12-17 04:46:23','YYYY-MM-DD HH24:MI:SS'),'Version','Y','N',0,0,10,TO_DATE('2007-12-17 04:46:23','YYYY-MM-DD HH24:MI:SS'),'N',30,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53053 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53054,0,0,'Organization','Y',10,'Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',53016,TO_DATE('2007-12-17 04:46:24','YYYY-MM-DD HH24:MI:SS'),'AD_Org_ID','Y','N',0,0,19,TO_DATE('2007-12-17 04:46:24','YYYY-MM-DD HH24:MI:SS'),'Y',10,113,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53054 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)
;

INSERT INTO AD_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,Help,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.VMRPDetailed',0,TO_DATE('2007-12-17 04:46:25','YYYY-MM-DD HH24:MI:SS'),0,0,'MRP Info','Show the detail of MRP calculation',53003,TO_DATE('2007-12-17 04:46:25','YYYY-MM-DD HH24:MI:SS'),'Y','Show the detail of MRP calculation','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53003 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53003,0,0,0,0,'Y',TO_DATE('2007-12-17 04:46:25','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:46:25','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,AD_Image_ID,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),0,'MRP Notice',53008,'T','The system creates messages while performing processes. In this window you can view them.

MRP Notice
It is a group of messages generated for the MRP process. It indicates to the scheduler the actions he needs to do to reach the Master Production Schedule. The action messages are set as notices for the planner when he sign up the Compiere session.

The possible action messages are:

MRP Code	 Action Message
MRP - 001	 Beginning Quantity Less Than Zero.
MRP - 020	 Create - A Supply Order should be created to satisfy a negative projected on hand balance.
This message is only generate if Create Plan is No or if a new requirement appears the time fence.

MRP - 030	 De Expedite - Indicates that a scheduled supply order is due before it is needed
and should be delayed, or demand rescheduled to an earlier date.

MRP - 040	 Expedite - Indicates that a scheduled supply order is due after is needed
and should be rescheduled to an earlier date, or demand rescheduled to a later date.

MRP - 050	 Cancel - Indicate that a scheduled supply order is no longer needed and should be deleted.
MRP - 060	 Release Due For - Indicate that a schedule order should be released.
MRP - 070	 Release Past Due For - Indicate that a supply order was not released when it was due,
and should be either released or expedited now, or the demand rescheduled for a later date.

MRP - 080	 Quantity Less than Minimum - Indicates that a supply order was created for
a quantity less than the minimum quantity set in the product planning

MRP - 090	 Quantity Less than Maximum - Indicates that a supply order was created for a quantity
for a quantity greater than than maximum quantity set in the product planning

MRP - 100	 Past Due Time Fence - Indicates that there is an unsatisfied material requirement inside
the planning time fence for this item. You should either manually schedule and expedite orders to

fill this demand or delay fulfillment of the requirement that created the demand.

MRP - 110	 No exists Dem',0,0,'View System Notices','Y','N','N',107,'N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53008 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),53008,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),53008,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),53008,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:46:26','YYYY-MM-DD HH24:MI:SS'),53008,'Y',0,0,50001)
;

UPDATE AD_Table SET Name='Notice', AccessLevel='7', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=193, IsDeleteable='Y', TableName='AD_Note', Description='System Notice', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 04:46:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=389
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:47:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10581
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=10581 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Processed', IsMandatory='N', IsTranslated='N', Description='The document has been processed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Processed checkbox indicates that a document has been processed.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='Processed', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1047, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:47:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5949
;

UPDATE AD_Field SET Name='Processed', Description='The document has been processed', Help='The Processed checkbox indicates that a document has been processed.' WHERE AD_Column_ID=5949 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Process SET Name='Delete Notices', Statistic_Seconds=0, Description='Delete all Notices', Classname='org.compiere.process.NoteDelete', ProcedureName=NULL, IsActive='Y', Help=NULL, IsReport='N', IsDirectPrint='N', AccessLevel='6', Statistic_Count=0, Value='AD_NoteDelete', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 04:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=241
;

UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=241
;

UPDATE AD_Process_Para SET Name='User/Contact', IsActive='Y', FieldLength=0, ValueMax=NULL, Description='User within the system - Internal or Business Partner Contact', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', AD_Process_ID=241, ColumnName='AD_User_ID', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, AD_Val_Rule_ID=164, VFormat=NULL, AD_Reference_ID=19, DefaultValue='-1', IsMandatory='N', SeqNo=10, ValueMin=NULL, AD_Element_ID=138, EntityType='D',Updated=TO_DATE('2007-12-17 04:47:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=405
;

UPDATE AD_Column SET Name='Process Now', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='Processing', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=524, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=241, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:48:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9954
;

UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=9954 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Record ID', IsMandatory='N', IsTranslated='N', Description='Direct internal record ID', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='Record_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=538, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:48:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5958
;

UPDATE AD_Field SET Name='Record ID', Description='Direct internal record ID', Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.' WHERE AD_Column_ID=5958 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Table', IsMandatory='N', IsTranslated='N', Description='Database Table information', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Database Table provides the information of the table definition', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='AD_Table_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=126, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:49:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5957
;

UPDATE AD_Field SET Name='Table', Description='Database Table information', Help='The Database Table provides the information of the table definition' WHERE AD_Column_ID=5957 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='User/Contact', IsMandatory='N', IsTranslated='N', Description='User within the system - Internal or Business Partner Contact', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='AD_User_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=138, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:49:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5946
;

UPDATE AD_Field SET Name='User/Contact', Description='User within the system - Internal or Business Partner Contact', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact' WHERE AD_Column_ID=5946 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Text Message', IsMandatory='N', IsTranslated='N', Description='Text Message', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='TextMsg', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=2438, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10806
;

UPDATE AD_Field SET Name='Text Message', Description='Text Message', Help=NULL WHERE AD_Column_ID=10806 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Workflow Activity', IsMandatory='N', IsTranslated='N', Description='Workflow Activity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Workflow Activity is the actual Workflow Node in a Workflow Process instance', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='AD_WF_Activity_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2307, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:50:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10807
;

UPDATE AD_Field SET Name='Workflow Activity', Description='Workflow Activity', Help='The Workflow Activity is the actual Workflow Node in a Workflow Process instance' WHERE AD_Column_ID=10807 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_Message', Description='Message selection', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:50:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=102
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=102
;

UPDATE AD_Ref_Table SET AD_Table_ID = 109, AD_Display = 198, AD_Key = 6765, isValueDisplayed = 'N', OrderByClause = 'AD_Message.MsgText', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 102
;

UPDATE AD_Column SET Name='Message', IsMandatory='Y', IsTranslated='N', Description='System Message', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='Information and Error messages', AD_Reference_Value_ID=102, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='AD_Message_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=1752, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6768
;

UPDATE AD_Field SET Name='Message', Description='System Message', Help='Information and Error messages' WHERE AD_Column_ID=6768 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Reference', IsMandatory='N', IsTranslated='N', Description='Reference for this record', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue=NULL, Help='The Reference displays the source document number.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='Reference', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=539, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=5950
;

UPDATE AD_Field SET Name='Reference', Description='Reference for this record', Help='The Reference displays the source document number.' WHERE AD_Column_ID=5950 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4832
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=4832 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Notice', IsMandatory='Y', IsTranslated='N', Description='System Notice', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='AD_Note_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=1348, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:52:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4825
;

UPDATE AD_Field SET Name='Notice', Description='System Notice', Help=NULL WHERE AD_Column_ID=4825 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:52:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4827
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=4827 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4829
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=4829 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:53:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4830
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=4830 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:53:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4828
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=4828 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:54:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4831
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=4831 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=389, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 04:54:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4826
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=4826 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,WhereClause,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 04:54:33','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:54:33','YYYY-MM-DD HH24:MI:SS'),0,'System Notice','The Notice Tab provides a method of viewing messages that are generated by this system when performing processes.',0,'N','Notice',10,389,53035,53008,'(AD_User_ID IN (0,@#AD_User_ID@) OR AD_User_ID IS NULL) AND TextMsg LIKE ''%MRP%''','N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53035 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'N','Y','Y',TO_DATE('2007-12-17 04:54:34','YYYY-MM-DD HH24:MI:SS'),0,53640,'System Notice',14,4825,'N',0,TO_DATE('2007-12-17 04:54:34','YYYY-MM-DD HH24:MI:SS'),'Notice',53035,'N','N',10,'Y','EE01')
;

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=53640 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 04:54:35','YYYY-MM-DD HH24:MI:SS'),0,53641,'The record is active in the system',1,4828,'N',0,'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.',TO_DATE('2007-12-17 04:54:35','YYYY-MM-DD HH24:MI:SS'),'Active',53035,'N','N',20,'N','EE01')
;

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=53641 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:36','YYYY-MM-DD HH24:MI:SS'),0,53642,'Client/Tenant for this installation.',14,4826,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 04:54:36','YYYY-MM-DD HH24:MI:SS'),'Client',53035,'N','N',30,'Y','EE01')
;

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=53642 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:37','YYYY-MM-DD HH24:MI:SS'),0,53643,'Organizational entity within client',14,4827,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 04:54:37','YYYY-MM-DD HH24:MI:SS'),'Organization',53035,'Y','N',40,'Y','EE01')
;

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=53643 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:38','YYYY-MM-DD HH24:MI:SS'),0,53644,'System Message',14,6768,'N',0,'Information and Error messages',TO_DATE('2007-12-17 04:54:38','YYYY-MM-DD HH24:MI:SS'),'Message',53035,'N','N',50,'Y','EE01')
;

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=53644 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (-1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:39','YYYY-MM-DD HH24:MI:SS'),0,53645,'Date this record was created',20,4829,'N',0,'The Created field indicates the date that this record was created.',TO_DATE('2007-12-17 04:54:39','YYYY-MM-DD HH24:MI:SS'),'Created',53035,'Y','N',60,'Y','EE01')
;

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=53645 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:40','YYYY-MM-DD HH24:MI:SS'),0,53646,'User within the system - Internal or Business Partner Contact',14,5946,'N',0,'The User identifies a unique user in the system. This could be an internal user or a business partner contact',TO_DATE('2007-12-17 04:54:40','YYYY-MM-DD HH24:MI:SS'),'User/Contact',53035,'N','N',70,'Y','EE01')
;

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=53646 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:41','YYYY-MM-DD HH24:MI:SS'),0,53647,'Workflow Activity',14,10807,'N',0,'The Workflow Activity is the actual Workflow Node in a Workflow Process instance',TO_DATE('2007-12-17 04:54:41','YYYY-MM-DD HH24:MI:SS'),'Workflow Activity',53035,'N','N',80,'Y','EE01')
;

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=53647 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:42','YYYY-MM-DD HH24:MI:SS'),0,53648,'Database Table information',14,5957,'N',0,'The Database Table provides the information of the table definition',TO_DATE('2007-12-17 04:54:42','YYYY-MM-DD HH24:MI:SS'),'Table',53035,'N','N',90,'Y','EE01')
;

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=53648 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:43','YYYY-MM-DD HH24:MI:SS'),0,53649,'Direct internal record ID',23,5958,'N',0,'The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.',TO_DATE('2007-12-17 04:54:43','YYYY-MM-DD HH24:MI:SS'),'Record ID',53035,'Y','N',100,'Y','EE01')
;

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=53649 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:44','YYYY-MM-DD HH24:MI:SS'),0,53650,'Reference for this record',60,5950,'N',0,'The Reference displays the source document number.',TO_DATE('2007-12-17 04:54:44','YYYY-MM-DD HH24:MI:SS'),'Reference',53035,'N','N',110,'Y','EE01')
;

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=53650 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:45','YYYY-MM-DD HH24:MI:SS'),0,53651,'Text Message',60,10806,'N',0,TO_DATE('2007-12-17 04:54:45','YYYY-MM-DD HH24:MI:SS'),'Text Message',53035,'N','N',120,'Y','EE01')
;

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=53651 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:46','YYYY-MM-DD HH24:MI:SS'),0,53652,'Optional short description of the record',60,10581,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 04:54:46','YYYY-MM-DD HH24:MI:SS'),'Description',53035,'N','N',130,'N','EE01')
;

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=53652 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 04:54:47','YYYY-MM-DD HH24:MI:SS'),0,53653,'System Notice acknowledged',1,5949,'N',0,'The Acknowledged checkbox indicates if this notice does not need to be retained.',TO_DATE('2007-12-17 04:54:47','YYYY-MM-DD HH24:MI:SS'),'Acknowledge',53035,'N','N',140,'N','EE01')
;

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=53653 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 04:54:48','YYYY-MM-DD HH24:MI:SS'),0,53654,23,9954,'N',0,TO_DATE('2007-12-17 04:54:48','YYYY-MM-DD HH24:MI:SS'),'Process Now',53035,'Y','N',150,'N','EE01')
;

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=53654 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'RV_PP_MRP','3','Y','N','N','RV_PP_MRP',TO_DATE('2007-12-17 04:54:49','YYYY-MM-DD HH24:MI:SS'),53021,0,TO_DATE('2007-12-17 04:54:49','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53021 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table RV_PP_MRP',0,0,'RV_PP_MRP',50000,1000000,'Y',53018,TO_DATE('2007-12-17 04:54:50','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:54:50','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_ReportView (AD_Client_ID,IsActive,Name,AD_Table_ID,CreatedBy,Updated,AD_ReportView_ID,AD_Org_ID,Created,UpdatedBy,EntityType) VALUES (0,'Y','RV_PP_MRP',53021,0,TO_DATE('2007-12-17 04:54:49','YYYY-MM-DD HH24:MI:SS'),53000,0,TO_DATE('2007-12-17 04:54:49','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

UPDATE AD_Table SET Name='MRP View', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=NULL, IsDeleteable='N', TableName='RV_PP_MRP', Description=NULL, IsHighVolume='N', ImportTable='N', IsView='Y', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 04:55:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53021
;

UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53021
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','N','N','Alphanumeric identifier of the entity','Y',1,'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.',0,'Y',53021,53413,'Name',0,0,120,'N',TO_DATE('2007-12-17 04:55:06','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:55:06','YYYY-MM-DD HH24:MI:SS'),469,'N','N','N',0,'N','N','D')
;

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=53413 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','N','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53021,53414,'AD_Org_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:07','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:07','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','D')
;

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=53414 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sales Order Line','N','N','Sales Order Line','N','The Sales Order Line is a unique identifier for a line in an order.',0,'Y',53021,53415,'C_OrderLine_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:08','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:08','YYYY-MM-DD HH24:MI:SS'),561,'N','N','N',0,'N','N','D')
;

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=53415 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order','N','N','Order','N','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.',0,'Y',53021,53416,'C_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:09','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:09','YYYY-MM-DD HH24:MI:SS'),558,'N','N','N',0,'N','N','D')
;

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=53416 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','N','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53021,53417,'Created',0,0,29,'N',TO_DATE('2007-12-17 04:55:10','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:10','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','D')
;

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=53417 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','N','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53021,53418,'CreatedBy',0,0,10,'N',TO_DATE('2007-12-17 04:55:12','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 04:55:12','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','D')
;

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=53418 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53277,'DateConfirm','DateConfirm',0,0,0,0,'DateConfirm',TO_DATE('2007-12-17 04:55:13','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:55:13','YYYY-MM-DD HH24:MI:SS'),'Y','D')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53277 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateConfirm','N','N','N',0,'Y',53021,53419,'DateConfirm',0,0,29,'N',TO_DATE('2007-12-17 04:55:13','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:13','YYYY-MM-DD HH24:MI:SS'),53277,'N','N','N',0,'N','N','D')
;

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=53419 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53278,'DateFinishSchedule','DateFinishSchedule',0,0,0,0,'DateFinishSchedule',TO_DATE('2007-12-17 04:55:15','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:55:15','YYYY-MM-DD HH24:MI:SS'),'Y','D')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53278 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateFinishSchedule','N','N','N',0,'Y',53021,53420,'DateFinishSchedule',0,0,29,'N',TO_DATE('2007-12-17 04:55:15','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:15','YYYY-MM-DD HH24:MI:SS'),53278,'N','N','N',0,'N','N','D')
;

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=53420 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Ordered','N','N','Date of Order','N','Indicates the Date an item was ordered.',0,'Y',53021,53421,'DateOrdered',0,0,29,'N',TO_DATE('2007-12-17 04:55:17','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:17','YYYY-MM-DD HH24:MI:SS'),268,'N','N','N',0,'N','N','D')
;

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=53421 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Promised','N','N','Date Order was promised','N','The Date Promised indicates the date, if any, that an Order was promised for.',0,'Y',53021,53422,'DatePromised',0,0,29,'N',TO_DATE('2007-12-17 04:55:18','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:18','YYYY-MM-DD HH24:MI:SS'),269,'N','N','N',0,'N','N','D')
;

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=53422 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53279,'DateSimulation','DateSimulation',0,0,0,0,'DateSimulation',TO_DATE('2007-12-17 04:55:19','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:55:19','YYYY-MM-DD HH24:MI:SS'),'Y','D')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53279 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateSimulation','N','N','N',0,'Y',53021,53423,'DateSimulation',0,0,29,'N',TO_DATE('2007-12-17 04:55:19','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:19','YYYY-MM-DD HH24:MI:SS'),53279,'N','N','N',0,'N','N','D')
;

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=53423 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53280,'DateStart','DateStart',0,0,0,0,'DateStart',TO_DATE('2007-12-17 04:55:22','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:55:22','YYYY-MM-DD HH24:MI:SS'),'Y','D')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53280 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStart','N','N','N',0,'Y',53021,53424,'DateStart',0,0,29,'N',TO_DATE('2007-12-17 04:55:21','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:21','YYYY-MM-DD HH24:MI:SS'),53280,'N','N','N',0,'N','N','D')
;

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=53424 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53281,'DateStartSchedule','DateStartSchedule',0,0,0,0,'DateStartSchedule',TO_DATE('2007-12-17 04:55:23','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:55:23','YYYY-MM-DD HH24:MI:SS'),'Y','D')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53281 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStartSchedule','N','N','N',0,'Y',53021,53425,'DateStartSchedule',0,0,29,'N',TO_DATE('2007-12-17 04:55:23','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:23','YYYY-MM-DD HH24:MI:SS'),53281,'N','N','N',0,'N','N','D')
;

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=53425 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Status','N','N','The current status of the document','N','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',0,'Y',53021,53426,'DocStatus',0,0,2,'N',TO_DATE('2007-12-17 04:55:25','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:55:25','YYYY-MM-DD HH24:MI:SS'),289,'N','N','N',0,'N','N','D')
;

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=53426 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','N','N','The record is active in the system','N','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.',0,'Y',53021,53427,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 04:55:26','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 04:55:26','YYYY-MM-DD HH24:MI:SS'),348,'N','N','N',0,'N','N','D')
;

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=53427 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsMPS','N','N','N',0,'Y',53021,53428,'IsMPS',0,0,1,'N',TO_DATE('2007-12-17 04:55:27','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 04:55:27','YYYY-MM-DD HH24:MI:SS'),53261,'N','N','N',0,'N','N','D')
;

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=53428 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Forecast Line','N','N','Forecast Line','N','Forecast of Product Qyantity by Period',0,'Y',53021,53429,'M_ForecastLine_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:29','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:29','YYYY-MM-DD HH24:MI:SS'),2499,'N','N','N',0,'N','N','D')
;

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=53429 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Forecast','N','N','Material Forecast','N','Material Forecast',0,'Y',53021,53430,'M_Forecast_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:30','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:30','YYYY-MM-DD HH24:MI:SS'),2498,'N','N','N',0,'N','N','D')
;

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=53430 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','N','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53021,53431,'M_Product_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:31','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:31','YYYY-MM-DD HH24:MI:SS'),454,'N','N','N',0,'N','N','D')
;

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=53431 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Requisition Line','N','N','Material Requisition Line','N',0,'Y',53021,53432,'M_RequisitionLine_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:32','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:32','YYYY-MM-DD HH24:MI:SS'),2453,'N','N','N',0,'N','N','D')
;

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=53432 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Requisition','N','N','Material Requisition','N',0,'Y',53021,53433,'M_Requisition_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:32','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:32','YYYY-MM-DD HH24:MI:SS'),2452,'N','N','N',0,'N','N','D')
;

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=53433 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','N','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',53021,53434,'M_Warehouse_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:33','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:33','YYYY-MM-DD HH24:MI:SS'),459,'N','N','N',0,'N','N','D')
;

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=53434 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','N','N','N',0,'Y',53021,53435,'PP_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:34','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:34','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','D')
;

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=53435 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Priority','N','N','Indicates if this request is of a high, medium or low priority.','N','The Priority indicates the importance of this request.',0,'Y',53021,53436,'Priority',0,0,10,'N',TO_DATE('2007-12-17 04:55:35','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:55:35','YYYY-MM-DD HH24:MI:SS'),1514,'N','N','N',0,'N','N','D')
;

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=53436 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Quantity','N','N','Quantity','N','The Quantity indicates the number of a specific product or item for this document.',0,'Y',53021,53437,'Qty',0,0,10,'N',TO_DATE('2007-12-17 04:55:36','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 04:55:36','YYYY-MM-DD HH24:MI:SS'),526,'N','N','N',0,'N','N','D')
;

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=53437 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','N','N','Resource','N',0,'Y',53021,53438,'S_Resource_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:37','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:37','YYYY-MM-DD HH24:MI:SS'),1777,'N','N','N',0,'N','N','D')
;

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=53438 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Type','N','N','Type of Validation (SQL, Java Script, Java Language)','N','The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.',0,'Y',53021,53439,'Type',0,0,1,'N',TO_DATE('2007-12-17 04:55:38','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:55:38','YYYY-MM-DD HH24:MI:SS'),600,'N','N','N',0,'N','N','D')
;

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=53439 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53282,'TypeMRP','TypeMRP',0,0,0,0,'TypeMRP',TO_DATE('2007-12-17 04:55:39','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:55:39','YYYY-MM-DD HH24:MI:SS'),'Y','D')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53282 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('TypeMRP','N','N','N',0,'Y',53021,53440,'TypeMRP',0,0,3,'N',TO_DATE('2007-12-17 04:55:39','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:55:39','YYYY-MM-DD HH24:MI:SS'),53282,'N','N','N',0,'N','N','D')
;

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=53440 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','N','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53021,53441,'Updated',0,0,29,'N',TO_DATE('2007-12-17 04:55:41','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:55:41','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','D')
;

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=53441 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','N','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53021,53442,'UpdatedBy',0,0,10,'N',TO_DATE('2007-12-17 04:55:42','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 04:55:42','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','D')
;

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=53442 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','N','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53021,53443,'AD_Client_ID',0,0,10,'N',TO_DATE('2007-12-17 04:55:43','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:55:43','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','D')
;

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=53443 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','N','N','Search key for the record in the format required - must be unique','N','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).',0,'Y',53021,53444,'Value',0,0,80,'N',TO_DATE('2007-12-17 04:55:44','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:55:44','YYYY-MM-DD HH24:MI:SS'),620,'N','N','N',0,'N','N','D')
;

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=53444 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50000,'Y','Y',0,TO_DATE('2007-12-17 04:55:45','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 04:55:45','YYYY-MM-DD HH24:MI:SS'),0,53021,'Y',100,53000,'MRP Review',0,100,0,0,'N',130,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53441,0,'Updated','Y','Updated',TO_DATE('2007-12-17 04:55:46','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50000,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50000 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:47','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53442,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 04:55:47','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50001,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50001 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:48','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53427,0,'Active','Y','Active',TO_DATE('2007-12-17 04:55:48','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50002,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50002 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53443,0,'Client','Y','Client',TO_DATE('2007-12-17 04:55:49','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50003,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50003 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:50','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53417,0,'Created','Y','Created',TO_DATE('2007-12-17 04:55:50','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50004,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50004 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:51','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53418,0,'Created By','Y','Created By',TO_DATE('2007-12-17 04:55:51','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50005,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50005 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:52','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53414,0,'Organization','Y','Organization',TO_DATE('2007-12-17 04:55:52','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50006,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50006 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',1,0,TO_DATE('2007-12-17 04:55:53','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53413,0,'Name','Y','Name',TO_DATE('2007-12-17 04:55:53','YYYY-MM-DD HH24:MI:SS'),'L',1,'N',0,0,0,50007,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50007 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:54','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53421,0,'Date Ordered','Y','Date Ordered',TO_DATE('2007-12-17 04:55:54','YYYY-MM-DD HH24:MI:SS'),'L',6,'N',0,0,0,50008,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50008 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:55:55','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53422,0,'Date Promised','Y','Date Promised',TO_DATE('2007-12-17 04:55:55','YYYY-MM-DD HH24:MI:SS'),'L',7,'N',0,0,0,50009,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50009 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53419,0,'Date Confirm','Y','Date Confirm',TO_DATE('2007-12-17 04:56:00','YYYY-MM-DD HH24:MI:SS'),'L',8,'N',0,0,0,50010,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50010 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53420,0,'Date Finish Schedule','Y','Date Finish Schedule',TO_DATE('2007-12-17 04:56:00','YYYY-MM-DD HH24:MI:SS'),'L',9,'N',0,0,0,50011,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50011 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53423,0,'Date Simulation','Y','Date Simulation',TO_DATE('2007-12-17 04:56:01','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50012,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50012 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53424,0,'Date Start','Y','Date Start',TO_DATE('2007-12-17 04:56:03','YYYY-MM-DD HH24:MI:SS'),'L',11,'N',0,0,0,50013,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50013 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53425,0,'Date Start Schedule','Y','Date Start Schedule',TO_DATE('2007-12-17 04:56:04','YYYY-MM-DD HH24:MI:SS'),'L',12,'N',0,0,0,50014,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50014 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53426,0,'Document Status','Y','Doc Status',TO_DATE('2007-12-17 04:56:05','YYYY-MM-DD HH24:MI:SS'),'L',13,'N',0,0,0,50015,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50015 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53430,0,'Forecast','Y','Forecast',TO_DATE('2007-12-17 04:56:07','YYYY-MM-DD HH24:MI:SS'),'L',14,'N',0,0,0,50016,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50016 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53429,0,'Forecast Line','Y','Forecast Line',TO_DATE('2007-12-17 04:56:07','YYYY-MM-DD HH24:MI:SS'),'L',15,'N',0,0,0,50017,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50017 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53428,0,'Is MPS','Y','Is MPS',TO_DATE('2007-12-17 04:56:08','YYYY-MM-DD HH24:MI:SS'),'L',16,'N',0,0,0,50018,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50018 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53416,0,'Order','Y','Order',TO_DATE('2007-12-17 04:56:09','YYYY-MM-DD HH24:MI:SS'),'L',17,'N',0,0,0,50019,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50019 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:10','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53435,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 04:56:10','YYYY-MM-DD HH24:MI:SS'),'L',19,'N',0,0,0,50020,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50020 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53436,0,'Priority','Y','Priority',TO_DATE('2007-12-17 04:56:11','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50021,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50021 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53431,0,'Product','Y','Product',TO_DATE('2007-12-17 04:56:12','YYYY-MM-DD HH24:MI:SS'),'L',21,'N',0,0,0,50022,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50022 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53437,0,'Quantity','Y','Qty',TO_DATE('2007-12-17 04:56:13','YYYY-MM-DD HH24:MI:SS'),'T',22,'N',0,0,0,50023,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50023 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53433,0,'Requisition','Y','Requisition',TO_DATE('2007-12-17 04:56:14','YYYY-MM-DD HH24:MI:SS'),'L',23,'N',0,0,0,50024,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50024 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53432,0,'Requisition Line','Y','Requisition Line',TO_DATE('2007-12-17 04:56:15','YYYY-MM-DD HH24:MI:SS'),'L',24,'N',0,0,0,50025,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50025 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53438,0,'Resource','Y','Resource',TO_DATE('2007-12-17 04:56:15','YYYY-MM-DD HH24:MI:SS'),'L',25,'N',0,0,0,50026,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50026 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53415,0,'Sales Order Line','Y','Order Line',TO_DATE('2007-12-17 04:56:16','YYYY-MM-DD HH24:MI:SS'),'L',26,'N',0,0,0,50027,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50027 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53444,0,'Search Key','Y','Search Key',TO_DATE('2007-12-17 04:56:17','YYYY-MM-DD HH24:MI:SS'),'L',27,'N',0,0,0,50028,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50028 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53439,0,'Type','Y','Type',TO_DATE('2007-12-17 04:56:18','YYYY-MM-DD HH24:MI:SS'),'L',28,'N',0,0,0,50029,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50029 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:19','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53440,0,'TypeMRP','Y','TypeMRP',TO_DATE('2007-12-17 04:56:19','YYYY-MM-DD HH24:MI:SS'),'L',29,'N',0,0,0,50030,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50030 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 04:56:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50000,'F','C','N','N','N',0,'N','N','N','N','X',53434,0,'Warehouse','Y','Warehouse',TO_DATE('2007-12-17 04:56:21','YYYY-MM-DD HH24:MI:SS'),'L',32,'N',0,0,0,50031,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50031 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,AD_ReportView_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('MRP Details',0,0,0,'Show the detail of MRP calculation',TO_DATE('2007-12-17 04:56:21','YYYY-MM-DD HH24:MI:SS'),53018,TO_DATE('2007-12-17 04:56:21','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Show the detail of MRP calculation','Y',53000,'N','3',0,'RV_PP_MRP','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53018 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='_Document Status', Description='Document Status list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:56:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=131
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=131
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='DR', Name='Drafted', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:56:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=164
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=164
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='CO', Name='Completed', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:56:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=165
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=165
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='AP', Name='Approved', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:56:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=166
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=166
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='NA', Name='Not Approved', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:57:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=168
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=168
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='VO', Name='Voided', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:57:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=172
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=172
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='IN', Name='Invalid', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:57:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=173
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=173
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='RE', Name='Reversed', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:57:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=176
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=176
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='CL', Name='Closed', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:57:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=177
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=177
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='??', Name='Unknown', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:57:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=190
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=190
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='IP', Name='In Progress', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:57:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=341
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=341
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='WC', Name='Waiting Confirmation', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=670
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=670
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=131, Value='WP', Name='Waiting Payment', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 04:58:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=346
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=346
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53055,0,0,'Document Status','Y',0,'The current status of the document','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',53018,TO_DATE('2007-12-17 04:58:13','YYYY-MM-DD HH24:MI:SS'),'DocStatus','Y','N',0,0,131,17,TO_DATE('2007-12-17 04:58:13','YYYY-MM-DD HH24:MI:SS'),'N',60,289,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53055 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)
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53229,'L','TypeMRP',0,TO_DATE('2007-12-17 04:58:14','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 04:58:14','YYYY-MM-DD HH24:MI:SS'),'D')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53229 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 04:58:15','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:15','YYYY-MM-DD HH24:MI:SS'),0,0,53275,53229,'FCT','FCT','Y',0,'D')
;

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=53275 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 04:58:16','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:16','YYYY-MM-DD HH24:MI:SS'),0,0,53276,53229,'MOP','MOP','Y',0,'D')
;

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=53276 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 04:58:18','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:18','YYYY-MM-DD HH24:MI:SS'),0,0,53277,53229,'POO','POO','Y',0,'D')
;

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=53277 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 04:58:19','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:19','YYYY-MM-DD HH24:MI:SS'),0,0,53278,53229,'POR','POR','Y',0,'D')
;

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=53278 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 04:58:19','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:19','YYYY-MM-DD HH24:MI:SS'),0,0,53279,53229,'SOO','SOO','Y',0,'D')
;

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=53279 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53056,0,0,'TypeMRP','Y',0,53018,TO_DATE('2007-12-17 04:58:21','YYYY-MM-DD HH24:MI:SS'),'TypeMRP','Y','N',0,0,53229,17,TO_DATE('2007-12-17 04:58:21','YYYY-MM-DD HH24:MI:SS'),'N',30,53282,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53056 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53057,0,0,'Date Promised','Y',0,'Date Order was promised','The Date Promised indicates the date, if any, that an Order was promised for.',53018,TO_DATE('2007-12-17 04:58:22','YYYY-MM-DD HH24:MI:SS'),'DatePromised','Y','Y',0,0,15,TO_DATE('2007-12-17 04:58:22','YYYY-MM-DD HH24:MI:SS'),'N',20,269,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53057 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)
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53230,'L','PP_MRP Type',0,TO_DATE('2007-12-17 04:58:22','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 04:58:22','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53230 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 04:58:23','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:23','YYYY-MM-DD HH24:MI:SS'),0,0,53280,53230,'D','D','Y',0,'EE01')
;

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=53280 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)
;

INSERT INTO AD_Ref_List (Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES (TO_DATE('2007-12-17 04:58:24','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:24','YYYY-MM-DD HH24:MI:SS'),0,0,53281,53230,'S','S','Y',0,'EE01')
;

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=53281 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53058,0,0,'Type','Y',0,'Type of Validation (SQL, Java Script, Java Language)','The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.',53018,TO_DATE('2007-12-17 04:58:25','YYYY-MM-DD HH24:MI:SS'),'Type','Y','N',0,0,53230,17,TO_DATE('2007-12-17 04:58:25','YYYY-MM-DD HH24:MI:SS'),'N',40,293,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53058 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53059,0,0,'Is MPS','Y',1,'Indicates if this product is part of Master Production Schedule ','Indicates if this product is part of Master Production Schedule ',53018,TO_DATE('2007-12-17 04:58:26','YYYY-MM-DD HH24:MI:SS'),'IsMPS','Y','N',0,0,20,TO_DATE('2007-12-17 04:58:26','YYYY-MM-DD HH24:MI:SS'),'N',50,53261,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53059 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53060,0,0,'Date Start','Y',0,'Indicate the real date to start',53018,TO_DATE('2007-12-17 04:58:31','YYYY-MM-DD HH24:MI:SS'),'DateStart','Y','Y',0,0,15,TO_DATE('2007-12-17 04:58:31','YYYY-MM-DD HH24:MI:SS'),'N',10,574,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53060 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)
;

INSERT INTO AD_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,Help,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.VOrderPlanning',0,TO_DATE('2007-12-17 04:58:32','YYYY-MM-DD HH24:MI:SS'),0,0,'Planned Order Approval ','A planned manufacturing order is a manufacturing order suggested by the MRP process and contains its quantity and its release and promise dates.',53004,TO_DATE('2007-12-17 04:58:32','YYYY-MM-DD HH24:MI:SS'),'Y','A planned manufacturing order is a manufacturing order suggested by the MRP process and contains its quantity and its release and promise dates. when you approve a manufacturing planned order you convert it in a manufacturing order with the status of In Process.

When you approve a planned order you are telling the system that the manufacturing order is ready to start its process with the approval you change the order status from Draft to In Process.','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53004 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53004,0,0,0,0,'Y',TO_DATE('2007-12-17 04:58:38','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:58:38','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,Help,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.CCRP',0,TO_DATE('2007-12-17 04:58:39','YYYY-MM-DD HH24:MI:SS'),0,0,'Resource Load View to date','It shows graphically of the required and available time for each manufacturing resource.',53005,TO_DATE('2007-12-17 04:58:39','YYYY-MM-DD HH24:MI:SS'),'Y','It shows graphically of the required and available time for each manufacturing resource.','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53005 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53005,0,0,0,0,'Y',TO_DATE('2007-12-17 04:58:39','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:58:39','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Calculate Capacity Plan',0,0,0,'Calculate Capacity Plan',TO_DATE('2007-12-17 04:58:40','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CRP',53020,TO_DATE('2007-12-17 04:58:40','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','The process of Capacity Plan Calculation allows us to know the available time in each manufacturing resource, as well as the required time to satisfy the Master Production Schedule.','N','N','3',0,'PP_Calculate Capacity Plan','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53020 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Reference (AD_Reference_ID,Help,ValidationType,Name,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53231,'Forward and Backward Scheduling','L','CRM Schedule',0,TO_DATE('2007-12-17 04:58:41','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 04:58:41','YYYY-MM-DD HH24:MI:SS'),'D')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53231 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Backward  Schedule ',TO_DATE('2007-12-17 04:58:42','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:42','YYYY-MM-DD HH24:MI:SS'),0,0,53282,53231,'B','Backward ','Y',0,'D')
;

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=53282 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)
;

INSERT INTO AD_Ref_List (Description,Created,CreatedBy,Updated,UpdatedBy,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Value,Name,IsActive,AD_Client_ID,EntityType) VALUES ('Scheduke Forward',TO_DATE('2007-12-17 04:58:43','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:58:43','YYYY-MM-DD HH24:MI:SS'),0,0,53283,53231,'F','Forward','Y',0,'D')
;

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=53283 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53061,0,0,'Schedule Type','Y',0,'Type of schedule','Define the method how the next occurance is calculated',53020,TO_DATE('2007-12-17 04:58:44','YYYY-MM-DD HH24:MI:SS'),'ScheduleType','Y','N',0,0,53231,17,TO_DATE('2007-12-17 04:58:44','YYYY-MM-DD HH24:MI:SS'),'Y',20,2457,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53061 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)
;

INSERT INTO AD_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,Help,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.VCRP',0,TO_DATE('2007-12-17 04:58:45','YYYY-MM-DD HH24:MI:SS'),0,0,'Resource Load View','It shows graphically of the required and available time for each manufacturing resource.',53006,TO_DATE('2007-12-17 04:58:45','YYYY-MM-DD HH24:MI:SS'),'Y','It shows graphically of the required and available time for each manufacturing resource.','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53006 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53006,0,0,0,0,'Y',TO_DATE('2007-12-17 04:58:46','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 04:58:46','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,Help,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 04:58:47','YYYY-MM-DD HH24:MI:SS'),'Capacity Requirement Planning Setup',0,'3','Victor Perez',0,0,'D','EE01','N','N',0,0,'R','Setup Capacity Requirement Planning',0,0,'G',TO_DATE('2007-12-17 04:58:47','YYYY-MM-DD HH24:MI:SS'),50005,0,0,'The process of Capacity Plan Calculation allows us to know the available time in each manufacturing resource, as well as the required time to satisfy the Master Production Schedule.','10000001',0,'It is a set of techniques which uses the planned orders by MRP, open manufacturing orders, manufacturing resources and the work-flows to calculate the required time for each resource along with the available time. With this information, we are able to balance the time demand with the available time. Through the knowledge of the required and available capacities it is possible to adjust the Master Production Schedule(MPS) until we arrive at a realistic one.',0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50005 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50005,0,0,0,TO_DATE('2007-12-17 04:58:48','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:58:48','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Setup Material Requirement Planning',0,0,0,229,9,'Material Requirement Planning Setup','Y',TO_DATE('2007-12-17 04:58:48','YYYY-MM-DD HH24:MI:SS'),0,50015,50005,'F',0,0,TO_DATE('2007-12-17 04:58:48','YYYY-MM-DD HH24:MI:SS'),0,'Setup Material Requirement Planning')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50015 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Setup Manufacturing Workflow',0,0,0,32,9,'Manufacturing Workflow Setup','Y',TO_DATE('2007-12-17 04:58:49','YYYY-MM-DD HH24:MI:SS'),0,50016,50005,'F',0,0,TO_DATE('2007-12-17 04:58:49','YYYY-MM-DD HH24:MI:SS'),0,'Setup Manufacturing Workflow')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50016 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50004,'EE01','N',50016,10,50015,0,0,TO_DATE('2007-12-17 04:58:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:58:50','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Calculate Capacity Plan',0,0,0,33,128,'Calculate Capacity Plan','Y',TO_DATE('2007-12-17 04:58:51','YYYY-MM-DD HH24:MI:SS'),0,53020,50017,50005,'P',0,0,TO_DATE('2007-12-17 04:58:51','YYYY-MM-DD HH24:MI:SS'),0,'Calculate Capacity Plan')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50017 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53006,'X',0,'CO',0,0,'EE01','N','X',0,'Resource Load View',0,0,0,233,126,'Resource Load View','Y',TO_DATE('2007-12-17 04:58:52','YYYY-MM-DD HH24:MI:SS'),0,50018,50005,'X',0,0,TO_DATE('2007-12-17 04:58:52','YYYY-MM-DD HH24:MI:SS'),0,'It shows graphically of the required and available time for each manufacturing resource.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50018 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50000,Updated=TO_DATE('2007-12-17 04:58:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50005
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Calculate Distribution Plan',0,0,0,'Distribution Resource Planning (DRP) is a method used in business administration for planning orders within a supply chain. ',TO_DATE('2007-12-17 04:58:53','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.DRP',53022,TO_DATE('2007-12-17 04:58:53','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Distribution Resource Planning (DRP) is a method used in business administration for planning orders within a supply chain. 

DRP enables the user to set certain inventory control parameters (like a safety stock) and calculate the time-phased inventory requirements.

DRP uses several variables:
the on-hand inventory at the end of a period.
the backordered demand at the end of a period.
the required quantity of product needed at the beginning of a period.
the constrained quantity of product available at the beginning of a period.
the recommended order quantity at the beginning of a period.

DRP needs the following information:
the demand in a future period.
the scheduled receipts at the beginning of a period.
the safety stock requirement for a period.
the on-hand inventory at the beginning of a period.
','N','N','3',0,'DD_Calculate Distribution Plan','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53022 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,Help,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 04:58:55','YYYY-MM-DD HH24:MI:SS'),'Distribution Resource Planning Setup',0,'3','Victor Perez',0,0,'D','EE01','N','N',0,0,'R','Setup Distribution Resource Planning',0,0,'G',TO_DATE('2007-12-17 04:58:55','YYYY-MM-DD HH24:MI:SS'),50006,0,0,'is a method used in business administration for planning orders within a supply chain. DRP enables the user to set certain inventory control parameters (like a safety stock) and calculate the time-phased inventory requirements.','10000002',0,'is a method used in business administration for planning orders within a supply chain. DRP enables the user to set certain inventory control parameters (like a safety stock) and calculate the time-phased inventory requirements.',0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50006 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50006,0,0,0,TO_DATE('2007-12-17 04:58:56','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:58:56','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Setup Material Requirement Planning',0,0,0,284,3,'Material Requirement Planning Setup','Y',TO_DATE('2007-12-17 04:58:56','YYYY-MM-DD HH24:MI:SS'),0,50019,50006,'F',0,0,TO_DATE('2007-12-17 04:58:56','YYYY-MM-DD HH24:MI:SS'),0,'Setup Material Requirement Planning')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50019 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Setup Manufacturing Management',0,0,0,5,5,'Manufacturing Management Setup','Y',TO_DATE('2007-12-17 04:58:57','YYYY-MM-DD HH24:MI:SS'),0,50020,50006,'F',0,0,TO_DATE('2007-12-17 04:58:57','YYYY-MM-DD HH24:MI:SS'),0,'Setup Manufacturing Management')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50020 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50005,'EE01','N',50020,10,50019,0,0,TO_DATE('2007-12-17 04:58:58','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:58:58','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Setup Distribution Management',0,0,0,0,429,'Distribution Management Setup','Y',TO_DATE('2007-12-17 04:58:59','YYYY-MM-DD HH24:MI:SS'),0,50021,50006,'F',0,0,TO_DATE('2007-12-17 04:58:59','YYYY-MM-DD HH24:MI:SS'),0,'Setup Distribution Management')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50021 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53004,'X',0,'CO',0,0,'EE01','N','X',0,'Planned Order Approval',0,0,0,283,274,'Planned Order Approval','Y',TO_DATE('2007-12-17 04:59:00','YYYY-MM-DD HH24:MI:SS'),0,50022,50006,'X',0,0,TO_DATE('2007-12-17 04:59:00','YYYY-MM-DD HH24:MI:SS'),0,'Planned Order Approval')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50022 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50006,'EE01','N',50022,10,50021,0,0,TO_DATE('2007-12-17 04:59:01','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:59:01','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'MRP Notice',0,0,0,0,282,'MRP Notice','Y',TO_DATE('2007-12-17 04:59:01','YYYY-MM-DD HH24:MI:SS'),0,50023,53008,50006,'W',0,0,TO_DATE('2007-12-17 04:59:01','YYYY-MM-DD HH24:MI:SS'),0,'MRP Notice')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50023 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50007,'EE01','N',50023,10,50022,0,0,TO_DATE('2007-12-17 04:59:02','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:59:02','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53003,'X',0,'CO',0,0,'EE01','N','X',0,'MRP Info',0,0,0,281,138,'MRP Info','Y',TO_DATE('2007-12-17 04:59:03','YYYY-MM-DD HH24:MI:SS'),0,50024,50006,'X',0,0,TO_DATE('2007-12-17 04:59:03','YYYY-MM-DD HH24:MI:SS'),0,'MRP Info')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50024 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50008,'EE01','N',50024,10,50023,0,0,TO_DATE('2007-12-17 04:59:05','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:59:05','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Calculate Distribution Plan',0,0,0,4,139,'Calculate Distribution Plan','Y',TO_DATE('2007-12-17 04:59:05','YYYY-MM-DD HH24:MI:SS'),0,53022,50025,50006,'P',0,0,TO_DATE('2007-12-17 04:59:05','YYYY-MM-DD HH24:MI:SS'),0,'Calculate Distribution Plan')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50025 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50009,'EE01','N',50025,10,50024,0,0,TO_DATE('2007-12-17 04:59:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:59:06','YYYY-MM-DD HH24:MI:SS'),0)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50012,Updated=TO_DATE('2007-12-17 04:59:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50006
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('DRP Details',0,0,0,'Show the detail of DRP calculation',TO_DATE('2007-12-17 04:59:09','YYYY-MM-DD HH24:MI:SS'),53024,TO_DATE('2007-12-17 04:59:09','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Show the detail of DRP calculation','Y','N','3',0,'RV_DD_DRP','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53024 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,Help,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 04:59:11','YYYY-MM-DD HH24:MI:SS'),'Discrete Manufacturing Setup',0,'3','Victor Perez',0,0,'D','EE01','N','N',0,0,'R','Setup Discrete Manufacturing',0,0,'G',TO_DATE('2007-12-17 04:59:11','YYYY-MM-DD HH24:MI:SS'),50007,0,0,'Once the production planning process is completed, the production control process let us to check the execution activities in order to be sure we can reach the material plan.','10000003',0,'Once the production planning process is completed, the production control process let us to check the execution activities in order to be sure we can reach the material plan.

Each time you need to release an order you need to be sure the components are complete in the warehouse, this is obtained by tracking the release and due dates for every component, this is easy to get using the shortages reports and from this module.

This module mainly answer the question:

What do I need to do to accomplish the
MPS?

If you cannot cover the MPS as you had planned, this module gives you information needed to decrease the effect on the costs and on the customer service.',0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50007 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50007,0,0,0,TO_DATE('2007-12-17 04:59:12','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 04:59:12','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 04:59:12','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:59:12','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturing Order',53009,'M','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.',0,0,'Maintain Manufacturing Order','N','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53009 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),53009,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),53009,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),53009,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),53009,'Y',0,0,50001)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,Help,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,Description,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Order Operation','3','Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for operation.','Y','N','Y','PP_Order_Node',TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),'Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for operation.',53022,0,TO_DATE('2007-12-17 04:59:13','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53022 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_Node',0,0,'PP_Order_Node',50000,1000000,'Y',53019,TO_DATE('2007-12-17 04:59:14','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 04:59:14','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','Y','N','Alphanumeric identifier of the entity','Y',1,'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.',0,'Y',53022,53445,'Name',0,0,60,'N',TO_DATE('2007-12-17 04:59:15','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:59:15','YYYY-MM-DD HH24:MI:SS'),469,'Y','N','N',0,'N','N','EE01')
;

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=53445 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_Node (NAME NVARCHAR2(60) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Column','N','N','Column in the table','N','Link to the database column of the table',0,'Y',53022,53446,'AD_Column_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:17','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:17','YYYY-MM-DD HH24:MI:SS'),104,'Y','N','N',0,'N','N','EE01')
;

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=53446 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 PP_Order_Node ADD AD_Column_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Special Form','N','N','Special Form','N','The Special Form field identifies a unique Special Form in the system.',0,'Y',53022,53447,'AD_Form_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:18','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:18','YYYY-MM-DD HH24:MI:SS'),1298,'Y','N','N',0,'N','N','EE01')
;

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=53447 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 PP_Order_Node ADD AD_Form_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Image','N','N','Image or Icon','N','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)',0,'Y',53022,53448,'AD_Image_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:20','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:20','YYYY-MM-DD HH24:MI:SS'),1639,'Y','N','N',0,'N','N','EE01')
;

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=53448 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 PP_Order_Node ADD AD_Image_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53022,53449,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:22','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 04:59:22','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53449 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 PP_Order_Node ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process','N','N','Process or Report','N','The Process field identifies a unique Process or Report in the system.',0,'Y',53022,53450,'AD_Process_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:24','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:24','YYYY-MM-DD HH24:MI:SS'),117,'Y','N','N',0,'N','N','EE01')
;

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=53450 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 PP_Order_Node ADD AD_Process_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('OS Task','N','N','Operation System Task','N','The Task field identifies a Operation System Task in the system.',0,'Y',53022,53451,'AD_Task_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:25','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:25','YYYY-MM-DD HH24:MI:SS'),128,'Y','N','N',0,'N','N','EE01')
;

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=53451 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 PP_Order_Node ADD AD_Task_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow Block','N','N','Workflow Transaction Execution Block','N','A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.',0,'Y',53022,53452,'AD_WF_Block_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:27','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:27','YYYY-MM-DD HH24:MI:SS'),2309,'Y','N','N',0,'N','N','EE01')
;

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=53452 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 PP_Order_Node ADD AD_WF_Block_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Node','Y','N','Workflow Node (activity), step or process','N','The Workflow Node indicates a unique step or process in a Workflow.',0,'Y',53022,53453,'AD_WF_Node_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:28','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:28','YYYY-MM-DD HH24:MI:SS'),142,'Y','N','N',0,'N','N','EE01')
;

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=53453 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 PP_Order_Node ADD AD_WF_Node_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow Responsible','N','N','Responsible for Workflow Execution','N','The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.',0,'Y',53022,53454,'AD_WF_Responsible_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:29','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:29','YYYY-MM-DD HH24:MI:SS'),2314,'Y','N','N',0,'N','N','EE01')
;

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=53454 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 PP_Order_Node ADD AD_WF_Responsible_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Window','N','N','Data entry or display window','N','The Window field identifies a unique Window in the system.',0,'Y',53022,53455,'AD_Window_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:31','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:31','YYYY-MM-DD HH24:MI:SS'),143,'Y','N','N',0,'N','N','EE01')
;

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=53455 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 PP_Order_Node ADD AD_Window_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow','Y','N','Workflow or combination of tasks','N','The Workflow field identifies a unique Workflow in the system.',0,'Y',53022,53456,'AD_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:32','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:32','YYYY-MM-DD HH24:MI:SS'),144,'Y','N','N',0,'N','N','EE01')
;

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=53456 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 PP_Order_Node ADD AD_Workflow_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Action','Y','N','Indicates the Action to be performed','N','N','The Action field is a drop down list box which indicates the Action to be performed for this Item.',302,0,'Y',53022,53457,'Action',0,0,1,'N',TO_DATE('2007-12-17 04:59:36','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 04:59:36','YYYY-MM-DD HH24:MI:SS'),152,'Y','N','N',0,'N','N','EE01')
;

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=53457 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 PP_Order_Node ADD Action CHAR(1) DEFAULT 'N' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Name','N','N','Name of the Attribute','N','Identifier of the attribute',0,'Y',53022,53458,'AttributeName',0,0,60,'N',TO_DATE('2007-12-17 04:59:39','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:59:39','YYYY-MM-DD HH24:MI:SS'),2315,'Y','N','N',0,'N','N','EE01')
;

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=53458 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 PP_Order_Node ADD AttributeName NVARCHAR2(60)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Value','N','N','Value of the Attribute','N','Adempiere converts the (string) field values to the attribute data type.  Booleans (Yes-No) may have the values "true" and "false", the date format is YYYY-MM-DD',0,'Y',53022,53459,'AttributeValue',0,0,60,'N',TO_DATE('2007-12-17 04:59:43','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 04:59:43','YYYY-MM-DD HH24:MI:SS'),2317,'Y','N','N',0,'N','N','EE01')
;

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=53459 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 PP_Order_Node ADD AttributeValue NVARCHAR2(60)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Business Partner ','N','N','Identifies a Business Partner','N','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',0,'Y',53022,53460,'C_BPartner_ID',0,0,22,'N',TO_DATE('2007-12-17 04:59:45','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 04:59:45','YYYY-MM-DD HH24:MI:SS'),187,'Y','N','N',0,'N','N','EE01')
;

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=53460 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 PP_Order_Node ADD C_BPartner_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Cost','Y','N','Cost information','N',0,'Y',53022,53461,'Cost',0,0,22,'N',TO_DATE('2007-12-17 04:59:48','YYYY-MM-DD HH24:MI:SS'),'Y',12,0,TO_DATE('2007-12-17 04:59:48','YYYY-MM-DD HH24:MI:SS'),2319,'Y','N','N',0,'N','N','EE01')
;

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=53461 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 PP_Order_Node ADD COST NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53022,53462,'Created',0,0,7,'N',TO_DATE('2007-12-17 04:59:49','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 04:59:49','YYYY-MM-DD HH24:MI:SS'),245,'Y','N','N',0,'N','N','EE01')
;

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=53462 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 PP_Order_Node ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53022,53463,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 04:59:50','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 04:59:50','YYYY-MM-DD HH24:MI:SS'),246,'Y','N','N',0,'N','N','EE01')
;

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=53463 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 PP_Order_Node ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Finish Date','N','N','Finish or (planned) completion date','N','The finish date is used to indicate when the project is expected to be completed or has been completed.',0,'Y',53022,53464,'DateFinish',0,0,7,'N',TO_DATE('2007-12-17 04:59:52','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:59:52','YYYY-MM-DD HH24:MI:SS'),1557,'Y','N','N',0,'N','N','EE01')
;

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=53464 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 PP_Order_Node ADD DateFinish DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateFinishSchedule','N','N','N',0,'Y',53022,53465,'DateFinishSchedule',0,0,7,'N',TO_DATE('2007-12-17 04:59:54','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:59:54','YYYY-MM-DD HH24:MI:SS'),53278,'Y','N','N',0,'N','N','EE01')
;

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=53465 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 PP_Order_Node ADD DateFinishSchedule DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStart','N','N','N',0,'Y',53022,53466,'DateStart',0,0,7,'N',TO_DATE('2007-12-17 04:59:55','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:59:55','YYYY-MM-DD HH24:MI:SS'),53280,'Y','N','N',0,'N','N','EE01')
;

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=53466 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 PP_Order_Node ADD DateStart DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStartSchedule','N','N','N',0,'Y',53022,53467,'DateStartSchedule',0,0,7,'N',TO_DATE('2007-12-17 04:59:56','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 04:59:56','YYYY-MM-DD HH24:MI:SS'),53281,'Y','N','N',0,'N','N','EE01')
;

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=53467 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 PP_Order_Node ADD DateStartSchedule DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53022,53468,'Description',0,0,255,'N',TO_DATE('2007-12-17 05:00:01','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:00:01','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53468 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 PP_Order_Node ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Action','N','N','The targeted status of the document','N','You find the current status in the Document Status field. The options are listed in a popup',135,0,'Y',53022,53469,'DocAction',0,0,2,'N',TO_DATE('2007-12-17 05:00:02','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:02','YYYY-MM-DD HH24:MI:SS'),287,'Y','N','N',0,'N','N','EE01')
;

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=53469 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 PP_Order_Node ADD DocAction CHAR(2)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Status','N','N','The current status of the document','N','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',131,0,'Y',53022,53470,'DocStatus',0,0,2,'N',TO_DATE('2007-12-17 05:00:03','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:03','YYYY-MM-DD HH24:MI:SS'),289,'Y','N','N',0,'N','N','EE01')
;

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=53470 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 PP_Order_Node ADD DocStatus CHAR(2)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Duration','N','N','Normal Duration in Duration Unit','N','0','Expected (normal) Length of time for the execution',0,'Y',53022,53471,'Duration',0,0,22,'N',TO_DATE('2007-12-17 05:00:05','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:05','YYYY-MM-DD HH24:MI:SS'),2320,'Y','N','N',0,'N','N','EE01')
;

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=53471 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 PP_Order_Node ADD Duration NUMBER(10) DEFAULT 0
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53283,'DurationReal','DurationReal',0,0,0,0,'DurationReal',TO_DATE('2007-12-17 05:00:06','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:06','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53283 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DurationReal','N','N','N',0,'Y',53022,53472,'DurationReal',0,0,22,'N',TO_DATE('2007-12-17 05:00:06','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:06','YYYY-MM-DD HH24:MI:SS'),53283,'Y','N','N',0,'N','N','EE01')
;

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=53472 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 PP_Order_Node ADD DurationReal NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53284,'DurationRequiered','DurationRequiered',0,0,0,0,'DurationRequiered',TO_DATE('2007-12-17 05:00:08','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:08','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53284 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DurationRequiered','N','N','N',0,'Y',53022,53473,'DurationRequiered',0,0,22,'N',TO_DATE('2007-12-17 05:00:08','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:08','YYYY-MM-DD HH24:MI:SS'),53284,'Y','N','N',0,'N','N','EE01')
;

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=53473 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 PP_Order_Node ADD DurationRequiered NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Entity Type','Y','N','Dictionary Entity Type; Determines ownership and synchronization','N','The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',389,0,'Y',53022,53474,'EntityType',0,0,1,'N',TO_DATE('2007-12-17 05:00:12','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:12','YYYY-MM-DD HH24:MI:SS'),1682,'Y','N','N',0,'N','N','EE01')
;

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=53474 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 PP_Order_Node ADD EntityType VARCHAR2(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Finish Mode','N','N','Workflow Activity Finish Mode','N','How the system operated at the end of an activity. Automatic  implies return when the invoked applications finished control - Manual the user has to explicitly terminate the activity.',303,0,'Y',53022,53475,'FinishMode',0,0,1,'N',TO_DATE('2007-12-17 05:00:13','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:13','YYYY-MM-DD HH24:MI:SS'),2322,'Y','N','N',0,'N','N','EE01')
;

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=53475 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 PP_Order_Node ADD FinishMode CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Comment/Help','N','N','Comment or Hint','N','The Help field contains a hint, comment or help about the use of this item.',0,'Y',53022,53476,'Help',0,0,2000,'N',TO_DATE('2007-12-17 05:00:14','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:00:14','YYYY-MM-DD HH24:MI:SS'),326,'Y','N','N',0,'N','N','EE01')
;

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=53476 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 PP_Order_Node ADD Help NVARCHAR2(2000)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53022,53477,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:00:16','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:00:16','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53477 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 PP_Order_Node ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Centrally maintained','Y','N','Information maintained in System Element table','N','The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in ''System Element'' table  or ''Window'' table.',0,'Y',53022,53478,'IsCentrallyMaintained',0,0,1,'N',TO_DATE('2007-12-17 05:00:17','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:00:17','YYYY-MM-DD HH24:MI:SS'),362,'Y','N','N',0,'N','N','EE01')
;

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=53478 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 PP_Order_Node ADD IsCentrallyMaintained CHAR(1) CHECK (IsCentrallyMaintained IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsMilestone','N','N','N',0,'Y',53022,53479,'IsMilestone',0,0,1,'N',TO_DATE('2007-12-17 05:00:18','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:00:18','YYYY-MM-DD HH24:MI:SS'),53237,'Y','N','N',0,'N','N','EE01')
;

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=53479 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 PP_Order_Node ADD IsMilestone CHAR(1) CHECK (IsMilestone IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsSubcontracting','N','N','N',0,'Y',53022,53480,'IsSubcontracting',0,0,1,'N',TO_DATE('2007-12-17 05:00:20','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:00:20','YYYY-MM-DD HH24:MI:SS'),53238,'Y','N','N',0,'N','N','EE01')
;

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=53480 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 PP_Order_Node ADD IsSubcontracting CHAR(1) CHECK (IsSubcontracting IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Join Element','Y','N','Semantics for multiple incoming Transitions','N','X','Semantics for multiple incoming Transitions for a Node/Activity. AND joins all concurrent threads - XOR requires one thread (no synchronization).',301,0,'Y',53022,53481,'JoinElement',0,0,1,'N',TO_DATE('2007-12-17 05:00:21','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:21','YYYY-MM-DD HH24:MI:SS'),2336,'Y','N','N',0,'N','N','EE01')
;

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=53481 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 PP_Order_Node ADD JoinElement CHAR(1) DEFAULT 'X' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Duration Limit','Y','N','Maximum Duration in Duration Unit','N','Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.',0,'Y',53022,53482,'Limit',0,0,22,'N',TO_DATE('2007-12-17 05:00:23','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:23','YYYY-MM-DD HH24:MI:SS'),2323,'Y','N','N',0,'N','N','EE01')
;

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=53482 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 PP_Order_Node ADD LIMIT NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('MovingTime','N','N','N',0,'Y',53022,53483,'MovingTime',0,0,22,'N',TO_DATE('2007-12-17 05:00:24','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:24','YYYY-MM-DD HH24:MI:SS'),53240,'Y','N','N',0,'N','N','EE01')
;

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=53483 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 PP_Order_Node ADD MovingTime NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('OverlapUnits','N','N','N',0,'Y',53022,53484,'OverlapUnits',0,0,22,'N',TO_DATE('2007-12-17 05:00:26','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:26','YYYY-MM-DD HH24:MI:SS'),53241,'Y','N','N',0,'N','N','EE01')
;

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=53484 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 PP_Order_Node ADD OverlapUnits NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53022,53485,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 05:00:30','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:00:30','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53485 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 PP_Order_Node ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53285,'PP_Order_Node_ID','PP_Order_Node_ID',0,0,0,0,'PP_Order_Node_ID',TO_DATE('2007-12-17 05:00:31','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:31','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53285 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_ID','Y','N','N',0,'Y',53022,53486,'PP_Order_Node_ID',0,0,22,'N',TO_DATE('2007-12-17 05:00:31','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:00:31','YYYY-MM-DD HH24:MI:SS'),53285,'N','Y','N',0,'N','N','EE01')
;

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=53486 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 PP_Order_Node ADD PP_Order_Node_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order_Node ADD CONSTRAINT PP_Order_Node_Key PRIMARY KEY (PP_Order_Node_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53286,'PP_Order_Workflow_ID','PP_Order_Workflow_ID',0,0,0,0,'PP_Order_Workflow_ID',TO_DATE('2007-12-17 05:00:34','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:34','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53286 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Workflow_ID','Y','N','N',0,'Y',53022,53487,'PP_Order_Workflow_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:00:34','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:00:34','YYYY-MM-DD HH24:MI:SS'),53286,'N','N','N',0,'N','N','EE01')
;

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=53487 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 PP_Order_Node ADD PP_Order_Workflow_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Priority','Y','N','Indicates if this request is of a high, medium or low priority.','N','The Priority indicates the importance of this request.',0,'Y',53022,53488,'Priority',0,0,22,'N',TO_DATE('2007-12-17 05:00:36','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:36','YYYY-MM-DD HH24:MI:SS'),1514,'Y','N','N',0,'N','N','EE01')
;

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=53488 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 PP_Order_Node ADD Priority NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivered Quantity','N','N','Delivered Quantity','N','The Delivered Quantity indicates the quantity of a product that has been delivered.',0,'Y',53022,53489,'QtyDelivered',0,0,22,'N',TO_DATE('2007-12-17 05:00:38','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:00:38','YYYY-MM-DD HH24:MI:SS'),528,'Y','N','N',0,'N','N','EE01')
;

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=53489 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 PP_Order_Node ADD QtyDelivered NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53287,'QtyReject','QtyReject',0,0,0,0,'QtyReject',TO_DATE('2007-12-17 05:00:40','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:40','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53287 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyReject','N','N','N',0,'Y',53022,53490,'QtyReject',0,0,22,'N',TO_DATE('2007-12-17 05:00:40','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:00:40','YYYY-MM-DD HH24:MI:SS'),53287,'Y','N','N',0,'N','N','EE01')
;

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=53490 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 PP_Order_Node ADD QtyReject NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53288,'QtyRequiered','QtyRequiered',0,0,0,0,'QtyRequiered',TO_DATE('2007-12-17 05:00:42','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:42','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53288 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyRequiered','N','N','N',0,'Y',53022,53491,'QtyRequiered',0,0,22,'N',TO_DATE('2007-12-17 05:00:42','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:00:42','YYYY-MM-DD HH24:MI:SS'),53288,'Y','N','N',0,'N','N','EE01')
;

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=53491 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 PP_Order_Node ADD QtyRequiered NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53289,'QtyScrap','QtyScrap',0,0,0,0,'QtyScrap',TO_DATE('2007-12-17 05:00:44','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:44','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53289 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyScrap','N','N','N',0,'Y',53022,53492,'QtyScrap',0,0,22,'N',TO_DATE('2007-12-17 05:00:44','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:00:44','YYYY-MM-DD HH24:MI:SS'),53289,'Y','N','N',0,'N','N','EE01')
;

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=53492 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 PP_Order_Node ADD QtyScrap NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QueuingTime','N','N','N',0,'Y',53022,53493,'QueuingTime',0,0,22,'N',TO_DATE('2007-12-17 05:00:46','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:46','YYYY-MM-DD HH24:MI:SS'),53234,'Y','N','N',0,'N','N','EE01')
;

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=53493 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 PP_Order_Node ADD QueuingTime NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','N','N','Resource','N',0,'Y',53022,53494,'S_Resource_ID',0,0,22,'N',TO_DATE('2007-12-17 05:00:48','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:00:48','YYYY-MM-DD HH24:MI:SS'),1777,'Y','N','N',0,'N','N','EE01')
;

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=53494 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 PP_Order_Node ADD S_Resource_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Setup Time','N','N','Setup time before starting Production','N','Once per operation',0,'Y',53022,53495,'SetupTime',0,0,22,'N',TO_DATE('2007-12-17 05:00:49','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:49','YYYY-MM-DD HH24:MI:SS'),2777,'Y','N','N',0,'N','N','EE01')
;

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=53495 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 PP_Order_Node ADD SetupTime NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53290,'SetupTimeReal','SetupTimeReal',0,0,0,0,'SetupTimeReal',TO_DATE('2007-12-17 05:00:51','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:51','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53290 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('SetupTimeReal','N','N','N',0,'Y',53022,53496,'SetupTimeReal',0,0,22,'N',TO_DATE('2007-12-17 05:00:51','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:51','YYYY-MM-DD HH24:MI:SS'),53290,'Y','N','N',0,'N','N','EE01')
;

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=53496 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 PP_Order_Node ADD SetupTimeReal NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53291,'SetupTimeRequiered','SetupTimeRequiered',0,0,0,0,'SetupTimeRequiered',TO_DATE('2007-12-17 05:00:53','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:00:53','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53291 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('SetupTimeRequiered','N','N','N',0,'Y',53022,53497,'SetupTimeRequiered',0,0,22,'N',TO_DATE('2007-12-17 05:00:53','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:00:53','YYYY-MM-DD HH24:MI:SS'),53291,'Y','N','N',0,'N','N','EE01')
;

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=53497 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 PP_Order_Node ADD SetupTimeRequiered NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Split Element','Y','N','Semantics for multiple outgoing Transitions','N','X','Semantics for multiple outgoing Transitions for a Node/Activity.  AND represents multiple concurrent threads - XOR represents the first transition with a true Transaition condition.',301,0,'Y',53022,53498,'SplitElement',0,0,1,'N',TO_DATE('2007-12-17 05:00:56','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:56','YYYY-MM-DD HH24:MI:SS'),2337,'Y','N','N',0,'N','N','EE01')
;

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=53498 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 PP_Order_Node ADD SplitElement CHAR(1) DEFAULT 'X' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Start Mode','N','N','Workflow Activity Start Mode ','N','How is the execution of an activity triggered. Automatic are triggered implicitly by the system, Manual explicitly by the User.',303,0,'Y',53022,53499,'StartMode',0,0,1,'N',TO_DATE('2007-12-17 05:00:57','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:57','YYYY-MM-DD HH24:MI:SS'),2327,'Y','N','N',0,'N','N','EE01')
;

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=53499 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 PP_Order_Node ADD StartMode CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Subflow Execution','N','N','Mode how the sub-workflow is executed','N',307,0,'Y',53022,53500,'SubflowExecution',0,0,1,'N',TO_DATE('2007-12-17 05:00:58','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:00:58','YYYY-MM-DD HH24:MI:SS'),2328,'Y','N','N',0,'N','N','EE01')
;

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=53500 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 PP_Order_Node ADD SubflowExecution CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UnitsCycles','N','N','N',0,'Y',53022,53501,'UnitsCycles',0,0,22,'N',TO_DATE('2007-12-17 05:01:00','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:01:00','YYYY-MM-DD HH24:MI:SS'),53239,'Y','N','N',0,'N','N','EE01')
;

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=53501 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 PP_Order_Node ADD UnitsCycles NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53022,53502,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:01:01','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:01:01','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53502 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 PP_Order_Node ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53022,53503,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:01:02','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:01:02','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53503 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 PP_Order_Node ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','N','N','Valid from including this date (first day)','N','The Valid From date indicates the first day of a date range',0,'Y',53022,53504,'ValidFrom',0,0,7,'N',TO_DATE('2007-12-17 05:01:04','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:01:04','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53504 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 PP_Order_Node ADD ValidFrom DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N','The Valid To date indicates the last day of a date range',0,'Y',53022,53505,'ValidTo',0,0,7,'N',TO_DATE('2007-12-17 05:01:05','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:01:05','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53505 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 PP_Order_Node ADD ValidTo DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','Y','N','Search key for the record in the format required - must be unique','N','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).',0,'Y',53022,53506,'Value',0,0,40,'N',TO_DATE('2007-12-17 05:01:06','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:01:06','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','EE01')
;

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=53506 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 PP_Order_Node ADD VALUE NVARCHAR2(40) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Waiting Time','Y','N','Workflow Simulation Waiting time','N','Amount of time needed to prepare the performance of the task on Duration Units',0,'Y',53022,53507,'WaitingTime',0,0,22,'N',TO_DATE('2007-12-17 05:01:08','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:01:08','YYYY-MM-DD HH24:MI:SS'),2331,'Y','N','N',0,'N','N','EE01')
;

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=53507 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 PP_Order_Node ADD WaitingTime NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow','N','N','Workflow or tasks','N','The Workflow field identifies a unique workflow.   A workflow is a grouping of related tasks, in a specified sequence and optionally including approvals',174,0,'Y',53022,53508,'Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 05:01:09','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:01:09','YYYY-MM-DD HH24:MI:SS'),632,'Y','N','N',0,'N','N','EE01')
;

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=53508 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 PP_Order_Node ADD Workflow_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Working Time','Y','N','Workflow Simulation Execution Time','N','Amount of time the performer of the activity needs to perform the task in Duration Unit',0,'Y',53022,53509,'WorkingTime',0,0,22,'N',TO_DATE('2007-12-17 05:01:11','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:01:11','YYYY-MM-DD HH24:MI:SS'),2333,'Y','N','N',0,'N','N','EE01')
;

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=53509 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 PP_Order_Node ADD WorkingTime NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('X Position','Y','N','Absolute X (horizontal) position in 1/72 of an inch','N','Absolute X (horizontal) position in 1/72 of an inch',0,'Y',53022,53510,'XPosition',0,0,22,'N',TO_DATE('2007-12-17 05:01:12','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:01:12','YYYY-MM-DD HH24:MI:SS'),1810,'Y','N','N',0,'N','N','EE01')
;

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=53510 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 PP_Order_Node ADD XPosition NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53022,53511,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:01:14','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:01:14','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53511 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 PP_Order_Node ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Y Position','Y','N','Absolute Y (vertical) position in 1/72 of an inch','N','Absolute Y (vertical) position in 1/72 of an inch',0,'Y',53022,53512,'YPosition',0,0,22,'N',TO_DATE('2007-12-17 05:01:15','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:01:15','YYYY-MM-DD HH24:MI:SS'),1812,'Y','N','N',0,'N','N','EE01')
;

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=53512 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 PP_Order_Node ADD YPosition NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:01:16','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:01:16','YYYY-MM-DD HH24:MI:SS'),0,'Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for operation.','Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for operation.',0,'N','Operation',55,53022,53036,53009,'N','N','N','Y','N',NULL,'N','N',0,2,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53036 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:17','YYYY-MM-DD HH24:MI:SS'),0,53655,22,53487,'N',0,TO_DATE('2007-12-17 05:01:17','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Workflow_ID',53036,'N','N',0,'N','EE01')
;

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=53655 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:18','YYYY-MM-DD HH24:MI:SS'),0,53656,'Absolute Y (vertical) position in 1/72 of an inch',22,53512,'N',0,'Absolute Y (vertical) position in 1/72 of an inch',TO_DATE('2007-12-17 05:01:18','YYYY-MM-DD HH24:MI:SS'),'Y Position',53036,'N','N',0,'N','EE01')
;

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=53656 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:19','YYYY-MM-DD HH24:MI:SS'),0,53657,'Absolute X (horizontal) position in 1/72 of an inch',22,53510,'N',0,'Absolute X (horizontal) position in 1/72 of an inch',TO_DATE('2007-12-17 05:01:19','YYYY-MM-DD HH24:MI:SS'),'X Position',53036,'N','N',0,'N','EE01')
;

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=53657 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:20','YYYY-MM-DD HH24:MI:SS'),0,53658,'Workflow Node (activity), step or process',14,53453,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 05:01:20','YYYY-MM-DD HH24:MI:SS'),'Node',53036,'N','N',0,'N','EE01')
;

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=53658 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:21','YYYY-MM-DD HH24:MI:SS'),0,53659,22,53486,'N',0,TO_DATE('2007-12-17 05:01:21','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_ID',53036,'N','N',0,'N','EE01')
;

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=53659 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:22','YYYY-MM-DD HH24:MI:SS'),0,53660,'Client/Tenant for this installation.',14,53511,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:01:22','YYYY-MM-DD HH24:MI:SS'),'Client',53036,'N','N',10,'Y','EE01')
;

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=53660 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:23','YYYY-MM-DD HH24:MI:SS'),0,53661,'Organizational entity within client',14,53449,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:01:23','YYYY-MM-DD HH24:MI:SS'),'Organization',53036,'Y','N',20,'Y','EE01')
;

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=53661 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:24','YYYY-MM-DD HH24:MI:SS'),0,53662,22,53485,'N',0,TO_DATE('2007-12-17 05:01:24','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53036,'N','N',30,'N','EE01')
;

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=53662 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:25','YYYY-MM-DD HH24:MI:SS'),0,53663,'Workflow or combination of tasks',14,53456,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 05:01:25','YYYY-MM-DD HH24:MI:SS'),'Workflow',53036,'N','N',40,'Y','EE01')
;

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=53663 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:26','YYYY-MM-DD HH24:MI:SS'),0,53664,'Search key for the record in the format required - must be unique',40,53506,'N',0,'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).',TO_DATE('2007-12-17 05:01:26','YYYY-MM-DD HH24:MI:SS'),'Search Key',53036,'N','N',50,'Y','EE01')
;

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=53664 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:27','YYYY-MM-DD HH24:MI:SS'),0,53665,'Alphanumeric identifier of the entity',60,53445,'N',0,'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.',TO_DATE('2007-12-17 05:01:27','YYYY-MM-DD HH24:MI:SS'),'Name',53036,'N','N',60,'N','EE01')
;

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=53665 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:28','YYYY-MM-DD HH24:MI:SS'),0,53666,'Optional short description of the record',60,53468,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 05:01:28','YYYY-MM-DD HH24:MI:SS'),'Description',53036,'N','N',70,'N','EE01')
;

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=53666 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:29','YYYY-MM-DD HH24:MI:SS'),0,53667,'Comment or Hint',60,53476,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 05:01:29','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53036,'N','N',80,'N','EE01')
;

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=53667 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:30','YYYY-MM-DD HH24:MI:SS'),0,53668,'The record is active in the system',1,53477,'N',0,'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.',TO_DATE('2007-12-17 05:01:30','YYYY-MM-DD HH24:MI:SS'),'Active',53036,'N','N',90,'Y','EE01')
;

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=53668 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:30','YYYY-MM-DD HH24:MI:SS'),0,53669,'Resource',10,53494,'N',0,TO_DATE('2007-12-17 05:01:30','YYYY-MM-DD HH24:MI:SS'),'Resource',53036,'N','N',100,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53669 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:31','YYYY-MM-DD HH24:MI:SS'),0,53670,1,53479,'N',0,TO_DATE('2007-12-17 05:01:31','YYYY-MM-DD HH24:MI:SS'),'IsMilestone',53036,'N','N',110,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53670 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:32','YYYY-MM-DD HH24:MI:SS'),0,53671,1,53480,'N',0,TO_DATE('2007-12-17 05:01:32','YYYY-MM-DD HH24:MI:SS'),'IsSubcontracting',53036,'N','N',120,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53671 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:33','YYYY-MM-DD HH24:MI:SS'),0,53672,'Identifies a Business Partner',10,53460,'N',0,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2007-12-17 05:01:33','YYYY-MM-DD HH24:MI:SS'),'Business Partner ',53036,'Y','N',130,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q'' & @IsSubcontrating@=''N'' ','EE01')
;

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=53672 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:01:34','YYYY-MM-DD HH24:MI:SS'),0,53673,'Information maintained in System Element table',1,53478,'N',0,'The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in ''System Element'' table  or ''Window'' table.',TO_DATE('2007-12-17 05:01:34','YYYY-MM-DD HH24:MI:SS'),'Centrally maintained',53036,'Y','N',140,'Y','EE01')
;

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=53673 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:35','YYYY-MM-DD HH24:MI:SS'),0,53674,'Dictionary Entity Type; Determines ownership and synchronization',14,53474,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 05:01:35','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53036,'N','N',150,'Y','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53674 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:37','YYYY-MM-DD HH24:MI:SS'),0,53675,'Valid from including this date (first day)',0,53504,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 05:01:37','YYYY-MM-DD HH24:MI:SS'),'Valid from',53036,'N','N',160,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53675 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:38','YYYY-MM-DD HH24:MI:SS'),0,53676,'Valid to including this date (last day)',0,53505,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 05:01:38','YYYY-MM-DD HH24:MI:SS'),'Valid to',53036,'Y','N',170,'N','@WorkflowType@=''M'' | @WorkflowType@=''Q''','EE01')
;

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=53676 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:39','YYYY-MM-DD HH24:MI:SS'),0,53677,'Responsible for Workflow Execution',14,53454,'N',0,'The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.',TO_DATE('2007-12-17 05:01:39','YYYY-MM-DD HH24:MI:SS'),'Workflow Responsible',53036,'N','N',180,'Y','EE01')
;

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=53677 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:40','YYYY-MM-DD HH24:MI:SS'),0,53678,'Indicates if this request is of a high, medium or low priority.',11,53488,'N',0,'The Priority indicates the importance of this request.',TO_DATE('2007-12-17 05:01:40','YYYY-MM-DD HH24:MI:SS'),'Priority',53036,'Y','N',190,'N','EE01')
;

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=53678 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:41','YYYY-MM-DD HH24:MI:SS'),0,53679,'Workflow Activity Start Mode ',14,53499,'N',0,'How is the execution of an activity triggered. Automatic are triggered implicitly by the system, Manual explicitly by the User.',TO_DATE('2007-12-17 05:01:41','YYYY-MM-DD HH24:MI:SS'),'Start Mode',53036,'N','N',200,'Y','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53679 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:41','YYYY-MM-DD HH24:MI:SS'),0,53680,'Workflow Activity Finish Mode',14,53475,'N',0,'How the system operated at the end of an activity. Automatic  implies return when the invoked applications finished control - Manual the user has to explicitly terminate the activity.',TO_DATE('2007-12-17 05:01:41','YYYY-MM-DD HH24:MI:SS'),'Finish Mode',53036,'Y','N',210,'Y','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53680 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:42','YYYY-MM-DD HH24:MI:SS'),0,53681,'Semantics for multiple incoming Transitions',14,53481,'N',0,'Semantics for multiple incoming Transitions for a Node/Activity. AND joins all concurrent threads - XOR requires one thread (no synchronization).',TO_DATE('2007-12-17 05:01:42','YYYY-MM-DD HH24:MI:SS'),'Join Element',53036,'N','N',220,'Y','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53681 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:43','YYYY-MM-DD HH24:MI:SS'),0,53682,'Semantics for multiple outgoing Transitions',14,53498,'N',0,'Semantics for multiple outgoing Transitions for a Node/Activity.  AND represents multiple concurrent threads - XOR represents the first transition with a true Transaition condition.',TO_DATE('2007-12-17 05:01:43','YYYY-MM-DD HH24:MI:SS'),'Split Element',53036,'Y','N',230,'Y','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53682 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:44','YYYY-MM-DD HH24:MI:SS'),0,53683,'Indicates the Action to be performed',14,53457,'N',0,'The Action field is a drop down list box which indicates the Action to be performed for this Item.',TO_DATE('2007-12-17 05:01:44','YYYY-MM-DD HH24:MI:SS'),'Action',53036,'N','N',240,'Y','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53683 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:45','YYYY-MM-DD HH24:MI:SS'),0,53684,'Image or Icon',14,53448,'N',0,'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)',TO_DATE('2007-12-17 05:01:45','YYYY-MM-DD HH24:MI:SS'),'Image',53036,'Y','N',250,'Y','@IsRouting@=''N''','EE01')
;

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=53684 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:46','YYYY-MM-DD HH24:MI:SS'),0,53685,'Data entry or display window',14,53455,'N',0,'The Window field identifies a unique Window in the system.',TO_DATE('2007-12-17 05:01:46','YYYY-MM-DD HH24:MI:SS'),'Window',53036,'N','N',260,'Y','@Action@=W','EE01')
;

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=53685 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:47','YYYY-MM-DD HH24:MI:SS'),0,53686,'Special Form',14,53447,'N',0,'The Special Form field identifies a unique Special Form in the system.',TO_DATE('2007-12-17 05:01:47','YYYY-MM-DD HH24:MI:SS'),'Special Form',53036,'N','N',270,'Y','@Action@=X','EE01')
;

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=53686 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:48','YYYY-MM-DD HH24:MI:SS'),0,53687,'Operation System Task',14,53451,'N',0,'The Task field identifies a Operation System Task in the system.',TO_DATE('2007-12-17 05:01:48','YYYY-MM-DD HH24:MI:SS'),'OS Task',53036,'N','N',280,'Y','@Action@=T','EE01')
;

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=53687 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:49','YYYY-MM-DD HH24:MI:SS'),0,53688,'Workflow or tasks',14,53508,'N',0,'The Workflow field identifies a unique workflow.   A workflow is a grouping of related tasks, in a specified sequence and optionally including approvals',TO_DATE('2007-12-17 05:01:49','YYYY-MM-DD HH24:MI:SS'),'Workflow',53036,'N','N',290,'Y','@Action@=F | @Action@=L','EE01')
;

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=53688 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:50','YYYY-MM-DD HH24:MI:SS'),0,53689,'Mode how the sub-workflow is executed',14,53500,'N',0,TO_DATE('2007-12-17 05:01:50','YYYY-MM-DD HH24:MI:SS'),'Subflow Execution',53036,'Y','N',300,'Y','@Action@=F','EE01')
;

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=53689 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:50','YYYY-MM-DD HH24:MI:SS'),0,53690,'Process or Report',14,53450,'N',0,'The Process field identifies a unique Process or Report in the system.',TO_DATE('2007-12-17 05:01:50','YYYY-MM-DD HH24:MI:SS'),'Process',53036,'N','N',310,'Y','@Action@=P | @Action@=R','EE01')
;

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=53690 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:51','YYYY-MM-DD HH24:MI:SS'),0,53691,'Workflow Transaction Execution Block',14,53452,'N',0,'A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.',TO_DATE('2007-12-17 05:01:51','YYYY-MM-DD HH24:MI:SS'),'Workflow Block',53036,'Y','N',320,'Y','@Action@=P','EE01')
;

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=53691 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:52','YYYY-MM-DD HH24:MI:SS'),0,53692,'Column in the table',14,53446,'N',0,'Link to the database column of the table',TO_DATE('2007-12-17 05:01:52','YYYY-MM-DD HH24:MI:SS'),'Column',53036,'N','N',330,'Y','@Action@=V | @Action@=C','EE01')
;

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=53692 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:53','YYYY-MM-DD HH24:MI:SS'),0,53693,'Name of the Attribute',20,53458,'N',0,'Identifier of the attribute',TO_DATE('2007-12-17 05:01:53','YYYY-MM-DD HH24:MI:SS'),'Attribute Name',53036,'Y','N',340,'Y','@Action@=V','EE01')
;

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=53693 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:54','YYYY-MM-DD HH24:MI:SS'),0,53694,'Value of the Attribute',60,53459,'N',0,'Adempiere converts the (string) field values to the attribute data type.  Booleans (Yes-No) may have the values "true" and "false", the date format is YYYY-MM-DD',TO_DATE('2007-12-17 05:01:54','YYYY-MM-DD HH24:MI:SS'),'Attribute Value',53036,'N','N',350,'Y','@Action@=V','EE01')
;

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=53694 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:55','YYYY-MM-DD HH24:MI:SS'),0,53695,'The targeted status of the document',14,53469,'N',0,'You find the current status in the Document Status field. The options are listed in a popup',TO_DATE('2007-12-17 05:01:55','YYYY-MM-DD HH24:MI:SS'),'Document Action',53036,'N','N',360,'Y','@Action@=D | @WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53695 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:56','YYYY-MM-DD HH24:MI:SS'),0,53696,'Cost information',26,53461,'N',0,TO_DATE('2007-12-17 05:01:56','YYYY-MM-DD HH24:MI:SS'),'Cost',53036,'N','N',370,'Y',127,'@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53696 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:57','YYYY-MM-DD HH24:MI:SS'),0,53697,'Workflow Simulation Execution Time',11,53509,'N',0,'Amount of time the performer of the activity needs to perform the task in Duration Unit',TO_DATE('2007-12-17 05:01:57','YYYY-MM-DD HH24:MI:SS'),'Working Time',53036,'N','N',380,'Y',127,'EE01')
;

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=53697 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:58','YYYY-MM-DD HH24:MI:SS'),0,53698,0,53501,'N',0,TO_DATE('2007-12-17 05:01:58','YYYY-MM-DD HH24:MI:SS'),'UnitsCycles',53036,'N','N',390,'N','EE01')
;

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=53698 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:01:59','YYYY-MM-DD HH24:MI:SS'),0,53699,0,53484,'N',0,TO_DATE('2007-12-17 05:01:59','YYYY-MM-DD HH24:MI:SS'),'OverlapUnits',53036,'Y','N',400,'N','EE01')
;

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=53699 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:01','YYYY-MM-DD HH24:MI:SS'),0,53700,0,53493,'N',0,TO_DATE('2007-12-17 05:02:01','YYYY-MM-DD HH24:MI:SS'),'QueuingTime',53036,'N','N',410,'Y','EE01')
;

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=53700 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:01','YYYY-MM-DD HH24:MI:SS'),0,53701,'Setup time before starting Production',22,53495,'N',0,'Once per operation',TO_DATE('2007-12-17 05:02:01','YYYY-MM-DD HH24:MI:SS'),'Setup Time',53036,'Y','N',420,'Y','EE01')
;

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=53701 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:02','YYYY-MM-DD HH24:MI:SS'),0,53702,'Normal Duration in Duration Unit',11,53471,'N',0,'Expected (normal) Length of time for the execution',TO_DATE('2007-12-17 05:02:02','YYYY-MM-DD HH24:MI:SS'),'Duration',53036,'N','N',430,'Y','EE01')
;

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=53702 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:03','YYYY-MM-DD HH24:MI:SS'),0,53703,'Maximum Duration in Duration Unit',11,53482,'N',0,'Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.',TO_DATE('2007-12-17 05:02:03','YYYY-MM-DD HH24:MI:SS'),'Duration Limit',53036,'Y','N',440,'Y','EE01')
;

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=53703 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:05','YYYY-MM-DD HH24:MI:SS'),0,53704,'Workflow Simulation Waiting time',11,53507,'N',0,'Amount of time needed to prepare the performance of the task on Duration Units',TO_DATE('2007-12-17 05:02:05','YYYY-MM-DD HH24:MI:SS'),'Waiting Time',53036,'N','N',450,'Y','EE01')
;

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=53704 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:06','YYYY-MM-DD HH24:MI:SS'),0,53705,0,53483,'N',0,TO_DATE('2007-12-17 05:02:06','YYYY-MM-DD HH24:MI:SS'),'MovingTime',53036,'Y','N',460,'Y','EE01')
;

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=53705 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:07','YYYY-MM-DD HH24:MI:SS'),0,53706,22,53497,'N',0,TO_DATE('2007-12-17 05:02:07','YYYY-MM-DD HH24:MI:SS'),'SetupTimeRequiered',53036,'N','N',470,'N',105,'EE01')
;

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=53706 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:08','YYYY-MM-DD HH24:MI:SS'),0,53707,22,53496,'N',0,TO_DATE('2007-12-17 05:02:08','YYYY-MM-DD HH24:MI:SS'),'SetupTimeReal',53036,'Y','N',480,'Y',105,'EE01')
;

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=53707 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:09','YYYY-MM-DD HH24:MI:SS'),0,53708,22,53473,'N',0,TO_DATE('2007-12-17 05:02:09','YYYY-MM-DD HH24:MI:SS'),'DurationRequiered',53036,'N','N',490,'N',105,'EE01')
;

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=53708 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:10','YYYY-MM-DD HH24:MI:SS'),0,53709,22,53472,'N',0,TO_DATE('2007-12-17 05:02:10','YYYY-MM-DD HH24:MI:SS'),'DurationReal',53036,'Y','N',500,'Y',105,'EE01')
;

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=53709 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:11','YYYY-MM-DD HH24:MI:SS'),0,53710,0,53466,'N',0,TO_DATE('2007-12-17 05:02:11','YYYY-MM-DD HH24:MI:SS'),'DateStart',53036,'N','N',510,'Y','EE01')
;

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=53710 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:12','YYYY-MM-DD HH24:MI:SS'),0,53711,'Finish or (planned) completion date',0,53464,'N',0,'The finish date is used to indicate when the project is expected to be completed or has been completed.',TO_DATE('2007-12-17 05:02:12','YYYY-MM-DD HH24:MI:SS'),'Finish Date',53036,'Y','N',520,'Y','EE01')
;

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=53711 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:13','YYYY-MM-DD HH24:MI:SS'),0,53712,0,53467,'N',0,TO_DATE('2007-12-17 05:02:13','YYYY-MM-DD HH24:MI:SS'),'DateStartSchedule',53036,'N','N',530,'N','EE01')
;

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=53712 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:14','YYYY-MM-DD HH24:MI:SS'),0,53713,0,53465,'N',0,TO_DATE('2007-12-17 05:02:14','YYYY-MM-DD HH24:MI:SS'),'DateFinishSchedule',53036,'Y','N',540,'N','EE01')
;

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=53713 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:15','YYYY-MM-DD HH24:MI:SS'),0,53714,22,53491,'N',0,TO_DATE('2007-12-17 05:02:15','YYYY-MM-DD HH24:MI:SS'),'QtyRequiered',53036,'N','N',550,'N',105,'EE01')
;

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=53714 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:16','YYYY-MM-DD HH24:MI:SS'),0,53715,'Delivered Quantity',22,53489,'N',0,'The Delivered Quantity indicates the quantity of a product that has been delivered.',TO_DATE('2007-12-17 05:02:16','YYYY-MM-DD HH24:MI:SS'),'Delivered Quantity',53036,'Y','N',560,'Y',105,'EE01')
;

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=53715 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:17','YYYY-MM-DD HH24:MI:SS'),0,53716,22,53490,'N',0,TO_DATE('2007-12-17 05:02:17','YYYY-MM-DD HH24:MI:SS'),'QtyReject',53036,'N','N',570,'Y',105,'EE01')
;

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=53716 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:02:18','YYYY-MM-DD HH24:MI:SS'),0,53717,22,53492,'N',0,TO_DATE('2007-12-17 05:02:18','YYYY-MM-DD HH24:MI:SS'),'QtyScrap',53036,'Y','N',580,'Y','EE01')
;

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=53717 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Order Next','3','Y','N','Y','PP_Order_NodeNext',TO_DATE('2007-12-17 05:02:19','YYYY-MM-DD HH24:MI:SS'),53023,0,TO_DATE('2007-12-17 05:02:19','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53023 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_NodeNext',0,0,'PP_Order_NodeNext',50000,1000000,'Y',53020,TO_DATE('2007-12-17 05:02:20','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:02:20','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53023,53513,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:02:20','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 05:02:20','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53513 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_NodeNext (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53023,53514,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:02:22','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 05:02:22','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53514 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 PP_Order_NodeNext ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Next Node','N','N','Next Node in workflow','N','The Next Node indicates the next step or task in this Workflow.',109,0,'Y',53023,53515,'AD_WF_Next_ID',0,0,10,'N',TO_DATE('2007-12-17 05:02:23','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:02:23','YYYY-MM-DD HH24:MI:SS'),141,'Y','N','N',0,'N','N','EE01')
;

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=53515 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 PP_Order_NodeNext ADD AD_WF_Next_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Node','Y','N','Workflow Node (activity), step or process','N','The Workflow Node indicates a unique step or process in a Workflow.',0,'Y',53023,53516,'AD_WF_Node_ID',0,0,22,'N',TO_DATE('2007-12-17 05:02:25','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:02:25','YYYY-MM-DD HH24:MI:SS'),142,'Y','N','N',0,'N','N','EE01')
;

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=53516 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 PP_Order_NodeNext ADD AD_WF_Node_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','N','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53023,53517,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:02:26','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:02:26','YYYY-MM-DD HH24:MI:SS'),245,'Y','N','N',0,'N','N','EE01')
;

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=53517 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 PP_Order_NodeNext ADD Created DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','N','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53023,53518,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:02:28','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:02:28','YYYY-MM-DD HH24:MI:SS'),246,'Y','N','N',0,'N','N','EE01')
;

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=53518 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 PP_Order_NodeNext ADD CreatedBy NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53023,53519,'Description',0,0,255,'N',TO_DATE('2007-12-17 05:02:29','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:02:29','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53519 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 PP_Order_NodeNext ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Entity Type','Y','N','Dictionary Entity Type; Determines ownership and synchronization','N','The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',389,0,'Y',53023,53520,'EntityType',0,0,1,'N',TO_DATE('2007-12-17 05:02:30','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:02:30','YYYY-MM-DD HH24:MI:SS'),1682,'Y','N','N',0,'N','N','EE01')
;

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=53520 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 PP_Order_NodeNext ADD EntityType VARCHAR2(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53023,53521,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:02:31','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:02:31','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53521 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 PP_Order_NodeNext ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Std User Workflow','N','N','Standard Manual User Approval Workflow','N','If selected, only documents with an open status (drafted, in progress, approved, rejected, invalid) and standard user actions (prepare, complete, approve, reject) are allowed to continue.  Use this to prevent having to define details on how automatic processes (unlock, invalidate, post, re-activate) and when the document is closed for normal user action (completed, waiting, closed, voided, reversed).',0,'Y',53023,53522,'IsStdUserWorkflow',0,0,1,'N',TO_DATE('2007-12-17 05:02:34','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:02:34','YYYY-MM-DD HH24:MI:SS'),2501,'Y','N','N',0,'N','N','EE01')
;

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=53522 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 PP_Order_NodeNext ADD IsStdUserWorkflow CHAR(1) CHECK (IsStdUserWorkflow IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53023,53523,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 05:02:40','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:02:40','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53523 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 PP_Order_NodeNext ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53232,'T','PP_Order_Node',0,TO_DATE('2007-12-17 05:02:42','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 05:02:42','YYYY-MM-DD HH24:MI:SS'),'EE01')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53232 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

Insert INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53232, 53022, 53445, 53486, 'EE01', 'N', '', '')
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53292,'PP_Order_Next_ID','PP_Order_Next_ID',0,0,0,0,'PP_Order_Next_ID',TO_DATE('2007-12-17 05:02:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:02:43','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53292 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Next_ID','N','N','N',53232,0,'Y',53023,53524,'PP_Order_Next_ID',0,0,22,'N',TO_DATE('2007-12-17 05:02:43','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:02:43','YYYY-MM-DD HH24:MI:SS'),53292,'Y','N','N',0,'N','N','EE01')
;

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=53524 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 PP_Order_NodeNext ADD PP_Order_Next_ID NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53293,'PP_Order_NodeNext_ID','PP_Order_NodeNext_ID',0,0,0,0,'PP_Order_NodeNext_ID',TO_DATE('2007-12-17 05:02:46','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:02:46','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53293 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_NodeNext_ID','N','N','N',0,'Y',53023,53525,'PP_Order_NodeNext_ID',0,0,10,'N',TO_DATE('2007-12-17 05:02:46','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:02:46','YYYY-MM-DD HH24:MI:SS'),53293,'N','Y','N',0,'N','N','EE01')
;

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=53525 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 PP_Order_NodeNext ADD PP_Order_NodeNext_ID NUMBER(10)
;

ALTER TABLE PP_Order_NodeNext ADD CONSTRAINT PP_Order_NodeNext_Key PRIMARY KEY (PP_Order_NodeNext_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_ID','Y','N','N',0,'Y',53023,53526,'PP_Order_Node_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:02:48','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:02:48','YYYY-MM-DD HH24:MI:SS'),53285,'N','N','N',0,'N','N','EE01')
;

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=53526 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 PP_Order_NodeNext ADD PP_Order_Node_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sequence','Y','N','Method of ordering records; lowest number comes first','N','10','The Sequence indicates the order of records',110,0,'Y',53023,53527,'SeqNo',0,0,22,'N',TO_DATE('2007-12-17 05:02:51','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:02:51','YYYY-MM-DD HH24:MI:SS'),566,'Y','N','N',0,'N','N','EE01')
;

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=53527 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 PP_Order_NodeNext ADD SeqNo NUMBER(10) DEFAULT 10 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Transition Code','N','N','Code resulting in TRUE of FALSE','N','The transition is executed, if the code results in TRUE (or is empty)',0,'Y',53023,53528,'TransitionCode',0,0,2000,'N',TO_DATE('2007-12-17 05:02:52','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:02:52','YYYY-MM-DD HH24:MI:SS'),2329,'Y','N','N',0,'N','N','EE01')
;

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=53528 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 PP_Order_NodeNext ADD TransitionCode NVARCHAR2(2000)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','N','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53023,53529,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:02:54','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:02:54','YYYY-MM-DD HH24:MI:SS'),607,'Y','N','N',0,'N','N','EE01')
;

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=53529 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 PP_Order_NodeNext ADD Updated DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53023,53530,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:02:55','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:02:55','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53530 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 PP_Order_NodeNext ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:02:56','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:02:56','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Node Transition','The Next Nodes Tab defines the order or Nodes or Steps in a Workflow.',0,'N','Transition Next',85,53023,53037,53009,'N','N','N','Y','N',NULL,'Y','N',0,3,'N','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53037 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:02:57','YYYY-MM-DD HH24:MI:SS'),0,53718,22,53523,'N',0,TO_DATE('2007-12-17 05:02:57','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53037,'N','N',0,'N','EE01')
;

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=53718 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:02:58','YYYY-MM-DD HH24:MI:SS'),0,53719,'Workflow Node (activity), step or process',22,53516,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 05:02:58','YYYY-MM-DD HH24:MI:SS'),'Node',53037,'N','N',0,'N','EE01')
;

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=53719 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:02:59','YYYY-MM-DD HH24:MI:SS'),0,53720,'Code resulting in TRUE of FALSE',2000,53528,'N',0,'The transition is executed, if the code results in TRUE (or is empty)',TO_DATE('2007-12-17 05:02:59','YYYY-MM-DD HH24:MI:SS'),'Transition Code',53037,'N','N',0,'N','EE01')
;

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=53720 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:03:00','YYYY-MM-DD HH24:MI:SS'),0,53721,0,53525,'N',0,TO_DATE('2007-12-17 05:03:00','YYYY-MM-DD HH24:MI:SS'),'PP_Order_NodeNext_ID',53037,'N','N',0,'N','EE01')
;

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=53721 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:01','YYYY-MM-DD HH24:MI:SS'),0,53722,'Client/Tenant for this installation.',22,53513,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:03:01','YYYY-MM-DD HH24:MI:SS'),'Client',53037,'N','N',10,'N','EE01')
;

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=53722 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:03','YYYY-MM-DD HH24:MI:SS'),0,53723,'Organizational entity within client',22,53514,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:03:03','YYYY-MM-DD HH24:MI:SS'),'Organization',53037,'Y','N',20,'N','EE01')
;

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=53723 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:04','YYYY-MM-DD HH24:MI:SS'),0,53724,22,53526,'N',0,TO_DATE('2007-12-17 05:03:04','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_ID',53037,'N','N',30,'N','EE01')
;

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=53724 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:05','YYYY-MM-DD HH24:MI:SS'),0,53725,22,53524,'N',0,TO_DATE('2007-12-17 05:03:05','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Next_ID',53037,'N','N',40,'N','EE01')
;

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=53725 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:06','YYYY-MM-DD HH24:MI:SS'),0,53726,'Method of ordering records; lowest number comes first',22,53527,'N',0,'The Sequence indicates the order of records',TO_DATE('2007-12-17 05:03:06','YYYY-MM-DD HH24:MI:SS'),'Sequence',53037,'N','N',50,'N','EE01')
;

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=53726 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:07','YYYY-MM-DD HH24:MI:SS'),0,53727,'Optional short description of the record',255,53519,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 05:03:07','YYYY-MM-DD HH24:MI:SS'),'Description',53037,'N','N',60,'N','EE01')
;

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=53727 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:08','YYYY-MM-DD HH24:MI:SS'),0,53728,'The record is active in the system',1,53521,'N',0,'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.',TO_DATE('2007-12-17 05:03:08','YYYY-MM-DD HH24:MI:SS'),'Active',53037,'N','N',70,'N','EE01')
;

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=53728 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:09','YYYY-MM-DD HH24:MI:SS'),0,53729,'Standard Manual User Approval Workflow',0,53522,'N',0,'If selected, only documents with an open status (drafted, in progress, approved, rejected, invalid) and standard user actions (prepare, complete, approve, reject) are allowed to continue.  Use this to prevent having to define details on how automatic processes (unlock, invalidate, post, re-activate) and when the document is closed for normal user action (completed, waiting, closed, voided, reversed).',TO_DATE('2007-12-17 05:03:09','YYYY-MM-DD HH24:MI:SS'),'Std User Workflow',53037,'N','N',80,'N','EE01')
;

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=53729 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:03:09','YYYY-MM-DD HH24:MI:SS'),0,53730,'Dictionary Entity Type; Determines ownership and synchronization',1,53520,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 05:03:09','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53037,'N','N',90,'N','EE01')
;

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=53730 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,Help,IsActive,IsSecurityEnabled,AD_Window_ID,IsDeleteable,TableName,Created,Description,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Cost Order','3','In the Cost Tab we have a record for each Cost Element defined in the Product to be produced, for these Organization, Warehouse, Cost Type and Resource.','Y','N',53009,'Y','PP_Order_Cost',TO_DATE('2007-12-17 05:03:11','YYYY-MM-DD HH24:MI:SS'),'In the Cost Tab we have a record for each Cost Element defined in the Product to be produced',53024,0,TO_DATE('2007-12-17 05:03:11','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53024 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_Cost',0,0,'PP_Order_Cost',50000,1000000,'Y',53021,TO_DATE('2007-12-17 05:03:11','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:03:11','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53024,53531,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:03:12','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:03:12','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53531 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_Cost (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53024,53532,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:03:15','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 05:03:15','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53532 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 PP_Order_Cost ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow','N','N','Workflow or combination of tasks','N','The Workflow field identifies a unique Workflow in the system.',0,'Y',53024,53533,'AD_Workflow_ID',0,0,10,'N',TO_DATE('2007-12-17 05:03:17','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:03:17','YYYY-MM-DD HH24:MI:SS'),144,'Y','N','N',0,'N','N','EE01')
;

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=53533 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 PP_Order_Cost ADD AD_Workflow_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Accounting Schema','Y','N','Rules for accounting','N','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar',0,'Y',53024,53534,'C_AcctSchema_ID',0,0,10,'N',TO_DATE('2007-12-17 05:03:19','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:03:19','YYYY-MM-DD HH24:MI:SS'),181,'Y','N','N',0,'N','N','EE01')
;

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=53534 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 PP_Order_Cost ADD C_AcctSchema_ID NUMBER(10) NOT NULL
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='C_AcctSchema Costing Method', Description='Costing Method list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:03:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=122
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=122
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=122, Value='p', Name='Last PO Price', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:04:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=239
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=239
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=122, Value='x', Name='_', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:04:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=782
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=782
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=122, Value='i', Name='Last Invoice', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:04:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=777
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=777
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=122, Value='U', Name='User Defined', IsActive='N', EntityType='D',Updated=TO_DATE('2007-12-17 05:04:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=778
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=778
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Costing Method','N','N','Indicates how Costs will be calculated','N','x','The Costing Method indicates how costs will be calculated (Standard, Average, Lifo, FoFo).  The default costing method is defined on accounting schema level and can be optionally overwritten in the product category.  The costing method cannot conflict with the Material Movement Policy (defined on Product Category).',122,0,'Y',53024,53535,'CostingMethod',0,0,1,'N',TO_DATE('2007-12-17 05:04:58','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:04:58','YYYY-MM-DD HH24:MI:SS'),241,'N','N','N',0,'N','N','EE01')
;

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=53535 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 PP_Order_Cost ADD CostingMethod CHAR(1) DEFAULT 'x'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53024,53536,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:04:59','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:04:59','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53536 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 PP_Order_Cost ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53024,53537,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:05:01','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:05:01','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53537 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 PP_Order_Cost ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Accumulated Amt','N','N','Total Amount','N','Sum of all amounts',0,'Y',53024,53538,'CumulatedAmt',0,0,22,'N',TO_DATE('2007-12-17 05:05:02','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:05:02','YYYY-MM-DD HH24:MI:SS'),2822,'N','N','N',0,'N','N','EE01')
;

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=53538 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 PP_Order_Cost ADD CumulatedAmt NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53294,'CumulatedAmtPost','CumulatedAmtPost',0,0,0,0,'CumulatedAmtPost',TO_DATE('2007-12-17 05:05:03','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:05:03','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53294 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('CumulatedAmtPost','N','N','N',0,'Y',53024,53539,'CumulatedAmtPost',0,0,22,'N',TO_DATE('2007-12-17 05:05:03','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:05:03','YYYY-MM-DD HH24:MI:SS'),53294,'N','N','N',0,'N','N','EE01')
;

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=53539 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 PP_Order_Cost ADD CumulatedAmtPost NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Accumulated Qty','N','N','Total Quantity','N','Sum of the quantities',0,'Y',53024,53540,'CumulatedQty',0,0,22,'N',TO_DATE('2007-12-17 05:05:05','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:05:05','YYYY-MM-DD HH24:MI:SS'),2823,'N','N','N',0,'N','N','EE01')
;

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=53540 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 PP_Order_Cost ADD CumulatedQty NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53295,'CumulatedQtyPost','CumulatedQtyPost',0,0,0,0,'CumulatedQtyPost',TO_DATE('2007-12-17 05:05:07','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:05:07','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53295 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('CumulatedQtyPost','N','N','N',0,'Y',53024,53541,'CumulatedQtyPost',0,0,14,'N',TO_DATE('2007-12-17 05:05:07','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:05:07','YYYY-MM-DD HH24:MI:SS'),53295,'N','N','N',0,'N','N','EE01')
;

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=53541 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 PP_Order_Cost ADD CumulatedQtyPost NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Current Cost Price','N','N','The currently used cost price','N',0,'Y',53024,53542,'CurrentCostPrice',0,0,20,'N',TO_DATE('2007-12-17 05:05:09','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:05:09','YYYY-MM-DD HH24:MI:SS'),1394,'N','N','N',0,'N','N','EE01')
;

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=53542 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 PP_Order_Cost ADD CurrentCostPrice NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53296,'CurrentCostPriceLL','CurrentCostPriceLL',0,0,0,0,'CurrentCostPriceLL',TO_DATE('2007-12-17 05:05:10','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:05:10','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53296 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('CurrentCostPriceLL','N','N','N',0,'Y',53024,53543,'CurrentCostPriceLL',0,0,22,'N',TO_DATE('2007-12-17 05:05:10','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:05:10','YYYY-MM-DD HH24:MI:SS'),53296,'N','N','N',0,'N','N','EE01')
;

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=53543 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 PP_Order_Cost ADD CurrentCostPriceLL NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Current Quantity','N','N','Current Quantity','N',0,'Y',53024,53544,'CurrentQty',0,0,22,'N',TO_DATE('2007-12-17 05:05:14','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:05:14','YYYY-MM-DD HH24:MI:SS'),2842,'Y','N','N',0,'N','N','EE01')
;

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=53544 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 PP_Order_Cost ADD CurrentQty NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53024,53545,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:05:16','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:05:16','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53545 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 PP_Order_Cost ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53024,53546,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 05:05:17','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 05:05:17','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'N','N','EE01')
;

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=53546 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 PP_Order_Cost ADD M_AttributeSetInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Cost Element','N','N','Product Cost Element','N',0,'Y',53024,53547,'M_CostElement_ID',0,0,22,'N',TO_DATE('2007-12-17 05:05:19','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:05:19','YYYY-MM-DD HH24:MI:SS'),2700,'N','N','N',0,'N','N','EE01')
;

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=53547 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 PP_Order_Cost ADD M_CostElement_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Cost Type','N','N','Type of Cost (e.g. Current, Plan, Future)','N','You can define multiple cost types. A cost type selected in an Accounting Schema is used for accounting.',0,'Y',53024,53548,'M_CostType_ID',0,0,10,'N',TO_DATE('2007-12-17 05:05:20','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:05:20','YYYY-MM-DD HH24:MI:SS'),2071,'Y','N','N',0,'N','N','EE01')
;

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=53548 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 PP_Order_Cost ADD M_CostType_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53024,53549,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 05:05:22','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:05:22','YYYY-MM-DD HH24:MI:SS'),454,'N','N','N',0,'N','N','EE01')
;

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=53549 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 PP_Order_Cost ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53297,'PP_Order_Cost_ID','PP_Order_Cost_ID',0,0,0,0,'PP_Order_Cost_ID',TO_DATE('2007-12-17 05:05:24','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:05:24','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53297 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Cost_ID','Y','N','N',0,'Y',53024,53550,'PP_Order_Cost_ID',0,0,22,'N',TO_DATE('2007-12-17 05:05:24','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:05:24','YYYY-MM-DD HH24:MI:SS'),53297,'N','Y','N',0,'N','N','EE01')
;

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=53550 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 PP_Order_Cost ADD PP_Order_Cost_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order_Cost ADD CONSTRAINT PP_Order_Cost_Key PRIMARY KEY (PP_Order_Cost_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53024,53551,'PP_Order_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:05:26','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:05:26','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53551 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 PP_Order_Cost ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53024,53552,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:05:28','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:05:28','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53552 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 PP_Order_Cost ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53024,53553,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:05:29','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:05:29','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53553 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 PP_Order_Cost ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:05:31','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:05:31','YYYY-MM-DD HH24:MI:SS'),0,'In the Cost Tab we have a record for each Cost Element defined in the Product to be produced','In the Cost Tab we have a record for each Cost Element defined in the Product to be produced, for these Organization, Warehouse, Cost Type and Resource.

',0,'N','Cost',90,53024,53038,53009,'N','N','N','Y','N',NULL,'Y','N',0,2,'N','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53038 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:05:31','YYYY-MM-DD HH24:MI:SS'),0,53731,22,53550,'N',0,TO_DATE('2007-12-17 05:05:31','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Cost_ID',53038,'N','N',0,'N','EE01')
;

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=53731 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:32','YYYY-MM-DD HH24:MI:SS'),0,53732,'Client/Tenant for this installation.',22,53531,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:05:32','YYYY-MM-DD HH24:MI:SS'),'Client',53038,'N','N',10,'N','EE01')
;

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=53732 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:34','YYYY-MM-DD HH24:MI:SS'),0,53733,'Organizational entity within client',22,53532,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:05:34','YYYY-MM-DD HH24:MI:SS'),'Organization',53038,'Y','N',20,'N','EE01')
;

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=53733 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:35','YYYY-MM-DD HH24:MI:SS'),0,53734,22,53551,'N',0,TO_DATE('2007-12-17 05:05:35','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53038,'N','N',30,'N','EE01')
;

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=53734 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:36','YYYY-MM-DD HH24:MI:SS'),0,53735,'Rules for accounting',0,53534,'N',0,'An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar',TO_DATE('2007-12-17 05:05:36','YYYY-MM-DD HH24:MI:SS'),'Accounting Schema',53038,'N','N',40,'N','EE01')
;

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=53735 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:37','YYYY-MM-DD HH24:MI:SS'),0,53736,'Product, Service, Item',22,53549,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 05:05:37','YYYY-MM-DD HH24:MI:SS'),'Product',53038,'N','N',50,'N','EE01')
;

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=53736 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:38','YYYY-MM-DD HH24:MI:SS'),0,53737,'Product Cost Element',22,53547,'N',0,TO_DATE('2007-12-17 05:05:38','YYYY-MM-DD HH24:MI:SS'),'Cost Element',53038,'N','N',60,'N','EE01')
;

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=53737 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:39','YYYY-MM-DD HH24:MI:SS'),0,53738,'Type of Cost (e.g. Current, Plan, Future)',0,53548,'N',0,'You can define multiple cost types. A cost type selected in an Accounting Schema is used for accounting.',TO_DATE('2007-12-17 05:05:39','YYYY-MM-DD HH24:MI:SS'),'Cost Type',53038,'Y','N',70,'N','EE01')
;

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=53738 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:40','YYYY-MM-DD HH24:MI:SS'),0,53739,'The record is active in the system',1,53545,'N',0,'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.',TO_DATE('2007-12-17 05:05:40','YYYY-MM-DD HH24:MI:SS'),'Active',53038,'N','N',110,'N','EE01')
;

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=53739 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:41','YYYY-MM-DD HH24:MI:SS'),0,53740,'The currently used cost price',0,53542,'N',0,TO_DATE('2007-12-17 05:05:41','YYYY-MM-DD HH24:MI:SS'),'Current Cost Price',53038,'N','N',120,'N','EE01')
;

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=53740 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:41','YYYY-MM-DD HH24:MI:SS'),0,53741,0,53543,'N',0,TO_DATE('2007-12-17 05:05:41','YYYY-MM-DD HH24:MI:SS'),'CurrentCostPriceLL',53038,'Y','N',130,'N','EE01')
;

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=53741 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 05:05:42','YYYY-MM-DD HH24:MI:SS'),0,53742,'Total Quantity',0,53540,'N',0,'Sum of the quantities

This field shows the sum of the quantities of the product that have had movements.',TO_DATE('2007-12-17 05:05:42','YYYY-MM-DD HH24:MI:SS'),'Accumulated Qty',53038,'N','N',140,'N','EE01')
;

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=53742 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:44','YYYY-MM-DD HH24:MI:SS'),0,53743,0,53541,'N',0,TO_DATE('2007-12-17 05:05:44','YYYY-MM-DD HH24:MI:SS'),'CumulatedQtyPost',53038,'Y','N',150,'N','EE01')
;

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=53743 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 05:05:45','YYYY-MM-DD HH24:MI:SS'),0,53744,'Total Amount',0,53538,'N',0,'Sum of all amounts

This field shows the sum of the amounts of the product that have had movements.',TO_DATE('2007-12-17 05:05:45','YYYY-MM-DD HH24:MI:SS'),'Accumulated Amt',53038,'N','N',160,'N','EE01')
;

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=53744 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:05:45','YYYY-MM-DD HH24:MI:SS'),0,53745,0,53539,'N',0,TO_DATE('2007-12-17 05:05:45','YYYY-MM-DD HH24:MI:SS'),'CumulatedAmtPost',53038,'Y','N',170,'N','EE01')
;

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=53745 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,Help,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,Description,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Order BOM Line','3','The information relative to every component that will be used in the manufacture of the finished product is taken from the Bill of Materials. This information is contained in the Order BOM/Formula Line tab.','Y','N','Y','PP_Order_BOMLine',TO_DATE('2007-12-17 05:05:47','YYYY-MM-DD HH24:MI:SS'),'Components of the Manufacturing Order ',53025,0,TO_DATE('2007-12-17 05:05:47','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53025 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_BOMLine',0,0,'PP_Order_BOMLine',50000,1000000,'Y',53022,TO_DATE('2007-12-17 05:05:48','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:05:48','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53025,53554,'Description',0,0,255,'N',TO_DATE('2007-12-17 05:05:49','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:05:49','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53554 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_BOMLine (Description NVARCHAR2(255))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Feature','N','N','N',0,'Y',53025,53555,'Feature',0,0,30,'N',TO_DATE('2007-12-17 05:05:51','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:05:51','YYYY-MM-DD HH24:MI:SS'),53246,'Y','N','N',0,'N','N','EE01')
;

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=53555 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 PP_Order_BOMLine ADD Feature NVARCHAR2(30)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','Y',1,'Identifies an item which is either purchased or sold in this organization.',0,'Y',53025,53556,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 05:05:53','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 05:05:53','YYYY-MM-DD HH24:MI:SS'),454,'N','N','N',0,'N','N','EE01')
;

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=53556 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 PP_Order_BOMLine ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BackflushGroup','N','N','N',0,'Y',53025,53557,'BackflushGroup',0,0,30,'N',TO_DATE('2007-12-17 05:05:55','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:05:55','YYYY-MM-DD HH24:MI:SS'),53248,'N','N','N',0,'N','N','EE01')
;

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=53557 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 PP_Order_BOMLine ADD BackflushGroup NVARCHAR2(30)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','Y','N','Unit of Measure','N','The UOM defines a unique non monetary Unit of Measure',0,'Y',53025,53558,'C_UOM_ID',0,0,22,'N',TO_DATE('2007-12-17 05:05:57','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:05:57','YYYY-MM-DD HH24:MI:SS'),215,'N','N','N',0,'N','N','EE01')
;

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=53558 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 PP_Order_BOMLine ADD C_UOM_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('ComponentType','N','N','N','CO',53225,0,'Y',53025,53559,'ComponentType',0,0,2,'N',TO_DATE('2007-12-17 05:05:58','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:05:58','YYYY-MM-DD HH24:MI:SS'),53249,'Y','N','N',0,'N','N','EE01')
;

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=53559 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 PP_Order_BOMLine ADD ComponentType CHAR(2) DEFAULT 'CO'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53025,53560,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:05:59','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:05:59','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53560 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 PP_Order_BOMLine ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53025,53561,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:06:01','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:06:01','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53561 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 PP_Order_BOMLine ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Delivered','N','N','Date when the product was delivered','N',0,'Y',53025,53562,'DateDelivered',0,0,7,'N',TO_DATE('2007-12-17 05:06:04','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:06:04','YYYY-MM-DD HH24:MI:SS'),264,'Y','N','N',0,'N','N','EE01')
;

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=53562 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 PP_Order_BOMLine ADD DateDelivered DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Forecast','N','N','N',0,'Y',53025,53563,'Forecast',0,0,22,'N',TO_DATE('2007-12-17 05:06:09','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:06:09','YYYY-MM-DD HH24:MI:SS'),53250,'N','N','N',0,'N','N','EE01')
;

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=53563 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 PP_Order_BOMLine ADD Forecast NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Comment/Help','N','N','Comment or Hint','N','The Help field contains a hint, comment or help about the use of this item.',0,'Y',53025,53564,'Help',0,0,2000,'N',TO_DATE('2007-12-17 05:06:11','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 05:06:11','YYYY-MM-DD HH24:MI:SS'),326,'Y','N','N',0,'N','N','EE01')
;

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=53564 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 PP_Order_BOMLine ADD Help NVARCHAR2(2000)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53025,53565,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:06:14','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:06:14','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53565 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 PP_Order_BOMLine ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsCritical','Y','N','N',0,'Y',53025,53566,'IsCritical',0,0,1,'N',TO_DATE('2007-12-17 05:06:16','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:06:16','YYYY-MM-DD HH24:MI:SS'),53251,'Y','N','N',0,'N','N','EE01')
;

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=53566 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 PP_Order_BOMLine ADD IsCritical CHAR(1) CHECK (IsCritical IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsQtyPercentage','N','N','N',0,'Y',53025,53567,'IsQtyPercentage',0,0,1,'N',TO_DATE('2007-12-17 05:06:19','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:06:19','YYYY-MM-DD HH24:MI:SS'),53252,'N','N','N',0,'N','N','EE01')
;

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=53567 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 PP_Order_BOMLine ADD IsQtyPercentage CHAR(1) CHECK (IsQtyPercentage IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IssueMethod','N','N','N',53226,0,'Y',53025,53568,'IssueMethod',0,0,1,'N',TO_DATE('2007-12-17 05:06:21','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:06:21','YYYY-MM-DD HH24:MI:SS'),53253,'Y','N','N',0,'N','N','EE01')
;

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=53568 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 PP_Order_BOMLine ADD IssueMethod CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Lead Time Offset','N','N','Optional Lead Time offest before starting production','N',0,'Y',53025,53569,'LeadTimeOffset',0,0,10,'N',TO_DATE('2007-12-17 05:06:23','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:06:23','YYYY-MM-DD HH24:MI:SS'),2789,'Y','N','N',0,'N','N','EE01')
;

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=53569 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 PP_Order_BOMLine ADD LeadTimeOffset NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Line No','Y','N','Unique line for this document','N','@SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Order_BOMLine WHERE PP_Order_ID=@PP_Order_ID@','Indicates the unique line for a document.  It will also control the display order of the lines within a document.',0,'Y',53025,53570,'Line',0,0,22,'N',TO_DATE('2007-12-17 05:06:26','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:06:26','YYYY-MM-DD HH24:MI:SS'),439,'Y','N','N',0,'N','N','EE01')
;

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=53570 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 PP_Order_BOMLine ADD Line NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53025,53571,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 05:06:28','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 05:06:28','YYYY-MM-DD HH24:MI:SS'),2019,'N','N','N',0,'N','N','EE01')
;

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=53571 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 PP_Order_BOMLine ADD M_AttributeSetInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Change Notice','N','N','Bill of Materials (Engineering) Change Notice (Version)','N',0,'Y',53025,53572,'M_ChangeNotice_ID',0,0,10,'N',TO_DATE('2007-12-17 05:06:31','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:06:31','YYYY-MM-DD HH24:MI:SS'),2783,'Y','N','N',0,'N','N','EE01')
;

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=53572 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 PP_Order_BOMLine ADD M_ChangeNotice_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Locator','N','N','Warehouse Locator','N','The Locator indicates where in a Warehouse a product is located.',0,'Y',53025,53573,'M_Locator_ID',0,0,22,'N',TO_DATE('2007-12-17 05:06:43','YYYY-MM-DD HH24:MI:SS'),'Y',31,0,TO_DATE('2007-12-17 05:06:43','YYYY-MM-DD HH24:MI:SS'),448,'Y','N','N',0,'N','N','EE01')
;

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=53573 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 PP_Order_BOMLine ADD M_Locator_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','Y','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',53025,53574,'M_Warehouse_ID',0,0,22,'N',TO_DATE('2007-12-17 05:07:02','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:07:02','YYYY-MM-DD HH24:MI:SS'),459,'Y','N','N',0,'N','N','EE01')
;

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=53574 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 PP_Order_BOMLine ADD M_Warehouse_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOMLine_ID','Y','N','N',0,'Y',53025,53575,'PP_Order_BOMLine_ID',0,0,10,'N',TO_DATE('2007-12-17 05:07:11','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:07:11','YYYY-MM-DD HH24:MI:SS'),53275,'N','Y','N',0,'N','N','EE01')
;

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=53575 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 PP_Order_BOMLine ADD PP_Order_BOMLine_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order_BOMLine ADD CONSTRAINT PP_Order_BOMLine_Key PRIMARY KEY (PP_Order_BOMLine_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53298,'PP_Order_BOM_ID','PP_Order_BOM_ID',0,0,0,0,'PP_Order_BOM_ID',TO_DATE('2007-12-17 05:07:13','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:07:13','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53298 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOM_ID','Y','N','N',0,'Y',53025,53576,'PP_Order_BOM_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:07:13','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:07:13','YYYY-MM-DD HH24:MI:SS'),53298,'N','N','N',0,'N','N','EE01')
;

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=53576 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 PP_Order_BOMLine ADD PP_Order_BOM_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53025,53577,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 05:07:16','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:07:16','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53577 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 PP_Order_BOMLine ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBOM','Y','N','N',0,'Y',53025,53578,'QtyBOM',0,0,22,'N',TO_DATE('2007-12-17 05:07:20','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:20','YYYY-MM-DD HH24:MI:SS'),53255,'N','N','N',0,'N','N','EE01')
;

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=53578 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 PP_Order_BOMLine ADD QtyBOM NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatch','Y','N','N',0,'Y',53025,53579,'QtyBatch',0,0,22,'N',TO_DATE('2007-12-17 05:07:21','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:21','YYYY-MM-DD HH24:MI:SS'),53256,'N','N','N',0,'N','N','EE01')
;

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=53579 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 PP_Order_BOMLine ADD QtyBatch NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivered Quantity','Y','N','Delivered Quantity','N','The Delivered Quantity indicates the quantity of a product that has been delivered.',0,'Y',53025,53580,'QtyDelivered',0,0,22,'N',TO_DATE('2007-12-17 05:07:23','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:23','YYYY-MM-DD HH24:MI:SS'),528,'N','N','N',0,'N','N','EE01')
;

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=53580 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 PP_Order_BOMLine ADD QtyDelivered NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Quantity','N','N','The Quantity Entered is based on the selected UoM','N','1','The Quantity Entered is converted to base product UoM quantity',0,'Y',53025,53581,'QtyEntered',0,0,22,'N',TO_DATE('2007-12-17 05:07:24','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:24','YYYY-MM-DD HH24:MI:SS'),2589,'N','N','N',0,'org.eevolution.model.CalloutBOM.qtyLine','N','N','EE01')
;

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=53581 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 PP_Order_BOMLine ADD QtyEntered NUMBER DEFAULT 1
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53299,'QtyPost','QtyPost',0,0,0,0,'QtyPost',TO_DATE('2007-12-17 05:07:26','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:07:26','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53299 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyPost','Y','N','N',0,'Y',53025,53582,'QtyPost',0,0,22,'N',TO_DATE('2007-12-17 05:07:26','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:26','YYYY-MM-DD HH24:MI:SS'),53299,'N','N','N',0,'N','N','EE01')
;

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=53582 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 PP_Order_BOMLine ADD QtyPost NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyReject','Y','N','N',0,'Y',53025,53583,'QtyReject',0,0,22,'N',TO_DATE('2007-12-17 05:07:28','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:28','YYYY-MM-DD HH24:MI:SS'),53287,'N','N','N',0,'N','N','EE01')
;

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=53583 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 PP_Order_BOMLine ADD QtyReject NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyRequiered','Y','N','N',0,'Y',53025,53584,'QtyRequiered',0,0,22,'N',TO_DATE('2007-12-17 05:07:30','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:30','YYYY-MM-DD HH24:MI:SS'),53288,'Y','N','N',0,'org.eevolution.model.CalloutBOM.qtyLine','N','N','EE01')
;

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=53584 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 PP_Order_BOMLine ADD QtyRequiered NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Reserved Quantity','Y','N','Reserved Quantity','N','The Reserved Quantity indicates the quantity of a product that is currently reserved.',0,'Y',53025,53585,'QtyReserved',0,0,22,'N',TO_DATE('2007-12-17 05:07:32','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:32','YYYY-MM-DD HH24:MI:SS'),532,'N','N','N',0,'N','N','EE01')
;

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=53585 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 PP_Order_BOMLine ADD QtyReserved NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyScrap','Y','N','N',0,'Y',53025,53586,'QtyScrap',0,0,22,'N',TO_DATE('2007-12-17 05:07:34','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:34','YYYY-MM-DD HH24:MI:SS'),53289,'N','N','N',0,'N','N','EE01')
;

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=53586 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 PP_Order_BOMLine ADD QtyScrap NUMBER NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Scrap','N','N','N',0,'Y',53025,53587,'Scrap',0,0,22,'N',TO_DATE('2007-12-17 05:07:35','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 05:07:35','YYYY-MM-DD HH24:MI:SS'),53257,'N','N','N',0,'N','N','EE01')
;

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=53587 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 PP_Order_BOMLine ADD Scrap NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53025,53588,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:07:37','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:07:37','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53588 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 PP_Order_BOMLine ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53025,53589,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:07:38','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:07:38','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53589 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 PP_Order_BOMLine ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User ID','N','N','User ID or account number','N','The User ID identifies a user and allows access to records or processes.',286,0,'Y',53025,53590,'UserID',0,0,22,'N',TO_DATE('2007-12-17 05:07:43','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:07:43','YYYY-MM-DD HH24:MI:SS'),1444,'Y','N','N',0,'N','N','EE01')
;

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=53590 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 PP_Order_BOMLine ADD UserID VARCHAR2(22)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','Y','N','Valid from including this date (first day)','N','@#Date@','The Valid From date indicates the first day of a date range',0,'Y',53025,53591,'ValidFrom',0,0,7,'N',TO_DATE('2007-12-17 05:07:48','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:07:48','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53591 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 PP_Order_BOMLine ADD ValidFrom DATE DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53025,53592,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:07:51','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:07:51','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53592 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 PP_Order_BOMLine ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N','The Valid To date indicates the last day of a date range',0,'Y',53025,53593,'ValidTo',0,0,7,'N',TO_DATE('2007-12-17 05:08:01','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:08:01','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53593 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 PP_Order_BOMLine ADD ValidTo DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53025,53594,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:08:04','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 05:08:04','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53594 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 PP_Order_BOMLine ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Assay','N','N','N',0,'Y',53025,53595,'Assay',0,0,22,'N',TO_DATE('2007-12-17 05:08:08','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:08:08','YYYY-MM-DD HH24:MI:SS'),53247,'N','N','N',0,'N','N','EE01')
;

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=53595 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 PP_Order_BOMLine ADD Assay NUMBER
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:08:13','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:08:13','YYYY-MM-DD HH24:MI:SS'),0,'Components of the Manufacturing Order ','The information relative to every component that will be used in the manufacture of the finished product is taken from the Bill of Materials. This information is contained in the Order BOM/Formula Line tab.',0,'N','Components of the Manufacturing Order ',30,53025,53039,53009,'N','N','N','Y','N',NULL,'N','N',0,2,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53039 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:08:16','YYYY-MM-DD HH24:MI:SS'),0,53746,'Client/Tenant for this installation.',22,53592,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:08:16','YYYY-MM-DD HH24:MI:SS'),'Client',53039,'N','N',0,'N','EE01')
;

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=53746 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:08:20','YYYY-MM-DD HH24:MI:SS'),0,53747,22,53575,'N',0,TO_DATE('2007-12-17 05:08:20','YYYY-MM-DD HH24:MI:SS'),'PP_Order_BOMLine_ID',53039,'N','N',0,'Y','EE01')
;

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=53747 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:08:23','YYYY-MM-DD HH24:MI:SS'),0,53748,22,53576,'N',0,TO_DATE('2007-12-17 05:08:23','YYYY-MM-DD HH24:MI:SS'),'PP_Order_BOM_ID',53039,'Y','N',0,'Y','EE01')
;

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=53748 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:08:25','YYYY-MM-DD HH24:MI:SS'),0,53749,22,53577,'N',0,TO_DATE('2007-12-17 05:08:25','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53039,'N','N',0,'Y','EE01')
;

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=53749 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:08:28','YYYY-MM-DD HH24:MI:SS'),0,53750,'Organizational entity within client',22,53594,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:08:28','YYYY-MM-DD HH24:MI:SS'),'Organization',53039,'Y','N',0,'N','EE01')
;

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=53750 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:32','YYYY-MM-DD HH24:MI:SS'),0,53751,'Unique line for this document',22,53570,'N',0,'Indicates the unique line for a document.  It will also control the display order of the lines within a document.',TO_DATE('2007-12-17 05:08:32','YYYY-MM-DD HH24:MI:SS'),'Line No',53039,'N','N',10,'N','EE01')
;

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=53751 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:36','YYYY-MM-DD HH24:MI:SS'),0,53752,'Optional short description of the record',510,53554,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 05:08:36','YYYY-MM-DD HH24:MI:SS'),'Description',53039,'N','N',20,'N','EE01')
;

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=53752 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:39','YYYY-MM-DD HH24:MI:SS'),0,53753,'Comment or Hint',2000,53564,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 05:08:39','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53039,'N','N',30,'N','EE01')
;

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=53753 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:41','YYYY-MM-DD HH24:MI:SS'),0,53754,'The record is active in the system',1,53565,'N',0,'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.',TO_DATE('2007-12-17 05:08:41','YYYY-MM-DD HH24:MI:SS'),'Active',53039,'N','N',40,'N','EE01')
;

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=53754 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:43','YYYY-MM-DD HH24:MI:SS'),0,53755,'Bill of Materials (Engineering) Change Notice (Version)',10,53572,'N',0,TO_DATE('2007-12-17 05:08:43','YYYY-MM-DD HH24:MI:SS'),'Change Notice',53039,'Y','N',50,'N','EE01')
;

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=53755 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:45','YYYY-MM-DD HH24:MI:SS'),0,53756,'Valid from including this date (first day)',7,53591,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 05:08:45','YYYY-MM-DD HH24:MI:SS'),'Valid from',53039,'N','N',60,'N','EE01')
;

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=53756 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:47','YYYY-MM-DD HH24:MI:SS'),0,53757,'Valid to including this date (last day)',7,53593,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 05:08:47','YYYY-MM-DD HH24:MI:SS'),'Valid to',53039,'Y','N',70,'N','EE01')
;

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=53757 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:48','YYYY-MM-DD HH24:MI:SS'),0,53758,'Product, Service, Item',22,53556,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 05:08:48','YYYY-MM-DD HH24:MI:SS'),'Product',53039,'N','N',80,'N','EE01')
;

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=53758 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:49','YYYY-MM-DD HH24:MI:SS'),0,53759,'Product Attribute Set Instance',22,53571,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 05:08:49','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53039,'Y','N',90,'N','EE01')
;

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=53759 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:50','YYYY-MM-DD HH24:MI:SS'),0,53760,0,53559,'N',0,TO_DATE('2007-12-17 05:08:50','YYYY-MM-DD HH24:MI:SS'),'ComponentType',53039,'N','N',100,'Y','EE01')
;

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=53760 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:52','YYYY-MM-DD HH24:MI:SS'),0,53761,1,53567,'N',0,TO_DATE('2007-12-17 05:08:52','YYYY-MM-DD HH24:MI:SS'),'IsQtyPercentage',53039,'N','N',110,'N','EE01')
;

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=53761 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:56','YYYY-MM-DD HH24:MI:SS'),0,53762,1,53566,'N',0,TO_DATE('2007-12-17 05:08:56','YYYY-MM-DD HH24:MI:SS'),'IsCritical',53039,'Y','N',120,'N','EE01')
;

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=53762 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:57','YYYY-MM-DD HH24:MI:SS'),0,53763,22,53578,'N',0,TO_DATE('2007-12-17 05:08:57','YYYY-MM-DD HH24:MI:SS'),'QtyBOM',53039,'N','N',130,'Y','@IsQtyPercentage@ = N','EE01')
;

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=53763 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:08:59','YYYY-MM-DD HH24:MI:SS'),0,53764,22,53579,'N',0,TO_DATE('2007-12-17 05:08:59','YYYY-MM-DD HH24:MI:SS'),'QtyBatch',53039,'N','N',140,'Y','@IsQtyPercentage@ = Y','EE01')
;

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=53764 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:01','YYYY-MM-DD HH24:MI:SS'),0,53765,'Unit of Measure',22,53558,'Y',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 05:09:01','YYYY-MM-DD HH24:MI:SS'),'UOM',53039,'Y','N',150,'N','EE01')
;

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=53765 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:03','YYYY-MM-DD HH24:MI:SS'),0,53766,22,53595,'N',0,TO_DATE('2007-12-17 05:09:03','YYYY-MM-DD HH24:MI:SS'),'Assay',53039,'N','N',160,'N','EE01')
;

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=53766 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:05','YYYY-MM-DD HH24:MI:SS'),0,53767,22,53587,'N',0,TO_DATE('2007-12-17 05:09:05','YYYY-MM-DD HH24:MI:SS'),'Scrap',53039,'Y','N',170,'N','EE01')
;

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=53767 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:08','YYYY-MM-DD HH24:MI:SS'),0,53768,1,53568,'N',0,TO_DATE('2007-12-17 05:09:08','YYYY-MM-DD HH24:MI:SS'),'IssueMethod',53039,'N','N',180,'N','EE01')
;

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=53768 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:10','YYYY-MM-DD HH24:MI:SS'),0,53769,'Optional Lead Time offest before starting production',10,53569,'N',0,TO_DATE('2007-12-17 05:09:10','YYYY-MM-DD HH24:MI:SS'),'Lead Time Offset',53039,'Y','N',190,'N','EE01')
;

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=53769 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:12','YYYY-MM-DD HH24:MI:SS'),0,53770,20,53557,'N',0,TO_DATE('2007-12-17 05:09:12','YYYY-MM-DD HH24:MI:SS'),'BackflushGroup',53039,'N','N',200,'N','EE01')
;

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=53770 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:13','YYYY-MM-DD HH24:MI:SS'),0,53771,22,53563,'N',0,TO_DATE('2007-12-17 05:09:13','YYYY-MM-DD HH24:MI:SS'),'Forecast',53039,'Y','N',210,'N','EE01')
;

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=53771 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:14','YYYY-MM-DD HH24:MI:SS'),0,53772,'Date when the product was delivered',7,53562,'N',0,TO_DATE('2007-12-17 05:09:14','YYYY-MM-DD HH24:MI:SS'),'Date Delivered',53039,'N','N',220,'N',130,'EE01')
;

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=53772 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:15','YYYY-MM-DD HH24:MI:SS'),0,53773,'User ID or account number',22,53590,'N',0,'The User ID identifies a user and allows access to records or processes.',TO_DATE('2007-12-17 05:09:15','YYYY-MM-DD HH24:MI:SS'),'User ID',53039,'Y','N',230,'N',130,'EE01')
;

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=53773 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:17','YYYY-MM-DD HH24:MI:SS'),0,53774,'Storage Warehouse and Service Point',22,53574,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 05:09:17','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53039,'N','N',240,'N',130,'EE01')
;

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=53774 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:19','YYYY-MM-DD HH24:MI:SS'),0,53775,'Warehouse Locator',22,53573,'N',0,'The Locator indicates where in a Warehouse a product is located.',TO_DATE('2007-12-17 05:09:19','YYYY-MM-DD HH24:MI:SS'),'Locator',53039,'Y','N',250,'N',130,'EE01')
;

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=53775 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:21','YYYY-MM-DD HH24:MI:SS'),0,53776,'The Quantity Entered is based on the selected UoM',0,53581,'N',0,'The Quantity Entered is converted to base product UoM quantity',TO_DATE('2007-12-17 05:09:21','YYYY-MM-DD HH24:MI:SS'),'Quantity',53039,'N','N',260,'N',130,'EE01')
;

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=53776 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:23','YYYY-MM-DD HH24:MI:SS'),0,53777,22,53584,'N',0,TO_DATE('2007-12-17 05:09:23','YYYY-MM-DD HH24:MI:SS'),'QtyRequiered',53039,'Y','N',270,'N',130,'EE01')
;

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=53777 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:24','YYYY-MM-DD HH24:MI:SS'),0,53778,'Delivered Quantity',22,53580,'N',0,'The Delivered Quantity indicates the quantity of a product that has been delivered.',TO_DATE('2007-12-17 05:09:24','YYYY-MM-DD HH24:MI:SS'),'Delivered Quantity',53039,'N','N',280,'Y',130,'EE01')
;

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=53778 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:25','YYYY-MM-DD HH24:MI:SS'),0,53779,'Reserved Quantity',22,53585,'N',0,'The Reserved Quantity indicates the quantity of a product that is currently reserved.',TO_DATE('2007-12-17 05:09:25','YYYY-MM-DD HH24:MI:SS'),'Reserved Quantity',53039,'Y','N',290,'Y',130,'EE01')
;

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=53779 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:27','YYYY-MM-DD HH24:MI:SS'),0,53780,22,53583,'N',0,TO_DATE('2007-12-17 05:09:27','YYYY-MM-DD HH24:MI:SS'),'QtyReject',53039,'N','N',300,'Y',130,'EE01')
;

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=53780 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:28','YYYY-MM-DD HH24:MI:SS'),0,53781,22,53586,'N',0,TO_DATE('2007-12-17 05:09:28','YYYY-MM-DD HH24:MI:SS'),'QtyScrap',53039,'Y','N',310,'Y',130,'EE01')
;

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=53781 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:09:28','YYYY-MM-DD HH24:MI:SS'),0,53782,22,53582,'N',0,TO_DATE('2007-12-17 05:09:28','YYYY-MM-DD HH24:MI:SS'),'QtyPost',53039,'N','N',320,'Y',130,'EE01')
;

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=53782 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,Help,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,Description,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Order Parent Product','3','The BOM & Formula used in the Manufacturing Order are taken by default from the Product Planning window.','Y','N','Y','PP_Order_BOM',TO_DATE('2007-12-17 05:09:29','YYYY-MM-DD HH24:MI:SS'),'Order Parent Product used in the Manufacturing Order',53026,0,TO_DATE('2007-12-17 05:09:29','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53026 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_BOM',0,0,'PP_Order_BOM',50000,1000000,'Y',53023,TO_DATE('2007-12-17 05:09:30','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:09:30','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','Y','N','Alphanumeric identifier of the entity','Y',1,'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.',0,'Y',53026,53596,'Name',0,0,60,'N',TO_DATE('2007-12-17 05:09:31','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:09:31','YYYY-MM-DD HH24:MI:SS'),469,'Y','N','N',0,'N','N','EE01')
;

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=53596 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_BOM (NAME NVARCHAR2(60) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53026,53597,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:09:33','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 05:09:33','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53597 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 PP_Order_BOM ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM Type','N','N','Type of BOM','N','The type of Bills of Materials determines the state',347,0,'Y',53026,53598,'BOMType',0,0,1,'N',TO_DATE('2007-12-17 05:09:35','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:09:35','YYYY-MM-DD HH24:MI:SS'),2030,'Y','N','N',0,'N','N','EE01')
;

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=53598 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 PP_Order_BOM ADD BOMType CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM Use','N','N','The use of the Bill of Material','N','By default the Master BOM is used, if the alternatives are not defined',348,0,'Y',53026,53599,'BOMUse',0,0,1,'N',TO_DATE('2007-12-17 05:09:36','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:09:36','YYYY-MM-DD HH24:MI:SS'),2784,'Y','N','N',0,'N','N','EE01')
;

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=53599 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 PP_Order_BOM ADD BOMUse CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','Y','N','Unit of Measure','N','The UOM defines a unique non monetary Unit of Measure',0,'Y',53026,53600,'C_UOM_ID',0,0,22,'N',TO_DATE('2007-12-17 05:09:38','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:09:38','YYYY-MM-DD HH24:MI:SS'),215,'Y','N','N',0,'N','N','EE01')
;

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=53600 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 PP_Order_BOM ADD C_UOM_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Copy From','N','N','Copy From Record','N','Copy From Record',0,'Y',53026,53601,'CopyFrom',0,0,1,'N',TO_DATE('2007-12-17 05:09:40','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 05:09:40','YYYY-MM-DD HH24:MI:SS'),2037,'Y','N','N',0,'N','N','EE01')
;

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=53601 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 PP_Order_BOM ADD CopyFrom CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53026,53602,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:09:41','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:09:41','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53602 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 PP_Order_BOM ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53026,53603,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:09:42','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:09:42','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53603 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 PP_Order_BOM ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53026,53604,'Description',0,0,255,'N',TO_DATE('2007-12-17 05:09:44','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:09:44','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53604 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 PP_Order_BOM ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document No','N','N','Document sequence number of the document','N','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).',0,'Y',53026,53605,'DocumentNo',0,0,20,'N',TO_DATE('2007-12-17 05:09:46','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:09:46','YYYY-MM-DD HH24:MI:SS'),290,'Y','N','N',0,'N','N','EE01')
;

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=53605 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 PP_Order_BOM ADD DocumentNo NVARCHAR2(20)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Comment/Help','N','N','Comment or Hint','N','The Help field contains a hint, comment or help about the use of this item.',0,'Y',53026,53606,'Help',0,0,2000,'N',TO_DATE('2007-12-17 05:09:49','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 05:09:49','YYYY-MM-DD HH24:MI:SS'),326,'Y','N','N',0,'N','N','EE01')
;

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=53606 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 PP_Order_BOM ADD Help NVARCHAR2(2000)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53026,53607,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:09:52','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:09:52','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53607 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 PP_Order_BOM ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53026,53608,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 05:09:55','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 05:09:55','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'N','N','EE01')
;

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=53608 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 PP_Order_BOM ADD M_AttributeSetInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Change Notice','N','N','Bill of Materials (Engineering) Change Notice (Version)','N',0,'Y',53026,53609,'M_ChangeNotice_ID',0,0,10,'N',TO_DATE('2007-12-17 05:09:57','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:09:57','YYYY-MM-DD HH24:MI:SS'),2783,'Y','N','N',0,'N','N','EE01')
;

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=53609 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 PP_Order_BOM ADD M_ChangeNotice_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53026,53610,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 05:09:59','YYYY-MM-DD HH24:MI:SS'),'Y',19,231,0,TO_DATE('2007-12-17 05:09:59','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53610 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 PP_Order_BOM ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOM_ID','Y','N','N',0,'Y',53026,53611,'PP_Order_BOM_ID',0,0,22,'N',TO_DATE('2007-12-17 05:10:01','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:10:01','YYYY-MM-DD HH24:MI:SS'),53298,'N','Y','N',0,'N','N','EE01')
;

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=53611 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 PP_Order_BOM ADD PP_Order_BOM_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order_BOM ADD CONSTRAINT PP_Order_BOM_Key PRIMARY KEY (PP_Order_BOM_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53026,53612,'PP_Order_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:10:02','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:10:02','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53612 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 PP_Order_BOM ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process Now','N','N','N',0,'Y',53026,53613,'Processing',0,0,1,'N',TO_DATE('2007-12-17 05:10:03','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 05:10:03','YYYY-MM-DD HH24:MI:SS'),524,'Y','N','N',0,'N','N','EE01')
;

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=53613 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 PP_Order_BOM ADD Processing CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Revision','N','N','N',0,'Y',53026,53614,'Revision',0,0,10,'N',TO_DATE('2007-12-17 05:10:07','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:10:07','YYYY-MM-DD HH24:MI:SS'),53244,'Y','N','N',0,'N','N','EE01')
;

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=53614 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 PP_Order_BOM ADD Revision NVARCHAR2(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53026,53615,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:10:09','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:10:09','YYYY-MM-DD HH24:MI:SS'),607,'Y','N','N',0,'N','N','EE01')
;

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=53615 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 PP_Order_BOM ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53026,53616,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:10:10','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:10:10','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53616 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 PP_Order_BOM ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','Y','N','Valid from including this date (first day)','N','The Valid From date indicates the first day of a date range',0,'Y',53026,53617,'ValidFrom',0,0,7,'N',TO_DATE('2007-12-17 05:10:11','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:10:11','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53617 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 PP_Order_BOM ADD ValidFrom DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N','The Valid To date indicates the last day of a date range',0,'Y',53026,53618,'ValidTo',0,0,7,'N',TO_DATE('2007-12-17 05:10:13','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:10:13','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53618 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 PP_Order_BOM ADD ValidTo DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53026,53619,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:10:14','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:10:14','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53619 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 PP_Order_BOM ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','Y','N','Search key for the record in the format required - must be unique','N','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).',0,'Y',53026,53620,'Value',0,0,80,'N',TO_DATE('2007-12-17 05:10:15','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:10:15','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','EE01')
;

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=53620 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 PP_Order_BOM ADD VALUE NVARCHAR2(80) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:10:17','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:10:17','YYYY-MM-DD HH24:MI:SS'),0,'Order Parent Product used in the Manufacturing Order','The BOM & Formula used in the Manufacturing Order are taken by default from the Product Planning window.',0,'N','Order Parent Product',20,53026,53040,53009,'N','N','Y','Y','N',NULL,'Y','N',0,1,'N','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53040 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:18','YYYY-MM-DD HH24:MI:SS'),0,53783,'Client/Tenant for this installation.',22,53619,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:10:18','YYYY-MM-DD HH24:MI:SS'),'Client',53040,'N','N',10,'N','EE01')
;

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=53783 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:19','YYYY-MM-DD HH24:MI:SS'),0,53784,'Organizational entity within client',22,53597,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:10:19','YYYY-MM-DD HH24:MI:SS'),'Organization',53040,'Y','N',20,'N','EE01')
;

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=53784 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:21','YYYY-MM-DD HH24:MI:SS'),0,53785,22,53612,'N',0,TO_DATE('2007-12-17 05:10:21','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53040,'N','N',30,'N','EE01')
;

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=53785 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:22','YYYY-MM-DD HH24:MI:SS'),0,53786,'Search key for the record in the format required - must be unique',80,53620,'N',0,'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).',TO_DATE('2007-12-17 05:10:22','YYYY-MM-DD HH24:MI:SS'),'Search Key',53040,'N','N',40,'N','EE01')
;

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=53786 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:23','YYYY-MM-DD HH24:MI:SS'),0,53787,'Alphanumeric identifier of the entity',120,53596,'N',0,'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.',TO_DATE('2007-12-17 05:10:23','YYYY-MM-DD HH24:MI:SS'),'Name',53040,'N','N',50,'N','EE01')
;

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=53787 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:24','YYYY-MM-DD HH24:MI:SS'),0,53788,'Optional short description of the record',510,53604,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 05:10:24','YYYY-MM-DD HH24:MI:SS'),'Description',53040,'N','N',60,'N','EE01')
;

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=53788 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:25','YYYY-MM-DD HH24:MI:SS'),0,53789,'Comment or Hint',2000,53606,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 05:10:25','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53040,'N','N',70,'N','EE01')
;

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=53789 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:26','YYYY-MM-DD HH24:MI:SS'),0,53790,'The record is active in the system',1,53607,'N',0,'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.',TO_DATE('2007-12-17 05:10:26','YYYY-MM-DD HH24:MI:SS'),'Active',53040,'N','N',80,'N','EE01')
;

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=53790 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:27','YYYY-MM-DD HH24:MI:SS'),0,53791,'Bill of Materials (Engineering) Change Notice (Version)',10,53609,'N',0,TO_DATE('2007-12-17 05:10:27','YYYY-MM-DD HH24:MI:SS'),'Change Notice',53040,'Y','N',90,'N','EE01')
;

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=53791 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:28','YYYY-MM-DD HH24:MI:SS'),0,53792,'Document sequence number of the document',22,53605,'N',0,'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).',TO_DATE('2007-12-17 05:10:28','YYYY-MM-DD HH24:MI:SS'),'Document No',53040,'N','N',100,'N','EE01')
;

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=53792 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:28','YYYY-MM-DD HH24:MI:SS'),0,53793,10,53614,'N',0,TO_DATE('2007-12-17 05:10:28','YYYY-MM-DD HH24:MI:SS'),'Revision',53040,'Y','N',110,'N','EE01')
;

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=53793 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:29','YYYY-MM-DD HH24:MI:SS'),0,53794,'Valid from including this date (first day)',7,53617,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 05:10:29','YYYY-MM-DD HH24:MI:SS'),'Valid from',53040,'N','N',120,'N','EE01')
;

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=53794 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:30','YYYY-MM-DD HH24:MI:SS'),0,53795,'Valid to including this date (last day)',7,53618,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 05:10:30','YYYY-MM-DD HH24:MI:SS'),'Valid to',53040,'Y','N',130,'N','EE01')
;

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=53795 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:31','YYYY-MM-DD HH24:MI:SS'),0,53796,'Product, Service, Item',22,53610,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 05:10:31','YYYY-MM-DD HH24:MI:SS'),'Product',53040,'N','N',140,'N','EE01')
;

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=53796 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:32','YYYY-MM-DD HH24:MI:SS'),0,53797,'Product Attribute Set Instance',22,53608,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 05:10:32','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53040,'Y','N',150,'N','EE01')
;

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=53797 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:33','YYYY-MM-DD HH24:MI:SS'),0,53798,'Unit of Measure',22,53600,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 05:10:33','YYYY-MM-DD HH24:MI:SS'),'UOM',53040,'N','N',160,'N','EE01')
;

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=53798 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:35','YYYY-MM-DD HH24:MI:SS'),0,53799,'Type of BOM',1,53598,'N',0,'The type of Bills of Materials determines the state',TO_DATE('2007-12-17 05:10:35','YYYY-MM-DD HH24:MI:SS'),'BOM Type',53040,'N','N',170,'N','EE01')
;

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=53799 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:36','YYYY-MM-DD HH24:MI:SS'),0,53800,'The use of the Bill of Material',1,53599,'N',0,'By default the Master BOM is used, if the alternatives are not defined',TO_DATE('2007-12-17 05:10:36','YYYY-MM-DD HH24:MI:SS'),'BOM Use',53040,'Y','N',180,'N','EE01')
;

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=53800 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:37','YYYY-MM-DD HH24:MI:SS'),0,53801,1,53613,'N',0,TO_DATE('2007-12-17 05:10:37','YYYY-MM-DD HH24:MI:SS'),'Process Now',53040,'N','N',190,'N','EE01')
;

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=53801 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:39','YYYY-MM-DD HH24:MI:SS'),0,53802,'Copy From Record',1,53601,'N',0,'Copy From Record',TO_DATE('2007-12-17 05:10:39','YYYY-MM-DD HH24:MI:SS'),'Copy From',53040,'Y','N',200,'N','EE01')
;

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=53802 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:10:41','YYYY-MM-DD HH24:MI:SS'),0,53803,22,53611,'N',0,TO_DATE('2007-12-17 05:10:41','YYYY-MM-DD HH24:MI:SS'),'PP_Order_BOM_ID',53040,'Y','N',210,'N','EE01')
;

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=53803 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,Help,IsActive,IsSecurityEnabled,AD_Window_ID,IsDeleteable,TableName,Created,Description,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Manufacturing Order','1','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.','Y','N',53009,'Y','PP_Order',TO_DATE('2007-12-17 05:10:42','YYYY-MM-DD HH24:MI:SS'),'Manufacturing Order',53027,0,TO_DATE('2007-12-17 05:10:42','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53027 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order',0,0,'PP_Order',50000,1000000,'Y',53024,TO_DATE('2007-12-17 05:10:42','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:10:42','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document No','Y','N','Document sequence number of the document','Y',1,'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).',0,'Y',53027,53621,'DocumentNo',0,0,60,'N',TO_DATE('2007-12-17 05:10:43','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:10:43','YYYY-MM-DD HH24:MI:SS'),290,'Y','N','N',0,'N','N','EE01')
;

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=53621 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order (DocumentNo NVARCHAR2(60) NOT NULL)
;

INSERT INTO AD_Val_Rule (IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,AD_Client_ID,Code,Name,Type,Created,AD_Val_Rule_ID,EntityType) VALUES ('Y',TO_DATE('2007-12-17 05:10:45','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,'IsManufacturingResource=''Y'' AND ManufacturingResourceType=''PT''','S_Resource Plant','S',TO_DATE('2007-12-17 05:10:45','YYYY-MM-DD HH24:MI:SS'),52002,'EE01')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','Y','N','Resource','Y',2,0,'Y',53027,53622,'S_Resource_ID',0,0,22,'N',TO_DATE('2007-12-17 05:10:46','YYYY-MM-DD HH24:MI:SS'),'Y',19,52002,0,TO_DATE('2007-12-17 05:10:46','YYYY-MM-DD HH24:MI:SS'),1777,'N','N','N',0,'N','N','EE01')
;

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=53622 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 PP_Order ADD S_Resource_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N',2,'Identifies an item which is either purchased or sold in this organization.',0,'Y',53027,53623,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 05:10:48','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 05:10:48','YYYY-MM-DD HH24:MI:SS'),454,'N','N','Y',0,'N','N','EE01')
;

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=53623 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 PP_Order ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','Y','N','Storage Warehouse and Service Point','N',3,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',53027,53624,'M_Warehouse_ID',0,0,22,'N',TO_DATE('2007-12-17 05:10:49','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:10:49','YYYY-MM-DD HH24:MI:SS'),459,'N','N','N',0,'N','N','EE01')
;

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=53624 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 PP_Order ADD M_Warehouse_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Assay','N','N','N','0',0,'Y',53027,53625,'Assay',0,0,22,'N',TO_DATE('2007-12-17 05:10:51','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:10:51','YYYY-MM-DD HH24:MI:SS'),53247,'Y','N','N',0,'N','N','EE01')
;

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=53625 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 PP_Order ADD Assay NUMBER DEFAULT 0
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Activity','N','N','Business Activity','N','Activities indicate tasks that are performed and used to utilize Activity based Costing',0,'Y',53027,53626,'C_Activity_ID',0,0,22,'N',TO_DATE('2007-12-17 05:10:52','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:10:52','YYYY-MM-DD HH24:MI:SS'),1005,'Y','N','N',0,'N','N','EE01')
;

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=53626 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 PP_Order ADD C_Activity_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Campaign','N','N','Marketing Campaign','N','The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',0,'Y',53027,53627,'C_Campaign_ID',0,0,22,'N',TO_DATE('2007-12-17 05:10:54','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:10:54','YYYY-MM-DD HH24:MI:SS'),550,'Y','N','N',0,'N','N','EE01')
;

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=53627 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 PP_Order ADD C_Campaign_ID NUMBER(10)
;

INSERT INTO AD_Reference (AD_Reference_ID,ValidationType,Name,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,UpdatedBy,IsActive,Created,EntityType) VALUES (53233,'T','C_DocType MFG',0,TO_DATE('2007-12-17 05:10:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y',TO_DATE('2007-12-17 05:10:58','YYYY-MM-DD HH24:MI:SS'),'D')
;

INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, '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=53233 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

Insert INTO AD_Ref_Table(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, AD_Reference_ID, AD_Table_ID, AD_Display, AD_Key ,entityType, isValueDisplayed, OrderByClause, WhereClause )VALUES(0, 0, 0, 0, 53233, 217, 1509, 1501, 'D', 'N', '', 'C_DocType.AD_Client_ID=@#AD_Client_ID@  AND C_DocType.DocBaseType IN  (''MOP'',''MOF'',''MOM'',''MOR'',''MOI'',''MOU'',''MOV'',''MQO'') ')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Target Document Type','Y','N','Target document type for conversing documents','N','0','You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.',53233,0,'Y',53027,53628,'C_DocTypeTarget_ID',0,0,22,'N',TO_DATE('2007-12-17 05:11:01','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:11:01','YYYY-MM-DD HH24:MI:SS'),197,'N','N','N',0,'N','N','EE01')
;

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=53628 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 PP_Order ADD C_DocTypeTarget_ID NUMBER(10) DEFAULT 0 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Type','N','N','Document type or rules','N','0','The Document Type determines document sequence and processing rules',53233,0,'Y',53027,53629,'C_DocType_ID',0,0,22,'N',TO_DATE('2007-12-17 05:11:03','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:11:03','YYYY-MM-DD HH24:MI:SS'),196,'Y','N','N',0,'N','N','EE01')
;

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=53629 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 PP_Order ADD C_DocType_ID NUMBER(10) DEFAULT 0
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sales Order Line','N','N','Sales Order Line','N','The Sales Order Line is a unique identifier for a line in an order.',0,'Y',53027,53630,'C_OrderLine_ID',0,0,10,'N',TO_DATE('2007-12-17 05:11:04','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:11:04','YYYY-MM-DD HH24:MI:SS'),561,'Y','N','N',0,'N','N','EE01')
;

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=53630 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 PP_Order ADD C_OrderLine_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Project','N','N','Financial Project','N','A Project allows you to track and control internal or external activities.',0,'Y',53027,53631,'C_Project_ID',0,0,22,'N',TO_DATE('2007-12-17 05:11:06','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:11:06','YYYY-MM-DD HH24:MI:SS'),208,'Y','N','N',0,'N','N','EE01')
;

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=53631 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 PP_Order ADD C_Project_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','Y','N','Unit of Measure','N','@UOMConversion@=Y | @Processed@=''Y''','The UOM defines a unique non monetary Unit of Measure',0,'Y',53027,53632,'C_UOM_ID',0,0,22,'N',TO_DATE('2007-12-17 05:11:07','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:11:07','YYYY-MM-DD HH24:MI:SS'),215,'N','N','N',0,'N','N','EE01')
;

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=53632 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 PP_Order ADD C_UOM_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Copy From','N','N','Copy From Record','N','Copy From Record',0,'Y',53027,53633,'CopyFrom',0,0,1,'N',TO_DATE('2007-12-17 05:11:08','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 05:11:08','YYYY-MM-DD HH24:MI:SS'),2037,'Y','N','N',0,'N','N','EE01')
;

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=53633 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 PP_Order ADD CopyFrom CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53027,53634,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:11:10','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:10','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53634 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 PP_Order ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53027,53635,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:11:13','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:11:13','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53635 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 PP_Order ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateConfirm','N','N','N',0,'Y',53027,53636,'DateConfirm',0,0,7,'N',TO_DATE('2007-12-17 05:11:14','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:14','YYYY-MM-DD HH24:MI:SS'),53277,'N','N','N',0,'N','N','EE01')
;

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=53636 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 PP_Order ADD DateConfirm DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Delivered','N','N','Date when the product was delivered','N',0,'Y',53027,53637,'DateDelivered',0,0,7,'N',TO_DATE('2007-12-17 05:11:18','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:18','YYYY-MM-DD HH24:MI:SS'),264,'N','N','N',0,'N','N','EE01')
;

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=53637 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 PP_Order ADD DateDelivered DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Finish Date','N','N','Finish or (planned) completion date','N','The finish date is used to indicate when the project is expected to be completed or has been completed.',0,'Y',53027,53638,'DateFinish',0,0,7,'N',TO_DATE('2007-12-17 05:11:20','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:20','YYYY-MM-DD HH24:MI:SS'),1557,'N','N','N',0,'N','N','EE01')
;

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=53638 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 PP_Order ADD DateFinish DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateFinishSchedule','N','N','N',0,'Y',53027,53639,'DateFinishSchedule',0,0,7,'N',TO_DATE('2007-12-17 05:11:22','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:22','YYYY-MM-DD HH24:MI:SS'),53278,'Y','N','N',0,'N','N','EE01')
;

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=53639 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 PP_Order ADD DateFinishSchedule DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Ordered','Y','N','Date of Order','N','@#Date@','Indicates the Date an item was ordered.',0,'Y',53027,53640,'DateOrdered',0,0,7,'N',TO_DATE('2007-12-17 05:11:23','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:23','YYYY-MM-DD HH24:MI:SS'),268,'Y','N','Y',0,'N','N','EE01')
;

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=53640 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 PP_Order ADD DateOrdered DATE DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Promised','Y','N','Date Order was promised','N','The Date Promised indicates the date, if any, that an Order was promised for.',0,'Y',53027,53641,'DatePromised',0,0,7,'N',TO_DATE('2007-12-17 05:11:25','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:25','YYYY-MM-DD HH24:MI:SS'),269,'Y','N','Y',0,'N','N','EE01')
;

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=53641 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 PP_Order ADD DatePromised DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStart','N','N','N',0,'Y',53027,53642,'DateStart',0,0,7,'N',TO_DATE('2007-12-17 05:11:27','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:27','YYYY-MM-DD HH24:MI:SS'),53280,'N','N','N',0,'N','N','EE01')
;

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=53642 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 PP_Order ADD DateStart DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStartSchedule','Y','N','N','@#Date@',0,'Y',53027,53643,'DateStartSchedule',0,0,7,'N',TO_DATE('2007-12-17 05:11:28','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:11:28','YYYY-MM-DD HH24:MI:SS'),53281,'Y','N','Y',0,'N','N','EE01')
;

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=53643 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 PP_Order ADD DateStartSchedule DATE DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53027,53644,'Description',0,0,510,'N',TO_DATE('2007-12-17 05:11:32','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 05:11:32','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53644 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 PP_Order ADD Description NVARCHAR2(510)
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,AD_Table_ID,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 05:11:34','YYYY-MM-DD HH24:MI:SS'),'Process_Manufacturing_Order',0,'3','Victor Perez',0,0,'D','EE01','N','N',0,0,'R','Process_Manufacturing_Order',0,0,'P',53027,TO_DATE('2007-12-17 05:11:34','YYYY-MM-DD HH24:MI:SS'),50008,0,0,'(Manufacturing Order)','10000004',0,0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50008 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50008,0,0,0,TO_DATE('2007-12-17 05:11:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 05:11:34','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'--',0,0,'EE01','N','X',0,'(DocAuto)',0,0,0,0,0,'(DocAuto)','Y',TO_DATE('2007-12-17 05:11:35','YYYY-MM-DD HH24:MI:SS'),0,50026,50008,'D',0,0,TO_DATE('2007-12-17 05:11:35','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50026 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'(DocComplete)',0,0,0,0,0,'(DocComplete)','Y',TO_DATE('2007-12-17 05:11:36','YYYY-MM-DD HH24:MI:SS'),0,50027,50008,'D',0,0,TO_DATE('2007-12-17 05:11:36','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50027 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'PR',0,0,'EE01','N','X',0,'(DocPrepare)',0,0,0,0,0,'(DocPrepare)','Y',TO_DATE('2007-12-17 05:11:37','YYYY-MM-DD HH24:MI:SS'),0,50028,50008,'D',0,0,TO_DATE('2007-12-17 05:11:37','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50028 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50010,'EE01','N',50028,10,50027,0,0,TO_DATE('2007-12-17 05:11:38','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 05:11:38','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'(Start)',0,0,0,0,0,'(Start)','Y',TO_DATE('2007-12-17 05:11:38','YYYY-MM-DD HH24:MI:SS'),0,50029,50008,'Z',0,0,TO_DATE('2007-12-17 05:11:38','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50029 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50011,'EE01','N',50029,10,50028,0,0,TO_DATE('2007-12-17 05:11:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 05:11:39','YYYY-MM-DD HH24:MI:SS'),0)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=181,Updated=TO_DATE('2007-12-17 05:11:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50008
;

INSERT INTO AD_Process (Name,AD_Workflow_ID,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Process Manufacturing Order',50008,0,0,0,TO_DATE('2007-12-17 05:11:41','YYYY-MM-DD HH24:MI:SS'),53026,TO_DATE('2007-12-17 05:11:41','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','N','N','3',0,'PP_Order','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53026 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Action','Y','N','The targeted status of the document','N','--','You find the current status in the Document Status field. The options are listed in a popup',135,0,'Y',53027,53645,'DocAction',0,0,2,'N',TO_DATE('2007-12-17 05:11:42','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 05:11:42','YYYY-MM-DD HH24:MI:SS'),287,'Y','N','N',53026,0,'N','N','EE01')
;

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=53645 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 PP_Order ADD DocAction CHAR(2) DEFAULT '--' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Status','Y','N','The current status of the document','N','DR','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',131,0,'Y',53027,53646,'DocStatus',0,0,2,'N',TO_DATE('2007-12-17 05:11:44','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:11:44','YYYY-MM-DD HH24:MI:SS'),289,'Y','N','Y',0,'N','N','EE01')
;

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=53646 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 PP_Order ADD DocStatus CHAR(2) DEFAULT 'DR' NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53300,'FloatAfter','FloatAfter',0,0,0,0,'FloatAfter',TO_DATE('2007-12-17 05:11:45','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:11:45','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53300 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('FloatAfter','N','N','N',0,'Y',53027,53647,'FloatAfter',0,0,22,'N',TO_DATE('2007-12-17 05:11:45','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:11:45','YYYY-MM-DD HH24:MI:SS'),53300,'Y','N','N',0,'N','N','EE01')
;

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=53647 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 PP_Order ADD FloatAfter NUMBER
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53301,'FloatBefored','FloatBefored',0,0,0,0,'FloatBefored',TO_DATE('2007-12-17 05:11:48','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:11:48','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53301 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('FloatBefored','N','N','N',0,'Y',53027,53648,'FloatBefored',0,0,22,'N',TO_DATE('2007-12-17 05:11:48','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:11:48','YYYY-MM-DD HH24:MI:SS'),53301,'Y','N','N',0,'N','N','EE01')
;

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=53648 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 PP_Order ADD FloatBefored NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53027,53649,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:11:51','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:11:51','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53649 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 PP_Order ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Approved','Y','N','Indicates if this document requires approval','N','N','The Approved checkbox indicates if this document requires approval before it can be processed.',0,'Y',53027,53650,'IsApproved',0,0,1,'N',TO_DATE('2007-12-17 05:11:53','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:11:53','YYYY-MM-DD HH24:MI:SS'),351,'Y','N','N',0,'N','N','EE01')
;

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=53650 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 PP_Order ADD IsApproved CHAR(1) DEFAULT 'N' CHECK (IsApproved IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Printed','Y','N','Indicates if this document / line is printed','N','N','The Printed checkbox indicates if this document or line will included when printing.',0,'Y',53027,53651,'IsPrinted',0,0,1,'N',TO_DATE('2007-12-17 05:11:54','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:11:54','YYYY-MM-DD HH24:MI:SS'),399,'Y','N','N',0,'N','N','EE01')
;

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=53651 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 PP_Order ADD IsPrinted CHAR(1) DEFAULT 'N' CHECK (IsPrinted IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsQtyPercentage','N','N','N',0,'Y',53027,53652,'IsQtyPercentage',0,0,1,'N',TO_DATE('2007-12-17 05:11:55','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:11:55','YYYY-MM-DD HH24:MI:SS'),53252,'Y','N','N',0,'N','N','EE01')
;

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=53652 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 PP_Order ADD IsQtyPercentage CHAR(1) CHECK (IsQtyPercentage IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sales Transaction','Y','N','This is a Sales Transaction','N','N','The Sales Transaction checkbox indicates if this item is a Sales Transaction.',0,'Y',53027,53653,'IsSOTrx',0,0,1,'N',TO_DATE('2007-12-17 05:11:59','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:11:59','YYYY-MM-DD HH24:MI:SS'),1106,'Y','N','N',0,'N','N','EE01')
;

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=53653 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 PP_Order ADD IsSOTrx CHAR(1) DEFAULT 'N' CHECK (IsSOTrx IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Selected','Y','N','N','N',0,'Y',53027,53654,'IsSelected',0,0,1,'N',TO_DATE('2007-12-17 05:12:01','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:12:01','YYYY-MM-DD HH24:MI:SS'),1321,'Y','N','N',0,'N','N','EE01')
;

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=53654 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 PP_Order ADD IsSelected CHAR(1) DEFAULT 'N' CHECK (IsSelected IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Line No','Y','N','Unique line for this document','N','Indicates the unique line for a document.  It will also control the display order of the lines within a document.',0,'Y',53027,53655,'Line',0,0,22,'N',TO_DATE('2007-12-17 05:12:03','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:12:03','YYYY-MM-DD HH24:MI:SS'),439,'Y','N','N',0,'N','N','EE01')
;

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=53655 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 PP_Order ADD Line NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Lot No','N','N','Lot number (alphanumeric)','N','The Lot Number indicates the specific lot that a product was part of.',0,'Y',53027,53656,'Lot',0,0,20,'N',TO_DATE('2007-12-17 05:12:04','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:12:04','YYYY-MM-DD HH24:MI:SS'),446,'Y','N','N',0,'N','N','EE01')
;

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=53656 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 PP_Order ADD Lot NVARCHAR2(20)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53027,53657,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 05:12:06','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 05:12:06','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'N','N','EE01')
;

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=53657 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 PP_Order ADD M_AttributeSetInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('OrderType','N','N','N',0,'Y',53027,53658,'OrderType',0,0,1,'N',TO_DATE('2007-12-17 05:12:07','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:12:07','YYYY-MM-DD HH24:MI:SS'),52020,'Y','N','N',0,'N','N','EE01')
;

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=53658 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 PP_Order ADD OrderType NVARCHAR2(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53027,53659,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 05:12:09','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:12:09','YYYY-MM-DD HH24:MI:SS'),53276,'N','Y','N',0,'N','N','EE01')
;

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=53659 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 PP_Order ADD PP_Order_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order ADD CONSTRAINT PP_Order_Key PRIMARY KEY (PP_Order_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM & Formaula','Y','N','N',0,'Y',53027,53660,'PP_Product_BOM_ID',0,0,22,'N',TO_DATE('2007-12-17 05:12:11','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:12:11','YYYY-MM-DD HH24:MI:SS'),53245,'N','N','N',0,'N','N','EE01')
;

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=53660 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 PP_Order ADD PP_Product_BOM_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Planner_ID','N','N','N',286,0,'Y',53027,53661,'Planner_ID',0,0,22,'N',TO_DATE('2007-12-17 05:12:13','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:12:13','YYYY-MM-DD HH24:MI:SS'),53269,'Y','N','N',0,'N','N','EE01')
;

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=53661 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 PP_Order ADD Planner_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Posted','N','N','Posting status','N','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ',0,'Y',53027,53662,'Posted',0,0,1,'N',TO_DATE('2007-12-17 05:12:15','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 05:12:15','YYYY-MM-DD HH24:MI:SS'),1308,'Y','N','N',0,'N','N','EE01')
;

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=53662 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 PP_Order ADD Posted CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Priority','Y','N','Priority of a document','N','The Priority indicates the importance (high, medium, low) of this document',154,0,'Y',53027,53663,'PriorityRule',0,0,1,'N',TO_DATE('2007-12-17 05:12:16','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:12:16','YYYY-MM-DD HH24:MI:SS'),522,'Y','N','N',0,'N','N','EE01')
;

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=53663 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 PP_Order ADD PriorityRule CHAR(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Processed','Y','N','The document has been processed','N','N','The Processed checkbox indicates that a document has been processed.',0,'Y',53027,53664,'Processed',0,0,1,'N',TO_DATE('2007-12-17 05:12:17','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:12:17','YYYY-MM-DD HH24:MI:SS'),1047,'Y','N','N',0,'N','N','EE01')
;

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=53664 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 PP_Order ADD Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N')) NOT NULL
;

UPDATE AD_Process SET Name='Process Manufacturing Order', AD_Workflow_ID=50008, Statistic_Seconds=0, Description=NULL, Classname=NULL, ProcedureName=NULL, IsActive='Y', Help=NULL, IsReport='N', IsDirectPrint='N', AccessLevel='3', Statistic_Count=0, Value='PP_Order', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='EE01',Updated=TO_DATE('2007-12-17 05:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53026
;

UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53026
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process Now','N','N','N',0,'Y',53027,53665,'Processing',0,0,1,'N',TO_DATE('2007-12-17 05:12:40','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 05:12:40','YYYY-MM-DD HH24:MI:SS'),524,'Y','N','N',53026,0,'N','N','EE01')
;

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=53665 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 PP_Order ADD Processing CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatchSize','N','N','N','0',0,'Y',53027,53666,'QtyBatchSize',0,0,22,'N',TO_DATE('2007-12-17 05:12:41','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:41','YYYY-MM-DD HH24:MI:SS'),53243,'N','N','N',0,'N','N','EE01')
;

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=53666 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 PP_Order ADD QtyBatchSize NUMBER DEFAULT 0
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53302,'QtyBatchs','QtyBatchs',0,0,0,0,'QtyBatchs',TO_DATE('2007-12-17 05:12:42','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:12:42','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53302 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatchs','N','N','N','0',0,'Y',53027,53667,'QtyBatchs',0,0,22,'N',TO_DATE('2007-12-17 05:12:42','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:42','YYYY-MM-DD HH24:MI:SS'),53302,'N','N','N',0,'N','N','EE01')
;

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=53667 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 PP_Order ADD QtyBatchs NUMBER DEFAULT 0
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivered Quantity','Y','N','Delivered Quantity','N','0','The Delivered Quantity indicates the quantity of a product that has been delivered.',0,'Y',53027,53668,'QtyDelivered',0,0,22,'N',TO_DATE('2007-12-17 05:12:45','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:45','YYYY-MM-DD HH24:MI:SS'),528,'Y','N','N',0,'N','N','EE01')
;

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=53668 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 PP_Order ADD QtyDelivered NUMBER DEFAULT 0 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Quantity','N','N','The Quantity Entered is based on the selected UoM','N','1','The Quantity Entered is converted to base product UoM quantity',0,'Y',53027,53669,'QtyEntered',0,0,10,'N',TO_DATE('2007-12-17 05:12:46','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:46','YYYY-MM-DD HH24:MI:SS'),2589,'Y','N','N',0,'org.eevolution.model.CalloutOrder.qty;org.eevolution.model.CalloutOrder.qtyBatch','N','N','EE01')
;

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=53669 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 PP_Order ADD QtyEntered NUMBER DEFAULT 1
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Ordered Quantity','Y','N','Ordered Quantity','N','1','The Ordered Quantity indicates the quantity of a product that was ordered.',0,'Y',53027,53670,'QtyOrdered',0,0,22,'N',TO_DATE('2007-12-17 05:12:48','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:48','YYYY-MM-DD HH24:MI:SS'),531,'N','N','N',0,'N','N','EE01')
;

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=53670 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 PP_Order ADD QtyOrdered NUMBER DEFAULT 1 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyReject','Y','N','N','0',0,'Y',53027,53671,'QtyReject',0,0,22,'N',TO_DATE('2007-12-17 05:12:49','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:49','YYYY-MM-DD HH24:MI:SS'),53287,'Y','N','N',0,'N','N','EE01')
;

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=53671 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 PP_Order ADD QtyReject NUMBER DEFAULT 0 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Reserved Quantity','N','N','Reserved Quantity','N','The Reserved Quantity indicates the quantity of a product that is currently reserved.',0,'Y',53027,53672,'QtyReserved',0,0,22,'N',TO_DATE('2007-12-17 05:12:51','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:51','YYYY-MM-DD HH24:MI:SS'),532,'Y','N','N',0,'N','N','EE01')
;

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=53672 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 PP_Order ADD QtyReserved NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyScrap','Y','N','N','0',0,'Y',53027,53673,'QtyScrap',0,0,22,'N',TO_DATE('2007-12-17 05:12:53','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:12:53','YYYY-MM-DD HH24:MI:SS'),53289,'Y','N','N',0,'N','N','EE01')
;

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=53673 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 PP_Order ADD QtyScrap NUMBER DEFAULT 0 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Schedule Type','N','N','Type of schedule','N','D','Define the method how the next occurance is calculated',0,'Y',53027,53674,'ScheduleType',0,0,1,'N',TO_DATE('2007-12-17 05:12:55','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:12:55','YYYY-MM-DD HH24:MI:SS'),2457,'Y','N','N',0,'N','N','EE01')
;

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=53674 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 PP_Order ADD ScheduleType NVARCHAR2(1) DEFAULT 'D'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Serial No','N','N','Product Serial Number ','N','The Serial Number identifies a tracked, warranted product.  It can only be used when the quantity is 1.',0,'Y',53027,53675,'SerNo',0,0,20,'N',TO_DATE('2007-12-17 05:12:58','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:12:58','YYYY-MM-DD HH24:MI:SS'),568,'Y','N','N',0,'N','N','EE01')
;

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=53675 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 PP_Order ADD SerNo NVARCHAR2(20)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53027,53676,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:13:00','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:13:00','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53676 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 PP_Order ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53027,53677,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:13:01','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:13:01','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53677 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 PP_Order ADD UpdatedBy NUMBER(10) NOT NULL
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='Account_ID - User1', Description='User1 selection based on Client', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:13:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=134
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=134
;

UPDATE AD_Ref_Table SET AD_Table_ID = 188, AD_Display = 1135, AD_Key = 1125, isValueDisplayed = 'Y', OrderByClause = 'C_ElementValue.Value', EntityType ='D', WhereClause = 'C_ElementValue.IsActive=''Y'' AND C_ElementValue.IsSummary=''N'' 
AND C_ElementValue.C_Element_ID IN (SELECT C_Element_ID FROM C_AcctSchema_Element ase WHERE ase.ElementType=''U1'' AND ase.AD_Client_ID=@AD_Client_ID@)' WHERE AD_Reference_ID = 134
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 1','N','N','User defined list element #1','N','The user defined element displays the optional elements that have been defined for this account combination.',134,0,'Y',53027,53678,'User1_ID',0,0,22,'N',TO_DATE('2007-12-17 05:13:10','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:13:10','YYYY-MM-DD HH24:MI:SS'),613,'Y','N','N',0,'N','N','EE01')
;

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=53678 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 PP_Order ADD User1_ID NUMBER(10)
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='Account_ID - User2', Description='User2 selection based on Client', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:13:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=137
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=137
;

UPDATE AD_Ref_Table SET AD_Table_ID = 188, AD_Display = 1135, AD_Key = 1125, isValueDisplayed = 'Y', OrderByClause = 'C_ElementValue.Value', EntityType ='D', WhereClause = 'C_ElementValue.IsActive=''Y'' AND C_ElementValue.IsSummary=''N'' 
AND C_ElementValue.C_Element_ID IN (SELECT C_Element_ID FROM C_AcctSchema_Element ase WHERE ase.ElementType=''U2'' AND ase.AD_Client_ID=@AD_Client_ID@)' WHERE AD_Reference_ID = 137
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 2','N','N','User defined list element #2','N','The user defined element displays the optional elements that have been defined for this account combination.',137,0,'Y',53027,53679,'User2_ID',0,0,22,'N',TO_DATE('2007-12-17 05:13:22','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:13:22','YYYY-MM-DD HH24:MI:SS'),614,'Y','N','N',0,'N','N','EE01')
;

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=53679 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 PP_Order ADD User2_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53027,53680,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:13:24','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 05:13:24','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53680 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 PP_Order ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Yield','Y','N','N','100',0,'Y',53027,53681,'Yield',0,0,22,'N',TO_DATE('2007-12-17 05:13:25','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:13:25','YYYY-MM-DD HH24:MI:SS'),53272,'Y','N','N',0,'N','N','EE01')
;

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=53681 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 PP_Order ADD Yield NUMBER DEFAULT 100 NOT NULL
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='AD_Org (Trx)', Description='Organization selection, no summary, no 0', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:13:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=130
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=130
;

UPDATE AD_Ref_Table SET AD_Table_ID = 155, AD_Display = 522, AD_Key = 528, isValueDisplayed = 'Y', OrderByClause = 'AD_Org.Name', EntityType ='D', WhereClause = 'AD_Org.IsSummary=''N'' AND AD_Org_ID <> 0' WHERE AD_Reference_ID = 130
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Trx Organization','N','N','Performing or initiating organization','N','The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',130,0,'Y',53027,53682,'AD_OrgTrx_ID',0,0,22,'N',TO_DATE('2007-12-17 05:13:39','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:13:39','YYYY-MM-DD HH24:MI:SS'),112,'Y','N','N',0,'N','N','EE01')
;

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=53682 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 PP_Order ADD AD_OrgTrx_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53027,53683,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:13:41','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 05:13:41','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53683 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 PP_Order ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Val_Rule (IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,AD_Client_ID,Code,Name,Type,Created,AD_Val_Rule_ID,EntityType) VALUES ('Y',TO_DATE('2007-12-17 05:13:42','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,'WorkflowType=''M''','AD_Workflow Manufacturing','S',TO_DATE('2007-12-17 05:13:42','YYYY-MM-DD HH24:MI:SS'),52003,'EE01')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow','Y','N','Workflow or combination of tasks','N','The Workflow field identifies a unique Workflow in the system.',0,'Y',53027,53684,'AD_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 05:13:43','YYYY-MM-DD HH24:MI:SS'),'Y',30,52003,0,TO_DATE('2007-12-17 05:13:43','YYYY-MM-DD HH24:MI:SS'),144,'N','N','N',0,'N','N','EE01')
;

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=53684 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 PP_Order ADD AD_Workflow_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintTableFormat_ID,AD_PrintColor_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin,Description) VALUES ('Y',50001,'N','Y',0,TO_DATE('2007-12-17 05:13:45','YYYY-MM-DD HH24:MI:SS'),'N',TO_DATE('2007-12-17 05:13:45','YYYY-MM-DD HH24:MI:SS'),0,53027,'Y',100,100,'Manufacturing Order',0,101,0,0,'N',105,230,'Manufacturing Order')
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53630,0,'Sales Order Line','Y','Order Line',TO_DATE('2007-12-17 05:13:46','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50032,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50032 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:47','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53653,0,'Sales Transaction','Y','Sales Transaction',TO_DATE('2007-12-17 05:13:47','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50033,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50033 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53674,0,'Schedule Type','Y','Schedule Type',TO_DATE('2007-12-17 05:13:49','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50034,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50034 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:50','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53675,0,'Serial No','Y','Serial No',TO_DATE('2007-12-17 05:13:50','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50035,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50035 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:52','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53663,0,'Priority','Y','Priority',TO_DATE('2007-12-17 05:13:52','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50036,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50036 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:53','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53680,0,'Client','Y','Client',TO_DATE('2007-12-17 05:13:53','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50037,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50037 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:54','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53683,0,'Organization','Y','Organization',TO_DATE('2007-12-17 05:13:54','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50038,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50038 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:54','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53655,0,'Line No','Y','Line No',TO_DATE('2007-12-17 05:13:54','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50039,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50039 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:55','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53628,0,'Target Document Type','Y','Target Doc Type',TO_DATE('2007-12-17 05:13:55','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50040,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50040 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:56','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53649,0,'Active','Y','Active',TO_DATE('2007-12-17 05:13:56','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50041,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50041 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:57','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53644,0,'Description','Y','Description',TO_DATE('2007-12-17 05:13:57','YYYY-MM-DD HH24:MI:SS'),'B',0,'N',0,0,0,50042,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50042 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:58','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53657,0,'Attribute Set Instance','Y','Attribute Set Instance',TO_DATE('2007-12-17 05:13:58','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50043,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50043 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:13:59','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53622,0,'Resource','Y','Resource',TO_DATE('2007-12-17 05:13:59','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50044,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50044 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53650,0,'Approved','Y','Approved',TO_DATE('2007-12-17 05:14:00','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50045,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50045 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53651,0,'Printed','Y','Printed',TO_DATE('2007-12-17 05:14:01','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50046,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50046 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53654,0,'Selected','Y','Selected',TO_DATE('2007-12-17 05:14:02','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50047,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50047 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53664,0,'Processed','Y','Processed',TO_DATE('2007-12-17 05:14:03','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50048,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50048 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53629,0,'Document Type','Y','Doc Type',TO_DATE('2007-12-17 05:14:04','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50049,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50049 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53633,0,'Copy From','Y','Copy From',TO_DATE('2007-12-17 05:14:05','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50050,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50050 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53645,0,'Document Action','Y','Doc Action',TO_DATE('2007-12-17 05:14:05','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50051,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50051 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53635,0,'Created By','Y','Created By',TO_DATE('2007-12-17 05:14:06','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50052,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50052 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53676,0,'Updated','Y','Updated',TO_DATE('2007-12-17 05:14:07','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50053,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50053 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53677,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 05:14:08','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50054,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50054 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53634,0,'Created','Y','Created',TO_DATE('2007-12-17 05:14:09','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50055,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50055 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:10','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53658,0,'Order Type','Y','Order Type',TO_DATE('2007-12-17 05:14:10','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50056,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50056 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53661,0,'Planner','Y','Planner',TO_DATE('2007-12-17 05:14:11','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50057,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50057 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53648,0,'Float Befored','Y','Float Befored',TO_DATE('2007-12-17 05:14:12','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50058,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50058 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53659,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 05:14:13','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50059,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50059 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53647,0,'Float After','Y','Float After',TO_DATE('2007-12-17 05:14:14','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50060,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50060 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53681,0,'Yield','Y','Yield',TO_DATE('2007-12-17 05:14:15','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50061,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50061 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53625,0,'Assay','Y','Assay',TO_DATE('2007-12-17 05:14:15','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50062,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50062 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53652,0,'Qty is Percentage','Y','Qty is Percentage',TO_DATE('2007-12-17 05:14:16','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50063,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50063 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53665,0,'Process Now','Y','Process Now',TO_DATE('2007-12-17 05:14:17','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50064,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50064 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53662,0,'Posted','Y','Posted',TO_DATE('2007-12-17 05:14:18','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50065,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50065 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:19','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53632,0,'UOM','Y','UOM',TO_DATE('2007-12-17 05:14:19','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50066,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50066 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:20','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53670,0,'Ordered Quantity','Y','Ordered Qty',TO_DATE('2007-12-17 05:14:20','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50067,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50067 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53668,0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 05:14:21','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50068,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50068 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53631,0,'Project','Y','Project',TO_DATE('2007-12-17 05:14:22','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50069,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50069 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53627,0,'Campaign','Y','Campaign',TO_DATE('2007-12-17 05:14:23','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50070,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50070 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:24','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53626,0,'Activity','Y','Activity',TO_DATE('2007-12-17 05:14:24','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50071,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50071 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53682,0,'Trx Organization','Y','Trx Organization',TO_DATE('2007-12-17 05:14:25','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50072,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50072 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53678,0,'User List 1','Y','User1',TO_DATE('2007-12-17 05:14:26','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50073,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50073 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53679,0,'User List 2','Y','User2',TO_DATE('2007-12-17 05:14:27','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50074,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50074 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintColor_ID,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,AD_PrintFont_ID,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,100,50001,'T','H','N','N','N',0,'Y','N','N','N','C',0,'G A R D E N   W O R L D','Y','G A R D E N   W O R L D',117,TO_DATE('2007-12-17 05:14:28','YYYY-MM-DD HH24:MI:SS'),'C',10,'N',0,0,0,50075,0,'Y',20,0,20,'N','Y','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50075 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('Y',10,0,TO_DATE('2007-12-17 05:14:29','YYYY-MM-DD HH24:MI:SS'),'N',200,'N','Y',0,50001,'F','H','N','N','N',40,'N','N','N','N','X',53621,0,'Document No','N','Orden de Manufactura:',TO_DATE('2007-12-17 05:14:29','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50076,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50076 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:14:30','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53660,0,'BOM & Formaula','Y','BOM & Formaula',TO_DATE('2007-12-17 05:14:30','YYYY-MM-DD HH24:MI:SS'),'L',30,'N',0,0,0,50077,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50077 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50001, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53661, Name='Planner', IsRelativePosition='Y', PrintName='Planner', FieldAlignmentType='L', SeqNo=40, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50057
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:06','YYYY-MM-DD HH24:MI:SS'),'N',200,'N','Y',0,50001,'F','H','N','N','N',50,'N','N','N','N','X',53646,0,'Document Status','N','Estado del Documento:',TO_DATE('2007-12-17 05:15:06','YYYY-MM-DD HH24:MI:SS'),'L',50,'N',0,0,0,50078,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50078 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53666,0,'Qty Batch Size','Y','Qty Batch Size',TO_DATE('2007-12-17 05:15:07','YYYY-MM-DD HH24:MI:SS'),'T',60,'N',0,0,0,50079,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50079 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53672,0,'Reserved Quantity','Y','Reserved Qty',TO_DATE('2007-12-17 05:15:08','YYYY-MM-DD HH24:MI:SS'),'T',70,'N',0,0,0,50080,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50080 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50001,'F','H','N','N','N',0,'N','N','N','N','X',53624,0,'Warehouse','Y','Almacén   :',TO_DATE('2007-12-17 05:15:09','YYYY-MM-DD HH24:MI:SS'),'L',80,'N',0,0,0,50081,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50081 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:11','YYYY-MM-DD HH24:MI:SS'),'N',5,'N','Y',0,50001,'F','H','N','N','N',70,'N','N','N','N','X',53623,0,'Product','N','Producto :',TO_DATE('2007-12-17 05:15:11','YYYY-MM-DD HH24:MI:SS'),'L',90,'N',0,0,0,50082,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50082 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:11','YYYY-MM-DD HH24:MI:SS'),'N',5,'N','Y',0,50001,'F','H','N','N','N',80,'N','N','N','N','X',53669,0,'Quantity','N','Cantidad :',TO_DATE('2007-12-17 05:15:11','YYYY-MM-DD HH24:MI:SS'),'T',100,'N',0,0,0,50083,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50083 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:12','YYYY-MM-DD HH24:MI:SS'),'N',150,'N','Y',0,50001,'F','H','N','N','N',80,'N','N','N','N','X',53671,0,'Qty Reject','N','Qty Reject',TO_DATE('2007-12-17 05:15:12','YYYY-MM-DD HH24:MI:SS'),'T',110,'N',0,0,0,50084,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50084 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:14','YYYY-MM-DD HH24:MI:SS'),'N',250,'N','Y',0,50001,'F','H','N','N','N',80,'N','N','N','N','X',53673,0,'Qty Scrap','N','Qty Scrap',TO_DATE('2007-12-17 05:15:14','YYYY-MM-DD HH24:MI:SS'),'T',120,'N',0,0,0,50085,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50085 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:15','YYYY-MM-DD HH24:MI:SS'),'N',350,'N','Y',0,50001,'F','H','N','N','N',80,'Y','N','N','N','X',53667,0,'Qty Batchs','N','Qty Batchs',TO_DATE('2007-12-17 05:15:15','YYYY-MM-DD HH24:MI:SS'),'D',130,'N',0,0,0,50086,0,'Y',0,0,20,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50086 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=450, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50001, PrintFormatType='F', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=80, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53666, Name='Qty Batch Size', IsRelativePosition='N', PrintName='Qty Batch Size', FieldAlignmentType='D', SeqNo=140, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=20, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:15:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50079
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50079
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:46','YYYY-MM-DD HH24:MI:SS'),'N',5,'N','Y',0,50001,'F','H','N','N','N',100,'N','N','N','N','X',53640,0,'Date Ordered','N','F.Orden',TO_DATE('2007-12-17 05:15:46','YYYY-MM-DD HH24:MI:SS'),'L',150,'N',0,0,0,50087,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50087 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:47','YYYY-MM-DD HH24:MI:SS'),'N',330,'N','Y',0,50001,'F','H','N','N','N',100,'N','N','N','N','X',53641,0,'Date Promised','N','F.Prometida:',TO_DATE('2007-12-17 05:15:47','YYYY-MM-DD HH24:MI:SS'),'L',160,'N',0,0,0,50088,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50088 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:48','YYYY-MM-DD HH24:MI:SS'),'N',5,'N','Y',0,50001,'F','H','N','N','N',110,'N','N','N','N','X',53642,0,'Date Start','N','Date Start',TO_DATE('2007-12-17 05:15:48','YYYY-MM-DD HH24:MI:SS'),'L',170,'N',0,0,0,50089,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50089 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:49','YYYY-MM-DD HH24:MI:SS'),'N',330,'N','Y',0,50001,'F','H','N','N','N',110,'N','N','N','N','X',53643,0,'Date Start Schedule','N','Date Start Schedule',TO_DATE('2007-12-17 05:15:49','YYYY-MM-DD HH24:MI:SS'),'L',180,'N',0,0,0,50090,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50090 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:51','YYYY-MM-DD HH24:MI:SS'),'N',5,'N','Y',0,50001,'F','H','N','N','N',120,'N','N','N','N','X',53638,0,'Finish Date','N','F.Terminacion',TO_DATE('2007-12-17 05:15:51','YYYY-MM-DD HH24:MI:SS'),'L',190,'N',0,0,0,50091,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50091 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:54','YYYY-MM-DD HH24:MI:SS'),'N',330,'N','Y',0,50001,'F','H','N','N','N',120,'N','N','N','N','X',53639,0,'Date Finish Schedule','N','Date Finish Schedule',TO_DATE('2007-12-17 05:15:54','YYYY-MM-DD HH24:MI:SS'),'L',200,'N',0,0,0,50092,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50092 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:54','YYYY-MM-DD HH24:MI:SS'),'N',5,'N','Y',0,50001,'F','H','N','N','N',130,'N','N','N','N','X',53636,0,'Date Confirm','N','Date Confirm',TO_DATE('2007-12-17 05:15:54','YYYY-MM-DD HH24:MI:SS'),'L',210,'N',0,0,0,50093,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50093 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:55','YYYY-MM-DD HH24:MI:SS'),'N',330,'N','Y',0,50001,'F','H','N','N','N',130,'N','N','N','N','X',53637,0,'Date Delivered','N','F.Liberacion',TO_DATE('2007-12-17 05:15:55','YYYY-MM-DD HH24:MI:SS'),'L',220,'N',0,0,0,50094,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50094 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:15:56','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53656,0,'Lot No','Y','Lote',TO_DATE('2007-12-17 05:15:56','YYYY-MM-DD HH24:MI:SS'),'L',230,'N',5,0,0,50095,0,'Y',145,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50095 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=5, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50001, PrintFormatType='F', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=120, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53660, Name='BOM & Formaula', IsRelativePosition='N', PrintName='BOM & Formaula', FieldAlignmentType='L', SeqNo=240, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:16:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50077
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:16:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50001,'F','C','N','N','N',0,'N','N','N','N','X',53684,0,'Workflow','Y','Flujo de Trabajo:',TO_DATE('2007-12-17 05:16:28','YYYY-MM-DD HH24:MI:SS'),'L',250,'N',0,0,0,50096,0,'N',10,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50096 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'RV_PP_Order_BOMLine','3','Y','N','N','RV_PP_Order_BOMLine',TO_DATE('2007-12-17 05:16:58','YYYY-MM-DD HH24:MI:SS'),53028,0,TO_DATE('2007-12-17 05:16:58','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53028 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table RV_PP_Order_BOMLine',0,0,'RV_PP_Order_BOMLine',50000,1000000,'Y',53025,TO_DATE('2007-12-17 05:16:58','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:16:58','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintTableFormat_ID,AD_PrintColor_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50002,'N','Y',0,TO_DATE('2007-12-17 05:16:58','YYYY-MM-DD HH24:MI:SS'),'N',TO_DATE('2007-12-17 05:16:58','YYYY-MM-DD HH24:MI:SS'),0,53028,'Y',100,100,'Manufacturing Order Line',0,101,0,0,'N',119,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Qty Batch','Y','Qty Batch',TO_DATE('2007-12-17 05:17:00','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50097,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50097 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Order Parent Product','Y','Order Parent Product',TO_DATE('2007-12-17 05:17:01','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50098,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50098 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 05:17:02','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50099,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50099 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Updated','Y','Updated',TO_DATE('2007-12-17 05:17:03','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50100,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50100 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 05:17:04','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50101,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50101 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','Y','N','N','X',0,'Component Qty','Y','Component Qty',TO_DATE('2007-12-17 05:17:05','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50102,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50102 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Order BOM Line','Y','Order BOM Line',TO_DATE('2007-12-17 05:17:06','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50103,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50103 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Is Critical','Y','Is Critical',TO_DATE('2007-12-17 05:17:07','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50104,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50104 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Qty is Percentage','Y','Qty is Percentage',TO_DATE('2007-12-17 05:17:07','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50105,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50105 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Component Type','Y','Component Type',TO_DATE('2007-12-17 05:17:08','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50106,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50106 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Client','Y','Client',TO_DATE('2007-12-17 05:17:09','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50107,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50107 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Organization','Y','Organization',TO_DATE('2007-12-17 05:17:11','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50108,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50108 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Created','Y','Created',TO_DATE('2007-12-17 05:17:12','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50109,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50109 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Created By','Y','Created By',TO_DATE('2007-12-17 05:17:12','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50110,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50110 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Active','Y','Active',TO_DATE('2007-12-17 05:17:13','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50111,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50111 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Warehouse','Y','Warehouse',TO_DATE('2007-12-17 05:17:14','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50112,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50112 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Available Quantity','Y','Qty Available',TO_DATE('2007-12-17 05:17:16','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50113,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50113 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Qty Batchs','Y','Qty Batchs',TO_DATE('2007-12-17 05:17:17','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50114,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50114 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'On Hand Quantity','Y','On Hand Qty',TO_DATE('2007-12-17 05:17:17','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50115,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50115 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:19','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Reserved Quantity','Y','Reserved Qty',TO_DATE('2007-12-17 05:17:19','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50116,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50116 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:20','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'Product','Y','Product',TO_DATE('2007-12-17 05:17:20','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50117,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50117 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:20','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50002,'F','C','N','N','N',0,'N','N','N','N','X',0,'UOM','Y','UOM',TO_DATE('2007-12-17 05:17:20','YYYY-MM-DD HH24:MI:SS'),'L',30,'N',0,0,0,50118,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50118 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50002,'F','C','N','N','N',0,'N','Y','N','N','X',0,'Qty Batch Size','Y','Qty Batch Size',TO_DATE('2007-12-17 05:17:21','YYYY-MM-DD HH24:MI:SS'),'T',50,'N',0,0,0,50119,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50119 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:17:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50002,'F','C','N','N','N',0,'N','Y','N','N','X',0,'Qty Requiered','Y','Qty Requiered',TO_DATE('2007-12-17 05:17:22','YYYY-MM-DD HH24:MI:SS'),'T',60,'N',0,0,0,50120,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,0)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50120 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,AD_PrintFormat_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Manufacturing Order',0,0,0,TO_DATE('2007-12-17 05:17:24','YYYY-MM-DD HH24:MI:SS'),53028,TO_DATE('2007-12-17 05:17:24','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Y',50001,'Y','3',0,'Rpt PP_Order','N',NULL,'Y','D')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53028 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Order Workflow','3','Y','N','Y','PP_Order_Workflow',TO_DATE('2007-12-17 05:17:25','YYYY-MM-DD HH24:MI:SS'),53029,0,TO_DATE('2007-12-17 05:17:25','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53029 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_Workflow',0,0,'PP_Order_Workflow',50000,1000000,'Y',53026,TO_DATE('2007-12-17 05:17:26','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:17:26','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=108, Value='S', Name='Single Record', IsActive='N', EntityType='D',Updated=TO_DATE('2007-12-17 05:17:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=110
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=110
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=108, Value='M', Name='Maintain', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:17:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=111
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=111
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=108, Value='T', Name='Transaction', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:17:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=112
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=112
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=108, Value='Q', Name='Query Only', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 05:18:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=113
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=113
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow Type','N','N','Type of Worflow','N','M','The type of workflow determines how the workflow is started.',108,0,'Y',53029,53685,'WorkflowType',0,0,1,'N',TO_DATE('2007-12-17 05:18:05','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:18:05','YYYY-MM-DD HH24:MI:SS'),2626,'Y','N','N',0,'N','N','EE01')
;

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=53685 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_Workflow (WorkflowType CHAR(1) DEFAULT 'M')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','Y','N','Alphanumeric identifier of the entity','Y',1,'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.',0,'Y',53029,53686,'Name',0,0,60,'N',TO_DATE('2007-12-17 05:18:08','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:18:08','YYYY-MM-DD HH24:MI:SS'),469,'Y','N','N',0,'N','N','EE01')
;

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=53686 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 PP_Order_Workflow ADD NAME NVARCHAR2(60) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Table','N','N','Database Table information','N','The Database Table provides the information of the table definition',0,'Y',53029,53687,'AD_Table_ID',0,0,22,'N',TO_DATE('2007-12-17 05:18:10','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 05:18:10','YYYY-MM-DD HH24:MI:SS'),126,'Y','N','N',0,'N','N','EE01')
;

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=53687 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 PP_Order_Workflow ADD AD_Table_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Node','N','N','Workflow Node (activity), step or process','N','The Workflow Node indicates a unique step or process in a Workflow.',0,'Y',53029,53688,'AD_WF_Node_ID',0,0,10,'N',TO_DATE('2007-12-17 05:18:11','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:18:11','YYYY-MM-DD HH24:MI:SS'),142,'Y','N','N',0,'N','N','EE01')
;

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=53688 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 PP_Order_Workflow ADD AD_WF_Node_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow Responsible','N','N','Responsible for Workflow Execution','N','The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.',0,'Y',53029,53689,'AD_WF_Responsible_ID',0,0,22,'N',TO_DATE('2007-12-17 05:18:12','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:18:12','YYYY-MM-DD HH24:MI:SS'),2314,'Y','N','N',0,'N','N','EE01')
;

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=53689 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 PP_Order_Workflow ADD AD_WF_Responsible_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow Processor','N','N','Workflow Processor Server','N','Workflow Processor Server',0,'Y',53029,53690,'AD_WorkflowProcessor_ID',0,0,22,'N',TO_DATE('2007-12-17 05:18:13','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:18:13','YYYY-MM-DD HH24:MI:SS'),2358,'Y','N','N',0,'N','N','EE01')
;

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=53690 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 PP_Order_Workflow ADD AD_WorkflowProcessor_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow','Y','N','Workflow or combination of tasks','N','The Workflow field identifies a unique Workflow in the system.',0,'Y',53029,53691,'AD_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 05:18:15','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:18:15','YYYY-MM-DD HH24:MI:SS'),144,'Y','N','N',0,'N','N','EE01')
;

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=53691 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 PP_Order_Workflow ADD AD_Workflow_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Data Access Level','Y','N','Access Level required','N','Indicates the access level required for this record or process.',5,0,'Y',53029,53692,'AccessLevel',0,0,1,'N',TO_DATE('2007-12-17 05:18:17','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:18:17','YYYY-MM-DD HH24:MI:SS'),145,'Y','N','N',0,'N','N','EE01')
;

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=53692 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 PP_Order_Workflow ADD AccessLevel CHAR(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Author','Y','N','Author/Creator of the Entity','N',0,'Y',53029,53693,'Author',0,0,20,'N',TO_DATE('2007-12-17 05:18:19','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:18:19','YYYY-MM-DD HH24:MI:SS'),2318,'Y','N','N',0,'N','N','EE01')
;

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=53693 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 PP_Order_Workflow ADD Author NVARCHAR2(20) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Cost','Y','N','Cost information','N',0,'Y',53029,53694,'Cost',0,0,22,'N',TO_DATE('2007-12-17 05:18:21','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:18:21','YYYY-MM-DD HH24:MI:SS'),2319,'Y','N','N',0,'N','N','EE01')
;

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=53694 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 PP_Order_Workflow ADD COST NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53029,53695,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:18:22','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 05:18:22','YYYY-MM-DD HH24:MI:SS'),245,'Y','N','N',0,'N','N','EE01')
;

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=53695 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 PP_Order_Workflow ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53029,53696,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:18:23','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:18:23','YYYY-MM-DD HH24:MI:SS'),246,'Y','N','N',0,'N','N','EE01')
;

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=53696 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 PP_Order_Workflow ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53029,53697,'Description',0,0,255,'N',TO_DATE('2007-12-17 05:18:25','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:18:25','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53697 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 PP_Order_Workflow ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document No','N','N','Document sequence number of the document','N','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).',0,'Y',53029,53698,'DocumentNo',0,0,32,'N',TO_DATE('2007-12-17 05:18:26','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:18:26','YYYY-MM-DD HH24:MI:SS'),290,'Y','N','N',0,'N','N','EE01')
;

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=53698 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 PP_Order_Workflow ADD DocumentNo NVARCHAR2(32)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Duration','Y','N','Normal Duration in Duration Unit','N','0','Expected (normal) Length of time for the execution',0,'Y',53029,53699,'Duration',0,0,22,'N',TO_DATE('2007-12-17 05:18:27','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:18:27','YYYY-MM-DD HH24:MI:SS'),2320,'Y','N','N',0,'N','N','EE01')
;

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=53699 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 PP_Order_Workflow ADD Duration NUMBER(10) DEFAULT 0 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Duration Unit','Y','N','Unit of Duration','N','h','Unit to define the length of time for the execution',299,0,'Y',53029,53700,'DurationUnit',0,0,1,'N',TO_DATE('2007-12-17 05:18:29','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:18:29','YYYY-MM-DD HH24:MI:SS'),2321,'Y','N','N',0,'N','N','EE01')
;

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=53700 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 PP_Order_Workflow ADD DurationUnit CHAR(1) DEFAULT 'h' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Entity Type','Y','N','Dictionary Entity Type; Determines ownership and synchronization','N','The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',389,0,'Y',53029,53701,'EntityType',0,0,1,'N',TO_DATE('2007-12-17 05:18:32','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:18:32','YYYY-MM-DD HH24:MI:SS'),1682,'Y','N','N',0,'N','N','EE01')
;

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=53701 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 PP_Order_Workflow ADD EntityType VARCHAR2(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Comment/Help','N','N','Comment or Hint','N','The Help field contains a hint, comment or help about the use of this item.',0,'Y',53029,53702,'Help',0,0,2000,'N',TO_DATE('2007-12-17 05:18:34','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:18:34','YYYY-MM-DD HH24:MI:SS'),326,'Y','N','N',0,'N','N','EE01')
;

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=53702 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 PP_Order_Workflow ADD Help NVARCHAR2(2000)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53029,53703,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:18:36','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:18:36','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53703 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 PP_Order_Workflow ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Default','N','N','Default value','N','The Default Checkbox indicates if this record will be used as a default value.',0,'Y',53029,53704,'IsDefault',0,0,1,'N',TO_DATE('2007-12-17 05:18:37','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:18:37','YYYY-MM-DD HH24:MI:SS'),1103,'Y','N','N',0,'N','N','EE01')
;

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=53704 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 PP_Order_Workflow ADD IsDefault CHAR(1) CHECK (IsDefault IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Duration Limit','Y','N','Maximum Duration in Duration Unit','N','Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.',0,'Y',53029,53705,'Limit',0,0,22,'N',TO_DATE('2007-12-17 05:18:38','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:18:38','YYYY-MM-DD HH24:MI:SS'),2323,'Y','N','N',0,'N','N','EE01')
;

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=53705 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 PP_Order_Workflow ADD LIMIT NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('MovingTime','N','N','N',0,'Y',53029,53706,'MovingTime',0,0,22,'N',TO_DATE('2007-12-17 05:18:39','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:18:39','YYYY-MM-DD HH24:MI:SS'),53240,'Y','N','N',0,'N','N','EE01')
;

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=53706 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 PP_Order_Workflow ADD MovingTime NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53029,53707,'PP_Order_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:18:41','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:18:41','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53707 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 PP_Order_Workflow ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_ID','N','N','N',0,'Y',53029,53708,'PP_Order_Node_ID',0,0,22,'N',TO_DATE('2007-12-17 05:18:43','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:18:43','YYYY-MM-DD HH24:MI:SS'),53285,'Y','N','N',0,'N','N','EE01')
;

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=53708 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 PP_Order_Workflow ADD PP_Order_Node_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Workflow_ID','Y','N','N',0,'Y',53029,53709,'PP_Order_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 05:18:45','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:18:45','YYYY-MM-DD HH24:MI:SS'),53286,'N','Y','N',0,'N','N','EE01')
;

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=53709 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 PP_Order_Workflow ADD PP_Order_Workflow_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order_Workflow ADD CONSTRAINT PP_Order_Workflow_Key PRIMARY KEY (PP_Order_Workflow_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Priority','Y','N','Indicates if this request is of a high, medium or low priority.','N','The Priority indicates the importance of this request.',0,'Y',53029,53710,'Priority',0,0,22,'N',TO_DATE('2007-12-17 05:18:47','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:18:47','YYYY-MM-DD HH24:MI:SS'),1514,'Y','N','N',0,'N','N','EE01')
;

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=53710 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 PP_Order_Workflow ADD Priority NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('ProcessType','N','N','N',53224,0,'Y',53029,53711,'ProcessType',0,0,2,'N',TO_DATE('2007-12-17 05:18:48','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:18:48','YYYY-MM-DD HH24:MI:SS'),53242,'Y','N','N',0,'N','N','EE01')
;

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=53711 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 PP_Order_Workflow ADD ProcessType CHAR(2)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Publication Status','Y','N','Status of Publication','N','U','Used for internal documentation',310,0,'Y',53029,53712,'PublishStatus',0,0,1,'N',TO_DATE('2007-12-17 05:18:50','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 05:18:50','YYYY-MM-DD HH24:MI:SS'),2338,'Y','N','N',0,'N','N','EE01')
;

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=53712 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 PP_Order_Workflow ADD PublishStatus CHAR(1) DEFAULT 'U' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatchSize','N','N','N','1',0,'Y',53029,53713,'QtyBatchSize',0,0,10,'N',TO_DATE('2007-12-17 05:18:51','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 05:18:51','YYYY-MM-DD HH24:MI:SS'),53243,'Y','N','N',0,'N','N','EE01')
;

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=53713 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 PP_Order_Workflow ADD QtyBatchSize NUMBER DEFAULT 1
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QueuingTime','N','N','N',0,'Y',53029,53714,'QueuingTime',0,0,22,'N',TO_DATE('2007-12-17 05:18:52','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:18:52','YYYY-MM-DD HH24:MI:SS'),53234,'Y','N','N',0,'N','N','EE01')
;

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=53714 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 PP_Order_Workflow ADD QueuingTime NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','N','N','Resource','N',0,'Y',53029,53715,'S_Resource_ID',0,0,22,'N',TO_DATE('2007-12-17 05:18:54','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:18:54','YYYY-MM-DD HH24:MI:SS'),1777,'Y','N','N',0,'N','N','EE01')
;

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=53715 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 PP_Order_Workflow ADD S_Resource_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Setup Time','N','N','Setup time before starting Production','N','Once per operation',0,'Y',53029,53716,'SetupTime',0,0,22,'N',TO_DATE('2007-12-17 05:18:55','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:18:55','YYYY-MM-DD HH24:MI:SS'),2777,'Y','N','N',0,'N','N','EE01')
;

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=53716 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 PP_Order_Workflow ADD SetupTime NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53029,53717,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:19:00','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:19:00','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53717 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 PP_Order_Workflow ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53029,53718,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:19:01','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:19:01','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53718 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 PP_Order_Workflow ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','N','N','Valid from including this date (first day)','N','The Valid From date indicates the first day of a date range',0,'Y',53029,53719,'ValidFrom',0,0,7,'N',TO_DATE('2007-12-17 05:19:02','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:19:02','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53719 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 PP_Order_Workflow ADD ValidFrom DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N','The Valid To date indicates the last day of a date range',0,'Y',53029,53720,'ValidTo',0,0,7,'N',TO_DATE('2007-12-17 05:19:04','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:19:04','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53720 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 PP_Order_Workflow ADD ValidTo DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Validate Workflow','Y','N','N',0,'Y',53029,53721,'ValidateWorkflow',0,0,1,'N',TO_DATE('2007-12-17 05:19:07','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 05:19:07','YYYY-MM-DD HH24:MI:SS'),2463,'Y','N','N',0,'N','N','EE01')
;

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=53721 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 PP_Order_Workflow ADD ValidateWorkflow CHAR(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','N','N','Search key for the record in the format required - must be unique','N','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).',0,'Y',53029,53722,'Value',0,0,240,'N',TO_DATE('2007-12-17 05:19:08','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 05:19:08','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','EE01')
;

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=53722 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 PP_Order_Workflow ADD VALUE NVARCHAR2(240)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Version','Y','N','Version of the table definition','N','The Version indicates the version of this table definition.',0,'Y',53029,53723,'Version',0,0,22,'N',TO_DATE('2007-12-17 05:19:10','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:19:10','YYYY-MM-DD HH24:MI:SS'),624,'Y','N','N',0,'N','N','EE01')
;

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=53723 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 PP_Order_Workflow ADD VERSION NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Waiting Time','Y','N','Workflow Simulation Waiting time','N','Amount of time needed to prepare the performance of the task on Duration Units',0,'Y',53029,53724,'WaitingTime',0,0,22,'N',TO_DATE('2007-12-17 05:19:11','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:19:11','YYYY-MM-DD HH24:MI:SS'),2331,'Y','N','N',0,'N','N','EE01')
;

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=53724 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 PP_Order_Workflow ADD WaitingTime NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53029,53725,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:19:12','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 05:19:12','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53725 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 PP_Order_Workflow ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Working Time','N','N','Workflow Simulation Execution Time','N','Amount of time the performer of the activity needs to perform the task in Duration Unit',0,'Y',53029,53726,'WorkingTime',0,0,22,'N',TO_DATE('2007-12-17 05:19:14','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:19:14','YYYY-MM-DD HH24:MI:SS'),2333,'Y','N','N',0,'N','N','EE01')
;

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=53726 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 PP_Order_Workflow ADD WorkingTime NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53029,53727,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:19:16','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 05:19:16','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53727 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 PP_Order_Workflow ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:19:18','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:19:18','YYYY-MM-DD HH24:MI:SS'),0,'Workflows used by the manufacturing orders','Workflows used by the manufacturing orders are taken by default from the Product Data Planning.',0,'N','Workflow',40,53029,53041,53009,'N','N','Y','Y','N',NULL,'Y','N',0,1,'N','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53041 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:19:19','YYYY-MM-DD HH24:MI:SS'),0,53804,'Database Table information',26,53687,'N',0,'The Database Table provides the information of the table definition',TO_DATE('2007-12-17 05:19:19','YYYY-MM-DD HH24:MI:SS'),'Table',53041,'Y','N',0,'N','@WorkflowType@!G','EE01')
;

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=53804 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:19:20','YYYY-MM-DD HH24:MI:SS'),0,53805,'Workflow Node (activity), step or process',10,53688,'N',0,'The Workflow Node indicates a unique step or process in a Workflow.',TO_DATE('2007-12-17 05:19:20','YYYY-MM-DD HH24:MI:SS'),'Node',53041,'N','N',0,'N','EE01')
;

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=53805 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:19:21','YYYY-MM-DD HH24:MI:SS'),0,53806,'Responsible for Workflow Execution',22,53689,'N',0,'The ultimate responsibility for a workflow is with an actual user. The Workflow Responsible allows to define ways to find that actual User.',TO_DATE('2007-12-17 05:19:21','YYYY-MM-DD HH24:MI:SS'),'Workflow Responsible',53041,'N','N',0,'N','EE01')
;

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=53806 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:19:22','YYYY-MM-DD HH24:MI:SS'),0,53807,'Workflow Processor Server',22,53690,'N',0,'Workflow Processor Server',TO_DATE('2007-12-17 05:19:22','YYYY-MM-DD HH24:MI:SS'),'Workflow Processor',53041,'N','N',0,'N','EE01')
;

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=53807 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:22','YYYY-MM-DD HH24:MI:SS'),0,53808,'Client/Tenant for this installation.',14,53725,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:19:22','YYYY-MM-DD HH24:MI:SS'),'Client',53041,'N','N',10,'N','EE01')
;

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=53808 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:23','YYYY-MM-DD HH24:MI:SS'),0,53809,'Organizational entity within client',14,53727,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:19:23','YYYY-MM-DD HH24:MI:SS'),'Organization',53041,'Y','N',20,'N','EE01')
;

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=53809 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:24','YYYY-MM-DD HH24:MI:SS'),0,53810,22,53707,'N',0,TO_DATE('2007-12-17 05:19:24','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53041,'N','N',30,'N','EE01')
;

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=53810 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:25','YYYY-MM-DD HH24:MI:SS'),0,53811,'Workflow or combination of tasks',22,53691,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 05:19:25','YYYY-MM-DD HH24:MI:SS'),'Workflow',53041,'N','N',40,'N','EE01')
;

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=53811 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:26','YYYY-MM-DD HH24:MI:SS'),0,53812,22,53708,'N',0,TO_DATE('2007-12-17 05:19:26','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_ID',53041,'N','N',50,'N','EE01')
;

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=53812 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:27','YYYY-MM-DD HH24:MI:SS'),0,53813,'Search key for the record in the format required - must be unique',20,53722,'N',0,'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).',TO_DATE('2007-12-17 05:19:27','YYYY-MM-DD HH24:MI:SS'),'Search Key',53041,'N','N',60,'N','EE01')
;

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=53813 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:28','YYYY-MM-DD HH24:MI:SS'),0,53814,'Alphanumeric identifier of the entity',60,53686,'N',0,'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.',TO_DATE('2007-12-17 05:19:28','YYYY-MM-DD HH24:MI:SS'),'Name',53041,'N','N',70,'N','EE01')
;

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=53814 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:29','YYYY-MM-DD HH24:MI:SS'),0,53815,'Optional short description of the record',60,53697,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 05:19:29','YYYY-MM-DD HH24:MI:SS'),'Description',53041,'N','N',80,'N','EE01')
;

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=53815 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:30','YYYY-MM-DD HH24:MI:SS'),0,53816,'Comment or Hint',60,53702,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 05:19:30','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53041,'N','N',90,'N','EE01')
;

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=53816 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:32','YYYY-MM-DD HH24:MI:SS'),0,53817,'The record is active in the system',1,53703,'N',0,'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.',TO_DATE('2007-12-17 05:19:32','YYYY-MM-DD HH24:MI:SS'),'Active',53041,'N','N',100,'N','EE01')
;

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=53817 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:33','YYYY-MM-DD HH24:MI:SS'),0,53818,'Default value',1,53704,'N',0,'The Default Checkbox indicates if this record will be used as a default value.',TO_DATE('2007-12-17 05:19:33','YYYY-MM-DD HH24:MI:SS'),'Default',53041,'Y','N',110,'N','EE01')
;

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=53818 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:33','YYYY-MM-DD HH24:MI:SS'),0,53819,'Type of Worflow',1,53685,'N',0,'The type of workflow determines how the workflow is started.',TO_DATE('2007-12-17 05:19:33','YYYY-MM-DD HH24:MI:SS'),'Workflow Type',53041,'N','N',120,'N','EE01')
;

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=53819 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:34','YYYY-MM-DD HH24:MI:SS'),0,53820,3,53711,'N',0,TO_DATE('2007-12-17 05:19:34','YYYY-MM-DD HH24:MI:SS'),'ProcessType',53041,'Y','N',130,'N','EE01')
;

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=53820 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:35','YYYY-MM-DD HH24:MI:SS'),0,53821,'Resource',10,53715,'N',0,TO_DATE('2007-12-17 05:19:35','YYYY-MM-DD HH24:MI:SS'),'Resource',53041,'N','N',140,'N','EE01')
;

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=53821 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:36','YYYY-MM-DD HH24:MI:SS'),0,53822,22,53713,'N',0,TO_DATE('2007-12-17 05:19:36','YYYY-MM-DD HH24:MI:SS'),'QtyBatchSize',53041,'Y','N',150,'N','EE01')
;

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=53822 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:37','YYYY-MM-DD HH24:MI:SS'),0,53823,'Access Level required',14,53692,'N',0,'Indicates the access level required for this record or process.',TO_DATE('2007-12-17 05:19:37','YYYY-MM-DD HH24:MI:SS'),'Data Access Level',53041,'N','N',160,'N','EE01')
;

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=53823 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:38','YYYY-MM-DD HH24:MI:SS'),0,53824,'Dictionary Entity Type; Determines ownership and synchronization',14,53701,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 05:19:38','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53041,'Y','N',170,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53824 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:39','YYYY-MM-DD HH24:MI:SS'),0,53825,'Valid from including this date (first day)',14,53719,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 05:19:39','YYYY-MM-DD HH24:MI:SS'),'Valid from',53041,'N','N',180,'N','EE01')
;

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=53825 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:40','YYYY-MM-DD HH24:MI:SS'),0,53826,'Valid to including this date (last day)',14,53720,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 05:19:40','YYYY-MM-DD HH24:MI:SS'),'Valid to',53041,'Y','N',190,'N','EE01')
;

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=53826 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:41','YYYY-MM-DD HH24:MI:SS'),0,53827,'Status of Publication',14,53712,'N',0,'Used for internal documentation',TO_DATE('2007-12-17 05:19:41','YYYY-MM-DD HH24:MI:SS'),'Publication Status',53041,'N','N',200,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53827 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:42','YYYY-MM-DD HH24:MI:SS'),0,53828,'Indicates if this request is of a high, medium or low priority.',11,53710,'N',0,'The Priority indicates the importance of this request.',TO_DATE('2007-12-17 05:19:42','YYYY-MM-DD HH24:MI:SS'),'Priority',53041,'Y','N',210,'N','@WorkflowType@!''M'' | @WorkflowType@!''Q''','EE01')
;

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=53828 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:43','YYYY-MM-DD HH24:MI:SS'),0,53829,'Document sequence number of the document',22,53698,'N',0,'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).',TO_DATE('2007-12-17 05:19:43','YYYY-MM-DD HH24:MI:SS'),'Document No',53041,'N','N',220,'N','EE01')
;

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=53829 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:44','YYYY-MM-DD HH24:MI:SS'),0,53830,'Version of the table definition',11,53723,'N',0,'The Version indicates the version of this table definition.',TO_DATE('2007-12-17 05:19:44','YYYY-MM-DD HH24:MI:SS'),'Version',53041,'Y','N',230,'N','EE01')
;

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=53830 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:45','YYYY-MM-DD HH24:MI:SS'),0,53831,'Author/Creator of the Entity',20,53693,'N',0,TO_DATE('2007-12-17 05:19:45','YYYY-MM-DD HH24:MI:SS'),'Author',53041,'N','N',240,'N','EE01')
;

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=53831 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:45','YYYY-MM-DD HH24:MI:SS'),0,53832,22,53709,'N',0,TO_DATE('2007-12-17 05:19:45','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Workflow_ID',53041,'N','N',250,'N','EE01')
;

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=53832 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:46','YYYY-MM-DD HH24:MI:SS'),0,53833,'Cost information',11,53694,'N',0,TO_DATE('2007-12-17 05:19:46','YYYY-MM-DD HH24:MI:SS'),'Cost',53041,'N','N',260,'N',127,'EE01')
;

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=53833 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:47','YYYY-MM-DD HH24:MI:SS'),0,53834,'Workflow Simulation Execution Time',11,53726,'N',0,'Amount of time the performer of the activity needs to perform the task in Duration Unit',TO_DATE('2007-12-17 05:19:47','YYYY-MM-DD HH24:MI:SS'),'Working Time',53041,'N','N',270,'N',127,'EE01')
;

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=53834 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:48','YYYY-MM-DD HH24:MI:SS'),0,53835,'Unit of Duration',14,53700,'N',0,'Unit to define the length of time for the execution',TO_DATE('2007-12-17 05:19:48','YYYY-MM-DD HH24:MI:SS'),'Duration Unit',53041,'N','N',280,'N',127,'EE01')
;

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=53835 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:49','YYYY-MM-DD HH24:MI:SS'),0,53836,22,53714,'N',0,TO_DATE('2007-12-17 05:19:49','YYYY-MM-DD HH24:MI:SS'),'QueuingTime',53041,'N','N',290,'Y','EE01')
;

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=53836 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:50','YYYY-MM-DD HH24:MI:SS'),0,53837,'Setup time before starting Production',22,53716,'N',0,'Once per operation',TO_DATE('2007-12-17 05:19:50','YYYY-MM-DD HH24:MI:SS'),'Setup Time',53041,'Y','N',300,'Y','EE01')
;

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=53837 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:51','YYYY-MM-DD HH24:MI:SS'),0,53838,'Normal Duration in Duration Unit',11,53699,'N',0,'Expected (normal) Length of time for the execution',TO_DATE('2007-12-17 05:19:51','YYYY-MM-DD HH24:MI:SS'),'Duration',53041,'N','N',310,'Y','EE01')
;

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=53838 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:51','YYYY-MM-DD HH24:MI:SS'),0,53839,'Maximum Duration in Duration Unit',11,53705,'N',0,'Maximum (critical) Duration for time management purposes (e.g. starting an escalation procedure, etc.) in Duration Units.',TO_DATE('2007-12-17 05:19:51','YYYY-MM-DD HH24:MI:SS'),'Duration Limit',53041,'Y','N',320,'Y','EE01')
;

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=53839 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:53','YYYY-MM-DD HH24:MI:SS'),0,53840,'Workflow Simulation Waiting time',1,53724,'N',0,'Amount of time needed to prepare the performance of the task on Duration Units',TO_DATE('2007-12-17 05:19:53','YYYY-MM-DD HH24:MI:SS'),'Waiting Time',53041,'N','N',330,'Y','EE01')
;

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=53840 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:54','YYYY-MM-DD HH24:MI:SS'),0,53841,22,53706,'N',0,TO_DATE('2007-12-17 05:19:54','YYYY-MM-DD HH24:MI:SS'),'MovingTime',53041,'N','N',340,'Y','EE01')
;

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=53841 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:19:55','YYYY-MM-DD HH24:MI:SS'),0,53842,23,53721,'N',0,TO_DATE('2007-12-17 05:19:55','YYYY-MM-DD HH24:MI:SS'),'Validate Workflow',53041,'N','N',350,'N','EE01')
;

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=53842 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Order Tools','3','Y','N','Y','PP_Order_Node_Product',TO_DATE('2007-12-17 05:19:57','YYYY-MM-DD HH24:MI:SS'),53030,0,TO_DATE('2007-12-17 05:19:57','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53030 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_Node_Product',0,0,'PP_Order_Node_Product',50000,1000000,'Y',53027,TO_DATE('2007-12-17 05:19:57','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:19:57','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53030,53728,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:19:58','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 05:19:58','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53728 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_Node_Product (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53030,53729,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:00','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 05:20:00','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53729 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 PP_Order_Node_Product ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53030,53730,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:20:02','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:20:02','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53730 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 PP_Order_Node_Product ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53030,53731,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:20:03','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:20:03','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53731 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 PP_Order_Node_Product ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53030,53732,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:20:04','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:20:04','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53732 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 PP_Order_Node_Product ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53030,53733,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:07','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:07','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53733 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 PP_Order_Node_Product ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53030,53734,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:08','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:08','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53734 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 PP_Order_Node_Product ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_ID','Y','N','N',0,'Y',53030,53735,'PP_Order_Node_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:20:10','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:10','YYYY-MM-DD HH24:MI:SS'),53285,'N','N','N',0,'N','N','EE01')
;

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=53735 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 PP_Order_Node_Product ADD PP_Order_Node_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53303,'PP_Order_Node_Product_ID','PP_Order_Node_Product_ID',0,0,0,0,'PP_Order_Node_Product_ID',TO_DATE('2007-12-17 05:20:12','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:20:12','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53303 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_Product_ID','Y','N','N',0,'Y',53030,53736,'PP_Order_Node_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:12','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:20:12','YYYY-MM-DD HH24:MI:SS'),53303,'N','Y','N',0,'N','N','EE01')
;

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=53736 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 PP_Order_Node_Product ADD PP_Order_Node_Product_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order_Node_Product ADD CONSTRAINT PP_Order_Node_Product_Key PRIMARY KEY (PP_Order_Node_Product_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Workflow_ID','Y','N','N',0,'Y',53030,53737,'PP_Order_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:14','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:14','YYYY-MM-DD HH24:MI:SS'),53286,'N','N','N',0,'N','N','EE01')
;

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=53737 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 PP_Order_Node_Product ADD PP_Order_Workflow_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53030,53738,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:20:15','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 05:20:15','YYYY-MM-DD HH24:MI:SS'),607,'Y','N','N',0,'N','N','EE01')
;

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=53738 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 PP_Order_Node_Product ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',0,'Y',53030,53739,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:20:16','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:20:16','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53739 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 PP_Order_Node_Product ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Yield','N','N','N',0,'Y',53030,53740,'Yield',0,0,22,'N',TO_DATE('2007-12-17 05:20:18','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 05:20:18','YYYY-MM-DD HH24:MI:SS'),53272,'Y','N','N',0,'N','N','EE01')
;

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=53740 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 PP_Order_Node_Product ADD Yield NUMBER(10)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:20:19','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:20:19','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Node Product',70,53030,53042,53009,'N','N','N','Y','N',NULL,'N','N',0,3,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53042 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 05:20:20','YYYY-MM-DD HH24:MI:SS'),0,53843,22,53736,'N',0,TO_DATE('2007-12-17 05:20:20','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_Product_ID',53042,'N','N',0,'N','EE01')
;

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=53843 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:21','YYYY-MM-DD HH24:MI:SS'),0,53844,'Client/Tenant for this installation.',22,53728,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:20:21','YYYY-MM-DD HH24:MI:SS'),'Client',53042,'N','N',10,'N','EE01')
;

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=53844 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:22','YYYY-MM-DD HH24:MI:SS'),0,53845,'Organizational entity within client',22,53729,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:20:22','YYYY-MM-DD HH24:MI:SS'),'Organization',53042,'Y','N',20,'N','EE01')
;

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=53845 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:23','YYYY-MM-DD HH24:MI:SS'),0,53846,22,53734,'N',0,TO_DATE('2007-12-17 05:20:23','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53042,'N','N',30,'N','EE01')
;

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=53846 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:24','YYYY-MM-DD HH24:MI:SS'),0,53847,22,53737,'N',0,TO_DATE('2007-12-17 05:20:24','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Workflow_ID',53042,'Y','N',40,'N','EE01')
;

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=53847 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:24','YYYY-MM-DD HH24:MI:SS'),0,53848,22,53735,'N',0,TO_DATE('2007-12-17 05:20:24','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_ID',53042,'N','N',50,'N','EE01')
;

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=53848 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:25','YYYY-MM-DD HH24:MI:SS'),0,53849,'The record is active in the system',1,53732,'N',0,'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.',TO_DATE('2007-12-17 05:20:25','YYYY-MM-DD HH24:MI:SS'),'Active',53042,'N','N',60,'N','EE01')
;

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=53849 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:26','YYYY-MM-DD HH24:MI:SS'),0,53850,'Product, Service, Item',22,53733,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 05:20:26','YYYY-MM-DD HH24:MI:SS'),'Product',53042,'N','N',70,'N','EE01')
;

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=53850 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:30','YYYY-MM-DD HH24:MI:SS'),0,53851,22,53740,'N',0,TO_DATE('2007-12-17 05:20:30','YYYY-MM-DD HH24:MI:SS'),'Yield',53042,'Y','N',80,'N','EE01')
;

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=53851 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Order Asset','3','Y','N','Y','PP_Order_Node_Asset',TO_DATE('2007-12-17 05:20:31','YYYY-MM-DD HH24:MI:SS'),53031,0,TO_DATE('2007-12-17 05:20:31','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53031 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Order_Node_Asset',0,0,'PP_Order_Node_Asset',50000,1000000,'Y',53028,TO_DATE('2007-12-17 05:20:32','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:20:32','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53031,53741,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:33','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:33','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53741 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Order_Node_Asset (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53031,53742,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:34','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:34','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53742 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 PP_Order_Node_Asset ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Asset','Y','N','Asset used internally or by customers','N','An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.',0,'Y',53031,53743,'A_Asset_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:35','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:35','YYYY-MM-DD HH24:MI:SS'),1884,'Y','N','N',0,'N','N','EE01')
;

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=53743 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 PP_Order_Node_Asset ADD A_Asset_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53031,53744,'Created',0,0,7,'N',TO_DATE('2007-12-17 05:20:37','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:20:37','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53744 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 PP_Order_Node_Asset ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53031,53745,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:20:38','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:20:38','YYYY-MM-DD HH24:MI:SS'),246,'Y','N','N',0,'N','N','EE01')
;

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=53745 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 PP_Order_Node_Asset ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53031,53746,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 05:20:39','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 05:20:39','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53746 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 PP_Order_Node_Asset ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53031,53747,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:41','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:41','YYYY-MM-DD HH24:MI:SS'),53276,'N','N','N',0,'N','N','EE01')
;

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=53747 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 PP_Order_Node_Asset ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53304,'PP_Order_Node_Asset_ID','PP_Order_Node_Asset_ID',0,0,0,0,'PP_Order_Node_Asset_ID',TO_DATE('2007-12-17 05:20:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 05:20:43','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53304 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_Asset_ID','Y','N','N',0,'Y',53031,53748,'PP_Order_Node_Asset_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:43','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 05:20:43','YYYY-MM-DD HH24:MI:SS'),53304,'N','Y','N',0,'N','N','EE01')
;

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=53748 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 PP_Order_Node_Asset ADD PP_Order_Node_Asset_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Order_Node_Asset ADD CONSTRAINT PP_Order_Node_Asset_Key PRIMARY KEY (PP_Order_Node_Asset_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_ID','Y','N','N',0,'Y',53031,53749,'PP_Order_Node_ID',0,0,22,'Y',TO_DATE('2007-12-17 05:20:45','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:45','YYYY-MM-DD HH24:MI:SS'),53285,'N','N','N',0,'N','N','EE01')
;

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=53749 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 PP_Order_Node_Asset ADD PP_Order_Node_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Workflow_ID','Y','N','N',0,'Y',53031,53750,'PP_Order_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 05:20:47','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 05:20:47','YYYY-MM-DD HH24:MI:SS'),53286,'N','N','N',0,'N','N','EE01')
;

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=53750 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 PP_Order_Node_Asset ADD PP_Order_Workflow_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53031,53751,'Updated',0,0,7,'N',TO_DATE('2007-12-17 05:20:50','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 05:20:50','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53751 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 PP_Order_Node_Asset ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53031,53752,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 05:20:52','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 05:20:52','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53752 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 PP_Order_Node_Asset ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 05:20:53','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 05:20:53','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Node Asset',80,53031,53043,53009,'N','N','N','Y','N',NULL,'N','N',0,3,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53043 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:54','YYYY-MM-DD HH24:MI:SS'),0,53852,'Client/Tenant for this installation.',22,53741,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 05:20:54','YYYY-MM-DD HH24:MI:SS'),'Client',53043,'N','N',10,'N','EE01')
;

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=53852 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:55','YYYY-MM-DD HH24:MI:SS'),0,53853,'Organizational entity within client',22,53742,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 05:20:55','YYYY-MM-DD HH24:MI:SS'),'Organization',53043,'Y','N',20,'N','EE01')
;

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=53853 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:57','YYYY-MM-DD HH24:MI:SS'),0,53854,22,53747,'N',0,TO_DATE('2007-12-17 05:20:57','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53043,'N','N',30,'N','EE01')
;

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=53854 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:58','YYYY-MM-DD HH24:MI:SS'),0,53855,22,53750,'N',0,TO_DATE('2007-12-17 05:20:58','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Workflow_ID',53043,'Y','N',40,'N','EE01')
;

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=53855 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:20:59','YYYY-MM-DD HH24:MI:SS'),0,53856,22,53749,'N',0,TO_DATE('2007-12-17 05:20:59','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_ID',53043,'N','N',50,'N','EE01')
;

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=53856 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:21:00','YYYY-MM-DD HH24:MI:SS'),0,53857,22,53748,'N',0,TO_DATE('2007-12-17 05:21:00','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_Asset_ID',53043,'Y','N',60,'N','EE01')
;

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=53857 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:21:01','YYYY-MM-DD HH24:MI:SS'),0,53858,'The record is active in the system',1,53746,'N',0,'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.',TO_DATE('2007-12-17 05:21:01','YYYY-MM-DD HH24:MI:SS'),'Active',53043,'N','N',70,'N','EE01')
;

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=53858 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 05:21:02','YYYY-MM-DD HH24:MI:SS'),0,53859,'Asset used internally or by customers',22,53743,'N',0,'An asset is either created by purchasing or by delivering a product.  An asset can be used internally or be a customer asset.',TO_DATE('2007-12-17 05:21:02','YYYY-MM-DD HH24:MI:SS'),'Asset',53043,'N','N',80,'N','EE01')
;

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=53859 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_ReportView (AD_Client_ID,IsActive,Name,AD_Table_ID,CreatedBy,Updated,AD_ReportView_ID,AD_Org_ID,Created,UpdatedBy,EntityType) VALUES (0,'Y','RV_PP_Order',53027,0,TO_DATE('2007-12-17 05:21:03','YYYY-MM-DD HH24:MI:SS'),53001,0,TO_DATE('2007-12-17 05:21:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50003,'Y','Y',0,TO_DATE('2007-12-17 05:21:04','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 05:21:04','YYYY-MM-DD HH24:MI:SS'),0,53027,'Y',100,53001,'Manufacturing Orders Review  ',0,100,0,0,'N',130,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53645,0,'Document Action','Y','Doc Action',TO_DATE('2007-12-17 05:21:04','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50121,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50121 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53659,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 05:21:05','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50122,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50122 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53659, Name='Manufacturing Order', IsRelativePosition='Y', PrintName='Manufacturing Order', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:21:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50122
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50122
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:39','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53630,0,'Sales Order Line','Y','Order Line',TO_DATE('2007-12-17 05:21:39','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50123,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50123 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:41','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53662,0,'Posted','Y','Posted',TO_DATE('2007-12-17 05:21:41','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50124,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50124 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:42','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53665,0,'Process Now','Y','Process Now',TO_DATE('2007-12-17 05:21:42','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50125,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50125 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:43','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53649,0,'Active','Y','Active',TO_DATE('2007-12-17 05:21:43','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50126,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50126 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53633,0,'Copy From','Y','Copy From',TO_DATE('2007-12-17 05:21:46','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50127,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50127 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:47','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53683,0,'Organization','Y','Organization',TO_DATE('2007-12-17 05:21:47','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50128,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50128 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:48','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53680,0,'Client','Y','Client',TO_DATE('2007-12-17 05:21:48','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50129,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50129 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53634,0,'Created','Y','Created',TO_DATE('2007-12-17 05:21:49','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50130,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50130 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:50','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53677,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 05:21:50','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50131,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50131 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:52','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53676,0,'Updated','Y','Updated',TO_DATE('2007-12-17 05:21:52','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50132,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50132 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:52','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53635,0,'Created By','Y','Created By',TO_DATE('2007-12-17 05:21:52','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50133,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50133 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',1,0,TO_DATE('2007-12-17 05:21:54','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53621,0,'Document No','Y','Document No',TO_DATE('2007-12-17 05:21:54','YYYY-MM-DD HH24:MI:SS'),'L',3,'N',0,0,0,50134,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50134 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:55','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53655,0,'Line No','Y','Line No',TO_DATE('2007-12-17 05:21:55','YYYY-MM-DD HH24:MI:SS'),'T',4,'N',0,0,0,50135,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50135 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:58','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53628,0,'Target Document Type','Y','Target Doc Type',TO_DATE('2007-12-17 05:21:58','YYYY-MM-DD HH24:MI:SS'),'L',5,'N',0,0,0,50136,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50136 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:21:59','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53644,0,'Description','Y','Description',TO_DATE('2007-12-17 05:21:59','YYYY-MM-DD HH24:MI:SS'),'B',7,'N',0,0,0,50137,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50137 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',2,0,TO_DATE('2007-12-17 05:22:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53623,0,'Product','Y','Product',TO_DATE('2007-12-17 05:22:00','YYYY-MM-DD HH24:MI:SS'),'L',8,'N',0,0,0,50138,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50138 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53657,0,'Attribute Set Instance','Y','Attribute Set Instance',TO_DATE('2007-12-17 05:22:01','YYYY-MM-DD HH24:MI:SS'),'L',9,'N',0,0,0,50139,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50139 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',2,0,TO_DATE('2007-12-17 05:22:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53622,0,'Resource','Y','Resource',TO_DATE('2007-12-17 05:22:02','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50140,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50140 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53684,0,'Workflow','Y','Workflow',TO_DATE('2007-12-17 05:22:02','YYYY-MM-DD HH24:MI:SS'),'L',11,'N',0,0,0,50141,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50141 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',3,0,TO_DATE('2007-12-17 05:22:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53624,0,'Warehouse','Y','Warehouse',TO_DATE('2007-12-17 05:22:03','YYYY-MM-DD HH24:MI:SS'),'L',12,'N',0,0,0,50142,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50142 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53660,0,'BOM & Formaula','Y','BOM & Formaula',TO_DATE('2007-12-17 05:22:04','YYYY-MM-DD HH24:MI:SS'),'L',13,'N',0,0,0,50143,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50143 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53661,0,'Planner','Y','Planner',TO_DATE('2007-12-17 05:22:05','YYYY-MM-DD HH24:MI:SS'),'L',14,'N',0,0,0,50144,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50144 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53663,0,'Priority','Y','Priority',TO_DATE('2007-12-17 05:22:06','YYYY-MM-DD HH24:MI:SS'),'L',15,'N',0,0,0,50145,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50145 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53640,0,'Date Ordered','Y','Date Ordered',TO_DATE('2007-12-17 05:22:07','YYYY-MM-DD HH24:MI:SS'),'L',16,'N',0,0,0,50146,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50146 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53641,0,'Date Promised','Y','Date Promised',TO_DATE('2007-12-17 05:22:08','YYYY-MM-DD HH24:MI:SS'),'L',17,'N',0,0,0,50147,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50147 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53636,0,'Date Confirm','Y','Date Confirm',TO_DATE('2007-12-17 05:22:09','YYYY-MM-DD HH24:MI:SS'),'L',18,'N',0,0,0,50148,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50148 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:10','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53637,0,'Date Delivered','Y','Date Delivered',TO_DATE('2007-12-17 05:22:10','YYYY-MM-DD HH24:MI:SS'),'L',19,'N',0,0,0,50149,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50149 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53643,0,'Date Start Schedule','Y','Date Start Schedule',TO_DATE('2007-12-17 05:22:11','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50150,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50150 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53639,0,'Date Finish Schedule','Y','Date Finish Schedule',TO_DATE('2007-12-17 05:22:12','YYYY-MM-DD HH24:MI:SS'),'L',21,'N',0,0,0,50151,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50151 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53642,0,'Date Start','Y','Date Start',TO_DATE('2007-12-17 05:22:13','YYYY-MM-DD HH24:MI:SS'),'L',22,'N',0,0,0,50152,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50152 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53638,0,'Finish Date','Y','Finish Date',TO_DATE('2007-12-17 05:22:14','YYYY-MM-DD HH24:MI:SS'),'L',23,'N',0,0,0,50153,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50153 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53648,0,'Float Befored','Y','Float Befored',TO_DATE('2007-12-17 05:22:15','YYYY-MM-DD HH24:MI:SS'),'T',24,'N',0,0,0,50154,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50154 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53647,0,'Float After','Y','Float After',TO_DATE('2007-12-17 05:22:16','YYYY-MM-DD HH24:MI:SS'),'T',25,'N',0,0,0,50155,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50155 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53669,0,'Quantity','Y','Quantity',TO_DATE('2007-12-17 05:22:17','YYYY-MM-DD HH24:MI:SS'),'T',26,'N',0,0,0,50156,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50156 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53632,0,'UOM','Y','UOM',TO_DATE('2007-12-17 05:22:17','YYYY-MM-DD HH24:MI:SS'),'L',27,'N',0,0,0,50157,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50157 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53667,0,'Qty Batchs','Y','Qty Batchs',TO_DATE('2007-12-17 05:22:18','YYYY-MM-DD HH24:MI:SS'),'T',28,'N',0,0,0,50158,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50158 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:19','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53666,0,'Qty Batch Size','Y','Qty Batch Size',TO_DATE('2007-12-17 05:22:19','YYYY-MM-DD HH24:MI:SS'),'T',29,'N',0,0,0,50159,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50159 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53670,0,'Ordered Quantity','Y','Ordered Qty',TO_DATE('2007-12-17 05:22:21','YYYY-MM-DD HH24:MI:SS'),'T',30,'N',0,0,0,50160,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50160 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53668,0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 05:22:23','YYYY-MM-DD HH24:MI:SS'),'T',31,'N',0,0,0,50161,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50161 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53681,0,'Yield','Y','Yield',TO_DATE('2007-12-17 05:22:23','YYYY-MM-DD HH24:MI:SS'),'T',32,'N',0,0,0,50162,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50162 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53671,0,'Qty Reject','Y','Qty Reject',TO_DATE('2007-12-17 05:22:25','YYYY-MM-DD HH24:MI:SS'),'T',33,'N',0,0,0,50163,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50163 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53673,0,'Qty Scrap','Y','Qty Scrap',TO_DATE('2007-12-17 05:22:26','YYYY-MM-DD HH24:MI:SS'),'T',34,'N',0,0,0,50164,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50164 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53631,0,'Project','Y','Project',TO_DATE('2007-12-17 05:22:28','YYYY-MM-DD HH24:MI:SS'),'L',35,'N',0,0,0,50165,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50165 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:29','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53627,0,'Campaign','Y','Campaign',TO_DATE('2007-12-17 05:22:29','YYYY-MM-DD HH24:MI:SS'),'L',36,'N',0,0,0,50166,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50166 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:29','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53626,0,'Activity','Y','Activity',TO_DATE('2007-12-17 05:22:29','YYYY-MM-DD HH24:MI:SS'),'L',37,'N',0,0,0,50167,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50167 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:30','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53682,0,'Trx Organization','Y','Trx Organization',TO_DATE('2007-12-17 05:22:30','YYYY-MM-DD HH24:MI:SS'),'L',38,'N',0,0,0,50168,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50168 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:31','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53678,0,'User List 1','Y','User 1',TO_DATE('2007-12-17 05:22:31','YYYY-MM-DD HH24:MI:SS'),'L',39,'N',0,0,0,50169,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50169 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:32','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53679,0,'User List 2','Y','User 2',TO_DATE('2007-12-17 05:22:32','YYYY-MM-DD HH24:MI:SS'),'L',40,'N',0,0,0,50170,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50170 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:33','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53646,0,'Document Status','Y','Doc Status',TO_DATE('2007-12-17 05:22:33','YYYY-MM-DD HH24:MI:SS'),'L',41,'N',0,0,0,50171,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50171 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:34','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53629,0,'Document Type','Y','Doc Type',TO_DATE('2007-12-17 05:22:34','YYYY-MM-DD HH24:MI:SS'),'L',42,'N',0,0,0,50172,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50172 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:36','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53650,0,'Approved','Y','Approved',TO_DATE('2007-12-17 05:22:36','YYYY-MM-DD HH24:MI:SS'),'L',45,'N',0,0,0,50173,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50173 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:36','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53651,0,'Printed','Y','Printed',TO_DATE('2007-12-17 05:22:36','YYYY-MM-DD HH24:MI:SS'),'L',46,'N',0,0,0,50174,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50174 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:37','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53654,0,'Selected','Y','Selected',TO_DATE('2007-12-17 05:22:37','YYYY-MM-DD HH24:MI:SS'),'L',47,'N',0,0,0,50175,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50175 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:38','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53664,0,'Processed','Y','Processed',TO_DATE('2007-12-17 05:22:38','YYYY-MM-DD HH24:MI:SS'),'L',48,'N',0,0,0,50176,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50176 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:39','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53625,0,'Assay','Y','Assay',TO_DATE('2007-12-17 05:22:39','YYYY-MM-DD HH24:MI:SS'),'T',49,'N',0,0,0,50177,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50177 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:40','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53652,0,'Qty is Percentage','Y','Qty is Percentage',TO_DATE('2007-12-17 05:22:40','YYYY-MM-DD HH24:MI:SS'),'L',50,'N',0,0,0,50178,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50178 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:41','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53656,0,'Lot No','Y','Lot No',TO_DATE('2007-12-17 05:22:41','YYYY-MM-DD HH24:MI:SS'),'L',51,'N',0,0,0,50179,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50179 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:42','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53658,0,'Order Type','Y','Order Type',TO_DATE('2007-12-17 05:22:42','YYYY-MM-DD HH24:MI:SS'),'L',53,'N',0,0,0,50180,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50180 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:43','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53653,0,'Sales Transaction','Y','Sales Transaction',TO_DATE('2007-12-17 05:22:43','YYYY-MM-DD HH24:MI:SS'),'L',56,'N',0,0,0,50181,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50181 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:44','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53674,0,'Schedule Type','Y','Schedule Type',TO_DATE('2007-12-17 05:22:44','YYYY-MM-DD HH24:MI:SS'),'L',57,'N',0,0,0,50182,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50182 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:45','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50003,'F','C','N','N','N',0,'N','N','N','N','X',53675,0,'Serial No','Y','Serial No',TO_DATE('2007-12-17 05:22:45','YYYY-MM-DD HH24:MI:SS'),'L',58,'N',0,0,0,50183,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50183 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50004,'Y','Y',0,TO_DATE('2007-12-17 05:22:46','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 05:22:46','YYYY-MM-DD HH24:MI:SS'),0,53027,'Y',100,53001,'Manufacturing Orders Review   Copiar registro 4082309',0,100,0,0,'N',130,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:47','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53634,0,'Created','Y','Created',TO_DATE('2007-12-17 05:22:47','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50184,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50184 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:48','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53633,0,'Copy From','Y','Copy From',TO_DATE('2007-12-17 05:22:48','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50185,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50185 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:22:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53659,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 05:22:49','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50186,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50186 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53659, Name='Manufacturing Order', IsRelativePosition='Y', PrintName='Manufacturing Order', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:23:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50186
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50186
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53635,0,'Created By','Y','Created By',TO_DATE('2007-12-17 05:23:18','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50187,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50187 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:20','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53676,0,'Updated','Y','Updated',TO_DATE('2007-12-17 05:23:20','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50188,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50188 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53677,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 05:23:21','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50189,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50189 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53645,0,'Document Action','Y','Doc Action',TO_DATE('2007-12-17 05:23:22','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50190,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50190 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53649,0,'Active','Y','Active',TO_DATE('2007-12-17 05:23:23','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50191,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50191 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:24','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53662,0,'Posted','Y','Posted',TO_DATE('2007-12-17 05:23:24','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50192,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50192 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53665,0,'Process Now','Y','Process Now',TO_DATE('2007-12-17 05:23:25','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50193,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50193 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53630,0,'Sales Order Line','Y','Order Line',TO_DATE('2007-12-17 05:23:26','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50194,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50194 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53683,0,'Organization','Y','Organization',TO_DATE('2007-12-17 05:23:27','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50195,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50195 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53680,0,'Client','Y','Client',TO_DATE('2007-12-17 05:23:28','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50196,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50196 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',1,0,TO_DATE('2007-12-17 05:23:29','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53621,0,'Document No','Y','Document No',TO_DATE('2007-12-17 05:23:29','YYYY-MM-DD HH24:MI:SS'),'L',3,'N',0,0,0,50197,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50197 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:30','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53655,0,'Line No','Y','Line No',TO_DATE('2007-12-17 05:23:30','YYYY-MM-DD HH24:MI:SS'),'T',4,'N',0,0,0,50198,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50198 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:31','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53628,0,'Target Document Type','Y','Target Doc Type',TO_DATE('2007-12-17 05:23:31','YYYY-MM-DD HH24:MI:SS'),'L',5,'N',0,0,0,50199,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50199 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:32','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53644,0,'Description','Y','Description',TO_DATE('2007-12-17 05:23:32','YYYY-MM-DD HH24:MI:SS'),'B',7,'N',0,0,0,50200,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50200 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',2,0,TO_DATE('2007-12-17 05:23:32','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53623,0,'Product','Y','Product',TO_DATE('2007-12-17 05:23:32','YYYY-MM-DD HH24:MI:SS'),'L',8,'N',0,0,0,50201,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50201 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:34','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53657,0,'Attribute Set Instance','Y','Attribute Set Instance',TO_DATE('2007-12-17 05:23:34','YYYY-MM-DD HH24:MI:SS'),'L',9,'N',0,0,0,50202,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50202 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',2,0,TO_DATE('2007-12-17 05:23:35','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53622,0,'Resource','Y','Resource',TO_DATE('2007-12-17 05:23:35','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50203,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50203 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:36','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53684,0,'Workflow','Y','Workflow',TO_DATE('2007-12-17 05:23:36','YYYY-MM-DD HH24:MI:SS'),'L',11,'N',0,0,0,50204,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50204 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',3,0,TO_DATE('2007-12-17 05:23:36','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53624,0,'Warehouse','Y','Warehouse',TO_DATE('2007-12-17 05:23:36','YYYY-MM-DD HH24:MI:SS'),'L',12,'N',0,0,0,50205,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50205 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:23:37','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53660,0,'BOM & Formaula','Y','BOM & Formaula',TO_DATE('2007-12-17 05:23:37','YYYY-MM-DD HH24:MI:SS'),'L',13,'N',0,0,0,50206,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50206 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53660, Name='BOM & Formaula', IsRelativePosition='Y', PrintName='BOM & Formaula', FieldAlignmentType='L', SeqNo=13, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:24:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50206
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50206
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:24:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53661,0,'Planner','Y','Planner',TO_DATE('2007-12-17 05:24:07','YYYY-MM-DD HH24:MI:SS'),'L',14,'N',0,0,0,50207,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50207 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53661, Name='Planner', IsRelativePosition='Y', PrintName='Planner', FieldAlignmentType='L', SeqNo=14, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:24:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50207
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50207
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:24:40','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53663,0,'Priority','Y','Priority',TO_DATE('2007-12-17 05:24:40','YYYY-MM-DD HH24:MI:SS'),'L',15,'N',0,0,0,50208,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50208 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:24:41','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53640,0,'Date Ordered','Y','Date Ordered',TO_DATE('2007-12-17 05:24:41','YYYY-MM-DD HH24:MI:SS'),'L',16,'N',0,0,0,50209,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50209 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:24:42','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53641,0,'Date Promised','Y','Date Promised',TO_DATE('2007-12-17 05:24:42','YYYY-MM-DD HH24:MI:SS'),'L',17,'N',0,0,0,50210,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50210 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:24:43','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53636,0,'Date Confirm','Y','Date Confirm',TO_DATE('2007-12-17 05:24:43','YYYY-MM-DD HH24:MI:SS'),'L',18,'N',0,0,0,50211,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50211 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53636, Name='Date Confirm', IsRelativePosition='Y', PrintName='Date Confirm', FieldAlignmentType='L', SeqNo=18, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50211
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50211
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:25:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53637,0,'Date Delivered','Y','Date Delivered',TO_DATE('2007-12-17 05:25:14','YYYY-MM-DD HH24:MI:SS'),'L',19,'N',0,0,0,50212,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50212 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:25:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53643,0,'Date Start Schedule','Y','Date Start Schedule',TO_DATE('2007-12-17 05:25:15','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50213,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50213 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53643, Name='Date Start Schedule', IsRelativePosition='Y', PrintName='Date Start Schedule', FieldAlignmentType='L', SeqNo=20, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:26:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50213
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50213
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:26:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53639,0,'Date Finish Schedule','Y','Date Finish Schedule',TO_DATE('2007-12-17 05:26:09','YYYY-MM-DD HH24:MI:SS'),'L',21,'N',0,0,0,50214,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50214 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53639, Name='Date Finish Schedule', IsRelativePosition='Y', PrintName='Date Finish Schedule', FieldAlignmentType='L', SeqNo=21, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50214
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50214
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:26:39','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53642,0,'Date Start','Y','Date Start',TO_DATE('2007-12-17 05:26:39','YYYY-MM-DD HH24:MI:SS'),'L',22,'N',0,0,0,50215,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50215 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53642, Name='Date Start', IsRelativePosition='Y', PrintName='Date Start', FieldAlignmentType='L', SeqNo=22, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:27:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50215
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50215
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:27:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53638,0,'Finish Date','Y','Finish Date',TO_DATE('2007-12-17 05:27:11','YYYY-MM-DD HH24:MI:SS'),'L',23,'N',0,0,0,50216,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50216 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:27:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53648,0,'Float Befored','Y','Float Befored',TO_DATE('2007-12-17 05:27:12','YYYY-MM-DD HH24:MI:SS'),'T',24,'N',0,0,0,50217,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50217 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53648, Name='Float Befored', IsRelativePosition='Y', PrintName='Float Befored', FieldAlignmentType='T', SeqNo=24, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:27:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50217
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50217
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:27:50','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53647,0,'Float After','Y','Float After',TO_DATE('2007-12-17 05:27:50','YYYY-MM-DD HH24:MI:SS'),'T',25,'N',0,0,0,50218,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50218 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53647, Name='Float After', IsRelativePosition='Y', PrintName='Float After', FieldAlignmentType='T', SeqNo=25, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:28:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50218
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50218
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:28:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53669,0,'Quantity','Y','Quantity',TO_DATE('2007-12-17 05:28:21','YYYY-MM-DD HH24:MI:SS'),'T',26,'N',0,0,0,50219,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50219 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:28:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53632,0,'UOM','Y','UOM',TO_DATE('2007-12-17 05:28:22','YYYY-MM-DD HH24:MI:SS'),'L',27,'N',0,0,0,50220,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50220 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:28:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53667,0,'Qty Batchs','Y','Qty Batchs',TO_DATE('2007-12-17 05:28:23','YYYY-MM-DD HH24:MI:SS'),'T',28,'N',0,0,0,50221,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50221 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53667, Name='Qty Batchs', IsRelativePosition='Y', PrintName='Qty Batchs', FieldAlignmentType='T', SeqNo=28, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:28:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50221
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50221
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:28:55','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53666,0,'Qty Batch Size','Y','Qty Batch Size',TO_DATE('2007-12-17 05:28:55','YYYY-MM-DD HH24:MI:SS'),'T',29,'N',0,0,0,50222,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50222 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53666, Name='Qty Batch Size', IsRelativePosition='Y', PrintName='Qty Batch Size', FieldAlignmentType='T', SeqNo=29, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:29:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50222
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50222
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:29:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53670,0,'Ordered Quantity','Y','Ordered Qty',TO_DATE('2007-12-17 05:29:26','YYYY-MM-DD HH24:MI:SS'),'T',30,'N',0,0,0,50223,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50223 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:29:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53668,0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 05:29:27','YYYY-MM-DD HH24:MI:SS'),'T',31,'N',0,0,0,50224,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50224 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:29:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53681,0,'Yield','Y','Yield',TO_DATE('2007-12-17 05:29:28','YYYY-MM-DD HH24:MI:SS'),'T',32,'N',0,0,0,50225,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50225 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:29:29','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53671,0,'Qty Reject','Y','Qty Reject',TO_DATE('2007-12-17 05:29:29','YYYY-MM-DD HH24:MI:SS'),'T',33,'N',0,0,0,50226,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50226 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53671, Name='Qty Reject', IsRelativePosition='Y', PrintName='Qty Reject', FieldAlignmentType='T', SeqNo=33, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50226
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50226
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:30:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53673,0,'Qty Scrap','Y','Qty Scrap',TO_DATE('2007-12-17 05:30:13','YYYY-MM-DD HH24:MI:SS'),'T',34,'N',0,0,0,50227,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50227 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53673, Name='Qty Scrap', IsRelativePosition='Y', PrintName='Qty Scrap', FieldAlignmentType='T', SeqNo=34, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:30:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50227
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50227
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:30:56','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53631,0,'Project','Y','Project',TO_DATE('2007-12-17 05:30:56','YYYY-MM-DD HH24:MI:SS'),'L',35,'N',0,0,0,50228,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50228 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:30:57','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53627,0,'Campaign','Y','Campaign',TO_DATE('2007-12-17 05:30:57','YYYY-MM-DD HH24:MI:SS'),'L',36,'N',0,0,0,50229,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50229 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:30:58','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53626,0,'Activity','Y','Activity',TO_DATE('2007-12-17 05:30:58','YYYY-MM-DD HH24:MI:SS'),'L',37,'N',0,0,0,50230,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50230 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:30:59','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53682,0,'Trx Organization','Y','Trx Organization',TO_DATE('2007-12-17 05:30:59','YYYY-MM-DD HH24:MI:SS'),'L',38,'N',0,0,0,50231,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50231 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:31:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53678,0,'User List 1','Y','User 1',TO_DATE('2007-12-17 05:31:00','YYYY-MM-DD HH24:MI:SS'),'L',39,'N',0,0,0,50232,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50232 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53678, Name='User List 1', IsRelativePosition='Y', PrintName='User 1', FieldAlignmentType='L', SeqNo=39, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:31:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50232
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50232
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:31:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53679,0,'User List 2','Y','User 2',TO_DATE('2007-12-17 05:31:28','YYYY-MM-DD HH24:MI:SS'),'L',40,'N',0,0,0,50233,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50233 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53679, Name='User List 2', IsRelativePosition='Y', PrintName='User 2', FieldAlignmentType='L', SeqNo=40, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:31:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50233
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50233
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:31:58','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53646,0,'Document Status','Y','Doc Status',TO_DATE('2007-12-17 05:31:58','YYYY-MM-DD HH24:MI:SS'),'L',41,'N',0,0,0,50234,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50234 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:31:59','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53629,0,'Document Type','Y','Doc Type',TO_DATE('2007-12-17 05:31:59','YYYY-MM-DD HH24:MI:SS'),'L',42,'N',0,0,0,50235,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50235 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53650,0,'Approved','Y','Approved',TO_DATE('2007-12-17 05:32:00','YYYY-MM-DD HH24:MI:SS'),'L',45,'N',0,0,0,50236,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50236 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53651,0,'Printed','Y','Printed',TO_DATE('2007-12-17 05:32:01','YYYY-MM-DD HH24:MI:SS'),'L',46,'N',0,0,0,50237,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50237 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53654,0,'Selected','Y','Selected',TO_DATE('2007-12-17 05:32:01','YYYY-MM-DD HH24:MI:SS'),'L',47,'N',0,0,0,50238,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50238 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53664,0,'Processed','Y','Processed',TO_DATE('2007-12-17 05:32:02','YYYY-MM-DD HH24:MI:SS'),'L',48,'N',0,0,0,50239,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50239 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53625,0,'Assay','Y','Assay',TO_DATE('2007-12-17 05:32:03','YYYY-MM-DD HH24:MI:SS'),'T',49,'N',0,0,0,50240,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50240 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53652,0,'Qty is Percentage','Y','Qty is Percentage',TO_DATE('2007-12-17 05:32:04','YYYY-MM-DD HH24:MI:SS'),'L',50,'N',0,0,0,50241,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50241 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53656,0,'Lot No','Y','Lot No',TO_DATE('2007-12-17 05:32:05','YYYY-MM-DD HH24:MI:SS'),'L',51,'N',0,0,0,50242,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50242 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53658,0,'Order Type','Y','Order Type',TO_DATE('2007-12-17 05:32:06','YYYY-MM-DD HH24:MI:SS'),'L',53,'N',0,0,0,50243,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50243 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50004, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53658, Name='Order Type', IsRelativePosition='Y', PrintName='Order Type', FieldAlignmentType='L', SeqNo=53, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:32:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50243
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50243
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:37','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53653,0,'Sales Transaction','Y','Sales Transaction',TO_DATE('2007-12-17 05:32:37','YYYY-MM-DD HH24:MI:SS'),'L',56,'N',0,0,0,50244,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50244 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:38','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53674,0,'Schedule Type','Y','Schedule Type',TO_DATE('2007-12-17 05:32:38','YYYY-MM-DD HH24:MI:SS'),'L',57,'N',0,0,0,50245,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50245 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 05:32:39','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50004,'F','C','N','N','N',0,'N','N','N','N','X',53675,0,'Serial No','Y','Serial No',TO_DATE('2007-12-17 05:32:39','YYYY-MM-DD HH24:MI:SS'),'L',58,'N',0,0,0,50246,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50246 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormat SET IsForm='N', IsStandardHeaderFooter='Y', IsActive='Y', CreateCopy=NULL, AD_Table_ID=53027, IsTableBased='Y', AD_PrintColor_ID=100, AD_ReportView_ID=53001, Name='Manufacturing Orders Review  ', FooterMargin=0, AD_PrintPaper_ID=100, PrinterName=NULL, IsDefault='N', AD_PrintFont_ID=130, HeaderMargin=0, Description=NULL,Updated=TO_DATE('2007-12-17 05:32:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50003
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53645, Name='Document Action', IsRelativePosition='Y', PrintName='Doc Action', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:33:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50121
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50121
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53659, Name='Manufacturing Order', IsRelativePosition='Y', PrintName='Manufacturing Order', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:34:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50122
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50122
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53659, Name='Manufacturing Order', IsRelativePosition='Y', PrintName='Manufacturing Order', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50122
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50122
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53630, Name='Sales Order Line', IsRelativePosition='Y', PrintName='Order Line', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:35:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50123
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50123
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53662, Name='Posted', IsRelativePosition='Y', PrintName='Posted', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:35:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50124
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50124
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53665, Name='Process Now', IsRelativePosition='Y', PrintName='Process Now', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:36:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50125
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50125
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53649, Name='Active', IsRelativePosition='Y', PrintName='Active', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:36:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50126
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50126
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53633, Name='Copy From', IsRelativePosition='Y', PrintName='Copy From', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:37:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50127
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50127
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53683, Name='Organization', IsRelativePosition='Y', PrintName='Organization', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:37:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50128
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50128
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53680, Name='Client', IsRelativePosition='Y', PrintName='Client', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:38:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50129
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50129
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53634, Name='Created', IsRelativePosition='Y', PrintName='Created', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:39:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50130
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50130
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53677, Name='Updated By', IsRelativePosition='Y', PrintName='Updated By', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:39:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50131
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50131
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53676, Name='Updated', IsRelativePosition='Y', PrintName='Updated', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:40:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50132
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50132
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53635, Name='Created By', IsRelativePosition='Y', PrintName='Created By', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:40:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50133
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50133
;

UPDATE AD_PrintFormatItem SET IsOrderBy='Y', SortNo=1, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53621, Name='Document No', IsRelativePosition='Y', PrintName='Document No', FieldAlignmentType='L', SeqNo=3, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:41:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50134
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50134
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53655, Name='Line No', IsRelativePosition='Y', PrintName='Line No', FieldAlignmentType='T', SeqNo=4, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:42:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50135
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50135
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53628, Name='Target Document Type', IsRelativePosition='Y', PrintName='Target Doc Type', FieldAlignmentType='L', SeqNo=5, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:42:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50136
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50136
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53644, Name='Description', IsRelativePosition='Y', PrintName='Description', FieldAlignmentType='B', SeqNo=7, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:43:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50137
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50137
;

UPDATE AD_PrintFormatItem SET IsOrderBy='Y', SortNo=2, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53623, Name='Product', IsRelativePosition='Y', PrintName='Product', FieldAlignmentType='L', SeqNo=8, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:43:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50138
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50138
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53657, Name='Attribute Set Instance', IsRelativePosition='Y', PrintName='Attribute Set Instance', FieldAlignmentType='L', SeqNo=9, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:44:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50139
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50139
;

UPDATE AD_PrintFormatItem SET IsOrderBy='Y', SortNo=2, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53622, Name='Resource', IsRelativePosition='Y', PrintName='Resource', FieldAlignmentType='L', SeqNo=10, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:44:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50140
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50140
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53684, Name='Workflow', IsRelativePosition='Y', PrintName='Workflow', FieldAlignmentType='L', SeqNo=11, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:45:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50141
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50141
;

UPDATE AD_PrintFormatItem SET IsOrderBy='Y', SortNo=3, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53624, Name='Warehouse', IsRelativePosition='Y', PrintName='Warehouse', FieldAlignmentType='L', SeqNo=12, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:45:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50142
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50142
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53660, Name='BOM & Formaula', IsRelativePosition='Y', PrintName='BOM & Formaula', FieldAlignmentType='L', SeqNo=13, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:46:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50143
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50143
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53661, Name='Planner', IsRelativePosition='Y', PrintName='Planner', FieldAlignmentType='L', SeqNo=14, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:47:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50144
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50144
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53663, Name='Priority', IsRelativePosition='Y', PrintName='Priority', FieldAlignmentType='L', SeqNo=15, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50145
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50145
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53640, Name='Date Ordered', IsRelativePosition='Y', PrintName='Date Ordered', FieldAlignmentType='L', SeqNo=16, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:48:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50146
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50146
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53641, Name='Date Promised', IsRelativePosition='Y', PrintName='Date Promised', FieldAlignmentType='L', SeqNo=17, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:48:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50147
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50147
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53636, Name='Date Confirm', IsRelativePosition='Y', PrintName='Date Confirm', FieldAlignmentType='L', SeqNo=18, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:49:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50148
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50148
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53637, Name='Date Delivered', IsRelativePosition='Y', PrintName='Date Delivered', FieldAlignmentType='L', SeqNo=19, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:49:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50149
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50149
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53643, Name='Date Start Schedule', IsRelativePosition='Y', PrintName='Date Start Schedule', FieldAlignmentType='L', SeqNo=20, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:50:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50150
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50150
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53639, Name='Date Finish Schedule', IsRelativePosition='Y', PrintName='Date Finish Schedule', FieldAlignmentType='L', SeqNo=21, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50151
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50151
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53642, Name='Date Start', IsRelativePosition='Y', PrintName='Date Start', FieldAlignmentType='L', SeqNo=22, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:51:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50152
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50152
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53638, Name='Finish Date', IsRelativePosition='Y', PrintName='Finish Date', FieldAlignmentType='L', SeqNo=23, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:52:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50153
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50153
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53648, Name='Float Befored', IsRelativePosition='Y', PrintName='Float Befored', FieldAlignmentType='T', SeqNo=24, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:52:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50154
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50154
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53647, Name='Float After', IsRelativePosition='Y', PrintName='Float After', FieldAlignmentType='T', SeqNo=25, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:53:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50155
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50155
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53669, Name='Quantity', IsRelativePosition='Y', PrintName='Quantity', FieldAlignmentType='T', SeqNo=26, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:53:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50156
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50156
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53632, Name='UOM', IsRelativePosition='Y', PrintName='UOM', FieldAlignmentType='L', SeqNo=27, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:54:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50157
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50157
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53667, Name='Qty Batchs', IsRelativePosition='Y', PrintName='Qty Batchs', FieldAlignmentType='T', SeqNo=28, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:55:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50158
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50158
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53666, Name='Qty Batch Size', IsRelativePosition='Y', PrintName='Qty Batch Size', FieldAlignmentType='T', SeqNo=29, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50159
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50159
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53670, Name='Ordered Quantity', IsRelativePosition='Y', PrintName='Ordered Qty', FieldAlignmentType='T', SeqNo=30, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:56:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50160
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50160
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53668, Name='Delivered Quantity', IsRelativePosition='Y', PrintName='Delivered Qty', FieldAlignmentType='T', SeqNo=31, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:56:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50161
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50161
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53681, Name='Yield', IsRelativePosition='Y', PrintName='Yield', FieldAlignmentType='T', SeqNo=32, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:57:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50162
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50162
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53671, Name='Qty Reject', IsRelativePosition='Y', PrintName='Qty Reject', FieldAlignmentType='T', SeqNo=33, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:58:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50163
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50163
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53673, Name='Qty Scrap', IsRelativePosition='Y', PrintName='Qty Scrap', FieldAlignmentType='T', SeqNo=34, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:58:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50164
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50164
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53631, Name='Project', IsRelativePosition='Y', PrintName='Project', FieldAlignmentType='L', SeqNo=35, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50165
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50165
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53627, Name='Campaign', IsRelativePosition='Y', PrintName='Campaign', FieldAlignmentType='L', SeqNo=36, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 05:59:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50166
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50166
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53626, Name='Activity', IsRelativePosition='Y', PrintName='Activity', FieldAlignmentType='L', SeqNo=37, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:00:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50167
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50167
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53682, Name='Trx Organization', IsRelativePosition='Y', PrintName='Trx Organization', FieldAlignmentType='L', SeqNo=38, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:00:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50168
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50168
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53678, Name='User List 1', IsRelativePosition='Y', PrintName='User 1', FieldAlignmentType='L', SeqNo=39, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:01:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50169
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50169
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53679, Name='User List 2', IsRelativePosition='Y', PrintName='User 2', FieldAlignmentType='L', SeqNo=40, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:02:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50170
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50170
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53646, Name='Document Status', IsRelativePosition='Y', PrintName='Doc Status', FieldAlignmentType='L', SeqNo=41, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:02:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50171
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50171
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53629, Name='Document Type', IsRelativePosition='Y', PrintName='Doc Type', FieldAlignmentType='L', SeqNo=42, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:03:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50172
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50172
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53650, Name='Approved', IsRelativePosition='Y', PrintName='Approved', FieldAlignmentType='L', SeqNo=45, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:04:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50173
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50173
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53651, Name='Printed', IsRelativePosition='Y', PrintName='Printed', FieldAlignmentType='L', SeqNo=46, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:04:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50174
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50174
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53654, Name='Selected', IsRelativePosition='Y', PrintName='Selected', FieldAlignmentType='L', SeqNo=47, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:05:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50175
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50175
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53664, Name='Processed', IsRelativePosition='Y', PrintName='Processed', FieldAlignmentType='L', SeqNo=48, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:05:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50176
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50176
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53625, Name='Assay', IsRelativePosition='Y', PrintName='Assay', FieldAlignmentType='T', SeqNo=49, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:07:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50177
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50177
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53652, Name='Qty is Percentage', IsRelativePosition='Y', PrintName='Qty is Percentage', FieldAlignmentType='L', SeqNo=50, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:08:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50178
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50178
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53656, Name='Lot No', IsRelativePosition='Y', PrintName='Lot No', FieldAlignmentType='L', SeqNo=51, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:09:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50179
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50179
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53658, Name='Order Type', IsRelativePosition='Y', PrintName='Order Type', FieldAlignmentType='L', SeqNo=53, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:11:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50180
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50180
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53653, Name='Sales Transaction', IsRelativePosition='Y', PrintName='Sales Transaction', FieldAlignmentType='L', SeqNo=56, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:11:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50181
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50181
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53674, Name='Schedule Type', IsRelativePosition='Y', PrintName='Schedule Type', FieldAlignmentType='L', SeqNo=57, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:12:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50182
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50182
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50003, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53675, Name='Serial No', IsRelativePosition='Y', PrintName='Serial No', FieldAlignmentType='L', SeqNo=58, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:12:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50183
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50183
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,AD_ReportView_ID,AD_PrintFormat_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Manufacturing Orders Review  ',0,0,0,'It is a report of every Manufacturing Orders filtering according with the characteristics the user is interested to select.',TO_DATE('2007-12-17 06:12:59','YYYY-MM-DD HH24:MI:SS'),53030,TO_DATE('2007-12-17 06:12:59','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','It is a report of every Manufacturing Orders filtering according with the characteristics the user is interested to select.','Y',53001,50003,'N','3',0,'PP_Manufacturing Orders Review  ','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53030 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53062,0,0,'Date Ordered','Y',0,'Date of Order','Indicates the Date an item was ordered.',53030,TO_DATE('2007-12-17 06:13:00','YYYY-MM-DD HH24:MI:SS'),'DateOrdered','Y','Y',0,0,15,TO_DATE('2007-12-17 06:13:00','YYYY-MM-DD HH24:MI:SS'),'N',10,268,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53062 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53063,0,0,'Date Promised','Y',0,'Date Order was promised','The Date Promised indicates the date, if any, that an Order was promised for.',53030,TO_DATE('2007-12-17 06:13:01','YYYY-MM-DD HH24:MI:SS'),'DatePromised','Y','Y',0,0,15,TO_DATE('2007-12-17 06:13:01','YYYY-MM-DD HH24:MI:SS'),'N',20,269,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53063 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53064,0,0,'Document Status','Y',0,'The current status of the document','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',53030,TO_DATE('2007-12-17 06:13:02','YYYY-MM-DD HH24:MI:SS'),'DocStatus','Y','N',0,0,131,17,TO_DATE('2007-12-17 06:13:02','YYYY-MM-DD HH24:MI:SS'),'N',30,289,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53064 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)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'RV_PP_Order_Storage','3','Y','N','N','RV_PP_Order_Storage',TO_DATE('2007-12-17 06:13:03','YYYY-MM-DD HH24:MI:SS'),53032,0,TO_DATE('2007-12-17 06:13:03','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53032 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table RV_PP_Order_Storage',0,0,'RV_PP_Order_Storage',50000,1000000,'Y',53029,TO_DATE('2007-12-17 06:13:04','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:13:04','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_ReportView (AD_Client_ID,IsActive,Name,AD_Table_ID,CreatedBy,Updated,AD_ReportView_ID,AD_Org_ID,Created,UpdatedBy,EntityType) VALUES (0,'Y','RV_PP_Order_Storage',53032,0,TO_DATE('2007-12-17 06:13:03','YYYY-MM-DD HH24:MI:SS'),53002,0,TO_DATE('2007-12-17 06:13:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

UPDATE AD_Table SET Name='RV_PP_Order_Storage', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=NULL, IsDeleteable='N', TableName='RV_PP_Order_Storage', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='Y', IsChangeLog='N', ReplicationType='L', EntityType='EE01',Updated=TO_DATE('2007-12-17 06:13:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53032
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','N','N','Alphanumeric identifier of the entity','Y',1,'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.',0,'Y',53032,53753,'Name',0,0,255,'N',TO_DATE('2007-12-17 06:13:22','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 06:13:22','YYYY-MM-DD HH24:MI:SS'),469,'Y','N','N',0,'N','N','EE01')
;

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=53753 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53032,53754,'AD_Org_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:23','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:23','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53754 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','N','N','Unit of Measure','N','The UOM defines a unique non monetary Unit of Measure',0,'Y',53032,53755,'C_UOM_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:23','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:23','YYYY-MM-DD HH24:MI:SS'),215,'Y','N','N',0,'N','N','EE01')
;

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=53755 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53032,53756,'Created',0,0,29,'N',TO_DATE('2007-12-17 06:13:24','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:13:24','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53756 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53032,53757,'CreatedBy',0,0,10,'N',TO_DATE('2007-12-17 06:13:26','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:13:26','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53757 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53032,53758,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 06:13:27','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 06:13:27','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53758 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsCritical','N','N','N',0,'Y',53032,53759,'IsCritical',0,0,1,'N',TO_DATE('2007-12-17 06:13:28','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 06:13:28','YYYY-MM-DD HH24:MI:SS'),53251,'Y','N','N',0,'N','N','EE01')
;

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=53759 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsQtyPercentage','N','N','N',0,'Y',53032,53760,'IsQtyPercentage',0,0,1,'N',TO_DATE('2007-12-17 06:13:29','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:29','YYYY-MM-DD HH24:MI:SS'),53252,'Y','N','N',0,'N','N','EE01')
;

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=53760 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53032,53761,'M_AttributeSetInstance_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:31','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 06:13:31','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'N','N','EE01')
;

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=53761 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Locator','N','N','Warehouse Locator','N','The Locator indicates where in a Warehouse a product is located.',0,'Y',53032,53762,'M_Locator_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:32','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:32','YYYY-MM-DD HH24:MI:SS'),448,'Y','N','N',0,'N','N','EE01')
;

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=53762 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','N','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53032,53763,'M_Product_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:33','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:33','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53763 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','N','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',53032,53764,'M_Warehouse_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:34','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:34','YYYY-MM-DD HH24:MI:SS'),459,'Y','N','N',0,'N','N','EE01')
;

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=53764 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOMLine_ID','N','N','N',0,'Y',53032,53765,'PP_Order_BOMLine_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:35','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:35','YYYY-MM-DD HH24:MI:SS'),53275,'Y','N','N',0,'N','N','EE01')
;

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=53765 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOM_ID','N','N','N',0,'Y',53032,53766,'PP_Order_BOM_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:36','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:36','YYYY-MM-DD HH24:MI:SS'),53298,'Y','N','N',0,'N','N','EE01')
;

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=53766 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','N','N','N',0,'Y',53032,53767,'PP_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:37','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:37','YYYY-MM-DD HH24:MI:SS'),53276,'Y','N','N',0,'N','N','EE01')
;

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=53767 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Available Quantity','N','N','Available Quantity (On Hand - Reserved)','N','Quantity available to promise = On Hand minus Reserved Quantity',0,'Y',53032,53768,'QtyAvailable',0,0,10,'N',TO_DATE('2007-12-17 06:13:38','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:38','YYYY-MM-DD HH24:MI:SS'),2238,'Y','N','N',0,'N','N','EE01')
;

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=53768 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBOM','N','N','N',0,'Y',53032,53769,'QtyBOM',0,0,10,'N',TO_DATE('2007-12-17 06:13:39','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:39','YYYY-MM-DD HH24:MI:SS'),53255,'Y','N','N',0,'N','N','EE01')
;

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=53769 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatch','N','N','N',0,'Y',53032,53770,'QtyBatch',0,0,10,'N',TO_DATE('2007-12-17 06:13:40','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:40','YYYY-MM-DD HH24:MI:SS'),53256,'Y','N','N',0,'N','N','EE01')
;

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=53770 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyBatchSize','N','N','N',0,'Y',53032,53771,'QtyBatchSize',0,0,10,'N',TO_DATE('2007-12-17 06:13:41','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:41','YYYY-MM-DD HH24:MI:SS'),53243,'Y','N','N',0,'N','N','EE01')
;

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=53771 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('On Hand Quantity','N','N','On Hand Quantity','N','The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.',0,'Y',53032,53772,'QtyOnHand',0,0,10,'N',TO_DATE('2007-12-17 06:13:43','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:43','YYYY-MM-DD HH24:MI:SS'),530,'Y','N','N',0,'N','N','EE01')
;

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=53772 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyRequiered','N','N','N',0,'Y',53032,53773,'QtyRequiered',0,0,10,'N',TO_DATE('2007-12-17 06:13:45','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:45','YYYY-MM-DD HH24:MI:SS'),53288,'Y','N','N',0,'N','N','EE01')
;

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=53773 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Reserved Quantity','N','N','Reserved Quantity','N','The Reserved Quantity indicates the quantity of a product that is currently reserved.',0,'Y',53032,53774,'QtyReserved',0,0,10,'N',TO_DATE('2007-12-17 06:13:46','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:13:46','YYYY-MM-DD HH24:MI:SS'),532,'Y','N','N',0,'N','N','EE01')
;

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=53774 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53032,53775,'Updated',0,0,29,'N',TO_DATE('2007-12-17 06:13:47','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:13:47','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53775 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53032,53776,'UpdatedBy',0,0,10,'N',TO_DATE('2007-12-17 06:13:48','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:13:48','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53776 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Aisle (X)','N','N','X dimension, e.g., Aisle','N','The X dimension indicates the Aisle a product is located in.',0,'Y',53032,53777,'X',0,0,60,'N',TO_DATE('2007-12-17 06:13:49','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 06:13:49','YYYY-MM-DD HH24:MI:SS'),633,'Y','N','N',0,'N','N','EE01')
;

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=53777 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Bin (Y)','N','N','Y dimension, e.g., Bin','N','The Y dimension indicates the Bin a product is located in',0,'Y',53032,53778,'Y',0,0,60,'N',TO_DATE('2007-12-17 06:13:52','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 06:13:52','YYYY-MM-DD HH24:MI:SS'),635,'Y','N','N',0,'N','N','EE01')
;

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=53778 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53032,53779,'AD_Client_ID',0,0,10,'N',TO_DATE('2007-12-17 06:13:56','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:13:56','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53779 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Level (Z)','N','N','Z dimension, e.g., Level','N','The Z dimension indicates the Level a product is located in.',0,'Y',53032,53780,'Z',0,0,60,'N',TO_DATE('2007-12-17 06:13:56','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 06:13:56','YYYY-MM-DD HH24:MI:SS'),637,'Y','N','N',0,'N','N','EE01')
;

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=53780 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50005,'Y','Y',0,TO_DATE('2007-12-17 06:13:57','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 06:13:57','YYYY-MM-DD HH24:MI:SS'),0,53032,'Y',100,53002,'Component Check',0,100,0,0,'N',133,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:13:58','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53765,0,'Order BOM Line','Y','Order BOM Line',TO_DATE('2007-12-17 06:13:58','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50247,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50247 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:13:59','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53766,0,'Order Parent Product','Y','Order Parent Product',TO_DATE('2007-12-17 06:13:59','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50248,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50248 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53767,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 06:14:00','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50249,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50249 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53771,0,'Qty Batch Size','Y','Qty Batch Size',TO_DATE('2007-12-17 06:14:01','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50250,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50250 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53760,0,'Qty is Percentage','Y','Qty is Percentage',TO_DATE('2007-12-17 06:14:02','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50251,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50251 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53758,0,'Activo','Y','Activo',TO_DATE('2007-12-17 06:14:03','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50252,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50252 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53779,0,'Compañía','Y','Compañía',TO_DATE('2007-12-17 06:14:04','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50253,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50253 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53756,0,'Creado','Y','Creado',TO_DATE('2007-12-17 06:14:05','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50254,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50254 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53757,0,'Creado Por','Y','Creado Por',TO_DATE('2007-12-17 06:14:06','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50255,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50255 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53754,0,'Organización','Y','Organización',TO_DATE('2007-12-17 06:14:07','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50256,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50256 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53775,0,'Actualizado','Y','Actualizado',TO_DATE('2007-12-17 06:14:08','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50257,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50257 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53776,0,'Actualizado por','Y','Actualizado por',TO_DATE('2007-12-17 06:14:09','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50258,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50258 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:10','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53769,0,'Component Qty','Y','Component Qty',TO_DATE('2007-12-17 06:14:10','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50259,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50259 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53770,0,'Qty Batch','Y','Qty Batch',TO_DATE('2007-12-17 06:14:11','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50260,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50260 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53763,0,'Producto','Y','Producto',TO_DATE('2007-12-17 06:14:11','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50261,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50261 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',1,0,TO_DATE('2007-12-17 06:14:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53753,0,'Nombre','Y','Nombre',TO_DATE('2007-12-17 06:14:12','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50262,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50262 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53755,0,'UM','Y','UM',TO_DATE('2007-12-17 06:14:13','YYYY-MM-DD HH24:MI:SS'),'L',30,'N',0,0,0,50263,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50263 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53768,0,'Cantidad Disponible','Y','Cantidad Disponible',TO_DATE('2007-12-17 06:14:16','YYYY-MM-DD HH24:MI:SS'),'T',40,'N',0,0,0,50264,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50264 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53774,0,'Cantidad Reservada','Y','Cantidad Reservada',TO_DATE('2007-12-17 06:14:17','YYYY-MM-DD HH24:MI:SS'),'T',50,'N',0,0,0,50265,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50265 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53773,0,'Qty Requiered','Y','Qty Requiered',TO_DATE('2007-12-17 06:14:18','YYYY-MM-DD HH24:MI:SS'),'T',60,'N',0,0,0,50266,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50266 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:19','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53772,0,'Cantidad en Existencia','Y','Cantidad en Existencia',TO_DATE('2007-12-17 06:14:19','YYYY-MM-DD HH24:MI:SS'),'T',70,'N',0,0,0,50267,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50267 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:20','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53764,0,'Almacén','Y','Almacén',TO_DATE('2007-12-17 06:14:20','YYYY-MM-DD HH24:MI:SS'),'L',80,'N',0,0,0,50268,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50268 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53762,0,'Ubicación','Y','Localizador',TO_DATE('2007-12-17 06:14:21','YYYY-MM-DD HH24:MI:SS'),'L',90,'N',0,0,0,50269,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50269 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53761,0,'Instancia del Conjunto de Atributos','Y','Lote:',TO_DATE('2007-12-17 06:14:22','YYYY-MM-DD HH24:MI:SS'),'L',100,'N',0,0,0,50270,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50270 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:24','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53778,0,'Columna','Y','Columna',TO_DATE('2007-12-17 06:14:24','YYYY-MM-DD HH24:MI:SS'),'L',110,'N',0,0,0,50271,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50271 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53777,0,'Rack','Y','Rack',TO_DATE('2007-12-17 06:14:25','YYYY-MM-DD HH24:MI:SS'),'L',120,'N',0,0,0,50272,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50272 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53780,0,'Nivel ','Y','Nivel',TO_DATE('2007-12-17 06:14:26','YYYY-MM-DD HH24:MI:SS'),'L',130,'N',0,0,0,50273,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50273 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:14:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50005,'F','C','N','N','N',0,'N','N','N','N','X',53759,0,'Is Critical','Y','Is Critical',TO_DATE('2007-12-17 06:14:27','YYYY-MM-DD HH24:MI:SS'),'L',140,'N',0,0,0,50274,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50274 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,AD_ReportView_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Component Check',0,0,0,'Show if  components are available in the warehouse to Manufacturing Order',TO_DATE('2007-12-17 06:14:28','YYYY-MM-DD HH24:MI:SS'),53032,TO_DATE('2007-12-17 06:14:28','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Before you complete a MO it is necessary to validate the components are available in the warehouse, in order to track the components availability you get a report which shows among other data: the Required Quantity for the MO, the Reserved Quantity, the On Hand Quantity and the Available Quantity.','Y',53002,'N','3',0,'PP_Component Check','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53032 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53065,0,0,'Manufacturing Order','Y',22,'Manufacturing Order','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.',53032,TO_DATE('2007-12-17 06:14:29','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID','Y','N',0,0,30,TO_DATE('2007-12-17 06:14:29','YYYY-MM-DD HH24:MI:SS'),'N',10,53276,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53065 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)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Print & Release Order',0,0,0,'Once the planned orders of manufacture generated by MRP, have been aprobed, has been reached the date of liberation and has been verified that the required components are in existence, the orders are emitted to the plant for its manufacture.',TO_DATE('2007-12-17 06:14:30','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CompletePrintOrder',53034,TO_DATE('2007-12-17 06:14:30','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Once the planned orders of manufacture generated by MRP, have been aprobed, has been reached the date of liberation and has been verified that the required components are in existence, the orders are emitted to the plant for its manufacture. If you wish to print the warehouse and shop floor documentation you must tick the adequate check box:

If you tick the Print Pick List check box you will get a report with the required components and quantities to help the warehouse clerk to issue the material to the shop floor. The next report is an example of this:

If you tick the Print Pack List check box you will get a report with the required components and containing the material with a Component Type of Packing recorded in the BOM Window.

Another report which is part of the Manufacturing Order Release Package is the Workflow(Routing). 

You can print this report with tick in the Print Workflow check box and it shows to the shop floor personnel the necessary steps for the manufacture of the product. 

This Report contains the place where the product should be made, the standard times, the tools and necessary devices. 

If you wish to print this report tick the check box Print Workflow.','N','N','3',0,'PP_Print & Release Order','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53034 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,DefaultValue,IsMandatory,SeqNo,EntityType) VALUES (53066,0,0,'Is Print Pack List','Y',1,53034,TO_DATE('2007-12-17 06:14:31','YYYY-MM-DD HH24:MI:SS'),'IsPrintPackingList','Y','N',0,0,20,TO_DATE('2007-12-17 06:14:31','YYYY-MM-DD HH24:MI:SS'),'N','N',30,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53066 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,DefaultValue,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53067,0,0,'Complete','Y',1,'It is complete','Indication that this is complete',53034,TO_DATE('2007-12-17 06:14:33','YYYY-MM-DD HH24:MI:SS'),'IsComplete','Y','N',0,0,20,TO_DATE('2007-12-17 06:14:33','YYYY-MM-DD HH24:MI:SS'),'N','N',40,2047,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53067 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53068,0,0,'Is Print Pick List','Y',1,53034,TO_DATE('2007-12-17 06:14:38','YYYY-MM-DD HH24:MI:SS'),'IsPrintPickList','Y','N',0,0,20,TO_DATE('2007-12-17 06:14:38','YYYY-MM-DD HH24:MI:SS'),'N',20,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53068 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,DefaultValue,IsMandatory,SeqNo,EntityType) VALUES (53069,0,0,'Is Print Workflow','Y',1,53034,TO_DATE('2007-12-17 06:14:39','YYYY-MM-DD HH24:MI:SS'),'IsPrintWorkflow','Y','N',0,0,20,TO_DATE('2007-12-17 06:14:39','YYYY-MM-DD HH24:MI:SS'),'N','N',30,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53069 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53070,0,0,'Manufacturing Order','Y',40,'Manufacturing Order','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.',53034,TO_DATE('2007-12-17 06:14:40','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID','Y','N',0,0,30,TO_DATE('2007-12-17 06:14:40','YYYY-MM-DD HH24:MI:SS'),'Y',10,53276,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53070 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)
;

INSERT INTO AD_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,Help,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.VOrderReceiptIssue',0,TO_DATE('2007-12-17 06:14:41','YYYY-MM-DD HH24:MI:SS'),0,0,'Order Receipt & Issue','Order Receipt & Issue',53007,TO_DATE('2007-12-17 06:14:41','YYYY-MM-DD HH24:MI:SS'),'Y','The form shows at the upper side static information around the product and the manufacturing resource where it has to be made, it also shows a summary of the quantities to be controlled in the MO such as the Original and delivered quantities and the Quantity to deliver for the MO up to date.

If the production process requires production in batch, then the Qty Batchs shows the Number of batches the shop floor needs to do and the Qty Batch Size contains the size of every batch to be produced.


If you want to issue the MO components before you receive the finished product you should tick the checkbox Is Delivery, this case is recommended when you have a long to medium lead time and you want to have the inventory quantities as reliable as possible at every moment.

If you have small lead time and you wish to save clerk time then you must tick Is Backflush checkbox and you will receive the finished product at the same time you issue automatically the components

The Backflush Group field is used when you want to issue just components belonging to this group. (This characteristic could not be included in the current version).

At the lower part of the window you can find the list of every MO component, this can be modified according with the real products and quantities given to the shop floor.

The quantities to be issued are selected with the checkbox at the first column of the list of components. If the actual quantity is different from the standard quantity showed in the column Qty to deliver you should edit this field to enter the right quantity to be issued.

Finally a message box asks if you want to close the OM document, you should click the ok button if this MO does not have any more transactions and has to be closed.

','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53007 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53007,0,0,0,0,'Y',TO_DATE('2007-12-17 06:14:41','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 06:14:41','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'RV_PP_WIP','3','Y','N','N','RV_PP_WIP',TO_DATE('2007-12-17 06:14:42','YYYY-MM-DD HH24:MI:SS'),53033,0,TO_DATE('2007-12-17 06:14:42','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53033 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table RV_PP_WIP',0,0,'RV_PP_WIP',50000,1000000,'Y',53030,TO_DATE('2007-12-17 06:14:43','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:14:43','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_ReportView (AD_Client_ID,IsActive,Name,AD_Table_ID,CreatedBy,Updated,AD_ReportView_ID,AD_Org_ID,Created,UpdatedBy,EntityType) VALUES (0,'Y','RV_PP_Inventory in Process',53033,0,TO_DATE('2007-12-17 06:14:42','YYYY-MM-DD HH24:MI:SS'),53003,0,TO_DATE('2007-12-17 06:14:42','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,AD_ReportView_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Inventory in Process',0,0,0,'This report show the inventory in process',TO_DATE('2007-12-17 06:14:46','YYYY-MM-DD HH24:MI:SS'),53036,TO_DATE('2007-12-17 06:14:46','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This report show the inventory in process','Y',53003,'N','3',0,'RV_PP_Inventory in Process','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53036 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53071,0,0,'Date Promised','Y',0,'Date Order was promised','The Date Promised indicates the date, if any, that an Order was promised for.',53036,TO_DATE('2007-12-17 06:14:47','YYYY-MM-DD HH24:MI:SS'),'DatePromised','Y','Y',0,0,15,TO_DATE('2007-12-17 06:14:47','YYYY-MM-DD HH24:MI:SS'),'N',20,269,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53071 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53072,0,0,'Manufacturing Order','Y',0,'Manufacturing Order','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.',53036,TO_DATE('2007-12-17 06:14:48','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID','Y','N',0,0,19,TO_DATE('2007-12-17 06:14:48','YYYY-MM-DD HH24:MI:SS'),'N',10,53276,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53072 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)
;

UPDATE AD_Process_Para SET Name='Manufacturing Order', IsActive='Y', FieldLength=0, ValueMax=NULL, Description='Manufacturing Order', Help='Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.', AD_Process_ID=53036, ColumnName='PP_Order_ID', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, VFormat=NULL, AD_Reference_ID=19, DefaultValue=NULL, IsMandatory='N', SeqNo=10, ValueMin=NULL, AD_Element_ID=53276, EntityType='EE01',Updated=TO_DATE('2007-12-17 06:15:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53072
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'RV_PP_Order_Transactions','3','Y','N','N','RV_PP_Order_Transactions',TO_DATE('2007-12-17 06:15:05','YYYY-MM-DD HH24:MI:SS'),53034,0,TO_DATE('2007-12-17 06:15:05','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53034 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table RV_PP_Order_Transactions',0,0,'RV_PP_Order_Transactions',50000,1000000,'Y',53031,TO_DATE('2007-12-17 06:15:06','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:15:06','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_ReportView (AD_Client_ID,IsActive,Name,AD_Table_ID,CreatedBy,Updated,AD_ReportView_ID,AD_Org_ID,Created,UpdatedBy,EntityType) VALUES (0,'Y','RV_PP_Order_Transactions',53034,0,TO_DATE('2007-12-17 06:15:05','YYYY-MM-DD HH24:MI:SS'),53004,0,TO_DATE('2007-12-17 06:15:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

UPDATE AD_Table SET Name='Manufacturing Order Transactions VIEW', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=NULL, IsDeleteable='N', TableName='RV_PP_Order_Transactions', Description=NULL, IsHighVolume='N', ImportTable='N', IsView='Y', IsChangeLog='N', ReplicationType='L', EntityType='EE01',Updated=TO_DATE('2007-12-17 06:15:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53034
;

UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53034
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53034,53781,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 06:15:23','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 06:15:23','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53781 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53034,53782,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 06:15:24','YYYY-MM-DD HH24:MI:SS'),'Y',19,130,0,TO_DATE('2007-12-17 06:15:24','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53782 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User/Contact','N','N','User within the system - Internal or Business Partner Contact','N','The User identifies a unique user in the system. This could be an internal user or a business partner contact',110,0,'Y',53034,53783,'AD_User_ID',0,0,22,'N',TO_DATE('2007-12-17 06:15:25','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:15:25','YYYY-MM-DD HH24:MI:SS'),138,'Y','N','N',0,'N','N','EE01')
;

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=53783 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53034,53784,'Created',0,0,7,'N',TO_DATE('2007-12-17 06:15:26','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:15:26','YYYY-MM-DD HH24:MI:SS'),245,'Y','N','N',0,'N','N','EE01')
;

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=53784 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53034,53785,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 06:15:27','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:15:27','YYYY-MM-DD HH24:MI:SS'),246,'Y','N','N',0,'N','N','EE01')
;

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=53785 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Difference','N','N','Difference Quantity','N',0,'Y',53034,53786,'DifferenceQty',0,0,22,'N',TO_DATE('2007-12-17 06:15:28','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:28','YYYY-MM-DD HH24:MI:SS'),2526,'Y','N','N',0,'N','N','EE01')
;

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=53786 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document No','Y','N','Document sequence number of the document','N','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).',0,'Y',53034,53787,'DocumentNo',0,0,60,'N',TO_DATE('2007-12-17 06:15:30','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 06:15:30','YYYY-MM-DD HH24:MI:SS'),290,'Y','N','N',0,'N','N','EE01')
;

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=53787 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53034,53788,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 06:15:31','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 06:15:31','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53788 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Locator','N','N','Warehouse Locator','N','The Locator indicates where in a Warehouse a product is located.',0,'Y',53034,53789,'M_Locator_ID',0,0,22,'N',TO_DATE('2007-12-17 06:15:32','YYYY-MM-DD HH24:MI:SS'),'Y',31,0,TO_DATE('2007-12-17 06:15:32','YYYY-MM-DD HH24:MI:SS'),448,'Y','N','N',0,'N','N','EE01')
;

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=53789 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53034,53790,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 06:15:33','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 06:15:33','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53790 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Movement Date','N','N','Date a product was moved in or out of inventory','N','The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.',0,'Y',53034,53791,'MovementDate',0,0,7,'N',TO_DATE('2007-12-17 06:15:34','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 06:15:34','YYYY-MM-DD HH24:MI:SS'),1037,'Y','N','N',0,'N','N','EE01')
;

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=53791 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53034,53792,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 06:15:34','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 06:15:34','YYYY-MM-DD HH24:MI:SS'),53276,'Y','N','N',0,'N','N','EE01')
;

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=53792 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivered Quantity','Y','N','Delivered Quantity','N','The Delivered Quantity indicates the quantity of a product that has been delivered.',0,'Y',53034,53793,'QtyDelivered',0,0,22,'N',TO_DATE('2007-12-17 06:15:35','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:35','YYYY-MM-DD HH24:MI:SS'),528,'Y','N','N',0,'N','N','EE01')
;

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=53793 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53305,'QtyDeliveredLine','QtyDeliveredLine',0,0,0,0,'QtyDeliveredLine',TO_DATE('2007-12-17 06:15:36','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 06:15:36','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53305 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyDeliveredLine','Y','N','N',0,'Y',53034,53794,'QtyDeliveredLine',0,0,22,'N',TO_DATE('2007-12-17 06:15:36','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:36','YYYY-MM-DD HH24:MI:SS'),53305,'Y','N','N',0,'N','N','EE01')
;

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=53794 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53306,'QtyIssueScrapShouldBe','QtyIssueScrapShouldBe',0,0,0,0,'QtyIssueScrapShouldBe',TO_DATE('2007-12-17 06:15:39','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 06:15:39','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53306 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyIssueScrapShouldBe','N','N','N',0,'Y',53034,53795,'QtyIssueScrapShouldBe',0,0,22,'N',TO_DATE('2007-12-17 06:15:39','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:39','YYYY-MM-DD HH24:MI:SS'),53306,'Y','N','N',0,'N','N','EE01')
;

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=53795 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53307,'QtyIssueShouldBe','QtyIssueShouldBe',0,0,0,0,'QtyIssueShouldBe',TO_DATE('2007-12-17 06:15:41','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 06:15:41','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53307 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyIssueShouldBe','N','N','N',0,'Y',53034,53796,'QtyIssueShouldBe',0,0,22,'N',TO_DATE('2007-12-17 06:15:41','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:41','YYYY-MM-DD HH24:MI:SS'),53307,'Y','N','N',0,'N','N','EE01')
;

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=53796 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyScrap','Y','N','N',0,'Y',53034,53797,'QtyScrap',0,0,22,'N',TO_DATE('2007-12-17 06:15:44','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:44','YYYY-MM-DD HH24:MI:SS'),53289,'Y','N','N',0,'N','N','EE01')
;

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=53797 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53308,'QtyScrapLine','QtyScrapLine',0,0,0,0,'QtyScrapLine',TO_DATE('2007-12-17 06:15:45','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 06:15:45','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53308 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyScrapLine','Y','N','N',0,'Y',53034,53798,'QtyScrapLine',0,0,22,'N',TO_DATE('2007-12-17 06:15:45','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:45','YYYY-MM-DD HH24:MI:SS'),53308,'Y','N','N',0,'N','N','EE01')
;

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=53798 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Qty to deliver','N','N','N',0,'Y',53034,53799,'QtyToDeliver',0,0,22,'N',TO_DATE('2007-12-17 06:15:49','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:15:49','YYYY-MM-DD HH24:MI:SS'),1250,'Y','N','N',0,'N','N','EE01')
;

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=53799 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53034,53800,'Updated',0,0,7,'N',TO_DATE('2007-12-17 06:15:50','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:15:50','YYYY-MM-DD HH24:MI:SS'),607,'Y','N','N',0,'N','N','EE01')
;

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=53800 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53034,53801,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 06:15:51','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:15:51','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53801 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User Agent','N','N','Browser Used','N',110,0,'Y',53034,53802,'UserAgent',0,0,22,'N',TO_DATE('2007-12-17 06:15:52','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:15:52','YYYY-MM-DD HH24:MI:SS'),1704,'Y','N','N',0,'N','N','EE01')
;

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=53802 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50006,'Y','Y',0,TO_DATE('2007-12-17 06:15:54','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 06:15:54','YYYY-MM-DD HH24:MI:SS'),0,53034,'Y',100,53004,'Order Transactions',0,100,0,0,'N',130,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:15:55','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53785,0,'Created By','Y','Created By',TO_DATE('2007-12-17 06:15:55','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50275,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50275 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:15:56','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53783,0,'User/Contact','Y','User',TO_DATE('2007-12-17 06:15:56','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50276,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50276 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:15:57','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53802,0,'User Agent','Y','User Agent',TO_DATE('2007-12-17 06:15:57','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50277,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50277 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:15:58','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53788,0,'Active','Y','Active',TO_DATE('2007-12-17 06:15:58','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50278,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50278 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:15:59','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53781,0,'Client','Y','Client',TO_DATE('2007-12-17 06:15:59','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50279,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50279 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:00','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53784,0,'Created','Y','Created',TO_DATE('2007-12-17 06:16:00','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50280,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50280 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:01','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53782,0,'Organization','Y','Organization',TO_DATE('2007-12-17 06:16:01','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50281,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50281 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53800,0,'Updated','Y','Updated',TO_DATE('2007-12-17 06:16:02','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50282,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50282 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53801,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 06:16:03','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50283,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50283 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53793,0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 06:16:05','YYYY-MM-DD HH24:MI:SS'),'T',6,'N',0,0,0,50284,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50284 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53786,0,'Difference','Y','Difference',TO_DATE('2007-12-17 06:16:06','YYYY-MM-DD HH24:MI:SS'),'T',7,'N',0,0,0,50285,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50285 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53787,0,'Document No','Y','Document No',TO_DATE('2007-12-17 06:16:07','YYYY-MM-DD HH24:MI:SS'),'L',8,'N',0,0,0,50286,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50286 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53789,0,'Locator','Y','Locator',TO_DATE('2007-12-17 06:16:08','YYYY-MM-DD HH24:MI:SS'),'L',9,'N',0,0,0,50287,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50287 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53792,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 06:16:09','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50288,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50288 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50006, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53792, Name='Manufacturing Order', IsRelativePosition='Y', PrintName='Manufacturing Order', FieldAlignmentType='L', SeqNo=10, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:16:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50288
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50288
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53791,0,'Movement Date','Y','Movement Date',TO_DATE('2007-12-17 06:16:46','YYYY-MM-DD HH24:MI:SS'),'L',11,'N',0,0,0,50289,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50289 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:48','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53790,0,'Product','Y','Product',TO_DATE('2007-12-17 06:16:48','YYYY-MM-DD HH24:MI:SS'),'L',13,'N',0,0,0,50290,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50290 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:16:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53797,0,'Qty Scrap','Y','Qty Scrap',TO_DATE('2007-12-17 06:16:49','YYYY-MM-DD HH24:MI:SS'),'T',14,'N',0,0,0,50291,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50291 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50006, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53797, Name='Qty Scrap', IsRelativePosition='Y', PrintName='Qty Scrap', FieldAlignmentType='T', SeqNo=14, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 06:17:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50291
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50291
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:24','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53799,0,'Qty to deliver','Y','Qty to deliver',TO_DATE('2007-12-17 06:17:24','YYYY-MM-DD HH24:MI:SS'),'T',15,'N',0,0,0,50292,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50292 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53794,0,'Qty Delivered Line','Y','Qty Delivered Line',TO_DATE('2007-12-17 06:17:25','YYYY-MM-DD HH24:MI:SS'),'T',16,'N',0,0,0,50293,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50293 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53795,0,'Qty Issue Scrap Should Be','Y','Qty Issue Scrap Should Be',TO_DATE('2007-12-17 06:17:25','YYYY-MM-DD HH24:MI:SS'),'T',17,'N',0,0,0,50294,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50294 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53796,0,'Qty Issue Should be','Y','Qty Issue Should be',TO_DATE('2007-12-17 06:17:26','YYYY-MM-DD HH24:MI:SS'),'T',18,'N',0,0,0,50295,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50295 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50006,'F','C','N','N','N',0,'N','N','N','N','X',53798,0,'Qty Scrap Line','Y','Qty Scrap Line',TO_DATE('2007-12-17 06:17:27','YYYY-MM-DD HH24:MI:SS'),'T',19,'N',0,0,0,50296,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50296 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50007,'Y','Y',0,TO_DATE('2007-12-17 06:17:28','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 06:17:28','YYYY-MM-DD HH24:MI:SS'),0,53034,'Y',100,53004,'Order Transactions Copiar registro 14306576',0,100,0,0,'N',130,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:30','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53801,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 06:17:30','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50297,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50297 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:31','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53783,0,'Updated By Issue','Y','Updated By Issue',TO_DATE('2007-12-17 06:17:31','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50298,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50298 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:32','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53788,0,'Active','Y','Active',TO_DATE('2007-12-17 06:17:32','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50299,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50299 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:32','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53781,0,'Client','Y','Client',TO_DATE('2007-12-17 06:17:32','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50300,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50300 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:33','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53784,0,'Created','Y','Created',TO_DATE('2007-12-17 06:17:33','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50301,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50301 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:34','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53782,0,'Organization','Y','Organization',TO_DATE('2007-12-17 06:17:34','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50302,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50302 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:35','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53802,0,'CreatedByIssue','Y','CreatedByIssue',TO_DATE('2007-12-17 06:17:35','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50303,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50303 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:36','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53785,0,'Created By','Y','Created By',TO_DATE('2007-12-17 06:17:36','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50304,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50304 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:37','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53800,0,'Updated','Y','Updated',TO_DATE('2007-12-17 06:17:37','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50305,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50305 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:38','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53793,0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 06:17:38','YYYY-MM-DD HH24:MI:SS'),'T',6,'N',0,0,0,50306,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50306 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:39','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53786,0,'Difference','Y','Difference',TO_DATE('2007-12-17 06:17:39','YYYY-MM-DD HH24:MI:SS'),'T',7,'N',0,0,0,50307,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50307 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:40','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53787,0,'Document No','Y','Document No',TO_DATE('2007-12-17 06:17:40','YYYY-MM-DD HH24:MI:SS'),'L',8,'N',0,0,0,50308,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50308 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:41','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53789,0,'Locator','Y','Locator',TO_DATE('2007-12-17 06:17:41','YYYY-MM-DD HH24:MI:SS'),'L',9,'N',0,0,0,50309,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50309 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:42','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53792,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 06:17:42','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50310,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50310 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:43','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53791,0,'Movement Date','Y','Movement Date',TO_DATE('2007-12-17 06:17:43','YYYY-MM-DD HH24:MI:SS'),'L',11,'N',0,0,0,50311,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50311 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:44','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53790,0,'Product','Y','Product',TO_DATE('2007-12-17 06:17:44','YYYY-MM-DD HH24:MI:SS'),'L',13,'N',0,0,0,50312,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50312 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:45','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53797,0,'Qty Scrap','Y','Qty Scrap',TO_DATE('2007-12-17 06:17:45','YYYY-MM-DD HH24:MI:SS'),'T',14,'N',0,0,0,50313,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50313 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53799,0,'Qty to deliver','Y','Qty to deliver',TO_DATE('2007-12-17 06:17:46','YYYY-MM-DD HH24:MI:SS'),'T',15,'N',0,0,0,50314,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50314 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:48','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53794,0,'Qty Delivered Line','Y','Qty Delivered Line',TO_DATE('2007-12-17 06:17:48','YYYY-MM-DD HH24:MI:SS'),'T',16,'N',0,0,0,50315,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50315 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53795,0,'Qty Issue Scrap Should Be','Y','Qty Issue Scrap Should Be',TO_DATE('2007-12-17 06:17:49','YYYY-MM-DD HH24:MI:SS'),'T',17,'N',0,0,0,50316,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50316 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:50','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53796,0,'Qty Issue Should be','Y','Qty Issue Should be',TO_DATE('2007-12-17 06:17:50','YYYY-MM-DD HH24:MI:SS'),'T',18,'N',0,0,0,50317,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50317 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:17:51','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50007,'F','C','N','N','N',0,'N','N','N','N','X',53798,0,'Qty Scrap Line','Y','Qty Scrap Line',TO_DATE('2007-12-17 06:17:51','YYYY-MM-DD HH24:MI:SS'),'T',19,'N',0,0,0,50318,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50318 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_Process SET Name='Order Transactions', Statistic_Seconds=0, Description='Order Transactions', Classname=NULL, ProcedureName=NULL, IsActive='Y', Help='With this report we can verify the detail of every Manufacturing Order transaction executed with a Manufacturing Order including information like document number, quantities, products and the date in which the transactions were made, etc.', IsReport='Y', AD_ReportView_ID=53004, IsDirectPrint='N', AccessLevel='3', Statistic_Count=0, Value='RV_PP_Order_Transactions', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='EE01',Updated=TO_DATE('2007-12-17 06:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=120
;

UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=120
;

UPDATE AD_Process_Para SET Name='Sales Transaction', IsActive='Y', FieldLength=1, ValueMax=NULL, Description='This is a Sales Transaction', Help='The Sales Transaction checkbox indicates if this item is a Sales Transaction.', AD_Process_ID=120, ColumnName='IsSOTrx', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, VFormat=NULL, AD_Reference_ID=20, DefaultValue='Y', IsMandatory='N', SeqNo=20, ValueMin=NULL, EntityType='EE01',Updated=TO_DATE('2007-12-17 06:18:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=244
;

UPDATE AD_Process_Para SET Name='Date Ordered', IsActive='Y', FieldLength=11, ValueMax=NULL, Description='Date of Order', Help='Indicates the Date an item was ordered.', AD_Process_ID=120, ColumnName='DateOrdered', IsCentrallyMaintained='Y', IsRange='Y', DefaultValue2='@#Date@', VFormat=NULL, AD_Reference_ID=15, DefaultValue='@#Date@', IsMandatory='Y', SeqNo=10, ValueMin=NULL, EntityType='EE01',Updated=TO_DATE('2007-12-17 06:18:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=131
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53073,0,0,'Product','Y',22,'Product, Service, Item','Identifies an item which is either purchased or sold in this organization.',120,TO_DATE('2007-12-17 06:18:40','YYYY-MM-DD HH24:MI:SS'),'M_Product_ID','Y','N',0,0,30,TO_DATE('2007-12-17 06:18:40','YYYY-MM-DD HH24:MI:SS'),'N',30,454,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53073 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53074,0,0,'Movement Date','Y',22,'Date a product was moved in or out of inventory','The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.',120,TO_DATE('2007-12-17 06:18:40','YYYY-MM-DD HH24:MI:SS'),'MovementDate','Y','Y',0,0,15,TO_DATE('2007-12-17 06:18:40','YYYY-MM-DD HH24:MI:SS'),'N',20,1037,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53074 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53075,0,0,'Manufacturing Order','Y',22,'Manufacturing Order','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.',120,TO_DATE('2007-12-17 06:18:41','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID','Y','N',0,0,30,TO_DATE('2007-12-17 06:18:41','YYYY-MM-DD HH24:MI:SS'),'N',10,53276,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53075 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)
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 06:18:42','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:18:42','YYYY-MM-DD HH24:MI:SS'),0,'Spare parts',53010,'M',0,0,'Spare parts','N','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53010 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),53010,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),53010,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),53010,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:18:43','YYYY-MM-DD HH24:MI:SS'),53010,'Y',0,0,50001)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,WhereClause,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 06:18:44','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:18:44','YYYY-MM-DD HH24:MI:SS'),0,'Define Product','The Product Tab defines each product and identifies it for use in price lists and orders. The Location is the default location when receiving the stored product.',0,'N','Product',10,208,53044,53010,'(ProductType=''I'' or ProductType=''E'') and AD_Org_ID=1000026','N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53044 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:18:45','YYYY-MM-DD HH24:MI:SS'),0,53860,'Product, Service, Item',14,1402,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 06:18:45','YYYY-MM-DD HH24:MI:SS'),'Product',53044,'N','N',0,'N','EE01')
;

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=53860 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:45','YYYY-MM-DD HH24:MI:SS'),0,53861,'Client/Tenant for this installation.',14,1403,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 06:18:45','YYYY-MM-DD HH24:MI:SS'),'Client',53044,'N','N',10,'N','EE01')
;

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=53861 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:47','YYYY-MM-DD HH24:MI:SS'),0,53862,'Organizational entity within client',14,1404,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 06:18:47','YYYY-MM-DD HH24:MI:SS'),'Organization',53044,'Y','N',20,'N','EE01')
;

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=53862 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:49','YYYY-MM-DD HH24:MI:SS'),0,53863,'Search key for the record in the format required - must be unique',20,2011,'N',0,'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).',TO_DATE('2007-12-17 06:18:49','YYYY-MM-DD HH24:MI:SS'),'Search Key',53044,'N','N',30,'N','EE01')
;

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=53863 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:50','YYYY-MM-DD HH24:MI:SS'),0,53864,'Alphanumeric identifier of the entity',60,1410,'N',0,'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.',TO_DATE('2007-12-17 06:18:50','YYYY-MM-DD HH24:MI:SS'),'Name',53044,'N','N',40,'N','EE01')
;

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=53864 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:51','YYYY-MM-DD HH24:MI:SS'),0,53865,'Optional short description of the record',60,1411,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 06:18:51','YYYY-MM-DD HH24:MI:SS'),'Description',53044,'N','N',50,'N','EE01')
;

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=53865 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:52','YYYY-MM-DD HH24:MI:SS'),0,53866,'Comment or Hint',60,3015,'N',0,'The Help field contains a hint, comment or help about the use of this item.',TO_DATE('2007-12-17 06:18:52','YYYY-MM-DD HH24:MI:SS'),'Comment/Help',53044,'N','N',60,'N','EE01')
;

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=53866 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:53','YYYY-MM-DD HH24:MI:SS'),0,53867,'Additional information for a Document',60,3014,'N',0,'The Document Note is used for recording any additional information regarding this product.',TO_DATE('2007-12-17 06:18:53','YYYY-MM-DD HH24:MI:SS'),'Document Note',53044,'N','N',70,'N','EE01')
;

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=53867 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:54','YYYY-MM-DD HH24:MI:SS'),0,53868,'Bar Code (Universal Product Code or its superset European Article Number)',20,2304,'N',0,'Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ',TO_DATE('2007-12-17 06:18:54','YYYY-MM-DD HH24:MI:SS'),'UPC/EAN',53044,'N','N',80,'N','EE01')
;

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=53868 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:55','YYYY-MM-DD HH24:MI:SS'),0,53869,'Stock Keeping Unit',20,2305,'N',0,'The SKU indicates a user defined stock keeping unit.  It may be used for an additional bar code symbols or your own schema.',TO_DATE('2007-12-17 06:18:55','YYYY-MM-DD HH24:MI:SS'),'SKU',53044,'Y','N',90,'N','EE01')
;

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=53869 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:56','YYYY-MM-DD HH24:MI:SS'),0,53870,'The record is active in the system',1,1405,'N',0,'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.',TO_DATE('2007-12-17 06:18:56','YYYY-MM-DD HH24:MI:SS'),'Active',53044,'N','N',100,'N','EE01')
;

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=53870 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:57','YYYY-MM-DD HH24:MI:SS'),0,53871,'This is a summary entity',1,1413,'N',0,'A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.',TO_DATE('2007-12-17 06:18:57','YYYY-MM-DD HH24:MI:SS'),'Summary Level',53044,'Y','N',110,'N','EE01')
;

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=53871 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:58','YYYY-MM-DD HH24:MI:SS'),0,53872,'Category of a Product',14,2012,'N',0,'Identifies the category which this product belongs to.  Product categories are used for pricing and selection.',TO_DATE('2007-12-17 06:18:58','YYYY-MM-DD HH24:MI:SS'),'Product Category',53044,'N','N',120,'N','EE01')
;

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=53872 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:18:59','YYYY-MM-DD HH24:MI:SS'),0,53873,'Classification for grouping',1,3016,'N',0,'The Classification can be used to optionally group products.',TO_DATE('2007-12-17 06:18:59','YYYY-MM-DD HH24:MI:SS'),'Classification',53044,'Y','N',130,'N','EE01')
;

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=53873 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:00','YYYY-MM-DD HH24:MI:SS'),0,53874,'Tax Category',14,2019,'N',0,'The Tax Category provides a method of grouping similar taxes.  For example, Sales Tax or Value Added Tax.',TO_DATE('2007-12-17 06:19:00','YYYY-MM-DD HH24:MI:SS'),'Tax Category',53044,'N','N',140,'N','@IsSold@=''Y'' | @IsPurchased@=''Y'' & @IsSummary@=''N''','EE01')
;

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=53874 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:01','YYYY-MM-DD HH24:MI:SS'),0,53875,'Method for recording revenue',14,3909,'N',0,'The Revenue Recognition indicates how revenue will be recognized for this product',TO_DATE('2007-12-17 06:19:01','YYYY-MM-DD HH24:MI:SS'),'Revenue Recognition',53044,'Y','N',150,'N','@IsSold@=''Y''','EE01')
;

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=53875 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:03','YYYY-MM-DD HH24:MI:SS'),0,53876,'Unit of Measure',14,1760,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 06:19:03','YYYY-MM-DD HH24:MI:SS'),'UOM',53044,'N','N',160,'N','EE01')
;

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=53876 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:04','YYYY-MM-DD HH24:MI:SS'),0,53877,'Sales Representative or Company Agent',14,3391,'N',0,'The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.',TO_DATE('2007-12-17 06:19:04','YYYY-MM-DD HH24:MI:SS'),'Sales Representative',53044,'Y','N',170,'N','EE01')
;

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=53877 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:05','YYYY-MM-DD HH24:MI:SS'),0,53878,'Type of product',14,7795,'N',0,'The type of product also determines accounting consequences.',TO_DATE('2007-12-17 06:19:05','YYYY-MM-DD HH24:MI:SS'),'Product Type',53044,'N','N',180,'N','EE01')
;

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=53878 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:06','YYYY-MM-DD HH24:MI:SS'),0,53879,'Text templates for mailings',14,7972,'N',0,'The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',TO_DATE('2007-12-17 06:19:06','YYYY-MM-DD HH24:MI:SS'),'Mail Template',53044,'Y','N',190,'N','EE01')
;

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=53879 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:08','YYYY-MM-DD HH24:MI:SS'),0,53880,'Weight of a product',26,1767,'N',0,'The Weight indicates the weight  of the product in the Weight UOM of the Client',TO_DATE('2007-12-17 06:19:08','YYYY-MM-DD HH24:MI:SS'),'Weight',53044,'N','N',200,'N','@IsSummary@=''N'' & @ProductType@=I','EE01')
;

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=53880 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:09','YYYY-MM-DD HH24:MI:SS'),0,53881,'Volume of a product',26,1766,'N',0,'The Volume indicates the volume of the product in the Volume UOM of the Client',TO_DATE('2007-12-17 06:19:09','YYYY-MM-DD HH24:MI:SS'),'Volume',53044,'Y','N',210,'N','@IsSummary@=''N'' & @ProductType@=I','EE01')
;

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=53881 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:10','YYYY-MM-DD HH24:MI:SS'),0,53882,'Category of the Freight',14,9329,'N',0,'Freight Categories are used to calculate the Freight for the Shipper selected',TO_DATE('2007-12-17 06:19:10','YYYY-MM-DD HH24:MI:SS'),'Freight Category',53044,'N','N',220,'N','@IsSummary@=''N'' & @ProductType@=I','EE01')
;

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=53882 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:10','YYYY-MM-DD HH24:MI:SS'),0,53883,'Drop Shipments are sent from the Vendor directly to the Customer',1,12147,'N',0,'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.',TO_DATE('2007-12-17 06:19:10','YYYY-MM-DD HH24:MI:SS'),'Drop Shipment',53044,'Y','N',230,'N','@IsSummary@=''N'' & @ProductType@=I','EE01')
;

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=53883 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:11','YYYY-MM-DD HH24:MI:SS'),0,53884,'Organization stocks this product',1,1761,'N',0,'The Stocked check box indicates if this product is stocked by this Organization.',TO_DATE('2007-12-17 06:19:11','YYYY-MM-DD HH24:MI:SS'),'Stocked',53044,'N','N',240,'N','@IsSummary@=''N'' & @ProductType@=I','EE01')
;

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=53884 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:12','YYYY-MM-DD HH24:MI:SS'),0,53885,'Warehouse Locator',23,9420,'N',0,'The Locator indicates where in a Warehouse a product is located.',TO_DATE('2007-12-17 06:19:12','YYYY-MM-DD HH24:MI:SS'),'Locator',53044,'Y','N',250,'N','@IsSummary@=N & @ProductType@=I & @IsStocked@=Y','EE01')
;

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=53885 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:13','YYYY-MM-DD HH24:MI:SS'),0,53886,'Shelf width required',11,2307,'N',0,'The Shelf Width indicates the width dimension required on a shelf for a product',TO_DATE('2007-12-17 06:19:13','YYYY-MM-DD HH24:MI:SS'),'Shelf Width',53044,'N','N',260,'N','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','EE01')
;

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=53886 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:18','YYYY-MM-DD HH24:MI:SS'),0,53887,'Shelf height required',11,2308,'N',0,'The Shelf Height indicates the height dimension required on a shelf for a product',TO_DATE('2007-12-17 06:19:18','YYYY-MM-DD HH24:MI:SS'),'Shelf Height',53044,'Y','N',270,'N','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','EE01')
;

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=53887 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:19','YYYY-MM-DD HH24:MI:SS'),0,53888,'Shelf depth required',11,2309,'N',0,'The Shelf Depth indicates the depth dimension required on a shelf for a product ',TO_DATE('2007-12-17 06:19:19','YYYY-MM-DD HH24:MI:SS'),'Shelf Depth',53044,'N','N',280,'N','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','EE01')
;

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=53888 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:20','YYYY-MM-DD HH24:MI:SS'),0,53889,'Units Per Pallet',11,2310,'N',0,'The Units per Pallet indicates the number of units of this product which fit on a pallet.',TO_DATE('2007-12-17 06:19:20','YYYY-MM-DD HH24:MI:SS'),'Units Per Pallet',53044,'Y','N',290,'N','@IsSummary@=''N'' & @ProductType@=I & @IsStocked@=Y','EE01')
;

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=53889 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:21','YYYY-MM-DD HH24:MI:SS'),0,53890,'Bill of Materials',1,4708,'N',0,'The Bill of Materials check box indicates if this product consists of a bill of materials.',TO_DATE('2007-12-17 06:19:21','YYYY-MM-DD HH24:MI:SS'),'Bill of Materials',53044,'N','N',300,'N','@IsSummary@=''N'' & @ProductType@=I | @ProductType@=S','EE01')
;

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=53890 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:22','YYYY-MM-DD HH24:MI:SS'),0,53891,'The BOM configuration has been verified',1,4711,'N',0,'The Verified check box indicates if the configuration of this product has been verified.  This is used for products that consist of a bill of materials',TO_DATE('2007-12-17 06:19:22','YYYY-MM-DD HH24:MI:SS'),'Verified',53044,'Y','N',310,'N','@IsSummary@=''N'' & @IsBOM@=''Y''','EE01')
;

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=53891 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:23','YYYY-MM-DD HH24:MI:SS'),0,53892,23,4712,'N',0,TO_DATE('2007-12-17 06:19:23','YYYY-MM-DD HH24:MI:SS'),'Process Now',53044,'N','N',320,'N','@IsSummary@=''N'' & @IsBOM@=''Y'' & @IsVerified@=''N''','EE01')
;

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=53892 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:24','YYYY-MM-DD HH24:MI:SS'),0,53893,'Print detail BOM elements on the invoice',1,4709,'N',0,'The Print Details on Invoice indicates that the BOM element products will print on the Invoice as opposed to this product.',TO_DATE('2007-12-17 06:19:24','YYYY-MM-DD HH24:MI:SS'),'Print detail records on invoice ',53044,'N','N',330,'N','@IsSummary@=''N'' & @IsBOM@=''Y''','EE01')
;

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=53893 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:25','YYYY-MM-DD HH24:MI:SS'),0,53894,'Print detail BOM elements on the pick list',1,4710,'N',0,'The Print Details on Pick List indicates that the BOM element products will print on the Pick List as opposed to this product.',TO_DATE('2007-12-17 06:19:25','YYYY-MM-DD HH24:MI:SS'),'Print detail records on pick list',53044,'Y','N',340,'N','@IsSummary@=''N'' & @IsBOM@=''Y''','EE01')
;

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=53894 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:26','YYYY-MM-DD HH24:MI:SS'),0,53895,'Organization purchases this product',1,1762,'N',0,'The Purchased check box indicates if this product is purchased by this organization.',TO_DATE('2007-12-17 06:19:26','YYYY-MM-DD HH24:MI:SS'),'Purchased',53044,'N','N',350,'N','@IsSummary@=''N''','EE01')
;

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=53895 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:27','YYYY-MM-DD HH24:MI:SS'),0,53896,'Organization sells this product',1,1763,'N',0,'The Sold check box indicates if this product is sold by this organization.',TO_DATE('2007-12-17 06:19:27','YYYY-MM-DD HH24:MI:SS'),'Sold',53044,'Y','N',360,'N','@IsSummary@=''N''','EE01')
;

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=53896 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:27','YYYY-MM-DD HH24:MI:SS'),0,53897,'This product is no longer available',1,2703,'N',0,'The Discontinued check box indicates a product that has been discontinued.',TO_DATE('2007-12-17 06:19:27','YYYY-MM-DD HH24:MI:SS'),'Discontinued',53044,'N','N',370,'N','@IsSummary@=''N''','EE01')
;

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=53897 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:28','YYYY-MM-DD HH24:MI:SS'),0,53898,'Discontinued By',14,2704,'N',0,'The Discontinued By indicates the individual who discontinued this product',TO_DATE('2007-12-17 06:19:28','YYYY-MM-DD HH24:MI:SS'),'Discontinued by',53044,'Y','N',380,'N','@IsSummary@=''N'' & @Discontinued@=''Y''','EE01')
;

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=53898 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:29','YYYY-MM-DD HH24:MI:SS'),0,53899,'Expense report type',14,6771,'N',0,TO_DATE('2007-12-17 06:19:29','YYYY-MM-DD HH24:MI:SS'),'Expense Type',53044,'N','N',390,'Y','@ProductType@=E','EE01')
;

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=53899 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:30','YYYY-MM-DD HH24:MI:SS'),0,53900,'Resource',14,6773,'N',0,TO_DATE('2007-12-17 06:19:30','YYYY-MM-DD HH24:MI:SS'),'Resource',53044,'N','N',400,'Y','@ProductType@=R','EE01')
;

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=53900 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:31','YYYY-MM-DD HH24:MI:SS'),0,53901,'Type of subscription',14,10919,'N',0,'Subscription type and renewal frequency',TO_DATE('2007-12-17 06:19:31','YYYY-MM-DD HH24:MI:SS'),'Subscription Type',53044,'N','N',410,'N','EE01')
;

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=53901 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:32','YYYY-MM-DD HH24:MI:SS'),0,53902,'URL of  image',20,7962,'N',0,'URL of image; The image is not stored in the database, but retrieved at runtime. The image can be a gif, jpeg or png.',TO_DATE('2007-12-17 06:19:32','YYYY-MM-DD HH24:MI:SS'),'Image URL',53044,'N','N',420,'N','EE01')
;

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=53902 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:33','YYYY-MM-DD HH24:MI:SS'),0,53903,'URL for the description',20,7963,'N',0,TO_DATE('2007-12-17 06:19:33','YYYY-MM-DD HH24:MI:SS'),'Description URL',53044,'Y','N',430,'N','EE01')
;

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=53903 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 06:19:34','YYYY-MM-DD HH24:MI:SS'),0,53904,20,7973,'N',0,TO_DATE('2007-12-17 06:19:34','YYYY-MM-DD HH24:MI:SS'),'Version No',53044,'Y','N',450,'N','EE01')
;

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=53904 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:35','YYYY-MM-DD HH24:MI:SS'),0,53905,'Number of days the product is guaranteed or available',11,7974,'N',0,'If the value is 0, there is no limit to the availability or guarantee, otherwise the guarantee date is calculated by adding the days to the delivery date.',TO_DATE('2007-12-17 06:19:35','YYYY-MM-DD HH24:MI:SS'),'Guarantee Days',53044,'N','N',460,'N','EE01')
;

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=53905 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:36','YYYY-MM-DD HH24:MI:SS'),0,53906,'Minumum number of guarantee days',11,9889,'N',0,'When selecting batch/products with a guarantee date, the minimum left guarantee days for automatic picking.  You can pick any batch/product manually. ',TO_DATE('2007-12-17 06:19:36','YYYY-MM-DD HH24:MI:SS'),'Min Guarantee Days',53044,'Y','N',470,'N','EE01')
;

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=53906 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:37','YYYY-MM-DD HH24:MI:SS'),0,53907,'Product Attribute Set',14,8417,'N',0,'Define Product Attribute Sets to add additional attributes and values to the product. You need to define a Attribute Set if you want to enable Serial and Lot Number tracking.',TO_DATE('2007-12-17 06:19:37','YYYY-MM-DD HH24:MI:SS'),'Attribute Set',53044,'N','N',480,'N','EE01')
;

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=53907 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:38','YYYY-MM-DD HH24:MI:SS'),0,53908,'Product Attribute Set Instance',26,8418,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 06:19:38','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53044,'Y','N',490,'N','EE01')
;

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=53908 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:39','YYYY-MM-DD HH24:MI:SS'),0,53909,'If selected, the product is displayed in the inital or any empy search',1,10260,'N',0,'In the display of products in the Web Store, the product is displayed in the inital view or if no search criteria are entered. To be displayed, the product must be in the price list used.',TO_DATE('2007-12-17 06:19:39','YYYY-MM-DD HH24:MI:SS'),'Featured in Web Store',53044,'N','N',500,'N','EE01')
;

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=53909 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:40','YYYY-MM-DD HH24:MI:SS'),0,53910,'This is a Self-Service entry or this entry can be changed via Self-Service',1,10261,'N',0,'Self-Service allows users to enter data or update their data.  The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.',TO_DATE('2007-12-17 06:19:40','YYYY-MM-DD HH24:MI:SS'),'Self-Service',53044,'Y','N',510,'N','EE01')
;

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=53910 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_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 06:19:41','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:19:41','YYYY-MM-DD HH24:MI:SS'),0,'Define Replenishment','The Replenishment Tab defines the type of replenishment quantities.  This is used for automated ordering.',0,'N','Replenish',50,249,53045,53010,'N','N','Y','Y','N',NULL,'N','N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53045 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:42','YYYY-MM-DD HH24:MI:SS'),0,53911,'Client/Tenant for this installation.',14,1959,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 06:19:42','YYYY-MM-DD HH24:MI:SS'),'Client',53045,'N','N',10,'Y','EE01')
;

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=53911 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:43','YYYY-MM-DD HH24:MI:SS'),0,53912,'Organizational entity within client',14,1960,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 06:19:43','YYYY-MM-DD HH24:MI:SS'),'Organization',53045,'Y','N',20,'Y','EE01')
;

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=53912 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:44','YYYY-MM-DD HH24:MI:SS'),0,53913,'Product, Service, Item',14,1957,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 06:19:44','YYYY-MM-DD HH24:MI:SS'),'Product',53045,'N','N',30,'Y','EE01')
;

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=53913 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:45','YYYY-MM-DD HH24:MI:SS'),0,53914,'Storage Warehouse and Service Point',14,1958,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 06:19:45','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53045,'N','N',40,'N','EE01')
;

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=53914 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:47','YYYY-MM-DD HH24:MI:SS'),0,53915,'The record is active in the system',1,1961,'N',0,'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.',TO_DATE('2007-12-17 06:19:47','YYYY-MM-DD HH24:MI:SS'),'Active',53045,'N','N',50,'N','EE01')
;

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=53915 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:47','YYYY-MM-DD HH24:MI:SS'),0,53916,'Method for re-ordering a product',14,1966,'N',0,'The Replenish Type indicates if this product will be manually re-ordered, ordered when the quantity is below the minimum quantity or ordered when it is below the maximum quantity. If you select a custom replenishment type, you need to create a class implementing org.compiere.util.ReplenishInterface and set that on warehouse level.',TO_DATE('2007-12-17 06:19:47','YYYY-MM-DD HH24:MI:SS'),'Replenish Type',53045,'N','N',60,'N','EE01')
;

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=53916 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:48','YYYY-MM-DD HH24:MI:SS'),0,53917,'Minimum Inventory level for this product',26,1967,'N',0,'Indicates the minimum quantity of this product to be stocked in inventory.
',TO_DATE('2007-12-17 06:19:48','YYYY-MM-DD HH24:MI:SS'),'Minimum Level',53045,'N','N',70,'N','EE01')
;

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=53917 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:49','YYYY-MM-DD HH24:MI:SS'),0,53918,'Maximum Inventory level for this product',26,1968,'N',0,'Indicates the maximum quantity of this product to be stocked in inventory.',TO_DATE('2007-12-17 06:19:49','YYYY-MM-DD HH24:MI:SS'),'Maximum Level',53045,'N','N',80,'N','EE01')
;

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=53918 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_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,AD_Column_ID,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 06:19:50','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:19:50','YYYY-MM-DD HH24:MI:SS'),0,'Purchasing','The Purchasing Tab define the pricing and rules ( pack quantity UPC minimum order quantity) for each product.',0,'N','Purchasing',60,210,53046,53010,'N','N','Y','Y','N',NULL,'N',1420,'N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53046 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:51','YYYY-MM-DD HH24:MI:SS'),0,53919,'Client/Tenant for this installation.',14,1421,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 06:19:51','YYYY-MM-DD HH24:MI:SS'),'Client',53046,'N','N',10,'Y','EE01')
;

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=53919 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:52','YYYY-MM-DD HH24:MI:SS'),0,53920,'Organizational entity within client',14,1422,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 06:19:52','YYYY-MM-DD HH24:MI:SS'),'Organization',53046,'Y','N',20,'Y','EE01')
;

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=53920 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:54','YYYY-MM-DD HH24:MI:SS'),0,53921,'Product, Service, Item',26,1420,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 06:19:54','YYYY-MM-DD HH24:MI:SS'),'Product',53046,'N','N',30,'Y','EE01')
;

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=53921 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:54','YYYY-MM-DD HH24:MI:SS'),0,53922,'Identifies a Business Partner',26,2705,'N',0,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2007-12-17 06:19:54','YYYY-MM-DD HH24:MI:SS'),'Business Partner ',53046,'N','N',40,'N','EE01')
;

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=53922 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:55','YYYY-MM-DD HH24:MI:SS'),0,53923,'Method for rating vendors',11,4376,'N',0,'The Quality Rating indicates how a vendor is rated (higher number = higher quality)',TO_DATE('2007-12-17 06:19:55','YYYY-MM-DD HH24:MI:SS'),'Quality Rating',53046,'Y','N',50,'N','EE01')
;

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=53923 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:57','YYYY-MM-DD HH24:MI:SS'),0,53924,'The record is active in the system',1,2312,'N',0,'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.',TO_DATE('2007-12-17 06:19:57','YYYY-MM-DD HH24:MI:SS'),'Active',53046,'N','N',60,'N','EE01')
;

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=53924 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:58','YYYY-MM-DD HH24:MI:SS'),0,53925,'Use this Vendor for pricing and stock replenishment',1,4292,'N',0,'The Current Vendor indicates if prices are used and Product is reordered from this vendor',TO_DATE('2007-12-17 06:19:58','YYYY-MM-DD HH24:MI:SS'),'Current vendor',53046,'Y','N',70,'N','EE01')
;

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=53925 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:19:59','YYYY-MM-DD HH24:MI:SS'),0,53926,'Bar Code (Universal Product Code or its superset European Article Number)',20,4792,'N',0,'Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) ',TO_DATE('2007-12-17 06:19:59','YYYY-MM-DD HH24:MI:SS'),'UPC/EAN',53046,'N','N',80,'N','EE01')
;

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=53926 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:00','YYYY-MM-DD HH24:MI:SS'),0,53927,'The Currency for this record',14,3910,'N',0,'Indicates the Currency to be used when processing or reporting on this record',TO_DATE('2007-12-17 06:20:00','YYYY-MM-DD HH24:MI:SS'),'Currency',53046,'N','N',90,'N','EE01')
;

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=53927 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:00','YYYY-MM-DD HH24:MI:SS'),0,53928,'List Price',26,3019,'N',0,'The List Price is the official List Price in the document currency.',TO_DATE('2007-12-17 06:20:00','YYYY-MM-DD HH24:MI:SS'),'List Price',53046,'N','N',100,'N','EE01')
;

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=53928 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:01','YYYY-MM-DD HH24:MI:SS'),0,53929,'Effective Date of Price',14,3912,'N',0,'The Price Effective indicates the date this price is for. This allows you to enter future prices for products which will become effective when appropriate.',TO_DATE('2007-12-17 06:20:01','YYYY-MM-DD HH24:MI:SS'),'Price effective',53046,'Y','N',110,'N','EE01')
;

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=53929 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:03','YYYY-MM-DD HH24:MI:SS'),0,53930,'Price based on a purchase order',26,3911,'N',0,'The PO Price indicates the price for a product per the purchase order.',TO_DATE('2007-12-17 06:20:03','YYYY-MM-DD HH24:MI:SS'),'PO Price',53046,'N','N',120,'N','EE01')
;

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=53930 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:03','YYYY-MM-DD HH24:MI:SS'),0,53931,'(Included) Amount for copyright, etc.',26,7964,'N',0,TO_DATE('2007-12-17 06:20:03','YYYY-MM-DD HH24:MI:SS'),'Royalty Amount',53046,'Y','N',130,'N','EE01')
;

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=53931 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:04','YYYY-MM-DD HH24:MI:SS'),0,53932,'Price of the last purchase order for the product',26,3020,'N',0,'The Last PO Price indicates the last price paid (per the purchase order) for this product.',TO_DATE('2007-12-17 06:20:04','YYYY-MM-DD HH24:MI:SS'),'Last PO Price',53046,'N','N',140,'Y','EE01')
;

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=53932 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:05','YYYY-MM-DD HH24:MI:SS'),0,53933,'Price of the last invoice for the product',26,6712,'N',0,'The Last Invoice Price indicates the last price paid (per the invoice) for this product.',TO_DATE('2007-12-17 06:20:05','YYYY-MM-DD HH24:MI:SS'),'Last Invoice Price',53046,'Y','N',150,'Y','EE01')
;

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=53933 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:06','YYYY-MM-DD HH24:MI:SS'),0,53934,'Unit of Measure',14,2706,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 06:20:06','YYYY-MM-DD HH24:MI:SS'),'UOM',53046,'N','N',160,'N','EE01')
;

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=53934 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:07','YYYY-MM-DD HH24:MI:SS'),0,53935,'Minimum order quantity in UOM',26,3021,'N',0,'The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.',TO_DATE('2007-12-17 06:20:07','YYYY-MM-DD HH24:MI:SS'),'Minimum Order Qty',53046,'N','N',170,'N','EE01')
;

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=53935 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:09','YYYY-MM-DD HH24:MI:SS'),0,53936,'Package order size in UOM (e.g. order set of 5 units)',26,3022,'N',0,'The Order Pack Quantity indicates the number of units in each pack of this product.',TO_DATE('2007-12-17 06:20:09','YYYY-MM-DD HH24:MI:SS'),'Order Pack Qty',53046,'Y','N',180,'N','EE01')
;

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=53936 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:10','YYYY-MM-DD HH24:MI:SS'),0,53937,'Promised days between order and delivery',11,4377,'N',0,'The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.',TO_DATE('2007-12-17 06:20:10','YYYY-MM-DD HH24:MI:SS'),'Promised Delivery Time',53046,'N','N',190,'N','EE01')
;

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=53937 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:11','YYYY-MM-DD HH24:MI:SS'),0,53938,'Actual days between order and delivery',11,4378,'N',0,'The Actual Delivery Time indicates the number of days elapsed between placing an order and the delivery of the order',TO_DATE('2007-12-17 06:20:11','YYYY-MM-DD HH24:MI:SS'),'Actual Delivery Time',53046,'Y','N',200,'Y','EE01')
;

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=53938 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:12','YYYY-MM-DD HH24:MI:SS'),0,53939,'Fixed Cost Per Order',26,4379,'N',0,'The Cost Per Order indicates the fixed charge levied when an order for this product is placed.',TO_DATE('2007-12-17 06:20:12','YYYY-MM-DD HH24:MI:SS'),'Cost per Order',53046,'N','N',210,'N','EE01')
;

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=53939 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:13','YYYY-MM-DD HH24:MI:SS'),0,53940,'Product Key of the Business Partner',20,2709,'N',0,'The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.',TO_DATE('2007-12-17 06:20:13','YYYY-MM-DD HH24:MI:SS'),'Partner Product Key',53046,'N','N',220,'N','EE01')
;

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=53940 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:14','YYYY-MM-DD HH24:MI:SS'),0,53941,'Product Category of the Business Partner',20,2710,'N',0,'The Business Partner Category identifies the category used by the Business Partner for this product.',TO_DATE('2007-12-17 06:20:14','YYYY-MM-DD HH24:MI:SS'),'Partner Category',53046,'Y','N',230,'N','EE01')
;

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=53941 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:15','YYYY-MM-DD HH24:MI:SS'),0,53942,'Manufacturer of the Product',20,7965,'N',0,'The manufacturer of the Product (used if different from the Business Partner / Vendor)',TO_DATE('2007-12-17 06:20:15','YYYY-MM-DD HH24:MI:SS'),'Manufacturer',53046,'N','N',240,'N','EE01')
;

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=53942 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:17','YYYY-MM-DD HH24:MI:SS'),0,53943,'This product is no longer available',1,2711,'N',0,'The Discontinued check box indicates a product that has been discontinued.',TO_DATE('2007-12-17 06:20:17','YYYY-MM-DD HH24:MI:SS'),'Discontinued',53046,'N','N',250,'N','EE01')
;

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=53943 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:20:18','YYYY-MM-DD HH24:MI:SS'),0,53944,'Discontinued By',14,2712,'N',0,'The Discontinued By indicates the individual who discontinued this product',TO_DATE('2007-12-17 06:20:18','YYYY-MM-DD HH24:MI:SS'),'Discontinued by',53046,'Y','N',260,'N','@Discontinued@=''Y''','EE01')
;

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=53944 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_Table SET Name='Product Business Partner', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=NULL, IsDeleteable='Y', TableName='C_BPartner_Product', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 06:20:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=632
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10169
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=10169 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:21:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10165
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=10165 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Business Partner ', IsMandatory='Y', IsTranslated='N', Description='Identifies a Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='C_BPartner_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=230, AD_Element_ID=187, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:21:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10163
;

UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=10163 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:22:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10164
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=10164 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:22:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10162
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=10162 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10167
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=10167 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:23:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10170
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=10170 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='M_Product_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=231, AD_Element_ID=454, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:23:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10171
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=10171 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Manufacturer', IsMandatory='N', IsTranslated='N', Description='Manufacturer of the Product', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='Manufacturer', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=1915, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:23:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10176
;

UPDATE AD_Field SET Name='Manufacturer', Description='Manufacturer of the Product', Help='The manufacturer of the Product (used if different from the Business Partner / Vendor)' WHERE AD_Column_ID=10176 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Quality Rating', IsMandatory='N', IsTranslated='N', Description='Method for rating vendors', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Quality Rating indicates how a vendor is rated (higher number = higher quality)', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='QualityRating', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=22, AD_Val_Rule_ID=NULL, AD_Element_ID=1258, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:24:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10178
;

UPDATE AD_Field SET Name='Quality Rating', Description='Method for rating vendors', Help='The Quality Rating indicates how a vendor is rated (higher number = higher quality)' WHERE AD_Column_ID=10178 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Min Shelf Life Days', IsMandatory='Y', IsTranslated='N', Description='Minimum Shelf Life in days based on Product Instance Guarantee Date', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life less than the minum shelf life, unless you select "Show All"', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='ShelfLifeMinDays', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2264, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:24:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10172
;

UPDATE AD_Field SET Name='Min Shelf Life Days', Description='Minimum Shelf Life in days based on Product Instance Guarantee Date', Help='Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life less than the minum shelf life, unless you select "Show All"' WHERE AD_Column_ID=10172 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Min Shelf Life %', IsMandatory='Y', IsTranslated='N', Description='Minimum Shelf Life in percent based on Product Instance Guarantee Date', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, unless you select "Show All"', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='ShelfLifeMinPct', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=2240, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10166
;

UPDATE AD_Field SET Name='Min Shelf Life %', Description='Minimum Shelf Life in percent based on Product Instance Guarantee Date', Help='Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, unless you select "Show All"' WHERE AD_Column_ID=10166 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:25:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10161
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=10161 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:25:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10168
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=10168 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Partner Category', IsMandatory='N', IsTranslated='N', Description='Product Category of the Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Business Partner Category identifies the category used by the Business Partner for this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='VendorCategory', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=622, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:26:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10177
;

UPDATE AD_Field SET Name='Partner Category', Description='Product Category of the Business Partner', Help='The Business Partner Category identifies the category used by the Business Partner for this product.' WHERE AD_Column_ID=10177 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Partner Product Key', IsMandatory='N', IsTranslated='N', Description='Product Key of the Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=632, ColumnName='VendorProductNo', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=623, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:26:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10179
;

UPDATE AD_Field SET Name='Partner Product Key', Description='Product Key of the Business Partner', Help='The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.' WHERE AD_Column_ID=10179 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,AD_Column_ID,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 06:26:31','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:26:31','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner specific Information of a Product','Note that some information is for reference only!',0,'N','Business Partner',70,632,53047,53010,'N','N','N','Y','N',NULL,'N',10171,'N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53047 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:32','YYYY-MM-DD HH24:MI:SS'),0,53945,'Client/Tenant for this installation.',14,10169,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 06:26:32','YYYY-MM-DD HH24:MI:SS'),'Client',53047,'N','N',10,'Y','EE01')
;

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=53945 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:33','YYYY-MM-DD HH24:MI:SS'),0,53946,'Organizational entity within client',14,10165,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 06:26:33','YYYY-MM-DD HH24:MI:SS'),'Organization',53047,'Y','N',20,'Y','EE01')
;

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=53946 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:33','YYYY-MM-DD HH24:MI:SS'),0,53947,'Product, Service, Item',26,10171,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 06:26:33','YYYY-MM-DD HH24:MI:SS'),'Product',53047,'N','N',30,'Y','EE01')
;

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=53947 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (1,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:35','YYYY-MM-DD HH24:MI:SS'),0,53948,'Identifies a Business Partner',26,10163,'N',0,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2007-12-17 06:26:35','YYYY-MM-DD HH24:MI:SS'),'Business Partner ',53047,'N','N',40,'N','EE01')
;

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=53948 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:37','YYYY-MM-DD HH24:MI:SS'),0,53949,'Optional short description of the record',60,10167,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 06:26:37','YYYY-MM-DD HH24:MI:SS'),'Description',53047,'N','N',50,'N','EE01')
;

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=53949 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:38','YYYY-MM-DD HH24:MI:SS'),0,53950,'The record is active in the system',1,10170,'N',0,'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.',TO_DATE('2007-12-17 06:26:38','YYYY-MM-DD HH24:MI:SS'),'Active',53047,'N','N',60,'N','EE01')
;

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=53950 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:40','YYYY-MM-DD HH24:MI:SS'),0,53951,'Product Key of the Business Partner',20,10179,'N',0,'The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.',TO_DATE('2007-12-17 06:26:40','YYYY-MM-DD HH24:MI:SS'),'Partner Product Key',53047,'N','N',70,'N','EE01')
;

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=53951 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:41','YYYY-MM-DD HH24:MI:SS'),0,53952,'Product Category of the Business Partner',20,10177,'N',0,'The Business Partner Category identifies the category used by the Business Partner for this product.',TO_DATE('2007-12-17 06:26:41','YYYY-MM-DD HH24:MI:SS'),'Partner Category',53047,'Y','N',80,'N','EE01')
;

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=53952 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:42','YYYY-MM-DD HH24:MI:SS'),0,53953,'Manufacturer of the Product',20,10176,'N',0,'The manufacturer of the Product (used if different from the Business Partner / Vendor)',TO_DATE('2007-12-17 06:26:42','YYYY-MM-DD HH24:MI:SS'),'Manufacturer',53047,'N','N',90,'N','EE01')
;

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=53953 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:43','YYYY-MM-DD HH24:MI:SS'),0,53954,'Method for rating vendors',26,10178,'N',0,'The Quality Rating indicates how a vendor is rated (higher number = higher quality)',TO_DATE('2007-12-17 06:26:43','YYYY-MM-DD HH24:MI:SS'),'Quality Rating',53047,'Y','N',100,'N','EE01')
;

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=53954 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:44','YYYY-MM-DD HH24:MI:SS'),0,53955,'Minimum Shelf Life in percent based on Product Instance Guarantee Date',11,10166,'N',0,'Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, unless you select "Show All"',TO_DATE('2007-12-17 06:26:44','YYYY-MM-DD HH24:MI:SS'),'Min Shelf Life %',53047,'N','N',110,'N','EE01')
;

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=53955 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:26:45','YYYY-MM-DD HH24:MI:SS'),0,53956,'Minimum Shelf Life in days based on Product Instance Guarantee Date',11,10172,'N',0,'Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life less than the minum shelf life, unless you select "Show All"',TO_DATE('2007-12-17 06:26:45','YYYY-MM-DD HH24:MI:SS'),'Min Shelf Life Days',53047,'Y','N',120,'N','EE01')
;

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=53956 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_Table SET Name='Product Trl', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=140, IsDeleteable='Y', TableName='M_Product_Trl', Description='Product, Service, Item', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 06:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=312
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:27:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13008
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=13008 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3330
;

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=3330 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:28:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3324
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=3324 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:28:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3326
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=3326 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:28:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3327
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=3327 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Document Note', IsMandatory='N', IsTranslated='N', Description='Additional information for a Document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Document Note is used for recording any additional information regarding this product.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='DocumentNote', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=868, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:29:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3331
;

UPDATE AD_Field SET Name='Document Note', Description='Additional information for a Document', Help='The Document Note is used for recording any additional information regarding this product.' WHERE AD_Column_ID=3331 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:29:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3325
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=3325 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Translated', IsMandatory='Y', IsTranslated='N', Description='This column is translated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Translated checkbox indicates if this column is translated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='IsTranslated', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=420, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:30:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3332
;

UPDATE AD_Field SET Name='Translated', Description='This column is translated', Help='The Translated checkbox indicates if this column is translated.' WHERE AD_Column_ID=3332 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='M_Product_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=454, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3321
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=3321 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:31:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3328
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=3328 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3323
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=3323 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:32:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3329
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=3329 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Language', IsMandatory='Y', IsTranslated='N', Description='Language for this entity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Language identifies the language to use for display and formatting', AD_Reference_Value_ID=106, Version=0, IsActive='Y', AD_Table_ID=312, ColumnName='AD_Language', FieldLength=6, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=109, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:32:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3322
;

UPDATE AD_Field SET Name='Language', Description='Language for this entity', Help='The Language identifies the language to use for display and formatting' WHERE AD_Column_ID=3322 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 06:32:48','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:32:48','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Translation',120,312,53048,53010,'N','N','Y','Y','N',NULL,'N','N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53048 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:49','YYYY-MM-DD HH24:MI:SS'),0,53957,'Client/Tenant for this installation.',14,3323,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 06:32:49','YYYY-MM-DD HH24:MI:SS'),'Client',53048,'N','N',10,'Y','EE01')
;

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=53957 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:50','YYYY-MM-DD HH24:MI:SS'),0,53958,'Organizational entity within client',14,3324,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 06:32:50','YYYY-MM-DD HH24:MI:SS'),'Organization',53048,'Y','N',20,'Y','EE01')
;

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=53958 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:51','YYYY-MM-DD HH24:MI:SS'),0,53959,'Product, Service, Item',14,3321,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 06:32:51','YYYY-MM-DD HH24:MI:SS'),'Product',53048,'N','N',30,'Y','EE01')
;

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=53959 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:52','YYYY-MM-DD HH24:MI:SS'),0,53960,'Language for this entity',14,3322,'N',0,'The Language identifies the language to use for display and formatting',TO_DATE('2007-12-17 06:32:52','YYYY-MM-DD HH24:MI:SS'),'Language',53048,'N','N',40,'Y','EE01')
;

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=53960 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:53','YYYY-MM-DD HH24:MI:SS'),0,53961,'Alphanumeric identifier of the entity',60,3330,'N',0,'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.',TO_DATE('2007-12-17 06:32:53','YYYY-MM-DD HH24:MI:SS'),'Name',53048,'N','N',50,'N','EE01')
;

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=53961 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:55','YYYY-MM-DD HH24:MI:SS'),0,53962,'Additional information for a Document',60,3331,'N',0,'The Document Note is used for recording any additional information regarding this product.',TO_DATE('2007-12-17 06:32:55','YYYY-MM-DD HH24:MI:SS'),'Document Note',53048,'N','N',60,'N','EE01')
;

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=53962 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:56','YYYY-MM-DD HH24:MI:SS'),0,53963,'The record is active in the system',1,3325,'N',0,'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.',TO_DATE('2007-12-17 06:32:56','YYYY-MM-DD HH24:MI:SS'),'Active',53048,'N','N',70,'N','EE01')
;

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=53963 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:32:57','YYYY-MM-DD HH24:MI:SS'),0,53964,'This column is translated',1,3332,'N',0,'The Translated checkbox indicates if this column is translated.',TO_DATE('2007-12-17 06:32:57','YYYY-MM-DD HH24:MI:SS'),'Translated',53048,'N','N',80,'N','EE01')
;

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=53964 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_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 06:32:57','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:32:57','YYYY-MM-DD HH24:MI:SS'),0,'Activity Control Report',53011,'T','This window is reported the real issue the shop floor',0,0,'Activity Control','Y','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53011 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),53011,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),53011,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),53011,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 06:32:58','YYYY-MM-DD HH24:MI:SS'),53011,'Y',0,0,50001)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'Cost Collector','1','Y','N','Y','PP_Cost_Collector',TO_DATE('2007-12-17 06:32:59','YYYY-MM-DD HH24:MI:SS'),53035,0,TO_DATE('2007-12-17 06:32:59','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53035 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_Cost_Collector',0,0,'PP_Cost_Collector',50000,1000000,'Y',53032,TO_DATE('2007-12-17 06:32:59','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:32:59','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','Y',1,'Identifies an item which is either purchased or sold in this organization.',0,'Y',53035,53803,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:00','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 06:33:00','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53803 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_Cost_Collector (M_Product_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Trx Organization','N','N','Performing or initiating organization','N','The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',130,0,'Y',53035,53804,'AD_OrgTrx_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:02','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:33:02','YYYY-MM-DD HH24:MI:SS'),112,'Y','N','N',0,'N','N','EE01')
;

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=53804 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 PP_Cost_Collector ADD AD_OrgTrx_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53035,53805,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:03','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 06:33:03','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=53805 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 PP_Cost_Collector ADD AD_Org_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User/Contact','N','N','User within the system - Internal or Business Partner Contact','N','@#AD_User_ID@','The User identifies a unique user in the system. This could be an internal user or a business partner contact',0,'Y',53035,53806,'AD_User_ID',0,0,10,'N',TO_DATE('2007-12-17 06:33:05','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:33:05','YYYY-MM-DD HH24:MI:SS'),138,'Y','N','N',0,'N','N','EE01')
;

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=53806 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 PP_Cost_Collector ADD AD_User_ID NUMBER(10) DEFAULT  NULL 
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Activity','N','N','Business Activity','N','Activities indicate tasks that are performed and used to utilize Activity based Costing',0,'Y',53035,53807,'C_Activity_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:06','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:33:06','YYYY-MM-DD HH24:MI:SS'),1005,'Y','N','N',0,'N','N','EE01')
;

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=53807 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 PP_Cost_Collector ADD C_Activity_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Campaign','N','N','Marketing Campaign','N','The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',0,'Y',53035,53808,'C_Campaign_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:07','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:33:07','YYYY-MM-DD HH24:MI:SS'),550,'Y','N','N',0,'N','N','EE01')
;

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=53808 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 PP_Cost_Collector ADD C_Campaign_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Target Document Type','Y','N','Target document type for conversing documents','N','You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.',53233,0,'Y',53035,53809,'C_DocTypeTarget_ID',0,0,10,'N',TO_DATE('2007-12-17 06:33:11','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:33:11','YYYY-MM-DD HH24:MI:SS'),197,'N','N','N',0,'N','N','EE01')
;

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=53809 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 PP_Cost_Collector ADD C_DocTypeTarget_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Type','Y','N','Document type or rules','N','The Document Type determines document sequence and processing rules',53233,0,'Y',53035,53810,'C_DocType_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:12','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:33:12','YYYY-MM-DD HH24:MI:SS'),196,'Y','N','N',0,'org.eevolution.model.CalloutCostCollector.MovementType','N','N','EE01')
;

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=53810 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 PP_Cost_Collector ADD C_DocType_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Project','N','N','Financial Project','N','A Project allows you to track and control internal or external activities.',0,'Y',53035,53811,'C_Project_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:14','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:33:14','YYYY-MM-DD HH24:MI:SS'),208,'Y','N','N',0,'N','N','EE01')
;

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=53811 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 PP_Cost_Collector ADD C_Project_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','N','N','Unit of Measure','N','The UOM defines a unique non monetary Unit of Measure',0,'Y',53035,53812,'C_UOM_ID',0,0,10,'N',TO_DATE('2007-12-17 06:33:15','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:33:15','YYYY-MM-DD HH24:MI:SS'),215,'Y','N','N',0,'N','N','EE01')
;

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=53812 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 PP_Cost_Collector ADD C_UOM_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53035,53813,'Created',0,0,7,'N',TO_DATE('2007-12-17 06:33:16','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:33:16','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53813 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 PP_Cost_Collector ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53035,53814,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 06:33:18','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:33:18','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53814 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 PP_Cost_Collector ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Account Date','Y','N','Accounting Date','N','@#Date@','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.',0,'Y',53035,53815,'DateAcct',0,0,7,'N',TO_DATE('2007-12-17 06:33:20','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 06:33:20','YYYY-MM-DD HH24:MI:SS'),263,'Y','N','N',0,'N','N','EE01')
;

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=53815 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 PP_Cost_Collector ADD DateAcct DATE DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53035,53816,'Description',0,0,255,'N',TO_DATE('2007-12-17 06:33:27','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 06:33:27','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53816 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 PP_Cost_Collector ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,AD_Table_ID,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 06:33:28','YYYY-MM-DD HH24:MI:SS'),'Process_CostCollector',0,'1','e-Evolution, S.C.',0,0,'D','EE01','N','N',0,0,'U','Process_CostCollector',0,0,'P',53035,TO_DATE('2007-12-17 06:33:28','YYYY-MM-DD HH24:MI:SS'),50009,0,0,'(Manufacturing Cost Collector)','10000005',0,0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50009 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50009,0,0,0,TO_DATE('2007-12-17 06:33:29','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 06:33:29','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'--',0,0,'EE01','N','X',0,'(DocAuto)',0,0,0,7,154,'(DocAuto)','Y',TO_DATE('2007-12-17 06:33:29','YYYY-MM-DD HH24:MI:SS'),0,50030,50009,'D',0,0,TO_DATE('2007-12-17 06:33:29','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50030 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'(DocComplete)',0,0,0,251,151,'(DocComplete)','Y',TO_DATE('2007-12-17 06:33:30','YYYY-MM-DD HH24:MI:SS'),0,50031,50009,'D',0,0,TO_DATE('2007-12-17 06:33:30','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50031 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'PR',0,0,'EE01','N','X',0,'(DocPrepare)',0,0,0,250,3,'(DocPrepare)','Y',TO_DATE('2007-12-17 06:33:31','YYYY-MM-DD HH24:MI:SS'),0,50032,50009,'D',0,0,TO_DATE('2007-12-17 06:33:31','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50032 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50012,'EE01','N',50032,10,50031,0,0,TO_DATE('2007-12-17 06:33:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 06:33:32','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'(Start)',0,0,0,5,5,'(Start)','Y',TO_DATE('2007-12-17 06:33:33','YYYY-MM-DD HH24:MI:SS'),0,50033,50009,'Z',0,0,TO_DATE('2007-12-17 06:33:33','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50033 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50013,'EE01','Y',50033,10,50032,0,0,TO_DATE('2007-12-17 06:33:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 06:33:34','YYYY-MM-DD HH24:MI:SS'),0)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=181,Updated=TO_DATE('2007-12-17 06:33:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50009
;

INSERT INTO AD_Process (Name,AD_Workflow_ID,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Process Cost Collector',50009,0,0,0,TO_DATE('2007-12-17 06:33:36','YYYY-MM-DD HH24:MI:SS'),53038,TO_DATE('2007-12-17 06:33:36','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','N','N','3',0,'PP_Cost_Collector','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53038 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Action','N','N','The targeted status of the document','N','CO','You find the current status in the Document Status field. The options are listed in a popup',135,0,'Y',53035,53817,'DocAction',0,0,2,'N',TO_DATE('2007-12-17 06:33:38','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 06:33:38','YYYY-MM-DD HH24:MI:SS'),287,'Y','N','N',53038,0,'N','N','EE01')
;

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=53817 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 PP_Cost_Collector ADD DocAction CHAR(2) DEFAULT 'CO'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Status','N','N','The current status of the document','N','DR','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',131,0,'Y',53035,53818,'DocStatus',0,0,2,'N',TO_DATE('2007-12-17 06:33:39','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 06:33:39','YYYY-MM-DD HH24:MI:SS'),289,'Y','N','N',0,'N','N','EE01')
;

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=53818 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 PP_Cost_Collector ADD DocStatus CHAR(2) DEFAULT 'DR'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DurationReal','N','N','N',0,'Y',53035,53819,'DurationReal',0,0,22,'N',TO_DATE('2007-12-17 06:33:41','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 06:33:41','YYYY-MM-DD HH24:MI:SS'),53283,'Y','N','N',0,'N','N','EE01')
;

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=53819 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 PP_Cost_Collector ADD DurationReal NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53035,53820,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 06:33:42','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 06:33:42','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53820 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 PP_Cost_Collector ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53309,'IsBatchTime','IsBatchTime',0,0,0,0,'IsBatchTime',TO_DATE('2007-12-17 06:33:44','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 06:33:44','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53309 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('IsBatchTime','N','N','N','N',0,'Y',53035,53821,'IsBatchTime',0,0,1,'N',TO_DATE('2007-12-17 06:33:44','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 06:33:44','YYYY-MM-DD HH24:MI:SS'),53309,'Y','N','N',0,'N','N','EE01')
;

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=53821 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 PP_Cost_Collector ADD IsBatchTime CHAR(1) DEFAULT 'N' CHECK (IsBatchTime IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','N','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',0,'Y',53035,53822,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:48','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 06:33:48','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'N','N','EE01')
;

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=53822 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 PP_Cost_Collector ADD M_AttributeSetInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Locator','Y','N','Warehouse Locator','N','The Locator indicates where in a Warehouse a product is located.',0,'Y',53035,53823,'M_Locator_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:50','YYYY-MM-DD HH24:MI:SS'),'Y',31,0,TO_DATE('2007-12-17 06:33:50','YYYY-MM-DD HH24:MI:SS'),448,'Y','N','N',0,'N','N','EE01')
;

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=53823 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 PP_Cost_Collector ADD M_Locator_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','Y','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',53035,53824,'M_Warehouse_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:51','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:33:51','YYYY-MM-DD HH24:MI:SS'),459,'Y','N','N',0,'N','N','EE01')
;

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=53824 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 PP_Cost_Collector ADD M_Warehouse_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Movement Date','Y','N','Date a product was moved in or out of inventory','N','@#Date@','The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.',0,'Y',53035,53825,'MovementDate',0,0,7,'N',TO_DATE('2007-12-17 06:33:53','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:33:53','YYYY-MM-DD HH24:MI:SS'),1037,'Y','N','N',0,'N','N','EE01')
;

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=53825 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 PP_Cost_Collector ADD MovementDate DATE DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Movement Quantity','Y','N','Quantity of a product moved.','N','0','The Movement Quantity indicates the quantity of a product that has been moved.',0,'Y',53035,53826,'MovementQty',0,0,22,'N',TO_DATE('2007-12-17 06:33:54','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:33:54','YYYY-MM-DD HH24:MI:SS'),1038,'Y','N','N',0,'N','N','EE01')
;

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=53826 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 PP_Cost_Collector ADD MovementQty NUMBER DEFAULT 0 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Movement Type','N','N','Method of moving the inventory','N','The Movement Type indicates the type of movement (in, out, to production, etc)',189,0,'Y',53035,53827,'MovementType',0,0,2,'N',TO_DATE('2007-12-17 06:33:56','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 06:33:56','YYYY-MM-DD HH24:MI:SS'),1039,'Y','N','N',0,'N','N','EE01')
;

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=53827 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 PP_Cost_Collector ADD MovementType CHAR(2)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53310,'PP_Cost_Collector_ID','PP_Cost_Collector_ID',0,0,0,0,'PP_Cost_Collector_ID',TO_DATE('2007-12-17 06:33:57','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 06:33:57','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53310 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Cost_Collector_ID','Y','N','N',0,'Y',53035,53828,'PP_Cost_Collector_ID',0,0,22,'N',TO_DATE('2007-12-17 06:33:57','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 06:33:57','YYYY-MM-DD HH24:MI:SS'),53310,'N','Y','N',0,'N','N','EE01')
;

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=53828 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 PP_Cost_Collector ADD PP_Cost_Collector_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_Cost_Collector ADD CONSTRAINT PP_Cost_Collector_Key PRIMARY KEY (PP_Cost_Collector_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOMLine_ID','N','N','N',0,'Y',53035,53829,'PP_Order_BOMLine_ID',0,0,10,'N',TO_DATE('2007-12-17 06:34:00','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:34:00','YYYY-MM-DD HH24:MI:SS'),53275,'Y','N','N',0,'N','N','EE01')
;

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=53829 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 PP_Cost_Collector ADD PP_Order_BOMLine_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53035,53830,'PP_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 06:34:01','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 06:34:01','YYYY-MM-DD HH24:MI:SS'),53276,'Y','N','Y',0,'org.eevolution.model.CalloutCostCollector.Manufacture','N','N','EE01')
;

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=53830 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 PP_Cost_Collector ADD PP_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Node_ID','N','N','N',0,'Y',53035,53831,'PP_Order_Node_ID',0,0,10,'N',TO_DATE('2007-12-17 06:34:03','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:34:03','YYYY-MM-DD HH24:MI:SS'),53285,'Y','N','N',0,'org.eevolution.model.CalloutCostCollector.node','N','N','EE01')
;

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=53831 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 PP_Cost_Collector ADD PP_Order_Node_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_Workflow_ID','N','N','N',0,'Y',53035,53832,'PP_Order_Workflow_ID',0,0,10,'N',TO_DATE('2007-12-17 06:34:04','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:34:04','YYYY-MM-DD HH24:MI:SS'),53286,'Y','N','N',0,'N','N','EE01')
;

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=53832 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 PP_Cost_Collector ADD PP_Order_Workflow_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Posted','Y','N','Posting status','N','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ',0,'Y',53035,53833,'Posted',0,0,1,'N',TO_DATE('2007-12-17 06:34:05','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 06:34:05','YYYY-MM-DD HH24:MI:SS'),1308,'Y','N','N',0,'N','N','EE01')
;

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=53833 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 PP_Cost_Collector ADD Posted CHAR(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Processed','Y','N','The document has been processed','N','The Processed checkbox indicates that a document has been processed.',0,'Y',53035,53834,'Processed',0,0,1,'N',TO_DATE('2007-12-17 06:34:07','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 06:34:07','YYYY-MM-DD HH24:MI:SS'),1047,'Y','N','N',0,'N','N','EE01')
;

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=53834 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 PP_Cost_Collector ADD Processed CHAR(1) CHECK (Processed IN ('Y','N')) NOT NULL
;

UPDATE AD_Process SET Name='Process Cost Collector', AD_Workflow_ID=50009, Statistic_Seconds=0, Description=NULL, Classname=NULL, ProcedureName=NULL, IsActive='Y', Help=NULL, IsReport='N', IsDirectPrint='N', AccessLevel='3', Statistic_Count=0, Value='PP_Cost_Collector', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='EE01',Updated=TO_DATE('2007-12-17 06:34:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53038
;

UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53038
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process Now','N','N','N',0,'Y',53035,53835,'Processing',0,0,1,'N',TO_DATE('2007-12-17 06:34:33','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 06:34:33','YYYY-MM-DD HH24:MI:SS'),524,'Y','N','N',53038,0,'N','N','EE01')
;

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=53835 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 PP_Cost_Collector ADD Processing CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyReject','N','N','N','0',0,'Y',53035,53836,'QtyReject',0,0,22,'N',TO_DATE('2007-12-17 06:34:35','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:34:35','YYYY-MM-DD HH24:MI:SS'),53287,'Y','N','N',0,'N','N','EE01')
;

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=53836 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 PP_Cost_Collector ADD QtyReject NUMBER DEFAULT 0
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','Y','N','Resource','N',0,'Y',53035,53837,'S_Resource_ID',0,0,22,'N',TO_DATE('2007-12-17 06:34:39','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:34:39','YYYY-MM-DD HH24:MI:SS'),1777,'Y','N','N',0,'N','N','EE01')
;

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=53837 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 PP_Cost_Collector ADD S_Resource_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Scrapped Quantity','N','N','The Quantity scrapped due to QA issues','N','0',0,'Y',53035,53838,'ScrappedQty',0,0,22,'N',TO_DATE('2007-12-17 06:34:40','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:34:40','YYYY-MM-DD HH24:MI:SS'),2435,'Y','N','N',0,'N','N','EE01')
;

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=53838 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 PP_Cost_Collector ADD ScrappedQty NUMBER DEFAULT 0
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('SetupTimeReal','N','N','N','0',0,'Y',53035,53839,'SetupTimeReal',0,0,22,'N',TO_DATE('2007-12-17 06:34:42','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 06:34:42','YYYY-MM-DD HH24:MI:SS'),53290,'Y','N','N',0,'N','N','EE01')
;

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=53839 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 PP_Cost_Collector ADD SetupTimeReal NUMBER DEFAULT 0
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53035,53840,'Updated',0,0,7,'N',TO_DATE('2007-12-17 06:34:43','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:34:43','YYYY-MM-DD HH24:MI:SS'),607,'Y','N','N',0,'N','N','EE01')
;

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=53840 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 PP_Cost_Collector ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53035,53841,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 06:34:45','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:34:45','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=53841 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 PP_Cost_Collector ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 1','N','N','User defined list element #1','N','The user defined element displays the optional elements that have been defined for this account combination.',286,0,'Y',53035,53842,'User1_ID',0,0,22,'N',TO_DATE('2007-12-17 06:34:46','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:34:46','YYYY-MM-DD HH24:MI:SS'),613,'Y','N','N',0,'N','N','EE01')
;

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=53842 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 PP_Cost_Collector ADD User1_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53035,53843,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 06:34:47','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:34:47','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=53843 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 PP_Cost_Collector ADD AD_Client_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 2','N','N','User defined list element #2','N','The user defined element displays the optional elements that have been defined for this account combination.',286,0,'Y',53035,53844,'User2_ID',0,0,22,'N',TO_DATE('2007-12-17 06:34:49','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:34:49','YYYY-MM-DD HH24:MI:SS'),614,'Y','N','N',0,'N','N','EE01')
;

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=53844 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 PP_Cost_Collector ADD User2_ID NUMBER(10)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 06:34:51','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:34:51','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Activity Control',10,53035,53049,53011,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53049 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:52','YYYY-MM-DD HH24:MI:SS'),0,53965,'Warehouse Locator',22,53823,'N',0,'The Locator indicates where in a Warehouse a product is located.',TO_DATE('2007-12-17 06:34:52','YYYY-MM-DD HH24:MI:SS'),'Locator',53049,'Y','N',0,'N','EE01')
;

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=53965 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:53','YYYY-MM-DD HH24:MI:SS'),0,53966,'User defined list element #2',22,53844,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 06:34:53','YYYY-MM-DD HH24:MI:SS'),'User List 2',53049,'N','N',0,'N','EE01')
;

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=53966 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:54','YYYY-MM-DD HH24:MI:SS'),0,53967,'Performing or initiating organization',22,53804,'N',0,'The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',TO_DATE('2007-12-17 06:34:54','YYYY-MM-DD HH24:MI:SS'),'Trx Organization',53049,'N','N',0,'N','EE01')
;

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=53967 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:55','YYYY-MM-DD HH24:MI:SS'),0,53968,'User defined list element #1',22,53842,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 06:34:55','YYYY-MM-DD HH24:MI:SS'),'User List 1',53049,'N','N',0,'N','EE01')
;

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=53968 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:56','YYYY-MM-DD HH24:MI:SS'),0,53969,1,53835,'N',0,TO_DATE('2007-12-17 06:34:56','YYYY-MM-DD HH24:MI:SS'),'Process Now',53049,'Y','N',0,'N','EE01')
;

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=53969 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:57','YYYY-MM-DD HH24:MI:SS'),0,53970,10,53829,'N',0,TO_DATE('2007-12-17 06:34:57','YYYY-MM-DD HH24:MI:SS'),'PP_Order_BOMLine_ID',53049,'N','N',0,'N','EE01')
;

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=53970 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:58','YYYY-MM-DD HH24:MI:SS'),0,53971,'Business Activity',22,53807,'N',0,'Activities indicate tasks that are performed and used to utilize Activity based Costing',TO_DATE('2007-12-17 06:34:58','YYYY-MM-DD HH24:MI:SS'),'Activity',53049,'N','N',0,'N','EE01')
;

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=53971 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:34:59','YYYY-MM-DD HH24:MI:SS'),0,53972,'Marketing Campaign',22,53808,'N',0,'The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',TO_DATE('2007-12-17 06:34:59','YYYY-MM-DD HH24:MI:SS'),'Campaign',53049,'Y','N',0,'N','EE01')
;

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=53972 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:35:00','YYYY-MM-DD HH24:MI:SS'),0,53973,'Financial Project',22,53811,'N',0,'A Project allows you to track and control internal or external activities.',TO_DATE('2007-12-17 06:35:00','YYYY-MM-DD HH24:MI:SS'),'Project',53049,'N','N',0,'N','EE01')
;

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=53973 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:35:01','YYYY-MM-DD HH24:MI:SS'),0,53974,22,53828,'N',0,TO_DATE('2007-12-17 06:35:01','YYYY-MM-DD HH24:MI:SS'),'PP_Cost_Collector_ID',53049,'N','N',0,'N','EE01')
;

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=53974 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 06:35:02','YYYY-MM-DD HH24:MI:SS'),0,53975,'The targeted status of the document',2,53817,'N',0,'You find the current status in the Document Status field. The options are listed in a popup',TO_DATE('2007-12-17 06:35:02','YYYY-MM-DD HH24:MI:SS'),'Document Action',53049,'N','N',0,'N','EE01')
;

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=53975 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:03','YYYY-MM-DD HH24:MI:SS'),0,53976,'Client/Tenant for this installation.',22,53843,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 06:35:03','YYYY-MM-DD HH24:MI:SS'),'Client',53049,'N','N',10,'N','EE01')
;

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=53976 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:06','YYYY-MM-DD HH24:MI:SS'),0,53977,'Organizational entity within client',22,53805,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 06:35:06','YYYY-MM-DD HH24:MI:SS'),'Organization',53049,'Y','N',20,'N','EE01')
;

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=53977 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:07','YYYY-MM-DD HH24:MI:SS'),0,53978,22,53830,'N',0,TO_DATE('2007-12-17 06:35:07','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53049,'N','N',30,'N','EE01')
;

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=53978 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:08','YYYY-MM-DD HH24:MI:SS'),0,53979,'Target document type for conversing documents',0,53809,'N',0,'You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.',TO_DATE('2007-12-17 06:35:08','YYYY-MM-DD HH24:MI:SS'),'Target Document Type',53049,'N','N',40,'N','EE01')
;

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=53979 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:09','YYYY-MM-DD HH24:MI:SS'),0,53980,'Document type or rules',22,53810,'N',0,'The Document Type determines document sequence and processing rules',TO_DATE('2007-12-17 06:35:09','YYYY-MM-DD HH24:MI:SS'),'Document Type',53049,'N','N',50,'N','EE01')
;

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=53980 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:10','YYYY-MM-DD HH24:MI:SS'),0,53981,'Optional short description of the record',255,53816,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 06:35:10','YYYY-MM-DD HH24:MI:SS'),'Description',53049,'N','N',60,'N','EE01')
;

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=53981 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:11','YYYY-MM-DD HH24:MI:SS'),0,53982,'Resource',22,53837,'N',0,TO_DATE('2007-12-17 06:35:11','YYYY-MM-DD HH24:MI:SS'),'Resource',53049,'N','N',70,'N','EE01')
;

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=53982 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:12','YYYY-MM-DD HH24:MI:SS'),0,53983,'Storage Warehouse and Service Point',22,53824,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 06:35:12','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53049,'Y','N',80,'N','EE01')
;

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=53983 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:14','YYYY-MM-DD HH24:MI:SS'),0,53984,'Product, Service, Item',22,53803,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 06:35:14','YYYY-MM-DD HH24:MI:SS'),'Product',53049,'N','N',90,'N','EE01')
;

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=53984 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:15','YYYY-MM-DD HH24:MI:SS'),0,53985,'Product Attribute Set Instance',22,53822,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 06:35:15','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53049,'Y','N',100,'N','EE01')
;

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=53985 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:16','YYYY-MM-DD HH24:MI:SS'),0,53986,'The record is active in the system',1,53820,'N',0,'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.',TO_DATE('2007-12-17 06:35:16','YYYY-MM-DD HH24:MI:SS'),'Active',53049,'N','N',110,'N','EE01')
;

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=53986 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:17','YYYY-MM-DD HH24:MI:SS'),0,53987,10,53832,'N',0,TO_DATE('2007-12-17 06:35:17','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Workflow_ID',53049,'N','N',120,'N','EE01')
;

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=53987 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:18','YYYY-MM-DD HH24:MI:SS'),0,53988,'User within the system - Internal or Business Partner Contact',10,53806,'N',0,'The User identifies a unique user in the system. This could be an internal user or a business partner contact',TO_DATE('2007-12-17 06:35:18','YYYY-MM-DD HH24:MI:SS'),'User/Contact',53049,'Y','N',130,'N','EE01')
;

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=53988 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:19','YYYY-MM-DD HH24:MI:SS'),0,53989,'Date a product was moved in or out of inventory',7,53825,'N',0,'The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.',TO_DATE('2007-12-17 06:35:19','YYYY-MM-DD HH24:MI:SS'),'Movement Date',53049,'N','N',140,'N','EE01')
;

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=53989 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:20','YYYY-MM-DD HH24:MI:SS'),0,53990,'Accounting Date',7,53815,'N',0,'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.',TO_DATE('2007-12-17 06:35:20','YYYY-MM-DD HH24:MI:SS'),'Account Date',53049,'Y','N',150,'N','EE01')
;

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=53990 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:20','YYYY-MM-DD HH24:MI:SS'),0,53991,10,53831,'N',0,TO_DATE('2007-12-17 06:35:20','YYYY-MM-DD HH24:MI:SS'),'PP_Order_Node_ID',53049,'N','N',160,'N','EE01')
;

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=53991 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:21','YYYY-MM-DD HH24:MI:SS'),0,53992,1,53821,'N',0,TO_DATE('2007-12-17 06:35:21','YYYY-MM-DD HH24:MI:SS'),'IsBatchTime',53049,'N','N',170,'N','EE01')
;

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=53992 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:22','YYYY-MM-DD HH24:MI:SS'),0,53993,22,53819,'N',0,TO_DATE('2007-12-17 06:35:22','YYYY-MM-DD HH24:MI:SS'),'DurationReal',53049,'Y','N',180,'N','@IsBatchTime@=''N'' ','EE01')
;

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=53993 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:23','YYYY-MM-DD HH24:MI:SS'),0,53994,22,53839,'N',0,TO_DATE('2007-12-17 06:35:23','YYYY-MM-DD HH24:MI:SS'),'SetupTimeReal',53049,'Y','N',190,'N','@IsBatchTime@=''Y'' ','EE01')
;

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=53994 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:24','YYYY-MM-DD HH24:MI:SS'),0,53995,'Unit of Measure',10,53812,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 06:35:24','YYYY-MM-DD HH24:MI:SS'),'UOM',53049,'N','N',200,'N','EE01')
;

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=53995 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:25','YYYY-MM-DD HH24:MI:SS'),0,53996,'Quantity of a product moved.',22,53826,'N',0,'The Movement Quantity indicates the quantity of a product that has been moved.',TO_DATE('2007-12-17 06:35:25','YYYY-MM-DD HH24:MI:SS'),'Movement Quantity',53049,'N','N',210,'N','EE01')
;

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=53996 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:27','YYYY-MM-DD HH24:MI:SS'),0,53997,'The Quantity scrapped due to QA issues',22,53838,'N',0,TO_DATE('2007-12-17 06:35:27','YYYY-MM-DD HH24:MI:SS'),'Scrapped Quantity',53049,'Y','N',220,'N','EE01')
;

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=53997 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:27','YYYY-MM-DD HH24:MI:SS'),0,53998,22,53836,'N',0,TO_DATE('2007-12-17 06:35:27','YYYY-MM-DD HH24:MI:SS'),'QtyReject',53049,'N','N',230,'N','EE01')
;

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=53998 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:29','YYYY-MM-DD HH24:MI:SS'),0,53999,'The current status of the document',2,53818,'N',0,'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',TO_DATE('2007-12-17 06:35:29','YYYY-MM-DD HH24:MI:SS'),'Document Status',53049,'Y','N',240,'N','EE01')
;

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=53999 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:30','YYYY-MM-DD HH24:MI:SS'),0,54000,'The document has been processed',1,53834,'N',0,'The Processed checkbox indicates that a document has been processed.',TO_DATE('2007-12-17 06:35:30','YYYY-MM-DD HH24:MI:SS'),'Processed',53049,'N','N',250,'N','EE01')
;

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=54000 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:31','YYYY-MM-DD HH24:MI:SS'),0,54001,'Method of moving the inventory',2,53827,'N',0,'The Movement Type indicates the type of movement (in, out, to production, etc)',TO_DATE('2007-12-17 06:35:31','YYYY-MM-DD HH24:MI:SS'),'Movement Type',53049,'N','N',260,'N','EE01')
;

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=54001 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 06:35:32','YYYY-MM-DD HH24:MI:SS'),0,54002,'Posting status',1,53833,'N',0,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ',TO_DATE('2007-12-17 06:35:32','YYYY-MM-DD HH24:MI:SS'),'Posted',53049,'Y','N',270,'N','EE01')
;

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=54002 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'RV_PP_Operation_Activity','3','Y','N','N','RV_PP_Operation_Activity',TO_DATE('2007-12-17 06:35:32','YYYY-MM-DD HH24:MI:SS'),53036,0,TO_DATE('2007-12-17 06:35:32','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53036 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table RV_PP_Operation_Activity',0,0,'RV_PP_Operation_Activity',50000,1000000,'Y',53033,TO_DATE('2007-12-17 06:35:33','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 06:35:33','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_ReportView (AD_Client_ID,IsActive,Name,AD_Table_ID,CreatedBy,Updated,AD_ReportView_ID,AD_Org_ID,Created,UpdatedBy,EntityType) VALUES (0,'Y','RV_PP_Operation _Activity',53036,0,TO_DATE('2007-12-17 06:35:32','YYYY-MM-DD HH24:MI:SS'),53005,0,TO_DATE('2007-12-17 06:35:32','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

UPDATE AD_Table SET Name='RV_PP_Operation_Activity', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=NULL, IsDeleteable='N', TableName='RV_PP_Operation_Activity', Description=NULL, IsHighVolume='N', ImportTable='N', IsView='Y', IsChangeLog='N', ReplicationType='L', EntityType='EE01',Updated=TO_DATE('2007-12-17 06:35:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53036
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53036,53845,'AD_Client_ID',0,0,10,'N',TO_DATE('2007-12-17 06:35:48','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:35:48','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53845 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53036,53846,'AD_Org_ID',0,0,10,'N',TO_DATE('2007-12-17 06:35:50','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:35:50','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53846 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53036,53847,'Created',0,0,7,'N',TO_DATE('2007-12-17 06:35:51','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:35:51','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53847 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53036,53848,'CreatedBy',0,0,10,'N',TO_DATE('2007-12-17 06:35:52','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:35:52','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53848 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateFinishSchedule','N','N','N',0,'Y',53036,53849,'DateFinishSchedule',0,0,7,'N',TO_DATE('2007-12-17 06:35:53','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:35:53','YYYY-MM-DD HH24:MI:SS'),53278,'Y','N','N',0,'N','N','EE01')
;

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=53849 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStartSchedule','N','N','N',0,'Y',53036,53850,'DateStartSchedule',0,0,7,'N',TO_DATE('2007-12-17 06:35:54','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:35:54','YYYY-MM-DD HH24:MI:SS'),53281,'Y','N','N',0,'N','N','EE01')
;

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=53850 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Status','N','N','The current status of the document','N','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',131,0,'Y',53036,53851,'DocStatus',0,0,2,'N',TO_DATE('2007-12-17 06:35:55','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 06:35:55','YYYY-MM-DD HH24:MI:SS'),289,'Y','N','N',0,'N','N','EE01')
;

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=53851 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Duration','N','N','Normal Duration in Duration Unit','N','Expected (normal) Length of time for the execution',0,'Y',53036,53852,'Duration',0,0,22,'N',TO_DATE('2007-12-17 06:35:56','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 06:35:56','YYYY-MM-DD HH24:MI:SS'),2320,'Y','N','N',0,'N','N','EE01')
;

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=53852 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DurationReal','N','N','N',0,'Y',53036,53853,'DurationReal',0,0,22,'N',TO_DATE('2007-12-17 06:35:59','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 06:35:59','YYYY-MM-DD HH24:MI:SS'),53283,'Y','N','N',0,'N','N','EE01')
;

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=53853 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DurationRequiered','N','N','N',0,'Y',53036,53854,'DurationRequiered',0,0,22,'N',TO_DATE('2007-12-17 06:36:00','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 06:36:00','YYYY-MM-DD HH24:MI:SS'),53284,'Y','N','N',0,'N','N','EE01')
;

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=53854 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53036,53855,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 06:36:02','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 06:36:02','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53855 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','Y','N','N',0,'Y',53036,53856,'PP_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 06:36:02','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:36:02','YYYY-MM-DD HH24:MI:SS'),53276,'Y','N','N',0,'N','N','EE01')
;

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=53856 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivered Quantity','N','N','Delivered Quantity','N','The Delivered Quantity indicates the quantity of a product that has been delivered.',0,'Y',53036,53857,'QtyDelivered',0,0,22,'N',TO_DATE('2007-12-17 06:36:03','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:36:03','YYYY-MM-DD HH24:MI:SS'),528,'Y','N','N',0,'N','N','EE01')
;

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=53857 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyReject','N','N','N',0,'Y',53036,53858,'QtyReject',0,0,22,'N',TO_DATE('2007-12-17 06:36:04','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:36:04','YYYY-MM-DD HH24:MI:SS'),53287,'Y','N','N',0,'N','N','EE01')
;

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=53858 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyScrap','N','N','N',0,'Y',53036,53859,'QtyScrap',0,0,22,'N',TO_DATE('2007-12-17 06:36:05','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 06:36:05','YYYY-MM-DD HH24:MI:SS'),53289,'Y','N','N',0,'N','N','EE01')
;

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=53859 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','N','N','Resource','N',0,'Y',53036,53860,'S_Resource_ID',0,0,10,'N',TO_DATE('2007-12-17 06:36:07','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 06:36:07','YYYY-MM-DD HH24:MI:SS'),1777,'Y','N','N',0,'N','N','EE01')
;

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=53860 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53036,53861,'Updated',0,0,7,'N',TO_DATE('2007-12-17 06:36:08','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 06:36:08','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53861 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53036,53862,'UpdatedBy',0,0,10,'N',TO_DATE('2007-12-17 06:36:09','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 06:36:09','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53862 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','Y','N','Search key for the record in the format required - must be unique','N','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).',0,'Y',53036,53863,'Value',0,0,40,'N',TO_DATE('2007-12-17 06:36:10','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 06:36:10','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','EE01')
;

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=53863 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50008,'Y','Y',0,TO_DATE('2007-12-17 06:36:11','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 06:36:11','YYYY-MM-DD HH24:MI:SS'),0,53036,'Y',100,53005,'RV_PP_Operation_Activity &Copy Record 4622012',0,100,0,0,'N',130,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53855,0,'Active','Y','Active',TO_DATE('2007-12-17 06:36:12','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50319,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50319 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53859,0,'Qty Scrap','Y','Qty Scrap',TO_DATE('2007-12-17 06:36:14','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50320,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50320 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53858,0,'Qty Reject','Y','Qty Reject',TO_DATE('2007-12-17 06:36:14','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50321,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50321 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53846,0,'Organization','Y','Organization',TO_DATE('2007-12-17 06:36:15','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50322,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50322 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53862,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 06:36:16','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50323,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50323 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53863,0,'Search Key','Y','Search Key',TO_DATE('2007-12-17 06:36:17','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50324,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50324 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53861,0,'Updated','Y','Updated',TO_DATE('2007-12-17 06:36:18','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50325,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50325 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:20','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53845,0,'Client','Y','Client',TO_DATE('2007-12-17 06:36:20','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50326,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50326 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53847,0,'Created','Y','Created',TO_DATE('2007-12-17 06:36:21','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50327,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50327 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53848,0,'Created By','Y','Created By',TO_DATE('2007-12-17 06:36:21','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50328,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50328 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',10,0,TO_DATE('2007-12-17 06:36:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'Y','Y',0,50008,'F','C','N','N','N',0,'N','Y','N','N','X',53860,0,'Resource','Y','Resource',TO_DATE('2007-12-17 06:36:22','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50329,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50329 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53850,0,'Date Start Schedule','Y','Date Start Schedule',TO_DATE('2007-12-17 06:36:23','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50330,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50330 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',20,0,TO_DATE('2007-12-17 06:36:24','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53849,0,'Date Finish Schedule','Y','Date Finish Schedule',TO_DATE('2007-12-17 06:36:24','YYYY-MM-DD HH24:MI:SS'),'L',30,'N',0,0,0,50331,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50331 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53856,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 06:36:25','YYYY-MM-DD HH24:MI:SS'),'L',40,'N',0,0,0,50332,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50332 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','Y','N','N','X',53854,0,'Duration Requiered','Y','Duration Requiered',TO_DATE('2007-12-17 06:36:27','YYYY-MM-DD HH24:MI:SS'),'T',50,'N',0,0,0,50333,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50333 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','Y','N','N','X',53853,0,'DurationReal','Y','DurationReal',TO_DATE('2007-12-17 06:36:28','YYYY-MM-DD HH24:MI:SS'),'T',60,'N',0,0,0,50334,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50334 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:29','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53857,0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 06:36:29','YYYY-MM-DD HH24:MI:SS'),'T',70,'N',0,0,0,50335,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50335 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:30','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53851,0,'Document Status','Y','Doc Status',TO_DATE('2007-12-17 06:36:30','YYYY-MM-DD HH24:MI:SS'),'L',80,'N',0,0,0,50336,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50336 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:31','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50008,'F','C','N','N','N',0,'N','N','N','N','X',53852,0,'Duration','Y','Duration',TO_DATE('2007-12-17 06:36:31','YYYY-MM-DD HH24:MI:SS'),'T',90,'N',0,0,0,50337,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50337 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin,Description) VALUES ('N',50009,'Y','Y',0,TO_DATE('2007-12-17 06:36:32','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 06:36:32','YYYY-MM-DD HH24:MI:SS'),0,53036,'Y',100,53005,'Operation Activity',0,100,0,0,'N',130,0,'Operation Activity')
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:33','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53862,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 06:36:33','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50338,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50338 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:34','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53859,0,'Qty Scrap','Y','Qty Scrap',TO_DATE('2007-12-17 06:36:34','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50339,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50339 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:35','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53858,0,'Qty Reject','Y','Qty Reject',TO_DATE('2007-12-17 06:36:35','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50340,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50340 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:37','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53863,0,'Search Key','Y','Search Key',TO_DATE('2007-12-17 06:36:37','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50341,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50341 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:38','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53861,0,'Updated','Y','Updated',TO_DATE('2007-12-17 06:36:38','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50342,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50342 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:39','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53848,0,'Created By','Y','Created By',TO_DATE('2007-12-17 06:36:39','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50343,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50343 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:40','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53855,0,'Active','Y','Active',TO_DATE('2007-12-17 06:36:40','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50344,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50344 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:41','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53845,0,'Client','Y','Client',TO_DATE('2007-12-17 06:36:41','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50345,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50345 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:43','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53847,0,'Created','Y','Created',TO_DATE('2007-12-17 06:36:43','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50346,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50346 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:44','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53846,0,'Organization','Y','Organization',TO_DATE('2007-12-17 06:36:44','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50347,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50347 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',10,0,TO_DATE('2007-12-17 06:36:45','YYYY-MM-DD HH24:MI:SS'),'N',0,'Y','Y',0,50009,'F','C','N','N','N',0,'N','Y','N','N','X',53860,0,'Resource','Y','Resource',TO_DATE('2007-12-17 06:36:45','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50348,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50348 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53850,0,'Date Start Schedule','Y','Date Start Schedule',TO_DATE('2007-12-17 06:36:46','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50349,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50349 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',20,0,TO_DATE('2007-12-17 06:36:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53849,0,'Date Finish Schedule','Y','Date Finish Schedule',TO_DATE('2007-12-17 06:36:46','YYYY-MM-DD HH24:MI:SS'),'L',30,'N',0,0,0,50350,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50350 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:47','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53856,0,'Manufacturing Order','Y','Manufacturing Order',TO_DATE('2007-12-17 06:36:47','YYYY-MM-DD HH24:MI:SS'),'L',40,'N',0,0,0,50351,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50351 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','Y','N','N','X',53854,0,'Duration Requiered','Y','Duration Requiered',TO_DATE('2007-12-17 06:36:49','YYYY-MM-DD HH24:MI:SS'),'T',50,'N',0,0,0,50352,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50352 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:51','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','Y','N','N','X',53853,0,'DurationReal','Y','DurationReal',TO_DATE('2007-12-17 06:36:51','YYYY-MM-DD HH24:MI:SS'),'T',60,'N',0,0,0,50353,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50353 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:52','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53857,0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 06:36:52','YYYY-MM-DD HH24:MI:SS'),'T',70,'N',0,0,0,50354,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50354 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:53','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53851,0,'Document Status','Y','Doc Status',TO_DATE('2007-12-17 06:36:53','YYYY-MM-DD HH24:MI:SS'),'L',80,'N',0,0,0,50355,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50355 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 06:36:53','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50009,'F','C','N','N','N',0,'N','N','N','N','X',53852,0,'Duration','Y','Duration',TO_DATE('2007-12-17 06:36:53','YYYY-MM-DD HH24:MI:SS'),'T',90,'N',0,0,0,50356,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50356 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,AD_ReportView_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Shop Floor Transaction Details',0,0,0,'Show the Shop Floor Transaction Details',TO_DATE('2007-12-17 06:36:54','YYYY-MM-DD HH24:MI:SS'),53040,TO_DATE('2007-12-17 06:36:54','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Y',53005,'N','3',0,'RV_PP_Operation_Activity','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53040 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53076,0,0,'Document Status','Y',10,'The current status of the document','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',53040,TO_DATE('2007-12-17 06:36:56','YYYY-MM-DD HH24:MI:SS'),'DocStatus','Y','N',0,0,131,17,TO_DATE('2007-12-17 06:36:56','YYYY-MM-DD HH24:MI:SS'),'N',20,289,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53076 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53077,0,0,'Resource','Y',10,'Resource',53040,TO_DATE('2007-12-17 06:37:00','YYYY-MM-DD HH24:MI:SS'),'S_Resource_ID','Y','N',0,0,19,TO_DATE('2007-12-17 06:37:00','YYYY-MM-DD HH24:MI:SS'),'N',30,1777,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53077 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53078,0,0,'Date Finish Schedule','Y',22,'Indicate the Finish Shedule Date ','Is the date, scheduled by MRP, when the MO should be received by the warehouse.',53040,TO_DATE('2007-12-17 06:37:01','YYYY-MM-DD HH24:MI:SS'),'DateFinishSchedule','Y','Y',0,0,15,TO_DATE('2007-12-17 06:37:01','YYYY-MM-DD HH24:MI:SS'),'N',50,53278,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53078 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53079,0,0,'Date Start Schedule','Y',22,'Indicate the Start Schedule Date','Is the date, scheduled by MRP, when the MO should be released to the shop floor.',53040,TO_DATE('2007-12-17 06:37:03','YYYY-MM-DD HH24:MI:SS'),'DateStartSchedule','Y','Y',0,0,15,TO_DATE('2007-12-17 06:37:03','YYYY-MM-DD HH24:MI:SS'),'N',40,53281,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53079 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53080,0,0,'Manufacturing Order','Y',10,'Manufacturing Order','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.',53040,TO_DATE('2007-12-17 06:37:04','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID','Y','N',0,0,30,TO_DATE('2007-12-17 06:37:04','YYYY-MM-DD HH24:MI:SS'),'N',10,53276,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53080 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)
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 06:37:04','YYYY-MM-DD HH24:MI:SS'),'Distribution Management Setup',0,'3','Victor Perez',0,0,'D','EE01','N','N',0,0,'R','Setup Distribution Management',0,0,'G',TO_DATE('2007-12-17 06:37:04','YYYY-MM-DD HH24:MI:SS'),50010,0,0,'Setup Distribution Management','10000006',0,0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50010 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50010,0,0,0,TO_DATE('2007-12-17 06:37:05','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 06:37:05','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Freight Category',0,0,0,0,0,'Freight Category','Y',TO_DATE('2007-12-17 06:37:05','YYYY-MM-DD HH24:MI:SS'),0,50034,282,50010,'W',0,0,TO_DATE('2007-12-17 06:37:05','YYYY-MM-DD HH24:MI:SS'),0,'Maintain Freight Categories')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50034 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Inventory Move',0,0,0,0,0,'Inventory Move','Y',TO_DATE('2007-12-17 06:37:06','YYYY-MM-DD HH24:MI:SS'),0,50035,170,50010,'W',0,0,TO_DATE('2007-12-17 06:37:06','YYYY-MM-DD HH24:MI:SS'),0,'Inventory Move')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50035 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Shipper',0,0,0,0,0,'Shipper','Y',TO_DATE('2007-12-17 06:37:07','YYYY-MM-DD HH24:MI:SS'),0,50036,142,50010,'W',0,0,TO_DATE('2007-12-17 06:37:07','YYYY-MM-DD HH24:MI:SS'),0,'Maintain Shippers')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50036 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50034,Updated=TO_DATE('2007-12-17 06:37:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50010
;

UPDATE AD_Table SET Name='Freight Category', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=282, IsDeleteable='Y', TableName='M_FreightCategory', Description='Category of the Freight', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 06:37:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=595
;

UPDATE AD_Column SET Name='Search Key', IsMandatory='Y', IsTranslated='N', Description='Search key for the record in the format required - must be unique', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='Value', FieldLength=40, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=620, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:37:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9092
;

UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', Help='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).' WHERE AD_Column_ID=9092 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:38:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9083
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=9083 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:38:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9086
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=9086 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:39:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9084
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=9084 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:39:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9088
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=9088 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Comment/Help', IsMandatory='N', IsTranslated='N', Description='Comment or Hint', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Help field contains a hint, comment or help about the use of this item.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='Help', FieldLength=2000, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=14, AD_Val_Rule_ID=NULL, AD_Element_ID=326, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:40:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9090
;

UPDATE AD_Field SET Name='Comment/Help', Description='Comment or Hint', Help='The Help field contains a hint, comment or help about the use of this item.' WHERE AD_Column_ID=9090 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:40:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9094
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=9094 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Freight Category', IsMandatory='Y', IsTranslated='N', Description='Category of the Freight', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Freight Categories are used to calculate the Freight for the Shipper selected', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='M_FreightCategory_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2111, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:41:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9093
;

UPDATE AD_Field SET Name='Freight Category', Description='Category of the Freight', Help='Freight Categories are used to calculate the Freight for the Shipper selected' WHERE AD_Column_ID=9093 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:41:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9091
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=9091 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:41:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9085
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=9085 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:42:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9089
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=9089 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=595, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:42:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9087
;

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=9087 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Category of the Freight', Help='Freight Categories are used to calculate the Freight for the Shipper selected', OrderByClause=NULL, IsTranslationTab='N', Name='Freight Category', SeqNo=10, AD_Table_ID=595, AD_Window_ID=282, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=0, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:43:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=514
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=514
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Category of the Freight', DisplayLength=14, AD_Column_ID=9093, IsFieldOnly='N', Help='Freight Categories are used to calculate the Freight for the Shipper selected', Name='Freight Category', AD_Tab_ID=514, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7036
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=9091, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=514, IsSameLine='N', IsHeading='N', SeqNo=20, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:43:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7034
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=9083, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=514, IsSameLine='Y', IsHeading='N', SeqNo=30, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:43:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7030
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Search key for the record in the format required - must be unique', DisplayLength=20, AD_Column_ID=9092, IsFieldOnly='N', Help='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).', Name='Search Key', AD_Tab_ID=514, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:44:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7035
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=9087, IsFieldOnly='N', 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', AD_Tab_ID=514, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:44:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7031
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=9088, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=514, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:44:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7032
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Comment or Hint', DisplayLength=60, AD_Column_ID=9090, IsFieldOnly='N', Help='The Help field contains a hint, comment or help about the use of this item.', Name='Comment/Help', AD_Tab_ID=514, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:45:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7033
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=9094, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=514, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:45:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7037
;

UPDATE AD_Table SET Name='Freight', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=142, IsDeleteable='Y', TableName='M_Freight', Description='Freight Rate', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 06:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=596
;

UPDATE AD_Column SET Name='Valid from', IsMandatory='Y', IsTranslated='N', Description='Valid from including this date (first day)', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Valid From date indicates the first day of a date range', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='ValidFrom', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=617, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:46:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9107
;

UPDATE AD_Field SET Name='Valid from', Description='Valid from including this date (first day)', Help='The Valid From date indicates the first day of a date range' WHERE AD_Column_ID=9107 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:46:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9111
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=9111 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Country', IsMandatory='N', IsTranslated='N', Description='Country ', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Country defines a Country.  Each Country must be defined before it can be used in any document.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='C_Country_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=192, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:46:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9109
;

UPDATE AD_Field SET Name='Country', Description='Country ', Help='The Country defines a Country.  Each Country must be defined before it can be used in any document.' WHERE AD_Column_ID=9109 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Currency', IsMandatory='Y', IsTranslated='N', Description='The Currency for this record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Indicates the Currency to be used when processing or reporting on this record', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='C_Currency_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=193, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:47:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9103
;

UPDATE AD_Field SET Name='Currency', Description='The Currency for this record', Help='Indicates the Currency to be used when processing or reporting on this record' WHERE AD_Column_ID=9103 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Region', IsMandatory='N', IsTranslated='N', Description='Identifies a geographical Region', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Region identifies a unique Region for this Country.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='C_Region_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=209, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:47:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9099
;

UPDATE AD_Field SET Name='Region', Description='Identifies a geographical Region', Help='The Region identifies a unique Region for this Country.' WHERE AD_Column_ID=9099 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:48:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9101
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=9101 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:48:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9098
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=9098 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Freight Amount', IsMandatory='Y', IsTranslated='N', Description='Freight Amount ', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Freight Amount indicates the amount charged for Freight in the document currency.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='FreightAmt', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=306, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:49:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9105
;

UPDATE AD_Field SET Name='Freight Amount', Description='Freight Amount ', Help='The Freight Amount indicates the amount charged for Freight in the document currency.' WHERE AD_Column_ID=9105 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:49:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9106
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=9106 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:50:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9100
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=9100 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:50:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9096
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=9096 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Freight', IsMandatory='Y', IsTranslated='N', Description='Freight Rate', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Freight Rate for Shipper', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='M_Freight_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=2110, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9095
;

UPDATE AD_Field SET Name='Freight', Description='Freight Rate', Help='Freight Rate for Shipper' WHERE AD_Column_ID=9095 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='C_Country', Description='Country selection', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 06:51:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=156
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=156
;

UPDATE AD_Ref_Table SET AD_Table_ID = 170, AD_Display = 949, AD_Key = 941, isValueDisplayed = 'N', OrderByClause = 'C_Country.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 156
;

UPDATE AD_Column SET Name='To', IsMandatory='N', IsTranslated='N', Description='Receiving Country', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The To Country indicates the receiving country on a document', AD_Reference_Value_ID=156, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='To_Country_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=594, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9110
;

UPDATE AD_Field SET Name='To', Description='Receiving Country', Help='The To Country indicates the receiving country on a document' WHERE AD_Column_ID=9110 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='C_Region', Description='Region selection', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 06:51:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=157
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=157
;

UPDATE AD_Ref_Table SET AD_Table_ID = 164, AD_Display = 864, AD_Key = 856, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 157
;

UPDATE AD_Column SET Name='To', IsMandatory='N', IsTranslated='N', Description='Receiving Region', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The To Region indicates the receiving region on a document', AD_Reference_Value_ID=157, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='To_Region_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=595, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:52:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9108
;

UPDATE AD_Field SET Name='To', Description='Receiving Region', Help='The To Region indicates the receiving region on a document' WHERE AD_Column_ID=9108 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:52:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9104
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=9104 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Shipper', IsMandatory='Y', IsTranslated='N', Description='Method or manner of product delivery', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='The Shipper indicates the method of delivering product', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='M_Shipper_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=455, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:52:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9102
;

UPDATE AD_Field SET Name='Shipper', Description='Method or manner of product delivery', Help='The Shipper indicates the method of delivering product' WHERE AD_Column_ID=9102 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Freight Category', IsMandatory='Y', IsTranslated='N', Description='Category of the Freight', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue=NULL, Help='Freight Categories are used to calculate the Freight for the Shipper selected', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=596, ColumnName='M_FreightCategory_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=2111, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:53:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9097
;

UPDATE AD_Field SET Name='Freight Category', Description='Category of the Freight', Help='Freight Categories are used to calculate the Freight for the Shipper selected' WHERE AD_Column_ID=9097 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Freight Rates', Help='Freight Rates for Shipper', OrderByClause=NULL, IsTranslationTab='N', Name='Freight', SeqNo=20, AD_Table_ID=596, AD_Window_ID=142, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=1, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:53:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=513
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=513
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Freight Rate', DisplayLength=14, AD_Column_ID=9095, IsFieldOnly='N', Help='Freight Rate for Shipper', Name='Freight', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:53:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7051
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=9096, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:54:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7052
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=9111, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=513, IsSameLine='Y', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:54:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7063
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Method or manner of product delivery', DisplayLength=14, AD_Column_ID=9102, IsFieldOnly='N', Help='The Shipper indicates the method of delivering product', Name='Shipper', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:54:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7055
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=9106, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:55:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7058
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Category of the Freight', DisplayLength=14, AD_Column_ID=9097, IsFieldOnly='N', Help='Freight Categories are used to calculate the Freight for the Shipper selected', Name='Freight Category', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:55:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7053
;

UPDATE AD_Field SET SortNo=2, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Valid from including this date (first day)', DisplayLength=14, AD_Column_ID=9107, IsFieldOnly='N', Help='The Valid From date indicates the first day of a date range', Name='Valid from', AD_Tab_ID=513, IsSameLine='Y', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:55:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7059
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The Currency for this record', DisplayLength=14, AD_Column_ID=9103, IsFieldOnly='N', Help='Indicates the Currency to be used when processing or reporting on this record', Name='Currency', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:55:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7056
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Freight Amount ', DisplayLength=26, AD_Column_ID=9105, IsFieldOnly='N', Help='The Freight Amount indicates the amount charged for Freight in the document currency.', Name='Freight Amount', AD_Tab_ID=513, IsSameLine='Y', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:56:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7057
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Country ', DisplayLength=14, AD_Column_ID=9109, IsFieldOnly='N', Help='The Country defines a Country.  Each Country must be defined before it can be used in any document.', Name='Country', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:56:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7061
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Receiving Country', DisplayLength=14, AD_Column_ID=9110, IsFieldOnly='N', Help='The To Country indicates the receiving country on a document', Name='To', AD_Tab_ID=513, IsSameLine='Y', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:56:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7062
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Identifies a geographical Region', DisplayLength=14, AD_Column_ID=9099, IsFieldOnly='N', Help='The Region identifies a unique Region for this Country.', Name='Region', AD_Tab_ID=513, IsSameLine='N', IsHeading='N', SeqNo=120, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:56:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7054
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Receiving Region', DisplayLength=14, AD_Column_ID=9108, IsFieldOnly='N', Help='The To Region indicates the receiving region on a document', Name='To', AD_Tab_ID=513, IsSameLine='Y', IsHeading='N', SeqNo=130, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 06:57:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7060
;

UPDATE AD_Table SET Name='Shipper', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=142, IsDeleteable='Y', TableName='M_Shipper', Description='Method or manner of product delivery', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 06:57:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=253
;

UPDATE AD_Column SET Name='Tracking URL', IsMandatory='N', IsTranslated='N', Description='URL of the shipper to track shipments', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The variable @TrackingNo@ in the URL is replaced by the actual tracking number of the shipment.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='TrackingURL', FieldLength=120, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=40, AD_Val_Rule_ID=NULL, AD_Element_ID=2127, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:57:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9330
;

UPDATE AD_Field SET Name='Tracking URL', Description='URL of the shipper to track shipments', Help='The variable @TrackingNo@ in the URL is replaced by the actual tracking number of the shipment.' WHERE AD_Column_ID=9330 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Name', IsMandatory='Y', IsTranslated='N', Description='Alphanumeric identifier of the entity', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, 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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='Name', FieldLength=60, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=469, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:58:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2085
;

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=2085 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Business Partner ', IsMandatory='N', IsTranslated='N', Description='Identifies a Business Partner', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='C_BPartner_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=230, AD_Element_ID=187, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:59:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3397
;

UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=3397 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:59:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2081
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=2081 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 06:59:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2082
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=2082 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:00:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2086
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=2086 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:00:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2080
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=2080 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Shipper', IsMandatory='Y', IsTranslated='N', Description='Method or manner of product delivery', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Shipper indicates the method of delivering product', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='M_Shipper_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=455, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:00:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2077
;

UPDATE AD_Field SET Name='Shipper', Description='Method or manner of product delivery', Help='The Shipper indicates the method of delivering product' WHERE AD_Column_ID=2077 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:01:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2083
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=2083 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:01:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2078
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=2078 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:02:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2084
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=2084 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=253, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:02:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2079
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=2079 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Shippers', Help='The Shippers Tab defines any entity who will provide shipping to or shipping from an Organization.', OrderByClause=NULL, IsTranslationTab='N', Name='Shipper', SeqNo=10, AD_Table_ID=253, AD_Window_ID=142, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='Y', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=0, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:02:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=185
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=185
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Method or manner of product delivery', DisplayLength=14, AD_Column_ID=2077, IsFieldOnly='N', Help='The Shipper indicates the method of delivering product', Name='Shipper', AD_Tab_ID=185, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:03:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=1072
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=2078, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=185, IsSameLine='N', IsHeading='N', SeqNo=20, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:03:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=1073
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=2079, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=185, IsSameLine='Y', IsHeading='N', SeqNo=30, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:03:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2051
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Alphanumeric identifier of the entity', DisplayLength=60, AD_Column_ID=2085, IsFieldOnly='N', 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', AD_Tab_ID=185, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:04:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=1075
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=2086, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=185, IsSameLine='N', IsHeading='N', SeqNo=50, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:04:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=1076
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=2080, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=185, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:04:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=1074
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Identifies a Business Partner', DisplayLength=14, AD_Column_ID=3397, IsFieldOnly='N', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson', Name='Business Partner ', AD_Tab_ID=185, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:04:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2588
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='URL of the shipper to track shipments', DisplayLength=60, AD_Column_ID=9330, IsFieldOnly='N', Help='The variable @TrackingNo@ in the URL is replaced by the actual tracking number of the shipment.', Name='Tracking URL', AD_Tab_ID=185, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:05:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6937
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 07:05:14','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 07:05:14','YYYY-MM-DD HH24:MI:SS'),0,'Distribution Order ',53012,'M','Distribution Order allow create Order inter warehouse to supply a demand ',0,0,'Distribution Order allow create Order inter warehouse to supply a demand ','N','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53012 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),53012,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),53012,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),53012,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),53012,'Y',0,0,50001)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,AD_Window_ID,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'DD_Order_ID','1','Y','N',53012,'Y','DD_Order',TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),53037,0,TO_DATE('2007-12-17 07:05:15','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53037 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table DD_Order',0,0,'DD_Order',50000,1000000,'Y',53034,TO_DATE('2007-12-17 07:05:16','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 07:05:16','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document No','Y','N','Document sequence number of the document','Y',1,'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).',1,'Y',53037,53864,'DocumentNo',0,0,30,'N',TO_DATE('2007-12-17 07:05:16','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 07:05:16','YYYY-MM-DD HH24:MI:SS'),290,'N','N','N',0,'N','N','EE01')
;

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=53864 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE DD_Order (DocumentNo NVARCHAR2(30) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Trx Organization','N','N','Performing or initiating organization','N','The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',130,1,'Y',53037,53865,'AD_OrgTrx_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:18','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:05:18','YYYY-MM-DD HH24:MI:SS'),112,'Y','N','N',0,'N','N','EE01')
;

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=53865 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 DD_Order ADD AD_OrgTrx_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',1,'Y',53037,53866,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:20','YYYY-MM-DD HH24:MI:SS'),'Y',19,130,0,TO_DATE('2007-12-17 07:05:20','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53866 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 DD_Order ADD AD_Org_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User/Contact','N','N','User within the system - Internal or Business Partner Contact','N','-1','The User identifies a unique user in the system. This could be an internal user or a business partner contact',1,'Y',53037,53867,'AD_User_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:22','YYYY-MM-DD HH24:MI:SS'),'Y',19,123,0,TO_DATE('2007-12-17 07:05:22','YYYY-MM-DD HH24:MI:SS'),138,'Y','N','N',0,'N','N','EE01')
;

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=53867 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 DD_Order ADD AD_User_ID NUMBER(10) DEFAULT -1
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Activity','N','N','Business Activity','N','Activities indicate tasks that are performed and used to utilize Activity based Costing',1,'Y',53037,53868,'C_Activity_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:23','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:05:23','YYYY-MM-DD HH24:MI:SS'),1005,'Y','N','N',0,'N','N','EE01')
;

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=53868 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 DD_Order ADD C_Activity_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Business Partner ','N','N','Identifies a Business Partner','N','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',1,'Y',53037,53869,'C_BPartner_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:25','YYYY-MM-DD HH24:MI:SS'),'Y',30,230,0,TO_DATE('2007-12-17 07:05:25','YYYY-MM-DD HH24:MI:SS'),187,'Y','N','N',0,'org.compiere.model.CalloutInOut.bpartner','N','N','EE01')
;

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=53869 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 DD_Order ADD C_BPartner_ID NUMBER(10)
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@ AND C_BPartner_Location.IsShipTo=''Y'' AND C_BPartner_Location.IsActive=''Y''', Name='C_BPartner_Loc Ship To', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:05:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=167
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Partner Location','N','N','Identifies the (ship to) address for this Business Partner','N','The Partner address indicates the location of a Business Partner',1,'Y',53037,53870,'C_BPartner_Location_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:34','YYYY-MM-DD HH24:MI:SS'),'Y',19,167,0,TO_DATE('2007-12-17 07:05:34','YYYY-MM-DD HH24:MI:SS'),189,'Y','N','N',0,'N','N','EE01')
;

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=53870 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 DD_Order ADD C_BPartner_Location_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Campaign','N','N','Marketing Campaign','N','The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',1,'Y',53037,53871,'C_Campaign_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:35','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:05:35','YYYY-MM-DD HH24:MI:SS'),550,'Y','N','N',0,'N','N','EE01')
;

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=53871 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 DD_Order ADD C_Campaign_ID NUMBER(10)
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='C_Charge', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:05:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=200
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=200
;

UPDATE AD_Ref_Table SET AD_Table_ID = 313, AD_Display = 3341, AD_Key = 3333, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'C_Charge.AD_Client_ID=@#AD_Client_ID@' WHERE AD_Reference_ID = 200
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Charge','N','N','Additional document charges','N','The Charge indicates a type of Charge (Handling, Shipping, Restocking)',200,1,'Y',53037,53872,'C_Charge_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:45','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:05:45','YYYY-MM-DD HH24:MI:SS'),968,'Y','N','N',0,'N','N','EE01')
;

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=53872 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 DD_Order ADD C_Charge_ID NUMBER(10)
;

INSERT INTO AD_Val_Rule (IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,AD_Client_ID,Code,Name,Type,Created,AD_Val_Rule_ID,EntityType) VALUES ('Y',TO_DATE('2007-12-17 07:05:47','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,'C_DocType.DocBaseType=''DOO''','C_DocType Order Distribution','S',TO_DATE('2007-12-17 07:05:47','YYYY-MM-DD HH24:MI:SS'),52004,'EE01')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Type','Y','N','Document type or rules','N','The Document Type determines document sequence and processing rules',1.000000000000,'Y',53037,53873,'C_DocType_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:47','YYYY-MM-DD HH24:MI:SS'),'Y',19,52004,0,TO_DATE('2007-12-17 07:05:47','YYYY-MM-DD HH24:MI:SS'),196,'N','N','N',0,'org.compiere.model.CalloutInOut.docType','N','N','EE01')
;

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=53873 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 DD_Order ADD C_DocType_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Invoice','N','N','Invoice Identifier','N','The Invoice Document.',1,'Y',53037,53874,'C_Invoice_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:49','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 07:05:49','YYYY-MM-DD HH24:MI:SS'),1008,'N','N','N',0,'N','N','EE01')
;

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=53874 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 DD_Order ADD C_Invoice_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order','N','N','Order','N','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.',1,'Y',53037,53875,'C_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:50','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 07:05:50','YYYY-MM-DD HH24:MI:SS'),558,'N','N','N',0,'org.compiere.model.CalloutInOut.order','N','N','EE01')
;

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=53875 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 DD_Order ADD C_Order_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Project','N','N','Financial Project','N','A Project allows you to track and control internal or external activities.',1,'Y',53037,53876,'C_Project_ID',0,0,22,'N',TO_DATE('2007-12-17 07:05:59','YYYY-MM-DD HH24:MI:SS'),'Y',19,227,0,TO_DATE('2007-12-17 07:05:59','YYYY-MM-DD HH24:MI:SS'),208,'Y','N','N',0,'N','N','EE01')
;

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=53876 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 DD_Order ADD C_Project_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Charge amount','N','N','Charge Amount','N','The Charge Amount indicates the amount for an additional charge.',1,'Y',53037,53877,'ChargeAmt',0,0,22,'N',TO_DATE('2007-12-17 07:06:01','YYYY-MM-DD HH24:MI:SS'),'Y',12,0,TO_DATE('2007-12-17 07:06:01','YYYY-MM-DD HH24:MI:SS'),849,'Y','N','N',0,'N','N','EE01')
;

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=53877 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 DD_Order ADD ChargeAmt NUMBER
;

UPDATE AD_Process SET Name='Create Confirmation', Statistic_Seconds=0, Description='Create Confirmations for the Document', Classname='org.compiere.process.InOutCreateConfirm', ProcedureName=NULL, IsActive='Y', Help='The confirmations generated need to be processed (confirmed) before you can process this document', IsReport='N', IsDirectPrint='N', AccessLevel='1', Statistic_Count=0, Value='M_InOut_CreateConfirm', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:06:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=281
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='M_InOutConfirm Type', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:07:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=320
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=320
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=320, Value='XV', Name='Vendor Confirmation', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:07:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=673
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=673
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=320, Value='XC', Name='Customer Confirmation', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:07:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=674
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=674
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=320, Value='DS', Name='Drop Ship Confirm', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:08:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=675
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=675
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=320, Value='SC', Name='Ship/Receipt Confirm', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:08:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=676
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=676
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=320, Value='PC', Name='Pick/QA Confirm', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:08:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=677
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=677
;

UPDATE AD_Process_Para SET Name='Confirmation Type', IsActive='Y', FieldLength=0, ValueMax=NULL, Description='Type of confirmation', Help=NULL, AD_Process_ID=281, ColumnName='ConfirmType', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, AD_Reference_Value_ID=320, VFormat=NULL, AD_Reference_ID=17, DefaultValue=NULL, IsMandatory='Y', SeqNo=10, ValueMin=NULL, AD_Element_ID=2519, EntityType='D',Updated=TO_DATE('2007-12-17 07:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=498
;

UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=498
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Create Confirm','N','N','N',1,'Y',53037,53878,'CreateConfirm',0,0,1,'N',TO_DATE('2007-12-17 07:09:12','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:09:12','YYYY-MM-DD HH24:MI:SS'),2520,'Y','N','N',281,0,'Y','N','EE01')
;

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=53878 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 DD_Order ADD CreateConfirm CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Create lines from','N','N','Process which will generate a new document lines based on an existing document','N','The Create From process will create a new document based on information in an existing document selected by the user.',1,'Y',53037,53879,'CreateFrom',0,0,1,'N',TO_DATE('2007-12-17 07:09:18','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:09:18','YYYY-MM-DD HH24:MI:SS'),1490,'Y','N','N',0,'N','N','EE01')
;

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=53879 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 DD_Order ADD CreateFrom CHAR(1)
;

UPDATE AD_Process SET Name='Create Package', Statistic_Seconds=0, Description='Create Package for Shipmet', Classname='org.compiere.process.PackageCreate', ProcedureName=NULL, IsActive='Y', Help=NULL, IsReport='N', IsDirectPrint='N', AccessLevel='1', Statistic_Count=0, Value='M_Package_Create', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:09:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=282
;

UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=282
;

UPDATE AD_Process_Para SET Name='Shipper', IsActive='Y', FieldLength=0, ValueMax=NULL, Description='Method or manner of product delivery', Help='The Shipper indicates the method of delivering product', AD_Process_ID=282, ColumnName='M_Shipper_ID', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, VFormat=NULL, AD_Reference_ID=19, DefaultValue=NULL, IsMandatory='Y', SeqNo=20, ValueMin=NULL, AD_Element_ID=455, EntityType='D',Updated=TO_DATE('2007-12-17 07:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=499
;

UPDATE AD_Process_Para SET Name='Shipment/Receipt', IsActive='Y', FieldLength=0, ValueMax=NULL, Description='Material Shipment Document', Help='The Material Shipment / Receipt ', AD_Process_ID=282, ColumnName='M_InOut_ID', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, VFormat=NULL, AD_Reference_ID=30, DefaultValue='@M_InOut_ID@', IsMandatory='Y', SeqNo=10, ValueMin=NULL, AD_Element_ID=1025, EntityType='D',Updated=TO_DATE('2007-12-17 07:10:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=500
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Create Package','N','N','N',1,'Y',53037,53880,'CreatePackage',0,0,1,'N',TO_DATE('2007-12-17 07:10:29','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:10:29','YYYY-MM-DD HH24:MI:SS'),2525,'Y','N','N',282,0,'Y','N','EE01')
;

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=53880 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 DD_Order ADD CreatePackage CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',1,'Y',53037,53881,'Created',0,0,7,'N',TO_DATE('2007-12-17 07:10:31','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 07:10:31','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53881 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 DD_Order ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,1,'Y',53037,53882,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 07:10:32','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:10:32','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53882 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 DD_Order ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53311,'DD_Order_ID','DD_Order_ID',0,0,0,0,'DD_Order_ID',TO_DATE('2007-12-17 07:10:33','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 07:10:33','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53311 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DD_Order_ID','Y','N','N',1,'Y',53037,53883,'DD_Order_ID',0,0,22,'N',TO_DATE('2007-12-17 07:10:33','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 07:10:33','YYYY-MM-DD HH24:MI:SS'),53311,'N','Y','N',0,'N','N','EE01')
;

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=53883 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 DD_Order ADD DD_Order_ID NUMBER(10) NOT NULL
;

ALTER TABLE DD_Order ADD CONSTRAINT DD_Order_Key PRIMARY KEY (DD_Order_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Ordered','N','N','Date of Order','N','Indicates the Date an item was ordered.',1,'Y',53037,53884,'DateOrdered',0,0,7,'N',TO_DATE('2007-12-17 07:10:36','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 07:10:36','YYYY-MM-DD HH24:MI:SS'),268,'N','N','N',0,'N','N','EE01')
;

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=53884 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 DD_Order ADD DateOrdered DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date printed','N','N','Date the document was printed.','N','Indicates the Date that a document was printed.',1,'Y',53037,53885,'DatePrinted',0,0,7,'N',TO_DATE('2007-12-17 07:10:37','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 07:10:37','YYYY-MM-DD HH24:MI:SS'),1091,'Y','N','N',0,'N','N','EE01')
;

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=53885 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 DD_Order ADD DatePrinted DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Promised','N','N','Date Order was promised','N','The Date Promised indicates the date, if any, that an Order was promised for.',0,'Y',53037,53886,'DatePromised',0,0,10,'N',TO_DATE('2007-12-17 07:10:38','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 07:10:38','YYYY-MM-DD HH24:MI:SS'),269,'Y','N','N',0,'N','N','EE01')
;

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=53886 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 DD_Order ADD DatePromised DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date received','N','N','Date a product was received','N','The Date Received indicates the date that product was received.',1,'Y',53037,53887,'DateReceived',0,0,7,'N',TO_DATE('2007-12-17 07:10:40','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 07:10:40','YYYY-MM-DD HH24:MI:SS'),1324,'Y','N','N',0,'N','N','EE01')
;

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=53887 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 DD_Order ADD DateReceived DATE
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='C_Order DeliveryRule', Description='Delivery Rules list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:10:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=151
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=151
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=151, Value='M', Name='Manual', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:11:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=791
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=791
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=151, Value='F', Name='Force', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:11:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=678
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=678
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivery Rule','Y','N','Defines the timing of Delivery','N','S','The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.',151,1,'Y',53037,53888,'DeliveryRule',0,0,1,'N',TO_DATE('2007-12-17 07:11:42','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:11:42','YYYY-MM-DD HH24:MI:SS'),555,'Y','N','N',0,'N','N','EE01')
;

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=53888 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 DD_Order ADD DeliveryRule CHAR(1) DEFAULT 'S' NOT NULL
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='C_Order DeliveryViaRule', Description='Delivery via Rule list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:11:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=152
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=152
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=152, Value='P', Name='Pickup', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=222
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=222
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=152, Value='D', Name='Delivery', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:12:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=223
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=223
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=152, Value='S', Name='Shipper', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:12:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=224
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=224
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivery Via','Y','N','How the order will be delivered','N','P','The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.',152,1,'Y',53037,53889,'DeliveryViaRule',0,0,1,'N',TO_DATE('2007-12-17 07:12:14','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:12:14','YYYY-MM-DD HH24:MI:SS'),274,'Y','N','N',0,'N','N','EE01')
;

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=53889 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 DD_Order ADD DeliveryViaRule CHAR(1) DEFAULT 'P' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',1,'Y',53037,53890,'Description',0,0,255,'N',TO_DATE('2007-12-17 07:12:16','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 07:12:16','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'Y','N','EE01')
;

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=53890 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 DD_Order ADD Description NVARCHAR2(255)
;

UPDATE AD_Workflow SET Name='Process_Shipment', WorkingTime=0, AccessLevel='1', Author='Adempiere, Inc.', Cost=0, DocValueLogic=NULL, Duration=1, DurationUnit='D', EntityType='D', IsValid='N', Limit=0, Priority=0, PublishStatus='R', Value='Process_Shipment', Version=0, WaitingTime=0, WorkflowType='P', AD_Table_ID=319, AD_WF_Node_ID=NULL, Description='(Standard Process Shipment)', Help=NULL,Updated=TO_DATE('2007-12-17 07:12:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=117
;

UPDATE AD_Workflow_Trl SET IsTranslated='N' WHERE AD_Workflow_ID=117
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Shipment', Description='(Standard Process Shipment)',Updated=TO_DATE('2007-12-17 07:12:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=187
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=187
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Shipment', Description='(Standard Process Shipment)',Updated=TO_DATE('2007-12-17 07:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=188
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=188
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Shipment', Description='(Standard Process Shipment)',Updated=TO_DATE('2007-12-17 07:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=189
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=189
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Shipment', Description='(Standard Process Shipment)',Updated=TO_DATE('2007-12-17 07:12:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=190
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=190
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'--',0,0,'D','N','X',0,'(DocAuto)',0,0,0,5,120,'(DocAuto)','Y',TO_DATE('2007-12-17 07:12:42','YYYY-MM-DD HH24:MI:SS'),0,50037,117,'D',0,0,TO_DATE('2007-12-17 07:12:42','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50037 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'D','N','X',0,'(DocComplete)',0,0,0,170,120,'(DocComplete)','Y',TO_DATE('2007-12-17 07:12:43','YYYY-MM-DD HH24:MI:SS'),0,50038,117,'D',0,0,TO_DATE('2007-12-17 07:12:43','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50038 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'PR',0,0,'D','N','X',0,'(DocPrepare)',0,0,0,170,5,'(DocPrepare)','Y',TO_DATE('2007-12-17 07:12:44','YYYY-MM-DD HH24:MI:SS'),0,50039,117,'D',0,0,TO_DATE('2007-12-17 07:12:44','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50039 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50014,'D','N',50039,100,50038,0,0,TO_DATE('2007-12-17 07:12:44','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 07:12:44','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,0,0,'D','N','X',0,'(Start)',0,0,0,5,5,'(Start)','Y',TO_DATE('2007-12-17 07:12:45','YYYY-MM-DD HH24:MI:SS'),0,50040,117,'Z',0,0,TO_DATE('2007-12-17 07:12:45','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50040 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50015,'D','N',50040,100,50037,0,0,TO_DATE('2007-12-17 07:12:46','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 07:12:46','YYYY-MM-DD HH24:MI:SS'),0)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=181,Updated=TO_DATE('2007-12-17 07:12:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=117
;

UPDATE AD_Process SET Name='Process Shipment ', AD_Workflow_ID=117, Statistic_Seconds=0, Description='Process Shipment/Receipt (Update Inventory)', Classname=NULL, ProcedureName=NULL, IsActive='Y', Help='Process Shipment/Receipt will move products out of/into  inventory and mark line items as shipped/received.', IsReport='N', IsDirectPrint='N', AccessLevel='1', Statistic_Count=0, Value='M_InOut Process', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:13:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=109
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Action','Y','N','The targeted status of the document','N','CO','You find the current status in the Document Status field. The options are listed in a popup',135,1,'Y',53037,53891,'DocAction',0,0,2,'N',TO_DATE('2007-12-17 07:13:03','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:13:03','YYYY-MM-DD HH24:MI:SS'),287,'Y','N','N',109,0,'N','N','EE01')
;

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=53891 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 DD_Order ADD DocAction CHAR(2) DEFAULT 'CO' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Status','Y','N','The current status of the document','N','DR','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',131,1,'Y',53037,53892,'DocStatus',0,0,2,'N',TO_DATE('2007-12-17 07:13:05','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:13:05','YYYY-MM-DD HH24:MI:SS'),289,'Y','N','N',0,'N','N','EE01')
;

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=53892 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 DD_Order ADD DocStatus CHAR(2) DEFAULT 'DR' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Freight Amount','N','N','Freight Amount ','N','The Freight Amount indicates the amount charged for Freight in the document currency.',1,'Y',53037,53893,'FreightAmt',0,0,22,'N',TO_DATE('2007-12-17 07:13:07','YYYY-MM-DD HH24:MI:SS'),'Y',12,0,TO_DATE('2007-12-17 07:13:07','YYYY-MM-DD HH24:MI:SS'),306,'Y','N','N',0,'N','N','EE01')
;

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=53893 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 DD_Order ADD FreightAmt NUMBER
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='C_Order FreightCostRule', Description='Freight cost Rule list', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:13:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=153
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=153
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Freight Cost Rule','Y','N','Method for charging Freight','N','I','The Freight Cost Rule indicates the method used when charging for freight.',153,1,'Y',53037,53894,'FreightCostRule',0,0,1,'N',TO_DATE('2007-12-17 07:13:48','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:13:48','YYYY-MM-DD HH24:MI:SS'),1007,'Y','N','N',0,'N','N','EE01')
;

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=53894 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 DD_Order ADD FreightCostRule CHAR(1) DEFAULT 'I' NOT NULL
;

UPDATE AD_Process SET Name='Generate Invoice from Receipt', Statistic_Seconds=0, Description='Create and process Invoice from this receipt.  The receipt should be correct and completed.', Classname='org.compiere.process.InOutCreateInvoice', ProcedureName=NULL, IsActive='Y', Help='Generate Invoice from Receipt will create an invoice based on the selected receipt and match the invoice to that receipt. You can set the document number only if the invoice document type allows to set the document number manually.', IsReport='N', IsDirectPrint='N', AccessLevel='1', Statistic_Count=0, Value='M_InOut_CreateInvoice', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:14:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=154
;

UPDATE AD_Process_Para SET Name='Price List', IsActive='Y', FieldLength=0, ValueMax=NULL, Description='Unique identifier of a Price List', Help='Price Lists are used to determine the pricing, margin and cost of items purchased or sold.', AD_Process_ID=154, ColumnName='M_PriceList_ID', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, VFormat=NULL, AD_Reference_ID=19, DefaultValue=NULL, IsMandatory='N', SeqNo=10, ValueMin=NULL, AD_Element_ID=449, EntityType='D',Updated=TO_DATE('2007-12-17 07:14:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=183
;

UPDATE AD_Process_Para SET Name='Invoice Document No', IsActive='Y', FieldLength=20, ValueMax=NULL, Description='Document Number of the Invoice', Help=NULL, AD_Process_ID=154, ColumnName='InvoiceDocumentNo', IsCentrallyMaintained='Y', IsRange='N', DefaultValue2=NULL, VFormat=NULL, AD_Reference_ID=10, DefaultValue=NULL, IsMandatory='N', SeqNo=20, ValueMin=NULL, AD_Element_ID=2106, EntityType='D',Updated=TO_DATE('2007-12-17 07:14:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=618
;

UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=618
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Generate To','N','N','Generate To','N',1,'Y',53037,53895,'GenerateTo',0,0,1,'N',TO_DATE('2007-12-17 07:14:44','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:14:44','YYYY-MM-DD HH24:MI:SS'),1491,'Y','N','N',154,0,'N','N','EE01')
;

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=53895 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 DD_Order ADD GenerateTo CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','Y','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.',1,'Y',53037,53896,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 07:14:45','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:45','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53896 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 DD_Order ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Approved','Y','N','Indicates if this document requires approval','N','The Approved checkbox indicates if this document requires approval before it can be processed.',1,'Y',53037,53897,'IsApproved',0,0,1,'N',TO_DATE('2007-12-17 07:14:47','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:47','YYYY-MM-DD HH24:MI:SS'),351,'Y','N','N',0,'N','N','EE01')
;

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=53897 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 DD_Order ADD IsApproved CHAR(1) CHECK (IsApproved IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivered','N','N','N',0,'Y',53037,53898,'IsDelivered',0,0,1,'N',TO_DATE('2007-12-17 07:14:48','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:48','YYYY-MM-DD HH24:MI:SS'),367,'Y','N','N',0,'N','N','EE01')
;

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=53898 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 DD_Order ADD IsDelivered CHAR(1) CHECK (IsDelivered IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Drop Shipment','N','N','Drop Shipments are sent from the Vendor directly to the Customer','N','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.',0,'Y',53037,53899,'IsDropShip',0,0,1,'N',TO_DATE('2007-12-17 07:14:50','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:50','YYYY-MM-DD HH24:MI:SS'),2466,'Y','N','N',0,'N','N','EE01')
;

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=53899 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 DD_Order ADD IsDropShip CHAR(1) CHECK (IsDropShip IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('In Dispute','Y','N','Document is in dispute','N','The document is in dispute. Use Requests to track details.',1,'Y',53037,53900,'IsInDispute',0,0,1,'N',TO_DATE('2007-12-17 07:14:51','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:51','YYYY-MM-DD HH24:MI:SS'),2543,'Y','N','N',0,'Y','N','EE01')
;

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=53900 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 DD_Order ADD IsInDispute CHAR(1) CHECK (IsInDispute IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('In Transit','Y','N','Movement is in transit','N','Material Movement is in transit - shipped, but not received.
The transaction is completed, if confirmed.',1,'Y',53037,53901,'IsInTransit',0,0,1,'N',TO_DATE('2007-12-17 07:14:52','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:52','YYYY-MM-DD HH24:MI:SS'),2397,'Y','N','N',0,'N','N','EE01')
;

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=53901 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 DD_Order ADD IsInTransit CHAR(1) CHECK (IsInTransit IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Printed','Y','N','Indicates if this document / line is printed','N','The Printed checkbox indicates if this document or line will included when printing.',1,'Y',53037,53902,'IsPrinted',0,0,1,'N',TO_DATE('2007-12-17 07:14:54','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:54','YYYY-MM-DD HH24:MI:SS'),399,'Y','N','N',0,'N','N','EE01')
;

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=53902 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 DD_Order ADD IsPrinted CHAR(1) CHECK (IsPrinted IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sales Transaction','Y','N','This is a Sales Transaction','N','@IsSOTrx@','The Sales Transaction checkbox indicates if this item is a Sales Transaction.',1,'Y',53037,53903,'IsSOTrx',0,0,1,'N',TO_DATE('2007-12-17 07:14:56','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:56','YYYY-MM-DD HH24:MI:SS'),1106,'Y','N','N',0,'N','N','EE01')
;

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=53903 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 DD_Order ADD IsSOTrx CHAR(1) DEFAULT  NULL  CHECK (IsSOTrx IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Selected','N','N','N',0,'Y',53037,53904,'IsSelected',0,0,1,'N',TO_DATE('2007-12-17 07:14:58','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:14:58','YYYY-MM-DD HH24:MI:SS'),1321,'Y','N','N',0,'N','N','EE01')
;

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=53904 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 DD_Order ADD IsSelected CHAR(1) CHECK (IsSelected IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Shipper','N','N','Method or manner of product delivery','N','The Shipper indicates the method of delivering product',1,'Y',53037,53905,'M_Shipper_ID',0,0,22,'N',TO_DATE('2007-12-17 07:14:59','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:14:59','YYYY-MM-DD HH24:MI:SS'),455,'Y','N','N',0,'N','N','EE01')
;

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=53905 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 DD_Order ADD M_Shipper_ID NUMBER(10)
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='M_Warehouse.AD_Org_ID=@AD_Org_ID@', Name='M_Warehouse Org', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:15:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=189
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','Y','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',1,'Y',53037,53906,'M_Warehouse_ID',0,0,22,'N',TO_DATE('2007-12-17 07:15:11','YYYY-MM-DD HH24:MI:SS'),'Y',19,189,0,TO_DATE('2007-12-17 07:15:11','YYYY-MM-DD HH24:MI:SS'),459,'N','N','N',0,'org.compiere.model.CalloutInOut.warehouse','N','N','EE01')
;

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=53906 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 DD_Order ADD M_Warehouse_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('No Packages','N','N','Number of packages shipped','N',1,'Y',53037,53907,'NoPackages',0,0,22,'N',TO_DATE('2007-12-17 07:15:13','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 07:15:13','YYYY-MM-DD HH24:MI:SS'),2113,'Y','N','N',0,'Y','N','EE01')
;

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=53907 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 DD_Order ADD NoPackages NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order Reference','N','N','Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner','N','The business partner order reference is the order reference for this specific transaction; Often Purchase Order numbers are given to print on Invoices for easier reference.  A standard number can be defined in the Business Partner (Customer) window.',1,'Y',53037,53908,'POReference',0,0,20,'N',TO_DATE('2007-12-17 07:15:14','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 07:15:14','YYYY-MM-DD HH24:MI:SS'),952,'Y','N','N',0,'N','N','EE01')
;

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=53908 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 DD_Order ADD POReference NVARCHAR2(20)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Pick Date','N','N','Date/Time when picked for Shipment','N',1,'Y',53037,53909,'PickDate',0,0,7,'N',TO_DATE('2007-12-17 07:15:15','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 07:15:15','YYYY-MM-DD HH24:MI:SS'),2117,'Y','N','N',0,'N','N','EE01')
;

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=53909 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 DD_Order ADD PickDate DATE
;

UPDATE AD_Reference SET Help=NULL, ValidationType='L', Name='_Posted Status', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:15:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=234
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=234
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='E', Name='Posting Error', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:15:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=684
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=684
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='N', Name='Not Posted', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:15:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=458
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=458
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='Y', Name='Posted', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:15:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=459
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=459
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='b', Name='Not Balanced', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:15:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=460
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=460
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='c', Name='Not Convertible (no rate)', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:16:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=461
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=461
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='p', Name='Period Closed', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:16:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=462
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=462
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='y', Name='Post Prepared', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:16:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=463
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=463
;

UPDATE AD_Ref_List SET Description=NULL, AD_Reference_ID=234, Value='i', Name='Invalid Account', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:16:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=464
;

UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=464
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Posted','Y','N','Posting status','N','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ',234,1,'Y',53037,53910,'Posted',0,0,1,'N',TO_DATE('2007-12-17 07:16:33','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:16:33','YYYY-MM-DD HH24:MI:SS'),1308,'Y','N','N',0,'N','N','EE01')
;

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=53910 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 DD_Order ADD Posted CHAR(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Priority','Y','N','Priority of a document','N','5','The Priority indicates the importance (high, medium, low) of this document',154,1,'Y',53037,53911,'PriorityRule',0,0,1,'N',TO_DATE('2007-12-17 07:16:35','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:16:35','YYYY-MM-DD HH24:MI:SS'),522,'Y','N','N',0,'N','N','EE01')
;

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=53911 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 DD_Order ADD PriorityRule CHAR(1) DEFAULT '5' NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Processed','Y','N','The document has been processed','N','The Processed checkbox indicates that a document has been processed.',1,'Y',53037,53912,'Processed',0,0,1,'N',TO_DATE('2007-12-17 07:16:36','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:16:36','YYYY-MM-DD HH24:MI:SS'),1047,'Y','N','N',0,'N','N','EE01')
;

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=53912 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 DD_Order ADD Processed CHAR(1) CHECK (Processed IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Workflow (Created,Name,WorkingTime,AccessLevel,Author,Cost,Duration,DurationUnit,EntityType,IsDefault,IsValid,Limit,Priority,PublishStatus,Value,Version,WaitingTime,WorkflowType,AD_Table_ID,Updated,AD_Workflow_ID,UpdatedBy,CreatedBy,Description,DocumentNo,AD_Client_ID,AD_Org_ID,IsActive) VALUES (TO_DATE('2007-12-17 07:16:38','YYYY-MM-DD HH24:MI:SS'),'Process_Distribution_Order',0,'1','Victor Perez',0,1,'D','EE01','N','N',0,0,'R','Process_Distribution_Order',1,0,'P',53037,TO_DATE('2007-12-17 07:16:38','YYYY-MM-DD HH24:MI:SS'),50011,0,0,'(Standard Process Distribution Order)','10000007',0,0,'Y')
;

INSERT INTO AD_Workflow_Trl (AD_Language,AD_Workflow_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Workflow_ID, t.Name,t.Description,t.Help, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Workflow t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Workflow_ID=50011 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

INSERT INTO AD_Workflow_Access (AD_Workflow_ID,AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (50011,0,0,0,TO_DATE('2007-12-17 07:16:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 07:16:39','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'(Start)',0,0,0,5,5,'(Start)','Y',TO_DATE('2007-12-17 07:16:39','YYYY-MM-DD HH24:MI:SS'),0,50041,50011,'Z',0,0,TO_DATE('2007-12-17 07:16:39','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50041 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'PR',0,0,'EE01','N','X',0,'(DocPrepare)',0,0,0,230,5,'(DocPrepare)','Y',TO_DATE('2007-12-17 07:16:40','YYYY-MM-DD HH24:MI:SS'),0,50042,50011,'D',0,0,TO_DATE('2007-12-17 07:16:40','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50042 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'--',0,0,'EE01','N','X',0,'(DocAuto)',0,0,0,3,143,'(DocAuto)','Y',TO_DATE('2007-12-17 07:16:41','YYYY-MM-DD HH24:MI:SS'),0,50043,50011,'D',0,0,TO_DATE('2007-12-17 07:16:41','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50043 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'(DocComplete)',0,0,0,229,145,'(DocComplete)','Y',TO_DATE('2007-12-17 07:16:42','YYYY-MM-DD HH24:MI:SS'),0,50044,50011,'D',0,0,TO_DATE('2007-12-17 07:16:42','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50044 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=182,Updated=TO_DATE('2007-12-17 07:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=50011
;

INSERT INTO AD_Process (Name,AD_Workflow_ID,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Process Distribution Order',50011,0,0,0,TO_DATE('2007-12-17 07:16:44','YYYY-MM-DD HH24:MI:SS'),53042,TO_DATE('2007-12-17 07:16:44','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','N','N','1',0,'DD_Order Process','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53042 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,AD_Process_ID,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process Now','N','N','N',1,'Y',53037,53913,'Processing',0,0,1,'N',TO_DATE('2007-12-17 07:16:46','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:16:46','YYYY-MM-DD HH24:MI:SS'),524,'Y','N','N',53042,0,'N','N','EE01')
;

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=53913 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 DD_Order ADD Processing CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Referenced Order','N','N','Reference to corresponding Sales/Purchase Order','N','Reference of the Sales Order Line to the corresponding Purchase Order Line or vice versa.',0,'Y',53037,53914,'Ref_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 07:16:48','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:16:48','YYYY-MM-DD HH24:MI:SS'),2431,'Y','N','N',0,'N','N','EE01')
;

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=53914 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 DD_Order ADD Ref_Order_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sales Representative','N','N','Sales Representative or Company Agent','N','The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.',190,0,'Y',53037,53915,'SalesRep_ID',0,0,1,'N',TO_DATE('2007-12-17 07:16:49','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:16:49','YYYY-MM-DD HH24:MI:SS'),1063,'Y','N','N',0,'N','N','EE01')
;

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=53915 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 DD_Order ADD SalesRep_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Send EMail','Y','N','Enable sending Document EMail','N','Send emails with document attached (e.g. Invoice, Delivery Note, etc.)',1,'Y',53037,53916,'SendEMail',0,0,1,'N',TO_DATE('2007-12-17 07:16:51','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:16:51','YYYY-MM-DD HH24:MI:SS'),1978,'Y','N','N',0,'N','N','EE01')
;

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=53916 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 DD_Order ADD SendEMail CHAR(1) CHECK (SendEMail IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Ship Date','N','N','Shipment Date/Time','N','Actual Date/Time of Shipment (pick up)',1,'Y',53037,53917,'ShipDate',0,0,7,'N',TO_DATE('2007-12-17 07:16:52','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 07:16:52','YYYY-MM-DD HH24:MI:SS'),2123,'Y','N','N',0,'N','N','EE01')
;

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=53917 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 DD_Order ADD ShipDate DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Tracking No','N','N','Number to track the shipment','N',1,'Y',53037,53918,'TrackingNo',0,0,60,'N',TO_DATE('2007-12-17 07:16:54','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 07:16:54','YYYY-MM-DD HH24:MI:SS'),2126,'Y','N','N',0,'Y','N','EE01')
;

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=53918 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 DD_Order ADD TrackingNo NVARCHAR2(60)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',1,'Y',53037,53919,'Updated',0,0,7,'N',TO_DATE('2007-12-17 07:16:56','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 07:16:56','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53919 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 DD_Order ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,1,'Y',53037,53920,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 07:17:00','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:17:00','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53920 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 DD_Order ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 1','N','N','User defined list element #1','N','The user defined element displays the optional elements that have been defined for this account combination.',134,1,'Y',53037,53921,'User1_ID',0,0,22,'N',TO_DATE('2007-12-17 07:17:01','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:17:01','YYYY-MM-DD HH24:MI:SS'),613,'Y','N','N',0,'N','N','EE01')
;

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=53921 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 DD_Order ADD User1_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 2','N','N','User defined list element #2','N','The user defined element displays the optional elements that have been defined for this account combination.',137,1,'Y',53037,53922,'User2_ID',0,0,22,'N',TO_DATE('2007-12-17 07:17:02','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:17:02','YYYY-MM-DD HH24:MI:SS'),614,'Y','N','N',0,'N','N','EE01')
;

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=53922 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 DD_Order ADD User2_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Volume','N','N','Volume of a product','N','The Volume indicates the volume of the product in the Volume UOM of the Client',0,'Y',53037,53923,'Volume',0,0,22,'N',TO_DATE('2007-12-17 07:17:04','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 07:17:04','YYYY-MM-DD HH24:MI:SS'),627,'Y','N','N',0,'N','N','EE01')
;

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=53923 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 DD_Order ADD Volume NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',1,'Y',53037,53924,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 07:17:05','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 07:17:05','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53924 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 DD_Order ADD AD_Client_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Weight','N','N','Weight of a product','N','The Weight indicates the weight  of the product in the Weight UOM of the Client',0,'Y',53037,53925,'Weight',0,0,22,'N',TO_DATE('2007-12-17 07:17:06','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 07:17:06','YYYY-MM-DD HH24:MI:SS'),629,'Y','N','N',0,'N','N','EE01')
;

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=53925 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 DD_Order ADD Weight NUMBER
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'DD_OrderLine','3','Y','N','N','DD_OrderLine',TO_DATE('2007-12-17 07:17:08','YYYY-MM-DD HH24:MI:SS'),53038,0,TO_DATE('2007-12-17 07:17:08','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53038 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table DD_OrderLine',0,0,'DD_OrderLine',50000,1000000,'Y',53035,TO_DATE('2007-12-17 07:17:08','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 07:17:08','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintTableFormat_ID,AD_PrintColor_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin,Description) VALUES ('N',50010,'Y','Y',0,TO_DATE('2007-12-17 07:17:08','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 07:17:08','YYYY-MM-DD HH24:MI:SS'),0,53038,'N',101,100,'DistributionOrder_Line  ** TEMPLATE **',0,100,0,0,'N',130,0,'Standard Order Line')
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Organization','Y','Organization',TO_DATE('2007-12-17 07:17:11','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50357,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50357 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Client','Y','Client',TO_DATE('2007-12-17 07:17:12','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50358,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50358 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'DD_OrderLine_ID','Y','Distribution Order Line',TO_DATE('2007-12-17 07:17:13','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50359,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50359 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Active','Y','Active',TO_DATE('2007-12-17 07:17:15','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50360,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50360 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',1,0,TO_DATE('2007-12-17 07:17:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Line No','Y','Line No',TO_DATE('2007-12-17 07:17:16','YYYY-MM-DD HH24:MI:SS'),'T',1,'N',0,0,0,50361,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50361 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Date Promised','Y','Date Promised',TO_DATE('2007-12-17 07:17:17','YYYY-MM-DD HH24:MI:SS'),'L',2,'N',0,0,0,50362,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50362 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',3,0,TO_DATE('2007-12-17 07:17:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Product','Y','Product',TO_DATE('2007-12-17 07:17:18','YYYY-MM-DD HH24:MI:SS'),'L',3,'N',0,0,0,50363,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50363 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',2,0,TO_DATE('2007-12-17 07:17:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Ordered Quantity','Y','Ordered Qty',TO_DATE('2007-12-17 07:17:18','YYYY-MM-DD HH24:MI:SS'),'T',4,'N',0,0,0,50364,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50364 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Locator','Y','Locator',TO_DATE('2007-12-17 07:17:21','YYYY-MM-DD HH24:MI:SS'),'L',5,'N',0,0,0,50365,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50365 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Locator To','Y','Locator To',TO_DATE('2007-12-17 07:17:22','YYYY-MM-DD HH24:MI:SS'),'L',6,'N',0,0,0,50366,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50366 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:24','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Attribute Set Instance','Y','Attribute Set Instance',TO_DATE('2007-12-17 07:17:24','YYYY-MM-DD HH24:MI:SS'),'L',7,'N',0,0,0,50367,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50367 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Attribute Set Instance To','Y','Attribute Set Instance To',TO_DATE('2007-12-17 07:17:25','YYYY-MM-DD HH24:MI:SS'),'L',8,'N',0,0,0,50368,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50368 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Activity','Y','Activity',TO_DATE('2007-12-17 07:17:26','YYYY-MM-DD HH24:MI:SS'),'L',10,'N',0,0,0,50369,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50369 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Campaign','Y','Campaign',TO_DATE('2007-12-17 07:17:27','YYYY-MM-DD HH24:MI:SS'),'L',11,'N',0,0,0,50370,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50370 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Charge','Y','Charge',TO_DATE('2007-12-17 07:17:28','YYYY-MM-DD HH24:MI:SS'),'L',12,'N',0,0,0,50371,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50371 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:30','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Confirmed Quantity','Y','Confirmed Qty',TO_DATE('2007-12-17 07:17:30','YYYY-MM-DD HH24:MI:SS'),'T',14,'N',0,0,0,50372,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50372 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:31','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Date Delivered','Y','Date Delivered',TO_DATE('2007-12-17 07:17:31','YYYY-MM-DD HH24:MI:SS'),'L',15,'N',0,0,0,50373,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50373 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:32','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Date Ordered','Y','Date Ordered',TO_DATE('2007-12-17 07:17:32','YYYY-MM-DD HH24:MI:SS'),'L',16,'N',0,0,0,50374,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50374 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:33','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Delivered Quantity','Y','Delivered Qty',TO_DATE('2007-12-17 07:17:33','YYYY-MM-DD HH24:MI:SS'),'T',17,'N',0,0,0,50375,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50375 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:34','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Description','Y','Description',TO_DATE('2007-12-17 07:17:34','YYYY-MM-DD HH24:MI:SS'),'B',18,'N',0,0,0,50376,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50376 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:35','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Description Only','Y','Description',TO_DATE('2007-12-17 07:17:35','YYYY-MM-DD HH24:MI:SS'),'L',19,'N',0,0,0,50377,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50377 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',4,0,TO_DATE('2007-12-17 07:17:36','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'DD_Order_ID','Y','Distribution Order',TO_DATE('2007-12-17 07:17:36','YYYY-MM-DD HH24:MI:SS'),'L',20,'N',0,0,0,50378,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50378 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:37','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Freight Amount','Y','Freight Amt',TO_DATE('2007-12-17 07:17:37','YYYY-MM-DD HH24:MI:SS'),'T',21,'N',0,0,0,50379,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50379 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:38','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Invoiced','Y','Invoiced',TO_DATE('2007-12-17 07:17:38','YYYY-MM-DD HH24:MI:SS'),'L',22,'N',0,0,0,50380,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50380 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:39','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Line Amount','Y','Line Amt',TO_DATE('2007-12-17 07:17:39','YYYY-MM-DD HH24:MI:SS'),'T',23,'N',0,0,0,50381,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50381 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:41','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Picked Quantity','Y','Picked Quantity',TO_DATE('2007-12-17 07:17:41','YYYY-MM-DD HH24:MI:SS'),'T',25,'N',0,0,0,50382,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50382 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:42','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Processed','Y','Processed',TO_DATE('2007-12-17 07:17:42','YYYY-MM-DD HH24:MI:SS'),'L',26,'N',0,0,0,50383,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50383 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:43','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Project','Y','Project',TO_DATE('2007-12-17 07:17:43','YYYY-MM-DD HH24:MI:SS'),'L',27,'N',0,0,0,50384,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50384 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',2,0,TO_DATE('2007-12-17 07:17:45','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'QtyInTransit','Y','Qty In Transit of Distribution Order',TO_DATE('2007-12-17 07:17:45','YYYY-MM-DD HH24:MI:SS'),'T',28,'N',0,0,0,50385,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50385 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Quantity','Y','Quantity',TO_DATE('2007-12-17 07:17:46','YYYY-MM-DD HH24:MI:SS'),'T',29,'N',0,0,0,50386,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50386 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:48','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Reserved Quantity','Y','Reserved Qty',TO_DATE('2007-12-17 07:17:48','YYYY-MM-DD HH24:MI:SS'),'T',30,'N',0,0,0,50387,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50387 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Scrapped Quantity','Y','Scrapped Qty',TO_DATE('2007-12-17 07:17:49','YYYY-MM-DD HH24:MI:SS'),'T',31,'N',0,0,0,50388,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50388 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:50','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Target Quantity','Y','Target Qty',TO_DATE('2007-12-17 07:17:50','YYYY-MM-DD HH24:MI:SS'),'T',32,'N',0,0,0,50389,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50389 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:51','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'Trx Organization','Y','Trx Organization',TO_DATE('2007-12-17 07:17:51','YYYY-MM-DD HH24:MI:SS'),'L',33,'N',0,0,0,50390,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50390 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:53','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'UOM','Y','UOM',TO_DATE('2007-12-17 07:17:53','YYYY-MM-DD HH24:MI:SS'),'L',34,'N',0,0,0,50391,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50391 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:54','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'User List 1','Y','User 1',TO_DATE('2007-12-17 07:17:54','YYYY-MM-DD HH24:MI:SS'),'L',35,'N',0,0,0,50392,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50392 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:54','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50010,'F','C','N','N','N',0,'N','N','N','N','X',0,'User List 2','Y','User 2',TO_DATE('2007-12-17 07:17:54','YYYY-MM-DD HH24:MI:SS'),'L',36,'N',0,0,0,50393,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50393 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'DD_Order_Header_v','3','Y','N','N','DD_Order_Header_v',TO_DATE('2007-12-17 07:17:55','YYYY-MM-DD HH24:MI:SS'),53039,0,TO_DATE('2007-12-17 07:17:55','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53039 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table DD_Order_Header_v',0,0,'DD_Order_Header_v',50000,1000000,'Y',53036,TO_DATE('2007-12-17 07:17:56','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 07:17:56','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintTableFormat_ID,AD_PrintColor_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin,Description) VALUES ('Y',50011,'N','Y',0,TO_DATE('2007-12-17 07:17:55','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 07:17:55','YYYY-MM-DD HH24:MI:SS'),0,53039,'N',101,100,'DistributionOrder_Header  ** TEMPLATE **',0,100,0,0,'N',130,230,'Standard Order Header')
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:58','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Priority','Y','Priority',TO_DATE('2007-12-17 07:17:58','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50394,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50394 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:17:59','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Active','Y','Active',TO_DATE('2007-12-17 07:17:59','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50395,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50395 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:02','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'ZIP','Y','ZIP',TO_DATE('2007-12-17 07:18:02','YYYY-MM-DD HH24:MI:SS'),'B',0,'N',0,0,0,50396,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50396 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:03','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Weight','Y','Weight',TO_DATE('2007-12-17 07:18:03','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50397,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50397 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:04','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Warehouse Address','Y','Warehouse Address',TO_DATE('2007-12-17 07:18:04','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50398,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50398 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Warehouse','Y','Warehouse',TO_DATE('2007-12-17 07:18:05','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50399,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50399 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Volume','Y','Volume',TO_DATE('2007-12-17 07:18:06','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50400,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50400 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 07:18:07','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50401,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50401 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Updated','Y','Updated',TO_DATE('2007-12-17 07:18:08','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50402,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50402 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Tax ID','Y','Tax ID',TO_DATE('2007-12-17 07:18:09','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50403,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50403 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:10','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Shipper','Y','Shipper',TO_DATE('2007-12-17 07:18:10','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50404,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50404 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:11','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Sales Transaction','Y','Sales Transaction',TO_DATE('2007-12-17 07:18:11','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50405,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50405 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Project','Y','Project',TO_DATE('2007-12-17 07:18:12','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50406,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50406 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:13','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Phone','Y','Phone',TO_DATE('2007-12-17 07:18:13','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50407,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50407 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Partner Tax ID','Y','BP Tax TD',TO_DATE('2007-12-17 07:18:14','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50408,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50408 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Organization','Y','Organization',TO_DATE('2007-12-17 07:18:15','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50409,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50409 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'NAICS/SIC','Y','NAICS/SIC',TO_DATE('2007-12-17 07:18:16','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50410,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50410 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Language','Y','Language',TO_DATE('2007-12-17 07:18:16','YYYY-MM-DD HH24:MI:SS'),'B',0,'N',0,0,0,50411,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50411 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Document Status','Y','Doc Status',TO_DATE('2007-12-17 07:18:18','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50412,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50412 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:19','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Delivery Via','Y','Delivery Via',TO_DATE('2007-12-17 07:18:19','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50413,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50413 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:21','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Delivery Rule','Y','Delivery Rule',TO_DATE('2007-12-17 07:18:21','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50414,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50414 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:22','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'D-U-N-S','Y','D-U-N-S',TO_DATE('2007-12-17 07:18:22','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50415,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50415 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Created By','Y','Created By',TO_DATE('2007-12-17 07:18:23','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50416,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50416 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:23','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Created','Y','Created',TO_DATE('2007-12-17 07:18:23','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50417,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50417 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:25','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Client','Y','Client',TO_DATE('2007-12-17 07:18:25','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50418,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50418 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:26','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Charge amount','Y','Charge Amt',TO_DATE('2007-12-17 07:18:26','YYYY-MM-DD HH24:MI:SS'),'T',0,'N',0,0,0,50419,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50419 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:27','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Charge','Y','Charge',TO_DATE('2007-12-17 07:18:27','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50420,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50420 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:28','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Campaign','Y','Campaign',TO_DATE('2007-12-17 07:18:28','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50421,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50421 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:29','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Business Partner ','Y','Business Partner ',TO_DATE('2007-12-17 07:18:29','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50422,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50422 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:18:30','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Activity','Y','Activity',TO_DATE('2007-12-17 07:18:30','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50423,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50423 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL='org/compiere/images/C10030HR.png', IsHeightOneLine='Y', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=30, AD_PrintColor_ID=100, AD_PrintFormat_ID=50011, PrintFormatType='I', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', Name='Client', IsRelativePosition='Y', PrintName=NULL, AD_PrintFont_ID=130, FieldAlignmentType='D', SeqNo=10, IsAveraged='N', XSpace=0, MaxWidth=10, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=20, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 07:19:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50418
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50418
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,AD_PrintFont_ID,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:04','YYYY-MM-DD HH24:MI:SS'),'Y',0,'N','Y',0,50011,'F','H','N','N','N',0,'Y','N','N','N','X',0,'Org Address','Y','Org Address',163,TO_DATE('2007-12-17 07:19:04','YYYY-MM-DD HH24:MI:SS'),'D',20,'N',0,0,0,50424,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50424 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:05','YYYY-MM-DD HH24:MI:SS'),'N',20,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','Y','N','X',0,'BP Greeting','N','BP Greeting',TO_DATE('2007-12-17 07:19:05','YYYY-MM-DD HH24:MI:SS'),'L',30,'N',0,0,0,50425,0,'Y',0,0,0,'N','Y','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50425 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',1,0,TO_DATE('2007-12-17 07:19:05','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','N','N','X',0,'Name','Y','Name',TO_DATE('2007-12-17 07:19:05','YYYY-MM-DD HH24:MI:SS'),'L',40,'N',0,0,0,50426,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50426 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:06','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','C','N','N','N',0,'Y','N','Y','N','X',0,'Name 2','Y','Name 2',TO_DATE('2007-12-17 07:19:06','YYYY-MM-DD HH24:MI:SS'),'L',50,'N',0,0,0,50427,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50427 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:07','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'Y','N','N','N','X',0,'BP Contact Greeting','Y','BP Contact Greeting',TO_DATE('2007-12-17 07:19:07','YYYY-MM-DD HH24:MI:SS'),'L',60,'N',0,0,0,50428,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50428 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:08','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','N','N','X',0,'Title','Y','Title',TO_DATE('2007-12-17 07:19:08','YYYY-MM-DD HH24:MI:SS'),'L',70,'N',0,0,0,50429,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50429 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:09','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','Y','N','X',0,'Contact Name','Y',TO_DATE('2007-12-17 07:19:09','YYYY-MM-DD HH24:MI:SS'),'B',80,'N',0,0,0,50430,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50430 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:10','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'Y','N','N','N','X',0,'Address','Y','Address',TO_DATE('2007-12-17 07:19:10','YYYY-MM-DD HH24:MI:SS'),'L',90,'N',0,0,0,50431,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50431 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:11','YYYY-MM-DD HH24:MI:SS'),'N',340,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','N','N','X',0,'Date Promised','N','Date Promised',TO_DATE('2007-12-17 07:19:11','YYYY-MM-DD HH24:MI:SS'),'L',100,'N',0,0,0,50432,0,'Y',0,0,0,'N','Y','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50432 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'Y','N','N','N','X',0,'BP Search Key','Y','Customer No',TO_DATE('2007-12-17 07:19:12','YYYY-MM-DD HH24:MI:SS'),'L',110,'N',0,0,0,50433,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50433 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:12','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'Y','N','N','N','X',0,'Reference No','Y','Reference No',TO_DATE('2007-12-17 07:19:12','YYYY-MM-DD HH24:MI:SS'),'L',120,'N',0,0,0,50434,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50434 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:14','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'Y','N','N','N','X',0,'Order Reference','Y','Order Reference',TO_DATE('2007-12-17 07:19:14','YYYY-MM-DD HH24:MI:SS'),'L',130,'N',0,0,0,50435,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50435 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:15','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'Y','N','Y','N','X',0,'Sales Representative','Y','Wherahouse Man',TO_DATE('2007-12-17 07:19:15','YYYY-MM-DD HH24:MI:SS'),'L',140,'N',0,0,0,50436,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50436 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,AD_PrintFont_ID,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:16','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','N','N','X',0,'Document Type','N','Document Type',129,TO_DATE('2007-12-17 07:19:16','YYYY-MM-DD HH24:MI:SS'),'L',150,'N',0,0,0,50437,0,'Y',0,0,0,'N','Y','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50437 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,AD_PrintFont_ID,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('Y',10,0,TO_DATE('2007-12-17 07:19:17','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','N','N','X',0,'Document No','Y','Document No',129,TO_DATE('2007-12-17 07:19:17','YYYY-MM-DD HH24:MI:SS'),'L',160,'N',0,0,0,50438,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50438 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,AD_PrintFont_ID,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:18','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','H','N','N','N',0,'N','N','N','N','X',0,'Date Ordered','Y','Date Ordered',129,TO_DATE('2007-12-17 07:19:18','YYYY-MM-DD HH24:MI:SS'),'L',170,'N',10,0,0,50439,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50439 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:19','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','C','N','N','N',0,'N','N','N','N','X',0,'Document Type Note','Y','Document Type Note',TO_DATE('2007-12-17 07:19:19','YYYY-MM-DD HH24:MI:SS'),'B',180,'N',0,0,0,50440,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50440 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='Y', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=50011, PrintFormatType='T', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', Name='Client', IsRelativePosition='Y', PrintName='@*CopyInfo@  @*MultiPageInfo@', FieldAlignmentType='D', SeqNo=190, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=20, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 07:19:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50418
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50418
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:53','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','Y',0,50011,'F','C','N','N','N',0,'Y','N','N','N','X',0,'Description','Y',TO_DATE('2007-12-17 07:19:53','YYYY-MM-DD HH24:MI:SS'),'B',200,'N',0,0,0,50441,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50441 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintColor_ID,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,AD_PrintFormatChild_ID,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,CreatedBy,Name,IsRelativePosition,AD_PrintFont_ID,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 07:19:54','YYYY-MM-DD HH24:MI:SS'),'Y',0,'N','Y',0,100,50011,'P','C','N',50010,'N','N',0,'Y','N','Y','N','X',0,'DD_Order_ID','N',130,TO_DATE('2007-12-17 07:19:54','YYYY-MM-DD HH24:MI:SS'),'D',210,'N',0,0,0,50442,0,'Y',0,0,20,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50442 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,AD_PrintFormat_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Distribution Order Print',0,0,0,'** Special ** Do not change **',TO_DATE('2007-12-17 07:19:55','YYYY-MM-DD HH24:MI:SS'),53044,TO_DATE('2007-12-17 07:19:55','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Y',50011,'Y','3',0,'Rpt DD_Order','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53044 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

UPDATE AD_Table SET Name='DD_OrderLine_ID', AccessLevel='1', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=NULL, IsDeleteable='Y', TableName='DD_OrderLine', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='EE01',Updated=TO_DATE('2007-12-17 07:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53038
;

UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53038
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Line No','Y','N','Unique line for this document','Y',1,'@SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_InOutLine WHERE M_InOut_ID=@M_InOut_ID@','Indicates the unique line for a document.  It will also control the display order of the lines within a document.',1,'Y',53038,53926,'Line',0,0,22,'N',TO_DATE('2007-12-17 07:20:11','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 07:20:11','YYYY-MM-DD HH24:MI:SS'),439,'Y','N','N',0,'N','N','EE01')
;

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=53926 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE DD_OrderLine (Line NUMBER(10) DEFAULT  NULL  NOT NULL)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53312,'QtyInTransit','QtyInTransit',0,0,0,0,'QtyInTransit',TO_DATE('2007-12-17 07:20:13','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 07:20:13','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53312 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,SeqNo,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QtyInTransit','N','N','N',2,'1',1.000000000000,'Y',53038,53927,'QtyInTransit',0,0,22,'N',TO_DATE('2007-12-17 07:20:13','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:20:13','YYYY-MM-DD HH24:MI:SS'),53312,'Y','N','N',0,'N','N','EE01')
;

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=53927 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 DD_OrderLine ADD QtyInTransit NUMBER DEFAULT 1
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Ordered Quantity','Y','N','Ordered Quantity','Y',2,'1','The Ordered Quantity indicates the quantity of a product that was ordered.',1.000000000000,'Y',53038,53928,'QtyOrdered',0,0,22,'N',TO_DATE('2007-12-17 07:20:18','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:20:18','YYYY-MM-DD HH24:MI:SS'),531,'Y','N','N',0,'org.compiere.model.CalloutInOut.qty','N','N','EE01')
;

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=53928 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 DD_OrderLine ADD QtyOrdered NUMBER DEFAULT 1 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','N','N','Product, Service, Item','Y',3,'Identifies an item which is either purchased or sold in this organization.',1,'Y',53038,53929,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 07:20:19','YYYY-MM-DD HH24:MI:SS'),'Y',30,231,0,TO_DATE('2007-12-17 07:20:19','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'org.compiere.model.CalloutInOut.product','N','N','EE01')
;

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=53929 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 DD_OrderLine ADD M_Product_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DD_Order_ID','Y','N','Y',4,1,'Y',53038,53930,'DD_Order_ID',0,0,22,'Y',TO_DATE('2007-12-17 07:20:21','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 07:20:21','YYYY-MM-DD HH24:MI:SS'),53311,'N','N','N',0,'N','N','EE01')
;

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=53930 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 DD_OrderLine ADD DD_Order_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Charge','N','N','Additional document charges','N','The Charge indicates a type of Charge (Handling, Shipping, Restocking)',0,'Y',53038,53931,'C_Charge_ID',0,0,10,'N',TO_DATE('2007-12-17 07:20:22','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:20:22','YYYY-MM-DD HH24:MI:SS'),968,'Y','N','N',0,'N','N','EE01')
;

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=53931 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 DD_OrderLine ADD C_Charge_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Project','N','N','Financial Project','N','A Project allows you to track and control internal or external activities.',0,'Y',53038,53932,'C_Project_ID',0,0,10,'N',TO_DATE('2007-12-17 07:20:24','YYYY-MM-DD HH24:MI:SS'),'Y',19,227,0,TO_DATE('2007-12-17 07:20:24','YYYY-MM-DD HH24:MI:SS'),208,'Y','N','N',0,'N','N','EE01')
;

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=53932 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 DD_OrderLine ADD C_Project_ID NUMBER(10)
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='(EXISTS (SELECT * FROM C_UOM uu WHERE C_UOM.C_UOM_ID=uu.C_UOM_ID AND IsDefault=''Y'' AND @M_Product_ID@=0)
OR EXISTS (SELECT * FROM M_Product p WHERE C_UOM.C_UOM_ID=p.C_UOM_ID AND @M_Product_ID@=p.M_Product_ID)
OR EXISTS (SELECT * FROM M_Product p INNER JOIN C_UOM_Conversion c ON (p.C_UOM_ID=c.C_UOM_ID AND p.M_Product_ID=c.M_Product_ID) WHERE C_UOM.C_UOM_ID=c.C_UOM_TO_ID AND @M_Product_ID@=p.M_Product_ID))', Name='C_UOM Product Options', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:20:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=210
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('UOM','Y','N','Unit of Measure','N','@#C_UOM_ID@','The UOM defines a unique non monetary Unit of Measure',1,'Y',53038,53933,'C_UOM_ID',0,0,22,'N',TO_DATE('2007-12-17 07:20:38','YYYY-MM-DD HH24:MI:SS'),'Y',19,210,0,TO_DATE('2007-12-17 07:20:38','YYYY-MM-DD HH24:MI:SS'),215,'N','N','N',0,'org.compiere.model.CalloutInOut.qty','N','N','EE01')
;

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=53933 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 DD_OrderLine ADD C_UOM_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Confirmed Quantity','N','N','Confirmation of a received quantity','N','Confirmation of a received quantity',1,'Y',53038,53934,'ConfirmedQty',0,0,22,'N',TO_DATE('2007-12-17 07:20:40','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:20:40','YYYY-MM-DD HH24:MI:SS'),2386,'Y','N','N',0,'N','N','EE01')
;

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=53934 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 DD_OrderLine ADD ConfirmedQty NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',1,'Y',53038,53935,'Created',0,0,7,'N',TO_DATE('2007-12-17 07:20:41','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 07:20:41','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53935 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 DD_OrderLine ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,1,'Y',53038,53936,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 07:20:43','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:20:43','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53936 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 DD_OrderLine ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53313,'DD_OrderLine_ID','DD_OrderLine_ID',0,0,0,0,'DD_OrderLine_ID',TO_DATE('2007-12-17 07:20:44','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 07:20:44','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53313 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DD_OrderLine_ID','Y','N','N',1,'Y',53038,53937,'DD_OrderLine_ID',0,0,22,'N',TO_DATE('2007-12-17 07:20:44','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 07:20:44','YYYY-MM-DD HH24:MI:SS'),53313,'N','Y','N',0,'N','N','EE01')
;

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=53937 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 DD_OrderLine ADD DD_OrderLine_ID NUMBER(10) NOT NULL
;

ALTER TABLE DD_OrderLine ADD CONSTRAINT DD_OrderLine_Key PRIMARY KEY (DD_OrderLine_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Delivered','N','N','Date when the product was delivered','N',0,'Y',53038,53938,'DateDelivered',0,0,8,'N',TO_DATE('2007-12-17 07:20:47','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 07:20:47','YYYY-MM-DD HH24:MI:SS'),264,'Y','N','N',0,'N','N','EE01')
;

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=53938 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 DD_OrderLine ADD DateDelivered DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Ordered','N','N','Date of Order','N','Indicates the Date an item was ordered.',0,'Y',53038,53939,'DateOrdered',0,0,10,'N',TO_DATE('2007-12-17 07:20:48','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 07:20:48','YYYY-MM-DD HH24:MI:SS'),268,'Y','N','N',0,'N','N','EE01')
;

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=53939 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 DD_OrderLine ADD DateOrdered DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Promised','N','N','Date Order was promised','N','The Date Promised indicates the date, if any, that an Order was promised for.',0,'Y',53038,53940,'DatePromised',0,0,10,'N',TO_DATE('2007-12-17 07:20:49','YYYY-MM-DD HH24:MI:SS'),'Y',15,0,TO_DATE('2007-12-17 07:20:49','YYYY-MM-DD HH24:MI:SS'),269,'Y','N','N',0,'N','N','EE01')
;

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=53940 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 DD_OrderLine ADD DatePromised DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',1,'Y',53038,53941,'Description',0,0,255,'N',TO_DATE('2007-12-17 07:20:51','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 07:20:51','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'Y','N','EE01')
;

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=53941 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 DD_OrderLine ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Freight Amount','N','N','Freight Amount ','N','The Freight Amount indicates the amount charged for Freight in the document currency.',0,'Y',53038,53942,'FreightAmt',0,0,10,'N',TO_DATE('2007-12-17 07:20:52','YYYY-MM-DD HH24:MI:SS'),'Y',12,0,TO_DATE('2007-12-17 07:20:52','YYYY-MM-DD HH24:MI:SS'),306,'Y','N','N',0,'N','N','EE01')
;

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=53942 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 DD_OrderLine ADD FreightAmt NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','Y','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.',1,'Y',53038,53943,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 07:20:54','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:20:54','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53943 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 DD_OrderLine ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description Only','Y','N','if true, the line is just description and no transaction','N','N','If a line is Description Only, e.g. Product Inventory is not corrected. No accounting transactions are created and the amount or totals are not included in the document.  This for including descriptional detail lines, e.g. for an Work Order.',1,'Y',53038,53944,'IsDescription',0,0,1,'N',TO_DATE('2007-12-17 07:20:55','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:20:55','YYYY-MM-DD HH24:MI:SS'),2183,'Y','N','N',0,'N','N','EE01')
;

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=53944 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 DD_OrderLine ADD IsDescription CHAR(1) DEFAULT 'N' CHECK (IsDescription IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Invoiced','Y','N','Is this invoiced?','N','If selected, invoices are created',1,'Y',53038,53945,'IsInvoiced',0,0,1,'N',TO_DATE('2007-12-17 07:20:57','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:20:57','YYYY-MM-DD HH24:MI:SS'),387,'Y','N','N',0,'N','N','EE01')
;

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=53945 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 DD_OrderLine ADD IsInvoiced CHAR(1) CHECK (IsInvoiced IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Line Amount','N','N','Line Extended Amount (Quantity * Actual Price) without Freight and Charges','N','Indicates the extended line amount based on the quantity and the actual price.  Any additional charges or freight are not included.  The Amount may or may not include tax.  If the price list is inclusive tax, the line amount is the same as the line total.',0,'Y',53038,53946,'LineNetAmt',0,0,10,'N',TO_DATE('2007-12-17 07:20:58','YYYY-MM-DD HH24:MI:SS'),'Y',12,0,TO_DATE('2007-12-17 07:20:58','YYYY-MM-DD HH24:MI:SS'),441,'Y','N','N',0,'N','N','EE01')
;

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=53946 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 DD_OrderLine ADD LineNetAmt NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance To','N','N','Target Product Attribute Set Instance','N',0,'Y',53038,53947,'M_AttributeSetInstanceTo_ID',0,0,10,'N',TO_DATE('2007-12-17 07:20:59','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 07:20:59','YYYY-MM-DD HH24:MI:SS'),2799,'Y','N','N',0,'N','N','EE01')
;

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=53947 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 DD_OrderLine ADD M_AttributeSetInstanceTo_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set Instance','Y','N','Product Attribute Set Instance','N','The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',1,'Y',53038,53948,'M_AttributeSetInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 07:21:01','YYYY-MM-DD HH24:MI:SS'),'Y',35,0,TO_DATE('2007-12-17 07:21:01','YYYY-MM-DD HH24:MI:SS'),2019,'Y','N','N',0,'org.compiere.model.CalloutInOut.asi','N','N','EE01')
;

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=53948 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 DD_OrderLine ADD M_AttributeSetInstance_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Locator To','N','N','Location inventory is moved to','N','The Locator To indicates the location where the inventory is being moved to.',0,'Y',53038,53949,'M_LocatorTo_ID',0,0,10,'N',TO_DATE('2007-12-17 07:21:02','YYYY-MM-DD HH24:MI:SS'),'Y',31,0,TO_DATE('2007-12-17 07:21:02','YYYY-MM-DD HH24:MI:SS'),1029,'Y','N','N',0,'N','N','EE01')
;

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=53949 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 DD_OrderLine ADD M_LocatorTo_ID NUMBER(10)
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='M_Locator.M_Warehouse_ID=@M_Warehouse_ID@', Name='M_Locator of Warehouse', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:21:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=127
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Locator','Y','N','Warehouse Locator','N','@M_Locator_ID@','The Locator indicates where in a Warehouse a product is located.',1,'Y',53038,53950,'M_Locator_ID',0,0,22,'N',TO_DATE('2007-12-17 07:21:13','YYYY-MM-DD HH24:MI:SS'),'Y',31,127,0,TO_DATE('2007-12-17 07:21:13','YYYY-MM-DD HH24:MI:SS'),448,'Y','N','N',0,'N','N','EE01')
;

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=53950 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 DD_OrderLine ADD M_Locator_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Picked Quantity','N','N','N',1,'Y',53038,53951,'PickedQty',0,0,22,'N',TO_DATE('2007-12-17 07:21:15','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:21:15','YYYY-MM-DD HH24:MI:SS'),2422,'Y','N','N',0,'N','N','EE01')
;

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=53951 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 DD_OrderLine ADD PickedQty NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Processed','Y','N','The document has been processed','N','The Processed checkbox indicates that a document has been processed.',1,'Y',53038,53952,'Processed',0,0,1,'N',TO_DATE('2007-12-17 07:21:17','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 07:21:17','YYYY-MM-DD HH24:MI:SS'),1047,'Y','N','N',0,'N','N','EE01')
;

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=53952 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 DD_OrderLine ADD Processed CHAR(1) CHECK (Processed IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivered Quantity','N','N','Delivered Quantity','N','The Delivered Quantity indicates the quantity of a product that has been delivered.',0,'Y',53038,53953,'QtyDelivered',0,0,10,'N',TO_DATE('2007-12-17 07:21:18','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:21:18','YYYY-MM-DD HH24:MI:SS'),528,'Y','N','N',0,'N','N','EE01')
;

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=53953 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 DD_OrderLine ADD QtyDelivered NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,Callout,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Quantity','Y','N','The Quantity Entered is based on the selected UoM','N','1','The Quantity Entered is converted to base product UoM quantity',1,'Y',53038,53954,'QtyEntered',0,0,22,'N',TO_DATE('2007-12-17 07:21:20','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:21:20','YYYY-MM-DD HH24:MI:SS'),2589,'Y','N','N',0,'org.compiere.model.CalloutInOut.qty','N','N','EE01')
;

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=53954 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 DD_OrderLine ADD QtyEntered NUMBER DEFAULT 1 NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Reserved Quantity','N','N','Reserved Quantity','N','The Reserved Quantity indicates the quantity of a product that is currently reserved.',0,'Y',53038,53955,'QtyReserved',0,0,10,'N',TO_DATE('2007-12-17 07:21:21','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:21:21','YYYY-MM-DD HH24:MI:SS'),532,'Y','N','N',0,'N','N','EE01')
;

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=53955 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 DD_OrderLine ADD QtyReserved NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Scrapped Quantity','N','N','The Quantity scrapped due to QA issues','N','0',1,'Y',53038,53956,'ScrappedQty',0,0,22,'N',TO_DATE('2007-12-17 07:21:23','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:21:23','YYYY-MM-DD HH24:MI:SS'),2435,'Y','N','N',0,'N','N','EE01')
;

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=53956 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 DD_OrderLine ADD ScrappedQty NUMBER DEFAULT 0
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Target Quantity','N','N','Target Movement Quantity','N','The Quantity which should have been received',1,'Y',53038,53957,'TargetQty',0,0,22,'N',TO_DATE('2007-12-17 07:21:24','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 07:21:24','YYYY-MM-DD HH24:MI:SS'),2436,'Y','N','N',0,'N','N','EE01')
;

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=53957 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 DD_OrderLine ADD TargetQty NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',1,'Y',53038,53958,'Updated',0,0,7,'N',TO_DATE('2007-12-17 07:21:25','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 07:21:25','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53958 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 DD_OrderLine ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,1,'Y',53038,53959,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 07:21:27','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:21:27','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53959 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 DD_OrderLine ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 1','N','N','User defined list element #1','N','The user defined element displays the optional elements that have been defined for this account combination.',134,0,'Y',53038,53960,'User1_ID',0,0,10,'N',TO_DATE('2007-12-17 07:21:31','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:21:31','YYYY-MM-DD HH24:MI:SS'),613,'Y','N','N',0,'N','N','EE01')
;

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=53960 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 DD_OrderLine ADD User1_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','@AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',1,'Y',53038,53961,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 07:21:32','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 07:21:32','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53961 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 DD_OrderLine ADD AD_Client_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User List 2','N','N','User defined list element #2','N','The user defined element displays the optional elements that have been defined for this account combination.',137,0,'Y',53038,53962,'User2_ID',0,0,10,'N',TO_DATE('2007-12-17 07:21:33','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:21:33','YYYY-MM-DD HH24:MI:SS'),614,'Y','N','N',0,'N','N','EE01')
;

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=53962 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 DD_OrderLine ADD User2_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Trx Organization','N','N','Performing or initiating organization','N','The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',130,0,'Y',53038,53963,'AD_OrgTrx_ID',0,0,10,'N',TO_DATE('2007-12-17 07:21:35','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:21:35','YYYY-MM-DD HH24:MI:SS'),112,'Y','N','N',0,'N','N','EE01')
;

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=53963 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 DD_OrderLine ADD AD_OrgTrx_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','@AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',1,'Y',53038,53964,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 07:21:37','YYYY-MM-DD HH24:MI:SS'),'Y',19,130,0,TO_DATE('2007-12-17 07:21:37','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53964 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 DD_OrderLine ADD AD_Org_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_Activity.IsActive=''Y'' AND C_Activity.IsSummary=''N''', Name='C_Activity (Trx)', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=235
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Activity','N','N','Business Activity','N','Activities indicate tasks that are performed and used to utilize Activity based Costing',0,'Y',53038,53965,'C_Activity_ID',0,0,10,'N',TO_DATE('2007-12-17 07:21:49','YYYY-MM-DD HH24:MI:SS'),'Y',19,235,0,TO_DATE('2007-12-17 07:21:49','YYYY-MM-DD HH24:MI:SS'),1005,'Y','N','N',0,'N','N','EE01')
;

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=53965 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 DD_OrderLine ADD C_Activity_ID NUMBER(10)
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_Campaign.IsActive=''Y'' AND C_Campaign.IsSummary=''N''', Name='C_Campaign (Trx)', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:21:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=236
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Campaign','N','N','Marketing Campaign','N','The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',0,'Y',53038,53966,'C_Campaign_ID',0,0,10,'N',TO_DATE('2007-12-17 07:21:58','YYYY-MM-DD HH24:MI:SS'),'Y',19,236,0,TO_DATE('2007-12-17 07:21:58','YYYY-MM-DD HH24:MI:SS'),550,'Y','N','N',0,'N','N','EE01')
;

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=53966 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 DD_OrderLine ADD C_Campaign_ID NUMBER(10)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 07:22:00','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 07:22:00','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Order Line',20,53038,53050,53012,'N','N','N','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53050 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:01','YYYY-MM-DD HH24:MI:SS'),0,54003,22,53927,'N',0,TO_DATE('2007-12-17 07:22:01','YYYY-MM-DD HH24:MI:SS'),'QtyInTransit',53050,'N','N',0,'N','EE01')
;

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=54003 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:02','YYYY-MM-DD HH24:MI:SS'),0,54004,'Performing or initiating organization',10,53963,'N',0,'The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',TO_DATE('2007-12-17 07:22:02','YYYY-MM-DD HH24:MI:SS'),'Trx Organization',53050,'N','N',0,'N','EE01')
;

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=54004 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:03','YYYY-MM-DD HH24:MI:SS'),0,54005,'Organizational entity within client',22,53964,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 07:22:03','YYYY-MM-DD HH24:MI:SS'),'Organization',53050,'N','N',0,'N','EE01')
;

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=54005 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:04','YYYY-MM-DD HH24:MI:SS'),0,54006,'Business Activity',10,53965,'N',0,'Activities indicate tasks that are performed and used to utilize Activity based Costing',TO_DATE('2007-12-17 07:22:04','YYYY-MM-DD HH24:MI:SS'),'Activity',53050,'N','N',0,'N','EE01')
;

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=54006 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:05','YYYY-MM-DD HH24:MI:SS'),0,54007,'Marketing Campaign',10,53966,'N',0,'The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',TO_DATE('2007-12-17 07:22:05','YYYY-MM-DD HH24:MI:SS'),'Campaign',53050,'N','N',0,'N','EE01')
;

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=54007 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:06','YYYY-MM-DD HH24:MI:SS'),0,54008,'Additional document charges',10,53931,'N',0,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)',TO_DATE('2007-12-17 07:22:06','YYYY-MM-DD HH24:MI:SS'),'Charge',53050,'N','N',0,'N','EE01')
;

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=54008 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:07','YYYY-MM-DD HH24:MI:SS'),0,54009,'Financial Project',10,53932,'N',0,'A Project allows you to track and control internal or external activities.',TO_DATE('2007-12-17 07:22:07','YYYY-MM-DD HH24:MI:SS'),'Project',53050,'N','N',0,'N','EE01')
;

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=54009 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:08','YYYY-MM-DD HH24:MI:SS'),0,54010,'Unit of Measure',22,53933,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 07:22:08','YYYY-MM-DD HH24:MI:SS'),'UOM',53050,'N','N',0,'N','EE01')
;

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=54010 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:09','YYYY-MM-DD HH24:MI:SS'),0,54011,'Confirmation of a received quantity',22,53934,'N',0,'Confirmation of a received quantity',TO_DATE('2007-12-17 07:22:09','YYYY-MM-DD HH24:MI:SS'),'Confirmed Quantity',53050,'N','N',0,'N','EE01')
;

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=54011 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:10','YYYY-MM-DD HH24:MI:SS'),0,54012,'Optional short description of the record',255,53941,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 07:22:10','YYYY-MM-DD HH24:MI:SS'),'Description',53050,'N','N',0,'N','EE01')
;

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=54012 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:10','YYYY-MM-DD HH24:MI:SS'),0,54013,'The record is active in the system',1,53943,'N',0,'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.',TO_DATE('2007-12-17 07:22:10','YYYY-MM-DD HH24:MI:SS'),'Active',53050,'N','N',0,'N','EE01')
;

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=54013 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:11','YYYY-MM-DD HH24:MI:SS'),0,54014,'if true, the line is just description and no transaction',1,53944,'N',0,'If a line is Description Only, e.g. Product Inventory is not corrected. No accounting transactions are created and the amount or totals are not included in the document.  This for including descriptional detail lines, e.g. for an Work Order.',TO_DATE('2007-12-17 07:22:11','YYYY-MM-DD HH24:MI:SS'),'Description Only',53050,'N','N',0,'N','EE01')
;

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=54014 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:13','YYYY-MM-DD HH24:MI:SS'),0,54015,'Is this invoiced?',1,53945,'N',0,'If selected, invoices are created',TO_DATE('2007-12-17 07:22:13','YYYY-MM-DD HH24:MI:SS'),'Invoiced',53050,'N','N',0,'N','EE01')
;

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=54015 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:14','YYYY-MM-DD HH24:MI:SS'),0,54016,'Delivered Quantity',10,53953,'N',0,'The Delivered Quantity indicates the quantity of a product that has been delivered.',TO_DATE('2007-12-17 07:22:14','YYYY-MM-DD HH24:MI:SS'),'Delivered Quantity',53050,'N','N',0,'N','EE01')
;

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=54016 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:15','YYYY-MM-DD HH24:MI:SS'),0,54017,'Reserved Quantity',10,53955,'N',0,'The Reserved Quantity indicates the quantity of a product that is currently reserved.',TO_DATE('2007-12-17 07:22:15','YYYY-MM-DD HH24:MI:SS'),'Reserved Quantity',53050,'N','N',0,'N','EE01')
;

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=54017 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:16','YYYY-MM-DD HH24:MI:SS'),0,54018,'Date when the product was delivered',8,53938,'N',0,TO_DATE('2007-12-17 07:22:16','YYYY-MM-DD HH24:MI:SS'),'Date Delivered',53050,'N','N',0,'N','EE01')
;

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=54018 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:17','YYYY-MM-DD HH24:MI:SS'),0,54019,'User defined list element #1',10,53960,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 07:22:17','YYYY-MM-DD HH24:MI:SS'),'User List 1',53050,'N','N',0,'N','EE01')
;

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=54019 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:19','YYYY-MM-DD HH24:MI:SS'),0,54020,'User defined list element #2',10,53962,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 07:22:19','YYYY-MM-DD HH24:MI:SS'),'User List 2',53050,'N','N',0,'N','EE01')
;

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=54020 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:20','YYYY-MM-DD HH24:MI:SS'),0,54021,'Client/Tenant for this installation.',22,53961,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 07:22:20','YYYY-MM-DD HH24:MI:SS'),'Client',53050,'N','N',0,'N','EE01')
;

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=54021 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:21','YYYY-MM-DD HH24:MI:SS'),0,54022,'Freight Amount ',10,53942,'N',0,'The Freight Amount indicates the amount charged for Freight in the document currency.',TO_DATE('2007-12-17 07:22:21','YYYY-MM-DD HH24:MI:SS'),'Freight Amount',53050,'N','N',0,'N','EE01')
;

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=54022 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:21','YYYY-MM-DD HH24:MI:SS'),0,54023,'Line Extended Amount (Quantity * Actual Price) without Freight and Charges',10,53946,'N',0,'Indicates the extended line amount based on the quantity and the actual price.  Any additional charges or freight are not included.  The Amount may or may not include tax.  If the price list is inclusive tax, the line amount is the same as the line total.',TO_DATE('2007-12-17 07:22:21','YYYY-MM-DD HH24:MI:SS'),'Line Amount',53050,'N','N',0,'N','EE01')
;

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=54023 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:22','YYYY-MM-DD HH24:MI:SS'),0,54024,'Date of Order',10,53939,'N',0,'Indicates the Date an item was ordered.',TO_DATE('2007-12-17 07:22:22','YYYY-MM-DD HH24:MI:SS'),'Date Ordered',53050,'N','N',0,'N','EE01')
;

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=54024 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:23','YYYY-MM-DD HH24:MI:SS'),0,54025,22,53930,'N',0,TO_DATE('2007-12-17 07:22:23','YYYY-MM-DD HH24:MI:SS'),'DD_Order_ID',53050,'N','N',0,'N','EE01')
;

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=54025 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:24','YYYY-MM-DD HH24:MI:SS'),0,54026,22,53937,'N',0,TO_DATE('2007-12-17 07:22:24','YYYY-MM-DD HH24:MI:SS'),'DD_OrderLine_ID',53050,'N','N',0,'N','EE01')
;

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=54026 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:25','YYYY-MM-DD HH24:MI:SS'),0,54027,22,53951,'N',0,TO_DATE('2007-12-17 07:22:25','YYYY-MM-DD HH24:MI:SS'),'Picked Quantity',53050,'N','N',0,'N','EE01')
;

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=54027 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:26','YYYY-MM-DD HH24:MI:SS'),0,54028,'The document has been processed',1,53952,'N',0,'The Processed checkbox indicates that a document has been processed.',TO_DATE('2007-12-17 07:22:26','YYYY-MM-DD HH24:MI:SS'),'Processed',53050,'N','N',0,'N','EE01')
;

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=54028 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:27','YYYY-MM-DD HH24:MI:SS'),0,54029,'The Quantity Entered is based on the selected UoM',22,53954,'N',0,'The Quantity Entered is converted to base product UoM quantity',TO_DATE('2007-12-17 07:22:27','YYYY-MM-DD HH24:MI:SS'),'Quantity',53050,'N','N',0,'N','EE01')
;

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=54029 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:28','YYYY-MM-DD HH24:MI:SS'),0,54030,'The Quantity scrapped due to QA issues',22,53956,'N',0,TO_DATE('2007-12-17 07:22:28','YYYY-MM-DD HH24:MI:SS'),'Scrapped Quantity',53050,'N','N',0,'N','EE01')
;

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=54030 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:22:29','YYYY-MM-DD HH24:MI:SS'),0,54031,'Target Movement Quantity',22,53957,'N',0,'The Quantity which should have been received',TO_DATE('2007-12-17 07:22:29','YYYY-MM-DD HH24:MI:SS'),'Target Quantity',53050,'N','N',0,'N','EE01')
;

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=54031 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:22:30','YYYY-MM-DD HH24:MI:SS'),0,54032,'Unique line for this document',22,53926,'N',0,'Indicates the unique line for a document.  It will also control the display order of the lines within a document.',TO_DATE('2007-12-17 07:22:30','YYYY-MM-DD HH24:MI:SS'),'Line No',53050,'N','N',10,'N','EE01')
;

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=54032 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:22:31','YYYY-MM-DD HH24:MI:SS'),0,54033,'Date Order was promised',10,53940,'N',0,'The Date Promised indicates the date, if any, that an Order was promised for.',TO_DATE('2007-12-17 07:22:31','YYYY-MM-DD HH24:MI:SS'),'Date Promised',53050,'N','N',20,'N','EE01')
;

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=54033 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:22:32','YYYY-MM-DD HH24:MI:SS'),0,54034,'Product, Service, Item',22,53929,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 07:22:32','YYYY-MM-DD HH24:MI:SS'),'Product',53050,'N','N',30,'N','EE01')
;

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=54034 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:22:33','YYYY-MM-DD HH24:MI:SS'),0,54035,'Ordered Quantity',22,53928,'N',0,'The Ordered Quantity indicates the quantity of a product that was ordered.',TO_DATE('2007-12-17 07:22:33','YYYY-MM-DD HH24:MI:SS'),'Ordered Quantity',53050,'N','N',40,'N','EE01')
;

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=54035 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:22:34','YYYY-MM-DD HH24:MI:SS'),0,54036,'Warehouse Locator',22,53950,'N',0,'The Locator indicates where in a Warehouse a product is located.',TO_DATE('2007-12-17 07:22:34','YYYY-MM-DD HH24:MI:SS'),'Locator',53050,'N','N',50,'N','EE01')
;

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=54036 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:22:35','YYYY-MM-DD HH24:MI:SS'),0,54037,'Location inventory is moved to',10,53949,'N',0,'The Locator To indicates the location where the inventory is being moved to.',TO_DATE('2007-12-17 07:22:35','YYYY-MM-DD HH24:MI:SS'),'Locator To',53050,'N','N',60,'N','EE01')
;

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=54037 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 07:22:35','YYYY-MM-DD HH24:MI:SS'),0,54038,'Product Attribute Set Instance',22,53948,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 07:22:35','YYYY-MM-DD HH24:MI:SS'),'Instance',53050,'N','N',70,'N','EE01')
;

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=54038 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 07:22:36','YYYY-MM-DD HH24:MI:SS'),0,54039,'Target Product Attribute Set Instance',10,53947,'N',0,TO_DATE('2007-12-17 07:22:36','YYYY-MM-DD HH24:MI:SS'),'Instance To',53050,'N','N',80,'N','EE01')
;

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=54039 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_Form (AccessLevel,AD_Client_ID,Classname,CreatedBy,Updated,UpdatedBy,AD_Org_ID,Name,Description,AD_Form_ID,Created,IsActive,IsBetaFunctionality,EntityType) VALUES ('3',0,'org.eevolution.form.VOrderDistribution',0,TO_DATE('2007-12-17 07:22:37','YYYY-MM-DD HH24:MI:SS'),0,0,'Generate Movement Manual','Generate Movement to a Order Distribution',53008,TO_DATE('2007-12-17 07:22:37','YYYY-MM-DD HH24:MI:SS'),'Y','N','EE01')
;

INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Name,t.Description,t.Help, '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=53008 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

INSERT INTO AD_Form_Access (AD_Form_ID,AD_Role_ID,AD_Client_ID,UpdatedBy,AD_Org_ID,IsActive,Updated,Created,CreatedBy) VALUES (53008,0,0,0,0,'Y',TO_DATE('2007-12-17 07:22:38','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 07:22:38','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Generate Movement',0,0,0,'Generate and print Movement from open Distribution Orders',TO_DATE('2007-12-17 07:22:38','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.MovementGenerate',53046,TO_DATE('2007-12-17 07:22:38','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Movement for open Distribution Orders are created based on the delivery rule of the Distribution Order and the relative order priority.  If a Promise Date is selected only orders up to (including) the date are selected.<br>
If several Distribution Orders of a business partner have the same location, the Distribution orders can be consolidated into one Movement.<br>
You can also include Distibution orders who have outstanding confirmations (e.g. ordered=10 - not confirmed movements=4 - would create a new movement of 6 if available).','N','N','1',0,'M_Generate Movement','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53046 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,DefaultValue,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53081,0,0,'Warehouse','Y',0,'Storage Warehouse and Service Point','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',53046,TO_DATE('2007-12-17 07:22:39','YYYY-MM-DD HH24:MI:SS'),'M_Warehouse_ID','Y','N',0,0,19,TO_DATE('2007-12-17 07:22:39','YYYY-MM-DD HH24:MI:SS'),'@#M_Warehouse_ID@','Y',10,459,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53081 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53082,0,0,'Business Partner ','Y',0,'Identifies a Business Partner','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',53046,TO_DATE('2007-12-17 07:22:40','YYYY-MM-DD HH24:MI:SS'),'C_BPartner_ID','Y','N',0,0,30,TO_DATE('2007-12-17 07:22:40','YYYY-MM-DD HH24:MI:SS'),'N',30,187,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53082 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53083,0,0,'Date Promised','Y',0,'Date Order was promised','The Date Promised indicates the date, if any, that an Order was promised for.',53046,TO_DATE('2007-12-17 07:22:47','YYYY-MM-DD HH24:MI:SS'),'DatePromised','Y','N',0,0,15,TO_DATE('2007-12-17 07:22:47','YYYY-MM-DD HH24:MI:SS'),'N',40,269,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53083 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Val_Rule_ID,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53084,0,0,'Document Action','Y',0,'The targeted status of the document','You find the current status in the Document Status field. The options are listed in a popup',53046,TO_DATE('2007-12-17 07:22:48','YYYY-MM-DD HH24:MI:SS'),'DocAction','Y','N',0,219,0,135,17,TO_DATE('2007-12-17 07:22:48','YYYY-MM-DD HH24:MI:SS'),'N',60,287,'U')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53084 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53085,0,0,'Movement Date','Y',0,'Date a product was moved in or out of inventory','The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.',53046,TO_DATE('2007-12-17 07:22:48','YYYY-MM-DD HH24:MI:SS'),'MovementDate','Y','N',0,0,15,TO_DATE('2007-12-17 07:22:48','YYYY-MM-DD HH24:MI:SS'),'N',20,1037,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53085 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,DefaultValue,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53086,0,0,'Consolidate to one Document','Y',0,'Consolidate Lines into one Document',53046,TO_DATE('2007-12-17 07:22:49','YYYY-MM-DD HH24:MI:SS'),'ConsolidateDocument','Y','N',0,0,20,TO_DATE('2007-12-17 07:22:49','YYYY-MM-DD HH24:MI:SS'),'Y','N',70,2182,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53086 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53087,0,0,'Orders with unconfirmed Shipments','Y',0,'Generate shipments for Orders with open delivery confirmations?','You can also include orders who have outstanding confirmations (e.g. ordered=10 - not confirmed shipments=4 - would create a new shipment of 6 if available).',53046,TO_DATE('2007-12-17 07:22:50','YYYY-MM-DD HH24:MI:SS'),'IsUnconfirmedInOut','Y','N',0,0,20,TO_DATE('2007-12-17 07:22:50','YYYY-MM-DD HH24:MI:SS'),'N',50,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53087 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)
;

UPDATE AD_Table SET Name='Move Line', AccessLevel='1', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=170, IsDeleteable='Y', TableName='M_MovementLine', Description='Inventory Move document Line', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 07:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=324
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,ColumnSQL,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','N','N','Search key for the record in the format required - must be unique','N','(SELECT Value FROM M_Product p WHERE p.M_Product_ID=M_MovementLine.M_Product_ID)','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).',0,'Y',324,53967,'Value',0,0,60,'N',TO_DATE('2007-12-17 07:23:16','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 07:23:16','YYYY-MM-DD HH24:MI:SS'),620,'N','N','N',0,'N','N','U')
;

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=53967 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

UPDATE AD_Column SET Name='Target Quantity', IsMandatory='Y', IsTranslated='N', Description='Target Movement Quantity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='0', Help='The Quantity which should have been received', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='TargetQty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=2436, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:23:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10802
;

UPDATE AD_Field SET Name='Target Quantity', Description='Target Movement Quantity', Help='The Quantity which should have been received' WHERE AD_Column_ID=10802 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Confirmed Quantity', IsMandatory='N', IsTranslated='N', Description='Confirmation of a received quantity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='0', Help='Confirmation of a received quantity', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='ConfirmedQty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=2386, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:24:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10801
;

UPDATE AD_Field SET Name='Confirmed Quantity', Description='Confirmation of a received quantity', Help='Confirmation of a received quantity' WHERE AD_Column_ID=10801 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Attribute Set Instance', IsMandatory='Y', IsTranslated='N', Description='Product Attribute Set Instance', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='M_AttributeSetInstance_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=35, AD_Val_Rule_ID=NULL, AD_Element_ID=2019, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:24:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8551
;

UPDATE AD_Field SET Name='Attribute Set Instance', Description='Product Attribute Set Instance', Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.' WHERE AD_Column_ID=8551 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Processed', IsMandatory='Y', IsTranslated='N', Description='The document has been processed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Processed checkbox indicates that a document has been processed.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='Processed', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1047, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:24:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12072
;

UPDATE AD_Field SET Name='Processed', Description='The document has been processed', Help='The Processed checkbox indicates that a document has been processed.' WHERE AD_Column_ID=12072 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Scrapped Quantity', IsMandatory='N', IsTranslated='N', Description='The Quantity scrapped due to QA issues', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='0', Help=NULL, AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='ScrappedQty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=2435, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10803
;

UPDATE AD_Field SET Name='Scrapped Quantity', Description='The Quantity scrapped due to QA issues', Help=NULL WHERE AD_Column_ID=10803 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Line No', IsMandatory='Y', IsTranslated='N', Description='Unique line for this document', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue='@SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_MovementLine WHERE M_Movement_ID=@M_Movement_ID@', Help='Indicates the unique line for a document.  It will also control the display order of the lines within a document.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='Line', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=11, AD_Val_Rule_ID=NULL, AD_Element_ID=439, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:25:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3820
;

UPDATE AD_Field SET Name='Line No', Description='Unique line for this document', Help='Indicates the unique line for a document.  It will also control the display order of the lines within a document.' WHERE AD_Column_ID=3820 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Movement Quantity', IsMandatory='Y', IsTranslated='N', Description='Quantity of a product moved.', IsIdentifier='Y', SeqNo=2, ColumnSQL=NULL, DefaultValue='1', Help='The Movement Quantity indicates the quantity of a product that has been moved.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='MovementQty', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=1038, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout='org.compiere.model.CalloutMovement.qty', ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:26:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3594
;

UPDATE AD_Field SET Name='Movement Quantity', Description='Quantity of a product moved.', Help='The Movement Quantity indicates the quantity of a product that has been moved.' WHERE AD_Column_ID=3594 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Inventory Move', IsMandatory='Y', IsTranslated='N', Description='Movement of Inventory', IsIdentifier='Y', SeqNo=3, ColumnSQL=NULL, DefaultValue=NULL, Help='The Inventory Movement uniquely identifies a group of movement lines.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='M_Movement_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1030, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:26:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3590
;

UPDATE AD_Field SET Name='Inventory Move', Description='Movement of Inventory', Help='The Inventory Movement uniquely identifies a group of movement lines.' WHERE AD_Column_ID=3590 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Locator', IsMandatory='Y', IsTranslated='N', Description='Warehouse Locator', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@M_Locator_ID@', Help='The Locator indicates where in a Warehouse a product is located.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='M_Locator_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=31, AD_Val_Rule_ID=NULL, AD_Element_ID=448, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:26:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3591
;

UPDATE AD_Field SET Name='Locator', Description='Warehouse Locator', Help='The Locator indicates where in a Warehouse a product is located.' WHERE AD_Column_ID=3591 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Move Line', IsMandatory='Y', IsTranslated='N', Description='Inventory Move document Line', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='M_MovementLine_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=1031, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:27:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3582
;

UPDATE AD_Field SET Name='Move Line', Description='Inventory Move document Line', Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction' WHERE AD_Column_ID=3582 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='M_Product (stocked)', Description=NULL, IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:27:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=171
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=171
;

UPDATE AD_Ref_Table SET AD_Table_ID = 208, AD_Display = 1410, AD_Key = 1402, isValueDisplayed = 'N', OrderByClause = 'M_Product.Value', EntityType ='D', WhereClause = 'M_Product.IsStocked=''Y'' AND M_Product.IsSummary=''N''' WHERE AD_Reference_ID = 171
;

UPDATE AD_Column SET Name='Product', IsMandatory='Y', IsTranslated='N', Description='Product, Service, Item', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Identifies an item which is either purchased or sold in this organization.', AD_Reference_Value_ID=171, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='M_Product_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=454, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout='org.compiere.model.CalloutMovement.product', ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:27:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3593
;

UPDATE AD_Field SET Name='Product', Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.' WHERE AD_Column_ID=3593 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:28:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3588
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=3588 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:28:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3589
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=3589 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Reference SET Help=NULL, ValidationType='T', Name='M_Locator', Description='Warehouse Locator', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:28:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=191
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=191
;

UPDATE AD_Ref_Table SET AD_Table_ID = 207, AD_Display = 3012, AD_Key = 1389, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 191
;

UPDATE AD_Column SET Name='Locator To', IsMandatory='Y', IsTranslated='N', Description='Location inventory is moved to', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@M_LocatorTo_ID@', Help='The Locator To indicates the location where the inventory is being moved to.', AD_Reference_Value_ID=191, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='M_LocatorTo_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=31, AD_Val_Rule_ID=NULL, AD_Element_ID=1029, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:29:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3592
;

UPDATE AD_Field SET Name='Locator To', Description='Location inventory is moved to', Help='The Locator To indicates the location where the inventory is being moved to.' WHERE AD_Column_ID=3592 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:29:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3584
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=3584 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:29:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3586
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=3586 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:30:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3587
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=3587 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DD_OrderLine_ID','N','N','N',0,'Y',324,53968,'DD_OrderLine_ID',0,0,10,'N',TO_DATE('2007-12-17 07:30:38','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:30:38','YYYY-MM-DD HH24:MI:SS'),53313,'Y','N','N',0,'N','N','EE01')
;

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=53968 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 M_MOVEMENTLINE ADD DD_OrderLine_ID NUMBER(10)
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:31:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3595
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=3595 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:31:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3585
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=3585 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Attribute Set Instance To', IsMandatory='N', IsTranslated='N', Description='Target Product Attribute Set Instance', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=0, IsActive='Y', AD_Table_ID=324, ColumnName='M_AttributeSetInstanceTo_ID', FieldLength=10, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=35, AD_Val_Rule_ID=NULL, AD_Element_ID=2799, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:31:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=14006
;

UPDATE AD_Field SET Name='Attribute Set Instance To', Description='Target Product Attribute Set Instance', Help=NULL WHERE AD_Column_ID=14006 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=324, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:32:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3583
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=3583 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Enter Inventory Movement Line', Help='The Move Line Tab defines the product and quantity to be moved and the location it is moving from and to.  ', OrderByClause=NULL, IsTranslationTab='N', Name='Move Line', SeqNo=20, AD_Table_ID=324, AD_Window_ID=170, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=1, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:32:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=260
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=260
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Inventory Move document Line', DisplayLength=14, AD_Column_ID=3582, IsFieldOnly='N', Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction', Name='Move Line', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:32:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2736
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The document has been processed', DisplayLength=1, AD_Column_ID=12072, IsFieldOnly='N', Help='The Processed checkbox indicates that a document has been processed.', Name='Processed', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:33:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10334
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=3583, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:33:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2729
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=3584, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=260, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:33:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2730
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Movement of Inventory', DisplayLength=14, AD_Column_ID=3590, IsFieldOnly='N', Help='The Inventory Movement uniquely identifies a group of movement lines.', Name='Inventory Move', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:33:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2735
;

UPDATE AD_Field SET SortNo=1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Unique line for this document', DisplayLength=11, AD_Column_ID=3820, IsFieldOnly='N', Help='Indicates the unique line for a document.  It will also control the display order of the lines within a document.', Name='Line No', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:34:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2952
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:34:15','YYYY-MM-DD HH24:MI:SS'),0,54040,10,53968,'N',0,TO_DATE('2007-12-17 07:34:15','YYYY-MM-DD HH24:MI:SS'),'DD_OrderLine_ID',260,'Y','N',50,'N','EE01')
;

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=54040 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 SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=3595, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:34:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2731
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:34:34','YYYY-MM-DD HH24:MI:SS'),0,54041,'Search key for the record in the format required - must be unique',60,53967,'N',0,'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).',TO_DATE('2007-12-17 07:34:34','YYYY-MM-DD HH24:MI:SS'),'Search Key',260,'N','N',70,'N','U')
;

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=54041 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 SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=3585, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:34:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2732
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Product, Service, Item', DisplayLength=26, AD_Column_ID=3593, IsFieldOnly='N', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:35:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2737
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Product Attribute Set Instance', DisplayLength=26, AD_Column_ID=8551, IsFieldOnly='N', Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.', Name='Attribute Set Instance', AD_Tab_ID=260, IsSameLine='Y', IsHeading='N', SeqNo=90, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:35:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=6571
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Target Product Attribute Set Instance', DisplayLength=10, AD_Column_ID=14006, IsFieldOnly='N', Help=NULL, Name='Attribute Set Instance To', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=100, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:35:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12097
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=12097
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Warehouse Locator', DisplayLength=14, AD_Column_ID=3591, IsFieldOnly='N', Help='The Locator indicates where in a Warehouse a product is located.', Name='Locator', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=110, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:36:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2733
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Location inventory is moved to', DisplayLength=14, AD_Column_ID=3592, IsFieldOnly='N', Help='The Locator To indicates the location where the inventory is being moved to.', Name='Locator To', AD_Tab_ID=260, IsSameLine='Y', IsHeading='N', SeqNo=120, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:36:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2734
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Quantity of a product moved.', DisplayLength=26, AD_Column_ID=3594, IsFieldOnly='N', Help='The Movement Quantity indicates the quantity of a product that has been moved.', Name='Movement Quantity', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=130, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:36:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2738
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Target Movement Quantity', DisplayLength=26, AD_Column_ID=10802, IsFieldOnly='N', Help='The Quantity which should have been received', Name='Target Quantity', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=140, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:37:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=9226
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The Quantity scrapped due to QA issues', DisplayLength=26, AD_Column_ID=10803, IsFieldOnly='N', Help=NULL, Name='Scrapped Quantity', AD_Tab_ID=260, IsSameLine='Y', IsHeading='N', SeqNo=150, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:37:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=9227
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=9227
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Confirmation of a received quantity', DisplayLength=26, AD_Column_ID=10801, IsFieldOnly='N', Help='Confirmation of a received quantity', Name='Confirmed Quantity', AD_Tab_ID=260, IsSameLine='N', IsHeading='N', SeqNo=160, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:37:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=9225
;

UPDATE AD_Table SET Name='M_MovementLineMA', AccessLevel='1', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=170, IsDeleteable='Y', TableName='M_MovementLineMA', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 07:37:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=764
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:38:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13310
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=13310 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=104, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:38:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13305
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=13305 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:38:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13307
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=13307 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:39:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13308
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=13308 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:40:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13306
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=13306 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Attribute Set Instance', IsMandatory='Y', IsTranslated='N', Description='Product Attribute Set Instance', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='M_AttributeSetInstance_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=35, AD_Val_Rule_ID=NULL, AD_Element_ID=2019, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:40:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13303
;

UPDATE AD_Field SET Name='Attribute Set Instance', Description='Product Attribute Set Instance', Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.' WHERE AD_Column_ID=13303 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:40:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13304
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=13304 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Movement Quantity', IsMandatory='N', IsTranslated='N', Description='Quantity of a product moved.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Movement Quantity indicates the quantity of a product that has been moved.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='MovementQty', FieldLength=15, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=29, AD_Val_Rule_ID=NULL, AD_Element_ID=1038, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:41:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13311
;

UPDATE AD_Field SET Name='Movement Quantity', Description='Quantity of a product moved.', Help='The Movement Quantity indicates the quantity of a product that has been moved.' WHERE AD_Column_ID=13311 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:41:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13309
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=13309 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Move Line', IsMandatory='Y', IsTranslated='N', Description='Inventory Move document Line', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=764, ColumnName='M_MovementLine_ID', FieldLength=22, IsParent='Y', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=30, AD_Val_Rule_ID=NULL, AD_Element_ID=1031, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13302
;

UPDATE AD_Field SET Name='Move Line', Description='Inventory Move document Line', Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction' WHERE AD_Column_ID=13302 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Tab SET Description='Product Instance Attribute Material Allocation', Help=NULL, OrderByClause=NULL, IsTranslationTab='N', Name='Attributes', SeqNo=30, AD_Table_ID=764, AD_Window_ID=170, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='N', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='Y', ImportFields=NULL, Processing='N', TabLevel=2, IsInsertRecord='N', IsAdvancedTab='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:42:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=750
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=750
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=13306, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=750, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:42:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12187
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=22, AD_Column_ID=13304, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=750, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:43:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12189
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=22, AD_Column_ID=13305, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=750, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:43:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12192
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Inventory Move document Line', DisplayLength=22, AD_Column_ID=13302, IsFieldOnly='N', Help='The Movement Line indicates the inventory movement document line (if applicable) for this transaction', Name='Move Line', AD_Tab_ID=750, IsSameLine='N', IsHeading='N', SeqNo=30, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:43:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12190
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Product Attribute Set Instance', DisplayLength=22, AD_Column_ID=13303, IsFieldOnly='N', Help='The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.', Name='Attribute Set Instance', AD_Tab_ID=750, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:44:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12188
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Quantity of a product moved.', DisplayLength=40, AD_Column_ID=13311, IsFieldOnly='N', Help='The Movement Quantity indicates the quantity of a product that has been moved.', Name='Movement Quantity', AD_Tab_ID=750, IsSameLine='Y', IsHeading='N', SeqNo=50, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:44:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=12191
;

UPDATE AD_Table SET Name='Inventory Move', AccessLevel='1', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=170, IsDeleteable='Y', TableName='M_Movement', Description='Movement of Inventory', IsHighVolume='N', ImportTable=NULL, IsView='N', IsChangeLog='N', ReplicationType='L', EntityType='D',Updated=TO_DATE('2007-12-17 07:44:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=323
;

UPDATE AD_Column SET Name='User List 2', IsMandatory='N', IsTranslated='N', Description='User defined list element #2', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The user defined element displays the optional elements that have been defined for this account combination.', AD_Reference_Value_ID=137, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='User2_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=614, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:44:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9546
;

UPDATE AD_Field SET Name='User List 2', Description='User defined list element #2', Help='The user defined element displays the optional elements that have been defined for this account combination.' WHERE AD_Column_ID=9546 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Approved', IsMandatory='Y', IsTranslated='N', Description='Indicates if this document requires approval', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Approved checkbox indicates if this document requires approval before it can be processed.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='IsApproved', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=351, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:45:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12416
;

UPDATE AD_Field SET Name='Approved', Description='Indicates if this document requires approval', Help='The Approved checkbox indicates if this document requires approval before it can be processed.' WHERE AD_Column_ID=12416 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='In Transit', IsMandatory='Y', IsTranslated='N', Description='Movement is in transit', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Material Movement is in transit - shipped, but not received.
The transaction is completed, if confirmed.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='IsInTransit', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=2397, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:45:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10799
;

UPDATE AD_Field SET Name='In Transit', Description='Movement is in transit', Help='Material Movement is in transit - shipped, but not received.
The transaction is completed, if confirmed.' WHERE AD_Column_ID=10799 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Date received', IsMandatory='N', IsTranslated='N', Description='Date a product was received', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Date Received indicates the date that product was received.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='DateReceived', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=1324, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:46:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10798
;

UPDATE AD_Field SET Name='Date received', Description='Date a product was received', Help='The Date Received indicates the date that product was received.' WHERE AD_Column_ID=10798 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_Project.IsSummary=''N'' AND C_Project.IsActive=''Y'' AND C_Project.Processed=''N''', Name='C_Project (Trx)', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:46:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=232
;

UPDATE AD_Column SET Name='Project', IsMandatory='N', IsTranslated='N', Description='Financial Project', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A Project allows you to track and control internal or external activities.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='C_Project_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=232, AD_Element_ID=208, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:46:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9548
;

UPDATE AD_Field SET Name='Project', Description='Financial Project', Help='A Project allows you to track and control internal or external activities.' WHERE AD_Column_ID=9548 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Trx Organization', IsMandatory='N', IsTranslated='N', Description='Performing or initiating organization', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='AD_OrgTrx_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=112, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:47:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9550
;

UPDATE AD_Field SET Name='Trx Organization', Description='Performing or initiating organization', Help='The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.' WHERE AD_Column_ID=9550 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Posted', IsMandatory='Y', IsTranslated='N', Description='Posting status', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Posted field indicates the status of the Generation of General Ledger Accounting Lines ', AD_Reference_Value_ID=234, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='Posted', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=1308, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:47:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6536
;

UPDATE AD_Field SET Name='Posted', Description='Posting status', Help='The Posted field indicates the status of the Generation of General Ledger Accounting Lines ' WHERE AD_Column_ID=6536 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Approval Amount', IsMandatory='N', IsTranslated='N', Description='Document Approval Amount', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Approval Amount for Workflow', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='ApprovalAmt', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=12, AD_Val_Rule_ID=NULL, AD_Element_ID=2533, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:48:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12415
;

UPDATE AD_Field SET Name='Approval Amount', Description='Document Approval Amount', Help='Approval Amount for Workflow' WHERE AD_Column_ID=12415 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Workflow SET Name='Process_Movement', WorkingTime=0, AccessLevel='1', Author='Adempiere, Inc.', Cost=0, DocValueLogic=NULL, Duration=1, DurationUnit='D', EntityType='D', IsValid='N', Limit=0, Priority=0, PublishStatus='R', Value='Process_Movement', Version=0, WaitingTime=0, WorkflowType='P', AD_Table_ID=323, AD_WF_Node_ID=NULL, Description='(Standard Process Movement)', Help=NULL,Updated=TO_DATE('2007-12-17 07:48:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=128
;

UPDATE AD_Workflow_Trl SET IsTranslated='N' WHERE AD_Workflow_ID=128
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Movement', Description='(Standard Process Movement)',Updated=TO_DATE('2007-12-17 07:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=232
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=232
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Movement', Description='(Standard Process Movement)',Updated=TO_DATE('2007-12-17 07:48:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=233
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=233
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Movement', Description='(Standard Process Movement)',Updated=TO_DATE('2007-12-17 07:48:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=234
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=234
;

UPDATE AD_WF_Node SET Help=NULL, Name='Process_Movement', Description='(Standard Process Movement)',Updated=TO_DATE('2007-12-17 07:48:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=235
;

UPDATE AD_WF_Node_Trl SET IsTranslated='N' WHERE AD_WF_Node_ID=235
;

INSERT INTO AD_WF_Node (SplitElement,Cost,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,0,0,'D','N','X',0,'(Start)',0,0,0,5,5,'(Start)','Y',TO_DATE('2007-12-17 07:48:32','YYYY-MM-DD HH24:MI:SS'),0,50045,128,'Z',0,0,TO_DATE('2007-12-17 07:48:32','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50045 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'PR',0,0,'D','N','X',0,'(DocPrepare)',0,0,0,170,5,'(DocPrepare)','Y',TO_DATE('2007-12-17 07:48:33','YYYY-MM-DD HH24:MI:SS'),0,50046,128,'D',0,0,TO_DATE('2007-12-17 07:48:33','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50046 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'D','N','X',0,'(DocComplete)',0,0,0,170,120,'(DocComplete)','Y',TO_DATE('2007-12-17 07:48:34','YYYY-MM-DD HH24:MI:SS'),0,50047,128,'D',0,0,TO_DATE('2007-12-17 07:48:34','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50047 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'--',0,0,'D','N','X',0,'(DocAuto)',0,0,0,5,120,'(DocAuto)','Y',TO_DATE('2007-12-17 07:48:35','YYYY-MM-DD HH24:MI:SS'),0,50048,128,'D',0,0,TO_DATE('2007-12-17 07:48:35','YYYY-MM-DD HH24:MI:SS'),0,'(Standard Node)')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50048 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=181,Updated=TO_DATE('2007-12-17 07:48:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Workflow_ID=128
;

UPDATE AD_Process SET Name='Process Movements', AD_Workflow_ID=128, Statistic_Seconds=0, Description='Process Inventory Movements', Classname=NULL, ProcedureName=NULL, IsActive='Y', Help='Process Inventory Movements will update inventory quantities based on the defined movements between warehouses or locations.', IsReport='N', IsDirectPrint='N', AccessLevel='1', Statistic_Count=0, Value='M_Movement_Process', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=122
;

UPDATE AD_Column SET Name='Document Action', IsMandatory='Y', IsTranslated='N', Description='The targeted status of the document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='CO', Help='You find the current status in the Document Status field. The options are listed in a popup', AD_Reference_Value_ID=135, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='DocAction', FieldLength=2, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=28, AD_Val_Rule_ID=NULL, AD_Element_ID=287, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=122, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:49:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10797
;

UPDATE AD_Field SET Name='Document Action', Description='The targeted status of the document', Help='You find the current status in the Document Status field. The options are listed in a popup' WHERE AD_Column_ID=10797 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Document Status', IsMandatory='Y', IsTranslated='N', Description='The current status of the document', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='DR', Help='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', AD_Reference_Value_ID=131, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='DocStatus', FieldLength=2, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=17, AD_Val_Rule_ID=NULL, AD_Element_ID=289, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:49:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=10800
;

UPDATE AD_Field SET Name='Document Status', Description='The current status of the document', Help='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' WHERE AD_Column_ID=10800 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Val_Rule SET IsActive='Y', Code='C_DocType.DocBaseType=''MMM''', Name='C_DocType Movement', Description=NULL, Type='S', EntityType='D',Updated=TO_DATE('2007-12-17 07:49:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=201
;

UPDATE AD_Column SET Name='Document Type', IsMandatory='Y', IsTranslated='N', Description='Document type or rules', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Document Type determines document sequence and processing rules', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='C_DocType_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=201, AD_Element_ID=196, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:50:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=12201
;

UPDATE AD_Field SET Name='Document Type', Description='Document type or rules', Help='The Document Type determines document sequence and processing rules' WHERE AD_Column_ID=12201 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Campaign', IsMandatory='N', IsTranslated='N', Description='Marketing Campaign', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='C_Campaign_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=550, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:50:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9549
;

UPDATE AD_Field SET Name='Campaign', Description='Marketing Campaign', Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.' WHERE AD_Column_ID=9549 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Activity', IsMandatory='N', IsTranslated='N', Description='Business Activity', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='C_Activity_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=NULL, AD_Element_ID=1005, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:51:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9545
;

UPDATE AD_Field SET Name='Activity', Description='Business Activity', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing' WHERE AD_Column_ID=9545 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='User List 1', IsMandatory='N', IsTranslated='N', Description='User defined list element #1', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The user defined element displays the optional elements that have been defined for this account combination.', AD_Reference_Value_ID=134, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='User1_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=613, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:51:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=9547
;

UPDATE AD_Field SET Name='User List 1', Description='User defined list element #1', Help='The user defined element displays the optional elements that have been defined for this account combination.' WHERE AD_Column_ID=9547 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Document No', IsMandatory='Y', IsTranslated='N', Description='Document sequence number of the document', IsIdentifier='Y', SeqNo=1, ColumnSQL=NULL, DefaultValue=NULL, Help='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).', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='DocumentNo', FieldLength=30, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=290, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:51:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3577
;

UPDATE AD_Field SET Name='Document No', Description='Document sequence number of the document', Help='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).' WHERE AD_Column_ID=3577 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Freight Cost Rule','N','N','Method for charging Freight','N','The Freight Cost Rule indicates the method used when charging for freight.',153,1.000000000000,'Y',323,53969,'FreightCostRule',0,0,1,'N',TO_DATE('2007-12-17 07:51:54','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:51:54','YYYY-MM-DD HH24:MI:SS'),1007,'Y','N','N',0,'N','N','EE01')
;

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=53969 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 M_MOVEMENT ADD FreightCostRule CHAR(1)
;

UPDATE AD_Column SET Name='Active', IsMandatory='Y', IsTranslated='N', Description='The record is active in the system', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='Y', Help='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.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='IsActive', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=348, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:52:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3572
;

UPDATE AD_Field SET Name='Active', Description='The record is active in the system', Help='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.' WHERE AD_Column_ID=3572 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Inventory Move', IsMandatory='Y', IsTranslated='N', Description='Movement of Inventory', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Inventory Movement uniquely identifies a group of movement lines.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='M_Movement_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=13, AD_Val_Rule_ID=NULL, AD_Element_ID=1030, IsUpdateable='N', IsKey='Y', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:52:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3569
;

UPDATE AD_Field SET Name='Inventory Move', Description='Movement of Inventory', Help='The Inventory Movement uniquely identifies a group of movement lines.' WHERE AD_Column_ID=3569 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Shipper','N','N','Method or manner of product delivery','N','The Shipper indicates the method of delivering product',1.000000000000,'Y',323,53970,'M_Shipper_ID',0,0,10,'N',TO_DATE('2007-12-17 07:52:38','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:52:38','YYYY-MM-DD HH24:MI:SS'),455,'Y','N','N',0,'N','N','EE01')
;

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=53970 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 M_MOVEMENT ADD M_Shipper_ID NUMBER(10)
;

UPDATE AD_Column SET Name='Movement Date', IsMandatory='Y', IsTranslated='N', Description='Date a product was moved in or out of inventory', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#Date@', Help='The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='MovementDate', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=15, AD_Val_Rule_ID=NULL, AD_Element_ID=1037, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3579
;

UPDATE AD_Field SET Name='Movement Date', Description='Date a product was moved in or out of inventory', Help='The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.' WHERE AD_Column_ID=3579 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Priority','N','N','Priority of a document','N','The Priority indicates the importance (high, medium, low) of this document',154,1.000000000000,'Y',323,53971,'PriorityRule',0,0,1,'N',TO_DATE('2007-12-17 07:53:01','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:53:01','YYYY-MM-DD HH24:MI:SS'),522,'Y','N','N',0,'N','N','EE01')
;

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=53971 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 M_MOVEMENT ADD PriorityRule CHAR(1)
;

UPDATE AD_Column SET Name='Processed', IsMandatory='Y', IsTranslated='N', Description='The document has been processed', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Processed checkbox indicates that a document has been processed.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='Processed', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=1047, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:53:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3580
;

UPDATE AD_Field SET Name='Processed', Description='The document has been processed', Help='The Processed checkbox indicates that a document has been processed.' WHERE AD_Column_ID=3580 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Client', IsMandatory='Y', IsTranslated='N', Description='Client/Tenant for this installation.', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='AD_Client_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=129, AD_Element_ID=102, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:53:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3570
;

UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=3570 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sales Representative','N','N','Sales Representative or Company Agent','N','The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.',190,1.000000000000,'Y',323,53972,'SalesRep_ID',0,0,10,'N',TO_DATE('2007-12-17 07:53:47','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:53:47','YYYY-MM-DD HH24:MI:SS'),1063,'Y','N','N',0,'N','N','EE01')
;

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=53972 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 M_MOVEMENT ADD SalesRep_ID NUMBER(10)
;

UPDATE AD_Column SET Name='Updated', IsMandatory='Y', IsTranslated='N', Description='Date this record was updated', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated field indicates the date that this record was updated.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='Updated', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=607, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:54:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3576
;

UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=3576 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Updated By', IsMandatory='Y', IsTranslated='N', Description='User who updated this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Updated By field indicates the user who updated this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='UpdatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=608, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:54:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3575
;

UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=3575 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Process Now', IsMandatory='N', IsTranslated='N', Description=NULL, IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help=NULL, AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='Processing', FieldLength=1, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=20, AD_Val_Rule_ID=NULL, AD_Element_ID=524, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:54:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3581
;

UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=3581 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Organization', IsMandatory='Y', IsTranslated='N', Description='Organizational entity within client', IsIdentifier='N', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='AD_Org_ID', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=19, AD_Val_Rule_ID=130, AD_Element_ID=113, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:55:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3571
;

UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=3571 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('User/Contact','N','N','User within the system - Internal or Business Partner Contact','N','The User identifies a unique user in the system. This could be an internal user or a business partner contact',286,1.000000000000,'Y',323,53973,'AD_User_ID',0,0,10,'N',TO_DATE('2007-12-17 07:55:25','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 07:55:25','YYYY-MM-DD HH24:MI:SS'),138,'Y','N','N',0,'N','N','EE01')
;

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=53973 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 M_MOVEMENT ADD AD_User_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Business Partner ','N','N','Identifies a Business Partner','N','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',1.000000000000,'Y',323,53974,'C_BPartner_ID',0,0,10,'N',TO_DATE('2007-12-17 07:55:27','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 07:55:27','YYYY-MM-DD HH24:MI:SS'),187,'Y','N','N',0,'N','N','EE01')
;

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=53974 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 M_MOVEMENT ADD C_BPartner_ID NUMBER(10)
;

UPDATE AD_Reference SET Help=NULL, ValidationType='D', Name='Location (Address)', Description='Location/Address', IsActive='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:55:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=21
;

UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=21
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Partner Location','N','N','Identifies the (ship to) address for this Business Partner','N','The Partner address indicates the location of a Business Partner',1.000000000000,'Y',323,53975,'C_BPartner_Location_ID',0,0,10,'N',TO_DATE('2007-12-17 07:55:39','YYYY-MM-DD HH24:MI:SS'),'Y',21,0,TO_DATE('2007-12-17 07:55:39','YYYY-MM-DD HH24:MI:SS'),189,'Y','N','N',0,'N','N','EE01')
;

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=53975 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 M_MOVEMENT ADD C_BPartner_Location_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Charge','N','N','Additional document charges','N','The Charge indicates a type of Charge (Handling, Shipping, Restocking)',1.000000000000,'Y',323,53976,'C_Charge_ID',0,0,10,'N',TO_DATE('2007-12-17 07:55:41','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:55:41','YYYY-MM-DD HH24:MI:SS'),968,'Y','N','N',0,'N','N','EE01')
;

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=53976 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 M_MOVEMENT ADD C_Charge_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Charge amount','N','N','Charge Amount','N','The Charge Amount indicates the amount for an additional charge.',1.000000000000,'Y',323,53977,'ChargeAmt',0,0,10,'N',TO_DATE('2007-12-17 07:55:43','YYYY-MM-DD HH24:MI:SS'),'Y',12,0,TO_DATE('2007-12-17 07:55:43','YYYY-MM-DD HH24:MI:SS'),849,'Y','N','N',0,'N','N','EE01')
;

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=53977 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 M_MOVEMENT ADD ChargeAmt NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Create lines from','N','N','Process which will generate a new document lines based on an existing document','N','The Create From process will create a new document based on information in an existing document selected by the user.',0,'Y',323,53978,'CreateFrom',0,0,1,'N',TO_DATE('2007-12-17 07:55:44','YYYY-MM-DD HH24:MI:SS'),'Y',28,0,TO_DATE('2007-12-17 07:55:44','YYYY-MM-DD HH24:MI:SS'),1490,'Y','N','N',0,'N','N','EE01')
;

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=53978 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 M_MOVEMENT ADD CreateFrom CHAR(1)
;

UPDATE AD_Column SET Name='Created', IsMandatory='Y', IsTranslated='N', Description='Date this record was created', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created field indicates the date that this record was created.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='Created', FieldLength=7, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=16, AD_Val_Rule_ID=NULL, AD_Element_ID=245, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:56:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3573
;

UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=3573 AND IsCentrallyMaintained='Y'
;

UPDATE AD_Column SET Name='Created By', IsMandatory='Y', IsTranslated='N', Description='User who created this records', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='The Created By field indicates the user who created this record.', AD_Reference_Value_ID=110, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='CreatedBy', FieldLength=22, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=18, AD_Val_Rule_ID=NULL, AD_Element_ID=246, IsUpdateable='N', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:56:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3574
;

UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=3574 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DD_Order_ID','N','N','N',0,'Y',323,53979,'DD_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 07:56:29','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 07:56:29','YYYY-MM-DD HH24:MI:SS'),53311,'N','N','N',0,'N','N','EE01')
;

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=53979 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 M_MOVEMENT ADD DD_Order_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivery Rule','N','N','Defines the timing of Delivery','N','The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.',151,1.000000000000,'Y',323,53980,'DeliveryRule',0,0,1,'N',TO_DATE('2007-12-17 07:56:31','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:56:31','YYYY-MM-DD HH24:MI:SS'),555,'Y','N','N',0,'N','N','EE01')
;

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=53980 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 M_MOVEMENT ADD DeliveryRule CHAR(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Delivery Via','N','N','How the order will be delivered','N','The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.',152,1.000000000000,'Y',323,53981,'DeliveryViaRule',0,0,1,'N',TO_DATE('2007-12-17 07:56:33','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 07:56:33','YYYY-MM-DD HH24:MI:SS'),274,'Y','N','N',0,'N','N','EE01')
;

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=53981 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 M_MOVEMENT ADD DeliveryViaRule CHAR(1)
;

UPDATE AD_Column SET Name='Description', IsMandatory='N', IsTranslated='N', Description='Optional short description of the record', IsIdentifier='N', ColumnSQL=NULL, DefaultValue=NULL, Help='A description is limited to 255 characters.', AD_Reference_Value_ID=NULL, Version=1, IsActive='Y', AD_Table_ID=323, ColumnName='Description', FieldLength=255, IsParent='N', IsSyncDatabase='Y', VFormat=NULL, AD_Reference_ID=10, AD_Val_Rule_ID=NULL, AD_Element_ID=275, IsUpdateable='Y', IsKey='N', IsSelectionColumn='N', AD_Process_ID=NULL, Callout=NULL, ReadOnlyLogic=NULL, IsAlwaysUpdateable='Y', EntityType='D',Updated=TO_DATE('2007-12-17 07:56:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=3578
;

UPDATE AD_Field SET Name='Description', Description='Optional short description of the record', Help='A description is limited to 255 characters.' WHERE AD_Column_ID=3578 AND IsCentrallyMaintained='Y'
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Freight Amount','N','N','Freight Amount ','N','The Freight Amount indicates the amount charged for Freight in the document currency.',1.000000000000,'Y',323,53982,'FreightAmt',0,0,10,'N',TO_DATE('2007-12-17 07:56:55','YYYY-MM-DD HH24:MI:SS'),'Y',12,0,TO_DATE('2007-12-17 07:56:55','YYYY-MM-DD HH24:MI:SS'),306,'Y','N','N',0,'N','N','EE01')
;

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=53982 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 M_MOVEMENT ADD FreightAmt NUMBER
;

UPDATE AD_Tab SET AD_Process_ID=290, Description='Enter Inventory Movement', Help='The Move Tab defines and identifies the movement of an item or items in inventory.', OrderByClause=NULL, IsTranslationTab='N', Name='Move', SeqNo=10, AD_Table_ID=323, AD_Window_ID=170, WhereClause=NULL, HasTree='N', IsSortTab='N', IsSingleRow='Y', IsActive='Y', IsInfoTab='N', CommitWarning=NULL, IsReadOnly='N', ImportFields=NULL, Processing='N', TabLevel=0, IsInsertRecord='Y', IsAdvancedTab='N', EntityType='D',Updated=TO_DATE('2007-12-17 07:57:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=259
;

UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=259
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='Movement of Inventory', DisplayLength=14, AD_Column_ID=3569, IsFieldOnly='N', Help='The Inventory Movement uniquely identifies a group of movement lines.', Name='Inventory Move', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:57:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2724
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description='The record is active in the system', DisplayLength=1, AD_Column_ID=3572, IsFieldOnly='N', Help='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.', Name='Active', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:58:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2723
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='N', IsCentrallyMaintained='Y', IsActive='Y', Description=NULL, DisplayLength=1, AD_Column_ID=3581, IsFieldOnly='N', Help=NULL, Name='Process Now', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=0, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:58:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2728
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=2728
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:58:20','YYYY-MM-DD HH24:MI:SS'),0,54042,'Freight Amount ',10,53982,'N',0,'The Freight Amount indicates the amount charged for Freight in the document currency.',TO_DATE('2007-12-17 07:58:20','YYYY-MM-DD HH24:MI:SS'),'Freight Amount',259,'N','N',0,'N','EE01')
;

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=54042 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:58:24','YYYY-MM-DD HH24:MI:SS'),0,54043,'Additional document charges',10,53976,'N',0,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)',TO_DATE('2007-12-17 07:58:24','YYYY-MM-DD HH24:MI:SS'),'Charge',259,'N','N',0,'N','EE01')
;

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=54043 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 07:58:25','YYYY-MM-DD HH24:MI:SS'),0,54044,'Charge Amount',10,53977,'N',0,'The Charge Amount indicates the amount for an additional charge.',TO_DATE('2007-12-17 07:58:25','YYYY-MM-DD HH24:MI:SS'),'Charge amount',259,'N','N',0,'N','EE01')
;

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=54044 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 SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Client/Tenant for this installation.', DisplayLength=14, AD_Column_ID=3570, IsFieldOnly='N', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', Name='Client', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=10, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:58:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2720
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Organizational entity within client', DisplayLength=14, AD_Column_ID=3571, IsFieldOnly='N', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', Name='Organization', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=20, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:59:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2721
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:59:04','YYYY-MM-DD HH24:MI:SS'),0,54045,10,53979,'N',0,TO_DATE('2007-12-17 07:59:04','YYYY-MM-DD HH24:MI:SS'),'DD_Order_ID',259,'N','N',30,'N','EE01')
;

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=54045 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 SortNo=-1, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document sequence number of the document', DisplayLength=20, AD_Column_ID=3577, IsFieldOnly='N', Help='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).', Name='Document No', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=40, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:59:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2726
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 07:59:22','YYYY-MM-DD HH24:MI:SS'),0,54046,'Sales Representative or Company Agent',10,53972,'N',0,'The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.',TO_DATE('2007-12-17 07:59:22','YYYY-MM-DD HH24:MI:SS'),'Sales Representative',259,'Y','N',50,'N','EE01')
;

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=54046 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 SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Optional short description of the record', DisplayLength=60, AD_Column_ID=3578, IsFieldOnly='N', Help='A description is limited to 255 characters.', Name='Description', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=60, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:59:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2722
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Date a product was moved in or out of inventory', DisplayLength=14, AD_Column_ID=3579, IsFieldOnly='N', Help='The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.', Name='Movement Date', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=70, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 07:59:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2725
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document type or rules', DisplayLength=14, AD_Column_ID=12201, IsFieldOnly='N', Help='The Document Type determines document sequence and processing rules', Name='Document Type', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=80, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:00:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10418
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:15','YYYY-MM-DD HH24:MI:SS'),0,54047,'Identifies a Business Partner',10,53974,'N',0,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2007-12-17 08:00:15','YYYY-MM-DD HH24:MI:SS'),'Business Partner ',259,'N','N',90,'N',130,'EE01')
;

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=54047 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:15','YYYY-MM-DD HH24:MI:SS'),0,54048,'Identifies the (ship to) address for this Business Partner',10,53975,'N',0,'The Partner address indicates the location of a Business Partner',TO_DATE('2007-12-17 08:00:15','YYYY-MM-DD HH24:MI:SS'),'Partner Location',259,'Y','N',100,'N',130,'EE01')
;

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=54048 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:16','YYYY-MM-DD HH24:MI:SS'),0,54049,'Method or manner of product delivery',10,53970,'N',0,'The Shipper indicates the method of delivering product',TO_DATE('2007-12-17 08:00:16','YYYY-MM-DD HH24:MI:SS'),'Shipper',259,'N','N',110,'N',130,'EE01')
;

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=54049 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:18','YYYY-MM-DD HH24:MI:SS'),0,54050,'User within the system - Internal or Business Partner Contact',10,53973,'N',0,'The User identifies a unique user in the system. This could be an internal user or a business partner contact',TO_DATE('2007-12-17 08:00:18','YYYY-MM-DD HH24:MI:SS'),'User/Contact',259,'Y','N',120,'N',130,'EE01')
;

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=54050 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:19','YYYY-MM-DD HH24:MI:SS'),0,54051,'How the order will be delivered',1,53981,'N',0,'The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.',TO_DATE('2007-12-17 08:00:19','YYYY-MM-DD HH24:MI:SS'),'Delivery Via',259,'N','N',130,'N',130,'EE01')
;

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=54051 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:20','YYYY-MM-DD HH24:MI:SS'),0,54052,'Defines the timing of Delivery',1,53980,'N',0,'The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.',TO_DATE('2007-12-17 08:00:20','YYYY-MM-DD HH24:MI:SS'),'Delivery Rule',259,'Y','N',140,'N',130,'EE01')
;

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=54052 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:22','YYYY-MM-DD HH24:MI:SS'),0,54053,'Priority of a document',1,53971,'N',0,'The Priority indicates the importance (high, medium, low) of this document',TO_DATE('2007-12-17 08:00:22','YYYY-MM-DD HH24:MI:SS'),'Priority',259,'N','N',150,'N',130,'EE01')
;

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=54053 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:00:23','YYYY-MM-DD HH24:MI:SS'),0,54054,'Method for charging Freight',1,53969,'N',0,'The Freight Cost Rule indicates the method used when charging for freight.',TO_DATE('2007-12-17 08:00:23','YYYY-MM-DD HH24:MI:SS'),'Freight Cost Rule',259,'Y','N',160,'N',130,'EE01')
;

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=54054 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 SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Financial Project', DisplayLength=14, AD_Column_ID=9548, IsFieldOnly='N', Help='A Project allows you to track and control internal or external activities.', Name='Project', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=170, IsReadOnly='N', AD_FieldGroup_ID=104, DisplayLogic='@$Element_PJ@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:00:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7791
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Business Activity', DisplayLength=14, AD_Column_ID=9545, IsFieldOnly='N', Help='Activities indicate tasks that are performed and used to utilize Activity based Costing', Name='Activity', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=180, IsReadOnly='N', AD_FieldGroup_ID=104, DisplayLogic='@$Element_AY@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:00:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7788
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Marketing Campaign', DisplayLength=14, AD_Column_ID=9549, IsFieldOnly='N', Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.', Name='Campaign', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=190, IsReadOnly='N', AD_FieldGroup_ID=104, DisplayLogic='@$Element_MC@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:01:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7792
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Performing or initiating organization', DisplayLength=14, AD_Column_ID=9550, IsFieldOnly='N', Help='The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.', Name='Trx Organization', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=200, IsReadOnly='N', AD_FieldGroup_ID=104, DisplayLogic='@$Element_OT@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:01:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7793
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='User defined list element #1', DisplayLength=14, AD_Column_ID=9547, IsFieldOnly='N', Help='The user defined element displays the optional elements that have been defined for this account combination.', Name='User List 1', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=210, IsReadOnly='N', AD_FieldGroup_ID=104, DisplayLogic='@$Element_U1@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:01:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7790
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='User defined list element #2', DisplayLength=14, AD_Column_ID=9546, IsFieldOnly='N', Help='The user defined element displays the optional elements that have been defined for this account combination.', Name='User List 2', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=220, IsReadOnly='N', AD_FieldGroup_ID=104, DisplayLogic='@$Element_U2@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:02:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=7789
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Indicates if this document requires approval', DisplayLength=1, AD_Column_ID=12416, IsFieldOnly='N', Help='The Approved checkbox indicates if this document requires approval before it can be processed.', Name='Approved', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=230, IsReadOnly='Y', AD_FieldGroup_ID=101, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:02:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10530
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Document Approval Amount', DisplayLength=26, AD_Column_ID=12415, IsFieldOnly='N', Help='Approval Amount for Workflow', Name='Approval Amount', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=240, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:02:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10529
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:02:38','YYYY-MM-DD HH24:MI:SS'),0,54055,'Process which will generate a new document lines based on an existing document',1,53978,'N',0,'The Create From process will create a new document based on information in an existing document selected by the user.',TO_DATE('2007-12-17 08:02:38','YYYY-MM-DD HH24:MI:SS'),'Create lines from',259,'N','N',250,'N','EE01')
;

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=54055 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 SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Movement is in transit', DisplayLength=1, AD_Column_ID=10799, IsFieldOnly='N', Help='Material Movement is in transit - shipped, but not received.
The transaction is completed, if confirmed.', Name='In Transit', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=260, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:02:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=9223
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Date a product was received', DisplayLength=14, AD_Column_ID=10798, IsFieldOnly='N', Help='The Date Received indicates the date that product was received.', Name='Date received', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=270, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:03:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=9222
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The current status of the document', DisplayLength=14, AD_Column_ID=10800, IsFieldOnly='N', Help='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', Name='Document Status', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=280, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:03:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=9224
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Process Inventory Movements', DisplayLength=23, AD_Column_ID=10797, IsFieldOnly='N', Help='Process Inventory Movements will update inventory quantities based on the defined movements between warehouses or locations.', Name='Process Movements', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=290, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:03:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=9221
;

UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=9221
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='The document has been processed', DisplayLength=1, AD_Column_ID=3580, IsFieldOnly='N', Help='The Processed checkbox indicates that a document has been processed.', Name='Processed', AD_Tab_ID=259, IsSameLine='N', IsHeading='N', SeqNo=300, IsReadOnly='Y', AD_FieldGroup_ID=NULL, DisplayLogic='@Processed@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:04:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2727
;

UPDATE AD_Field SET SortNo=0, IsDisplayed='Y', IsCentrallyMaintained='Y', IsActive='Y', Description='Posting status', DisplayLength=23, AD_Column_ID=6536, IsFieldOnly='N', Help='The Posted field indicates the status of the Generation of General Ledger Accounting Lines ', Name='Posted', AD_Tab_ID=259, IsSameLine='Y', IsHeading='N', SeqNo=310, IsReadOnly='N', AD_FieldGroup_ID=NULL, DisplayLogic='@Processed@=Y & @#ShowAcct@=Y', EntityType='D',Updated=TO_DATE('2007-12-17 08:04:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5144
;

UPDATE AD_PrintFormat SET IsForm='Y', IsStandardHeaderFooter='N', IsActive='Y', CreateCopy='N', AD_Table_ID=323, IsTableBased='N', AD_PrintTableFormat_ID=101, AD_PrintColor_ID=100, Name='Inventory Move Hdr (Example)', FooterMargin=0, AD_PrintPaper_ID=101, PrinterName=NULL, IsDefault='N', AD_PrintFont_ID=130, HeaderMargin=100, Description='Example',Updated=TO_DATE('2007-12-17 08:04:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=153
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=9546, Name='User List 2', IsRelativePosition='Y', PrintName='User 2', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:05:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1940
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1940
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3574, Name='Created By', IsRelativePosition='Y', PrintName='Created By', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:05:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2021
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2021
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3573, Name='Created', IsRelativePosition='Y', PrintName='Created', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:07:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2020
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2020
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3580, Name='Processed', IsRelativePosition='Y', PrintName='Processed', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:08:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1951
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1951
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=12415, Name='Approval Amount', IsRelativePosition='Y', PrintName='Approval Amt', FieldAlignmentType='T', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:09:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1942
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1942
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=12416, Name='Approved', IsRelativePosition='Y', PrintName='Approved', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:10:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1941
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1941
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3576, Name='Updated', IsRelativePosition='Y', PrintName='Updated', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:10:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2023
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2023
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=9547, Name='User List 1', IsRelativePosition='Y', PrintName='User 1', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:11:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1939
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1939
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=9550, Name='Trx Organization', IsRelativePosition='Y', PrintName='Trx Organization', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:11:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1938
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1938
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=9549, Name='Campaign', IsRelativePosition='Y', PrintName='Campaign', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:12:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1937
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1937
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=9545, Name='Activity', IsRelativePosition='Y', PrintName='Activity', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:12:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1936
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1936
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3571, Name='Organization', IsRelativePosition='Y', PrintName='Organization', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:13:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1931
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1931
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3570, Name='Client', IsRelativePosition='Y', PrintName='Client', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:13:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1930
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1930
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=9548, Name='Project', IsRelativePosition='Y', PrintName='Project', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:14:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1935
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1935
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=10799, Name='In Transit', IsRelativePosition='Y', PrintName='In Transit', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:15:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1943
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1943
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3581, Name='Process Now', IsRelativePosition='Y', PrintName='Process Now', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:15:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1950
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1950
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3572, Name='Active', IsRelativePosition='Y', PrintName='Active', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:16:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1948
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1948
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=6536, Name='Posted', IsRelativePosition='Y', PrintName='Posted', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:16:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1947
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1947
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=10797, Name='Document Action', IsRelativePosition='Y', PrintName='Doc Action', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1946
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1946
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3575, Name='Updated By', IsRelativePosition='Y', PrintName='Updated By', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:18:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2022
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2022
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintColor_ID=117, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=12201, Name='Document Type', IsRelativePosition='Y', PrintName=NULL, AD_PrintFont_ID=129, FieldAlignmentType='L', SeqNo=10, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=':', IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:19:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1934
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1934
;

UPDATE AD_PrintFormatItem SET IsOrderBy='Y', SortNo=1, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintColor_ID=117, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3577, Name='Document No', IsRelativePosition='Y', PrintName=NULL, AD_PrintFont_ID=129, FieldAlignmentType='L', SeqNo=20, IsAveraged='N', XSpace=10, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1929
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1929
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3579, Name='Movement Date', IsRelativePosition='Y', PrintName='Movement Date: ', FieldAlignmentType='L', SeqNo=30, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1933
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1933
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=10800, Name='Document Status', IsRelativePosition='Y', PrintName='Doc Status: ', FieldAlignmentType='L', SeqNo=40, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1945
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1945
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='H', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=10798, Name='Date received', IsRelativePosition='Y', PrintName='Date received: ', FieldAlignmentType='L', SeqNo=50, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:21:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1944
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1944
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=153, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='Y', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3578, Name='Description', IsRelativePosition='Y', PrintName=NULL, FieldAlignmentType='L', SeqNo=60, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1932
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1932
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='Y', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintColor_ID=100, AD_PrintFormat_ID=153, PrintFormatType='P', PrintAreaType='C', ImageIsAttached='N', AD_PrintFormatChild_ID=154, IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3569, Name='Inventory Move', IsRelativePosition='Y', PrintName=NULL, AD_PrintFont_ID=130, FieldAlignmentType='D', SeqNo=70, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=10, BelowColumn=0, RunningTotalLines=20, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:23:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1949
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1949
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='Y', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintColor_ID=100, AD_PrintFormat_ID=153, PrintFormatType='P', PrintAreaType='C', ImageIsAttached='N', AD_PrintFormatChild_ID=154, IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3569, Name='Inventory Move', IsRelativePosition='Y', PrintName=NULL, AD_PrintFont_ID=130, FieldAlignmentType='D', SeqNo=70, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=10, BelowColumn=0, RunningTotalLines=20, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:23:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1968
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1968
;

UPDATE AD_PrintFormat SET IsForm='N', IsStandardHeaderFooter='Y', IsActive='Y', CreateCopy='N', AD_Table_ID=324, IsTableBased='N', AD_PrintTableFormat_ID=100, AD_PrintColor_ID=100, Name='Inventory Move Line (Example)', FooterMargin=0, AD_PrintPaper_ID=100, PrinterName=NULL, IsDefault='N', AD_PrintFont_ID=130, HeaderMargin=0, Description='Example',Updated=TO_DATE('2007-12-17 08:24:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=154
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3589, Name='Updated By', IsRelativePosition='Y', PrintName='Updated By', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2027
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2027
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=10801, Name='Confirmed Quantity', IsRelativePosition='Y', PrintName='Confirmed Qty', FieldAlignmentType='T', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:25:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1963
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1963
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3588, Name='Updated', IsRelativePosition='Y', PrintName='Updated', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2026
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2026
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3587, Name='Created By', IsRelativePosition='Y', PrintName='Created By', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:27:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2025
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2025
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3586, Name='Created', IsRelativePosition='Y', PrintName='Created', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:27:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2024
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2024
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=10802, Name='Target Quantity', IsRelativePosition='Y', PrintName='Target Qty', FieldAlignmentType='T', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:28:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1962
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1962
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=14006, Name='Attribute Set Instance To', IsRelativePosition='Y', PrintName='Attribute Set Instance To', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType='N', LineWidth=1, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:29:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=2160
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=2160
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=10803, Name='Scrapped Quantity', IsRelativePosition='Y', PrintName='Scrapped Qty', FieldAlignmentType='T', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:29:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1961
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1961
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3585, Name='Active', IsRelativePosition='Y', PrintName='Active', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:32:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1957
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1957
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3590, Name='Inventory Move', IsRelativePosition='Y', PrintName='Move', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:33:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1955
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1955
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3584, Name='Organization', IsRelativePosition='Y', PrintName='Organization', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:33:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1954
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1954
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3583, Name='Client', IsRelativePosition='Y', PrintName='Client', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:34:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1953
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1953
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=12072, Name='Processed', IsRelativePosition='Y', PrintName='Processed', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:35:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1967
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1967
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='N', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3582, Name='Move Line', IsRelativePosition='Y', PrintName='Move Line', FieldAlignmentType='L', SeqNo=0, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:35:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1966
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1966
;

UPDATE AD_PrintFormatItem SET IsOrderBy='Y', SortNo=10, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3820, Name='Line No', IsRelativePosition='Y', PrintName='Line', FieldAlignmentType='T', SeqNo=10, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:36:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1952
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1952
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3593, Name='Product', IsRelativePosition='Y', PrintName='Product', FieldAlignmentType='L', SeqNo=20, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:36:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1958
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1958
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=8551, Name='Attribute Set Instance', IsRelativePosition='Y', PrintName='Attribute Set Instance', FieldAlignmentType='L', SeqNo=30, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:37:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1959
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1959
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3591, Name='Locator', IsRelativePosition='Y', PrintName='From', FieldAlignmentType='L', SeqNo=40, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:38:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1964
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1964
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3592, Name='Locator To', IsRelativePosition='Y', PrintName='To', FieldAlignmentType='L', SeqNo=50, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:38:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1965
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1965
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='N', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3594, Name='Movement Quantity', IsRelativePosition='Y', PrintName='Qty', FieldAlignmentType='T', SeqNo=60, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=0, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:39:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1960
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1960
;

UPDATE AD_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='N', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintFormat_ID=154, PrintFormatType='F', PrintAreaType='C', ImageIsAttached='N', IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='Y', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=3595, Name='Description', IsRelativePosition='Y', PrintName='Description', FieldAlignmentType='L', SeqNo=70, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=0, BelowColumn=2, RunningTotalLines=0, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:39:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=1956
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=1956
;

UPDATE AD_Process SET Name='Inventory Move Print', Statistic_Seconds=0, Description='** Special ** Do not change **', Classname=NULL, ProcedureName=NULL, IsActive='Y', Help='Create/Copy your own Format and Process', IsReport='Y', AD_PrintFormat_ID=153, IsDirectPrint='Y', AccessLevel='3', Statistic_Count=0, Value='Rpt M_Movement', IsBetaFunctionality='N', WorkflowValue=NULL, ShowHelp='Y', JasperReport=NULL, EntityType='D',Updated=TO_DATE('2007-12-17 08:40:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=290
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 08:40:28','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:40:28','YYYY-MM-DD HH24:MI:SS'),0,'Quality Specifications',53013,'M',0,0,'Maintain Quality Specifications','N','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53013 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),53013,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),53013,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),53013,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:40:33','YYYY-MM-DD HH24:MI:SS'),53013,'Y',0,0,50001)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,AD_Window_ID,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'QM_Specification_ID','3','Y','N',53013,'Y','QM_Specification',TO_DATE('2007-12-17 08:40:35','YYYY-MM-DD HH24:MI:SS'),53040,0,TO_DATE('2007-12-17 08:40:35','YYYY-MM-DD HH24:MI:SS'),0,'N','N','Y','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53040 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table QM_Specification',0,0,'QM_Specification',50000,1000000,'Y',53037,TO_DATE('2007-12-17 08:40:36','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:40:36','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53314,'QM_Specification_ID','QM_Specification_ID',0,0,0,0,'QM_Specification_ID',TO_DATE('2007-12-17 08:40:37','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 08:40:37','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53314 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QM_Specification_ID','Y','N','N',10,0,'Y',53040,53983,'QM_Specification_ID',0,0,22,'N',TO_DATE('2007-12-17 08:40:37','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 08:40:37','YYYY-MM-DD HH24:MI:SS'),53314,'N','Y','N',0,'N','N','EE01')
;

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=53983 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE QM_Specification (QM_Specification_ID NUMBER(10) NOT NULL, CONSTRAINT QM_Specification_Key PRIMARY KEY (QM_Specification_ID))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N',30,'@AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53040,53984,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 08:40:40','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 08:40:40','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=53984 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 QM_Specification ADD AD_Org_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N',40,'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.',0,'Y',53040,53985,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 08:40:42','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 08:40:42','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=53985 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 QM_Specification ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N',50,'The Created field indicates the date that this record was created.',0,'Y',53040,53986,'Created',0,0,22,'N',TO_DATE('2007-12-17 08:40:43','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:40:43','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=53986 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 QM_Specification ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N',60,'The Created By field indicates the user who created this record.',110,0,'Y',53040,53987,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 08:40:44','YYYY-MM-DD HH24:MI:SS'),'Y',18,164,0,TO_DATE('2007-12-17 08:40:44','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=53987 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 QM_Specification ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N',70,'The Updated field indicates the date that this record was updated.',0,'Y',53040,53988,'Updated',0,0,22,'N',TO_DATE('2007-12-17 08:40:46','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:40:46','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=53988 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 QM_Specification ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N',80,'The Updated By field indicates the user who updated this record.',110,0,'Y',53040,53989,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 08:40:47','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:40:47','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=53989 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 QM_Specification ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','N','N','Search key for the record in the format required - must be unique','N',90,'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).',0,'Y',53040,53990,'Value',0,0,40,'N',TO_DATE('2007-12-17 08:40:54','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:40:54','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','EE01')
;

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=53990 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 QM_Specification ADD VALUE NVARCHAR2(40)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','N','N','Alphanumeric identifier of the entity','Y',100,'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.',0,'Y',53040,53991,'Name',0,0,60,'N',TO_DATE('2007-12-17 08:40:55','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:40:55','YYYY-MM-DD HH24:MI:SS'),469,'Y','N','N',0,'N','N','EE01')
;

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=53991 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 QM_Specification ADD NAME NVARCHAR2(60)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N',110,'A description is limited to 255 characters.',0,'Y',53040,53992,'Description',0,0,255,'N',TO_DATE('2007-12-17 08:40:57','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:40:57','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=53992 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 QM_Specification ADD Description NVARCHAR2(255)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','Y','N','Product, Service, Item','N',120,'Identifies an item which is either purchased or sold in this organization.',0,'Y',53040,53993,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 08:40:58','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:40:58','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=53993 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 QM_Specification ADD M_Product_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM & Formaula','N','N','N',130,0,'Y',53040,53994,'PP_Product_BOM_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:00','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:41:00','YYYY-MM-DD HH24:MI:SS'),53245,'Y','N','N',0,'N','N','EE01')
;

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=53994 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 QM_Specification ADD PP_Product_BOM_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Workflow','N','N','Workflow or combination of tasks','N',140,'The Workflow field identifies a unique Workflow in the system.',0,'Y',53040,53995,'AD_Workflow_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:01','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:41:01','YYYY-MM-DD HH24:MI:SS'),144,'Y','N','N',0,'N','N','EE01')
;

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=53995 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 QM_Specification ADD AD_Workflow_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute Set','Y','N','Product Attribute Set','N',150,'Define Product Attribute Sets to add additional attributes and values to the product. You need to define a Attribute Set if you want to enable Serial and Lot Number tracking.',0,'Y',53040,53996,'M_AttributeSet_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:03','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:41:03','YYYY-MM-DD HH24:MI:SS'),2017,'Y','N','N',0,'N','N','EE01')
;

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=53996 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 QM_Specification ADD M_AttributeSet_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','N','N','Valid from including this date (first day)','N',160,'The Valid From date indicates the first day of a date range',0,'Y',53040,53997,'ValidFrom',0,0,22,'N',TO_DATE('2007-12-17 08:41:04','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:41:04','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','EE01')
;

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=53997 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 QM_Specification ADD ValidFrom DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N',170,'The Valid To date indicates the last day of a date range',0,'Y',53040,53998,'ValidTo',0,0,22,'N',TO_DATE('2007-12-17 08:41:06','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:41:06','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','EE01')
;

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=53998 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 QM_Specification ADD ValidTo DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53040,53999,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:07','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 08:41:07','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=53999 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 QM_Specification ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 08:41:08','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:41:08','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Quality Specifications',10,53040,53051,53013,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53051 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:41:09','YYYY-MM-DD HH24:MI:SS'),0,54056,22,53983,'N',0,TO_DATE('2007-12-17 08:41:09','YYYY-MM-DD HH24:MI:SS'),'QM_Specification_ID',53051,'N','N',0,'N','EE01')
;

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=54056 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:10','YYYY-MM-DD HH24:MI:SS'),0,54057,'Client/Tenant for this installation.',22,53999,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 08:41:10','YYYY-MM-DD HH24:MI:SS'),'Client',53051,'N','N',10,'N','EE01')
;

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=54057 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:11','YYYY-MM-DD HH24:MI:SS'),0,54058,'Organizational entity within client',22,53984,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 08:41:11','YYYY-MM-DD HH24:MI:SS'),'Organization',53051,'Y','N',20,'N','EE01')
;

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=54058 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:12','YYYY-MM-DD HH24:MI:SS'),0,54059,'Search key for the record in the format required - must be unique',40,53990,'N',0,'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).',TO_DATE('2007-12-17 08:41:12','YYYY-MM-DD HH24:MI:SS'),'Search Key',53051,'N','N',30,'N','EE01')
;

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=54059 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:13','YYYY-MM-DD HH24:MI:SS'),0,54060,'Alphanumeric identifier of the entity',60,53991,'N',0,'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.',TO_DATE('2007-12-17 08:41:13','YYYY-MM-DD HH24:MI:SS'),'Name',53051,'N','N',40,'N','EE01')
;

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=54060 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:15','YYYY-MM-DD HH24:MI:SS'),0,54061,'Optional short description of the record',255,53992,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 08:41:15','YYYY-MM-DD HH24:MI:SS'),'Description',53051,'N','N',50,'N','EE01')
;

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=54061 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:16','YYYY-MM-DD HH24:MI:SS'),0,54062,'The record is active in the system',1,53985,'N',0,'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.',TO_DATE('2007-12-17 08:41:16','YYYY-MM-DD HH24:MI:SS'),'Active',53051,'N','N',60,'N','EE01')
;

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=54062 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:17','YYYY-MM-DD HH24:MI:SS'),0,54063,'Product, Service, Item',22,53993,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 08:41:17','YYYY-MM-DD HH24:MI:SS'),'Product',53051,'N','N',70,'N','EE01')
;

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=54063 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:18','YYYY-MM-DD HH24:MI:SS'),0,54064,22,53994,'N',0,TO_DATE('2007-12-17 08:41:18','YYYY-MM-DD HH24:MI:SS'),'BOM & Formaula',53051,'N','N',80,'N','EE01')
;

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=54064 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:19','YYYY-MM-DD HH24:MI:SS'),0,54065,'Workflow or combination of tasks',22,53995,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 08:41:19','YYYY-MM-DD HH24:MI:SS'),'Workflow',53051,'Y','N',90,'N','EE01')
;

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=54065 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:20','YYYY-MM-DD HH24:MI:SS'),0,54066,'Product Attribute Set',22,53996,'N',0,'Define Product Attribute Sets to add additional attributes and values to the product. You need to define a Attribute Set if you want to enable Serial and Lot Number tracking.',TO_DATE('2007-12-17 08:41:20','YYYY-MM-DD HH24:MI:SS'),'Attribute Set',53051,'N','N',100,'N','EE01')
;

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=54066 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:21','YYYY-MM-DD HH24:MI:SS'),0,54067,'Valid from including this date (first day)',22,53997,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 08:41:21','YYYY-MM-DD HH24:MI:SS'),'Valid from',53051,'N','N',110,'N','EE01')
;

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=54067 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:21','YYYY-MM-DD HH24:MI:SS'),0,54068,'Valid to including this date (last day)',22,53998,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 08:41:21','YYYY-MM-DD HH24:MI:SS'),'Valid to',53051,'Y','N',120,'N','EE01')
;

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=54068 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'QM_SpecificationLine_ID','3','Y','N','Y','QM_SpecificationLine',TO_DATE('2007-12-17 08:41:22','YYYY-MM-DD HH24:MI:SS'),53041,0,TO_DATE('2007-12-17 08:41:22','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','D')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53041 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table QM_SpecificationLine',0,0,'QM_SpecificationLine',50000,1000000,'Y',53038,TO_DATE('2007-12-17 08:41:23','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:41:23','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53315,'QM_SpecificationLine_ID','QM_SpecificationLine_ID',0,0,0,0,'QM_SpecificationLine_ID',TO_DATE('2007-12-17 08:41:24','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 08:41:24','YYYY-MM-DD HH24:MI:SS'),'Y','D')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53315 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QM_SpecificationLine_ID','Y','N','N',10,0,'Y',53041,54000,'QM_SpecificationLine_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:24','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 08:41:24','YYYY-MM-DD HH24:MI:SS'),53315,'N','Y','N',0,'N','N','D')
;

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=54000 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE QM_SpecificationLine (QM_SpecificationLine_ID NUMBER(10) NOT NULL, CONSTRAINT QM_SpecificationLine_Key PRIMARY KEY (QM_SpecificationLine_ID))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,DefaultValue,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N',30,'@AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53041,54001,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:26','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 08:41:26','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','D')
;

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=54001 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 QM_SpecificationLine ADD AD_Org_ID NUMBER(10) DEFAULT  NULL  NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N',40,'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.',0,'Y',53041,54002,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 08:41:28','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 08:41:28','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','D')
;

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=54002 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 QM_SpecificationLine ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N',50,'The Created field indicates the date that this record was created.',0,'Y',53041,54003,'Created',0,0,22,'N',TO_DATE('2007-12-17 08:41:29','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:41:29','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','D')
;

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=54003 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 QM_SpecificationLine ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N',60,'The Created By field indicates the user who created this record.',110,0,'Y',53041,54004,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 08:41:31','YYYY-MM-DD HH24:MI:SS'),'Y',18,164,0,TO_DATE('2007-12-17 08:41:31','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','D')
;

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=54004 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 QM_SpecificationLine ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N',70,'The Updated field indicates the date that this record was updated.',0,'Y',53041,54005,'Updated',0,0,22,'N',TO_DATE('2007-12-17 08:41:32','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:41:32','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','D')
;

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=54005 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 QM_SpecificationLine ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N',80,'The Updated By field indicates the user who updated this record.',110,0,'Y',53041,54006,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 08:41:33','YYYY-MM-DD HH24:MI:SS'),'Y',18,164,0,TO_DATE('2007-12-17 08:41:33','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','D')
;

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=54006 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 QM_SpecificationLine ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sequence','N','N','Method of ordering records; lowest number comes first','N',90,'The Sequence indicates the order of records',0,'Y',53041,54007,'SeqNo',0,0,22,'N',TO_DATE('2007-12-17 08:41:35','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 08:41:35','YYYY-MM-DD HH24:MI:SS'),566,'Y','N','N',0,'N','N','D')
;

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=54007 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 QM_SpecificationLine ADD SeqNo NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Attribute','Y','N','Product Attribute','N',100,'Product Attribute like Color, Size',0,'Y',53041,54008,'M_Attribute_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:36','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:41:36','YYYY-MM-DD HH24:MI:SS'),2015,'Y','N','N',0,'N','N','D')
;

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=54008 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 QM_SpecificationLine ADD M_Attribute_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid from','N','N','Valid from including this date (first day)','N',110,'The Valid From date indicates the first day of a date range',0,'Y',53041,54009,'ValidFrom',0,0,22,'N',TO_DATE('2007-12-17 08:41:37','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:41:37','YYYY-MM-DD HH24:MI:SS'),617,'Y','N','N',0,'N','N','D')
;

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=54009 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 QM_SpecificationLine ADD ValidFrom NVARCHAR2(22)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Valid to','N','N','Valid to including this date (last day)','N',120,'The Valid To date indicates the last day of a date range',0,'Y',53041,54010,'ValidTo',0,0,22,'N',TO_DATE('2007-12-17 08:41:39','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:41:39','YYYY-MM-DD HH24:MI:SS'),618,'Y','N','N',0,'N','N','D')
;

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=54010 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 QM_SpecificationLine ADD ValidTo DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('And/Or','Y','N','Logical operation: AND or OR','N',130,204,0,'Y',53041,54011,'AndOr',0,0,1,'N',TO_DATE('2007-12-17 08:41:42','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 08:41:42','YYYY-MM-DD HH24:MI:SS'),1452,'Y','N','N',0,'N','N','D')
;

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=54011 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 QM_SpecificationLine ADD AndOr CHAR(1) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','N','N','Search key for the record in the format required - must be unique','N',140,'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).',0,'Y',53041,54012,'Value',0,0,40,'N',TO_DATE('2007-12-17 08:41:44','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:41:44','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','D')
;

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=54012 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 QM_SpecificationLine ADD VALUE NVARCHAR2(40)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Operation','Y','N','Compare Operation','N',150,205,0,'Y',53041,54013,'Operation',0,0,2,'N',TO_DATE('2007-12-17 08:41:45','YYYY-MM-DD HH24:MI:SS'),'Y',17,0,TO_DATE('2007-12-17 08:41:45','YYYY-MM-DD HH24:MI:SS'),1454,'Y','N','N',0,'N','N','D')
;

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=54013 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 QM_SpecificationLine ADD Operation CHAR(2) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,SeqNo,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('QM_Specification_ID','N','N','N',170,0,'Y',53041,54014,'QM_Specification_ID',0,0,22,'Y',TO_DATE('2007-12-17 08:41:47','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:41:47','YYYY-MM-DD HH24:MI:SS'),53314,'N','N','N',0,'N','N','D')
;

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=54014 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 QM_SpecificationLine ADD QM_Specification_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53041,54015,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 08:41:48','YYYY-MM-DD HH24:MI:SS'),'Y',19,129,0,TO_DATE('2007-12-17 08:41:48','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','D')
;

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=54015 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 QM_SpecificationLine ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 08:41:50','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:41:50','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Quality Specifications Line',20,53041,53052,53013,'N','N','N','Y','N',NULL,'N','N',0,1,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53052 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:41:51','YYYY-MM-DD HH24:MI:SS'),0,54069,22,54000,'N',0,TO_DATE('2007-12-17 08:41:51','YYYY-MM-DD HH24:MI:SS'),'QM_SpecificationLine_ID',53052,'N','N',0,'N','EE01')
;

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=54069 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:41:52','YYYY-MM-DD HH24:MI:SS'),0,54070,'Organizational entity within client',22,54001,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 08:41:52','YYYY-MM-DD HH24:MI:SS'),'Organization',53052,'N','N',0,'N','EE01')
;

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=54070 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:41:53','YYYY-MM-DD HH24:MI:SS'),0,54071,'The record is active in the system',1,54002,'N',0,'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.',TO_DATE('2007-12-17 08:41:53','YYYY-MM-DD HH24:MI:SS'),'Active',53052,'N','N',0,'N','EE01')
;

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=54071 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:41:54','YYYY-MM-DD HH24:MI:SS'),0,54072,22,54014,'N',0,TO_DATE('2007-12-17 08:41:54','YYYY-MM-DD HH24:MI:SS'),'QM_Specification_ID',53052,'N','N',0,'N','EE01')
;

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=54072 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:41:55','YYYY-MM-DD HH24:MI:SS'),0,54073,'Client/Tenant for this installation.',22,54015,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 08:41:55','YYYY-MM-DD HH24:MI:SS'),'Client',53052,'N','N',0,'N','EE01')
;

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=54073 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:56','YYYY-MM-DD HH24:MI:SS'),0,54074,'Method of ordering records; lowest number comes first',22,54007,'N',0,'The Sequence indicates the order of records',TO_DATE('2007-12-17 08:41:56','YYYY-MM-DD HH24:MI:SS'),'Sequence',53052,'N','N',10,'N','EE01')
;

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=54074 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:41:58','YYYY-MM-DD HH24:MI:SS'),0,54075,'Product Attribute',22,54008,'N',0,'Product Attribute like Color, Size',TO_DATE('2007-12-17 08:41:58','YYYY-MM-DD HH24:MI:SS'),'Attribute',53052,'N','N',20,'N','EE01')
;

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=54075 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:42:00','YYYY-MM-DD HH24:MI:SS'),0,54076,'Compare Operation',2,54013,'N',0,TO_DATE('2007-12-17 08:42:00','YYYY-MM-DD HH24:MI:SS'),'Operation',53052,'N','N',30,'N','EE01')
;

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=54076 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:42:01','YYYY-MM-DD HH24:MI:SS'),0,54077,'Search key for the record in the format required - must be unique',40,54012,'N',0,'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).',TO_DATE('2007-12-17 08:42:01','YYYY-MM-DD HH24:MI:SS'),'Search Key',53052,'N','N',40,'N','EE01')
;

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=54077 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:42:02','YYYY-MM-DD HH24:MI:SS'),0,54078,'Valid from including this date (first day)',22,54009,'N',0,'The Valid From date indicates the first day of a date range',TO_DATE('2007-12-17 08:42:02','YYYY-MM-DD HH24:MI:SS'),'Valid from',53052,'N','N',50,'N','EE01')
;

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=54078 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:42:05','YYYY-MM-DD HH24:MI:SS'),0,54079,'Valid to including this date (last day)',22,54010,'N',0,'The Valid To date indicates the last day of a date range',TO_DATE('2007-12-17 08:42:05','YYYY-MM-DD HH24:MI:SS'),'Valid to',53052,'Y','N',60,'N','EE01')
;

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=54079 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:42:06','YYYY-MM-DD HH24:MI:SS'),0,54080,'Logical operation: AND or OR',1,54011,'N',0,TO_DATE('2007-12-17 08:42:06','YYYY-MM-DD HH24:MI:SS'),'And/Or',53052,'N','N',70,'N','EE01')
;

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=54080 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_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Print Test Results',0,0,0,'Process allow print the result of Quality Order',TO_DATE('2007-12-17 08:42:07','YYYY-MM-DD HH24:MI:SS'),53048,TO_DATE('2007-12-17 08:42:07','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','Y','N','3',0,'QM_Print Test Results','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53048 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Create Doc Type to Manufacturing',0,0,0,'Let create the document type to manufacturing',TO_DATE('2007-12-17 08:42:08','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CreateDocType',53050,TO_DATE('2007-12-17 08:42:08','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This process only need run one time by client','N','N','3',0,'PP_Create DocType','N',NULL,'Y','U')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53050 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Create Element',0,0,0,'Let create every cost elements defined for a Organization, Accounting Schema, Warehouse, Resource, Cost Type and Product.',TO_DATE('2007-12-17 08:42:10','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CreateCostElement',53052,TO_DATE('2007-12-17 08:42:10','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','With this process is possible to create every cost elements defined for a Organization, Accounting Schema, Warehouse, Resource, Cost Type and Product.','N','N','3',0,'PP_Cost_Element','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53052 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53088,0,0,'Resource','Y',22,'Resource',53052,TO_DATE('2007-12-17 08:42:12','YYYY-MM-DD HH24:MI:SS'),'S_Resource_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:12','YYYY-MM-DD HH24:MI:SS'),'N',40,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53088 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53089,0,0,'Organization','Y',0,'Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',53052,TO_DATE('2007-12-17 08:42:13','YYYY-MM-DD HH24:MI:SS'),'AD_Org_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:13','YYYY-MM-DD HH24:MI:SS'),'N',10,113,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53089 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53090,0,0,'Accounting Schema','Y',22,'Rules for accounting','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar',53052,TO_DATE('2007-12-17 08:42:14','YYYY-MM-DD HH24:MI:SS'),'C_AcctSchema_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:14','YYYY-MM-DD HH24:MI:SS'),'N',20,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53090 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53091,0,0,'Warehouse','Y',0,'Storage Warehouse and Service Point','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',53052,TO_DATE('2007-12-17 08:42:15','YYYY-MM-DD HH24:MI:SS'),'M_Warehouse_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:15','YYYY-MM-DD HH24:MI:SS'),'N',30,459,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53091 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53092,0,0,'Product','Y',22,'Product, Service, Item','Identifies an item which is either purchased or sold in this organization.',53052,TO_DATE('2007-12-17 08:42:16','YYYY-MM-DD HH24:MI:SS'),'M_Product_ID','Y','N',0,0,30,TO_DATE('2007-12-17 08:42:16','YYYY-MM-DD HH24:MI:SS'),'N',60,454,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53092 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53093,0,0,'Cost Type','Y',22,'Type of Cost (e.g. Current, Plan, Future)','You can define multiple cost types. A cost type selected in an Accounting Schema is used for accounting.',53052,TO_DATE('2007-12-17 08:42:17','YYYY-MM-DD HH24:MI:SS'),'M_CostType_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:17','YYYY-MM-DD HH24:MI:SS'),'N',50,2071,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53093 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)
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'RV_PP_Product_Costing','3','Y','N','N','RV_PP_Product_Costing',TO_DATE('2007-12-17 08:42:18','YYYY-MM-DD HH24:MI:SS'),53042,0,TO_DATE('2007-12-17 08:42:18','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','U')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53042 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table RV_PP_Product_Costing',0,0,'RV_PP_Product_Costing',50000,1000000,'Y',53039,TO_DATE('2007-12-17 08:42:19','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:42:19','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_ReportView (Description,AD_Client_ID,IsActive,Name,AD_Table_ID,CreatedBy,Updated,AD_ReportView_ID,AD_Org_ID,Created,UpdatedBy,EntityType) VALUES ('RV_PP_Product_Costing',0,'Y','RV_PP_Product_Costing',53042,0,TO_DATE('2007-12-17 08:42:18','YYYY-MM-DD HH24:MI:SS'),53006,0,TO_DATE('2007-12-17 08:42:18','YYYY-MM-DD HH24:MI:SS'),0,'EE01')
;

UPDATE AD_Table SET Name='View Product Costing', AccessLevel='3', Help=NULL, IsActive='Y', IsSecurityEnabled='N', AD_Window_ID=NULL, IsDeleteable='N', TableName='RV_PP_Product_Costing', Description=NULL, IsHighVolume='N', ImportTable=NULL, IsView='Y', IsChangeLog='N', ReplicationType='L', EntityType='EE01',Updated=TO_DATE('2007-12-17 08:42:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53042
;

UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53042
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53042,54016,'AD_Client_ID',0,0,10,'N',TO_DATE('2007-12-17 08:42:36','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:42:36','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=54016 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53042,54017,'AD_Org_ID',0,0,10,'N',TO_DATE('2007-12-17 08:42:37','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:42:37','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=54017 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53042,54018,'Created',0,0,29,'N',TO_DATE('2007-12-17 08:42:38','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:42:38','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=54018 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53042,54019,'CreatedBy',0,0,10,'N',TO_DATE('2007-12-17 08:42:40','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:42:40','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=54019 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53042,54020,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 08:42:41','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 08:42:41','YYYY-MM-DD HH24:MI:SS'),348,'N','N','N',0,'N','N','EE01')
;

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=54020 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53042,54021,'Updated',0,0,29,'N',TO_DATE('2007-12-17 08:42:42','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:42:42','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=54021 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53042,54022,'UpdatedBy',0,0,10,'N',TO_DATE('2007-12-17 08:42:43','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:42:43','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=54022 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

INSERT INTO AD_PrintFormat (IsForm,AD_PrintFormat_ID,IsStandardHeaderFooter,IsActive,AD_Org_ID,Created,CreateCopy,Updated,CreatedBy,AD_Table_ID,IsTableBased,AD_PrintColor_ID,AD_ReportView_ID,Name,FooterMargin,AD_PrintPaper_ID,UpdatedBy,AD_Client_ID,IsDefault,AD_PrintFont_ID,HeaderMargin) VALUES ('N',50012,'Y','Y',0,TO_DATE('2007-12-17 08:42:44','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2007-12-17 08:42:44','YYYY-MM-DD HH24:MI:SS'),0,53042,'Y',100,53006,'Product Costing',0,100,0,0,'N',130,0)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 08:42:45','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50012,'F','C','N','N','N',0,'N','N','N','N','X',54020,0,'Active','Y','Active',TO_DATE('2007-12-17 08:42:45','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50443,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50443 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 08:42:46','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50012,'F','C','N','N','N',0,'N','N','N','N','X',54016,0,'Client','Y','Client',TO_DATE('2007-12-17 08:42:46','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50444,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50444 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 08:42:47','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50012,'F','C','N','N','N',0,'N','N','N','N','X',54018,0,'Created','Y','Created',TO_DATE('2007-12-17 08:42:47','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50445,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50445 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 08:42:47','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50012,'F','C','N','N','N',0,'N','N','N','N','X',54019,0,'Created By','Y','Created By',TO_DATE('2007-12-17 08:42:47','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50446,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50446 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 08:42:49','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50012,'F','C','N','N','N',0,'N','N','N','N','X',54017,0,'Organization','Y','Organization',TO_DATE('2007-12-17 08:42:49','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50447,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50447 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 08:42:50','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50012,'F','C','N','N','N',0,'N','N','N','N','X',54021,0,'Updated','Y','Updated',TO_DATE('2007-12-17 08:42:50','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50448,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50448 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_PrintFormatItem (IsOrderBy,SortNo,AD_Org_ID,Updated,IsHeightOneLine,XPosition,IsGroupBy,IsPrinted,MaxHeight,AD_PrintFormat_ID,PrintFormatType,PrintAreaType,ImageIsAttached,IsFixedWidth,IsCounted,YPosition,IsNextLine,IsSummarized,IsSuppressNull,IsPageBreak,LineAlignmentType,AD_Column_ID,CreatedBy,Name,IsRelativePosition,PrintName,Created,FieldAlignmentType,SeqNo,IsAveraged,XSpace,AD_Client_ID,UpdatedBy,AD_PrintFormatItem_ID,MaxWidth,IsActive,YSpace,BelowColumn,RunningTotalLines,IsMinCalc,IsSetNLPosition,IsNextPage,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,ArcDiameter,ShapeType,LineWidth) VALUES ('N',0,0,TO_DATE('2007-12-17 08:42:51','YYYY-MM-DD HH24:MI:SS'),'N',0,'N','N',0,50012,'F','C','N','N','N',0,'N','N','N','N','X',54022,0,'Updated By','Y','Updated By',TO_DATE('2007-12-17 08:42:51','YYYY-MM-DD HH24:MI:SS'),'L',0,'N',0,0,0,50449,0,'Y',0,0,0,'N','N','N','N','N','N','N',0,'N',1)
;

INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50449 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,AD_ReportView_ID,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Product Costing',0,0,0,'To watch the cost elements for every set of Product, Organization, Accounting Schema, Warehouse, Resource and Cost Type',TO_DATE('2007-12-17 08:42:52','YYYY-MM-DD HH24:MI:SS'),53054,TO_DATE('2007-12-17 08:42:52','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','To watch the cost elements for every set of Product, Organization, Accounting Schema, Warehouse, Resource and Cost Type.												','Y',53006,'N','3',0,'RV_PP_Product_Costing','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53054 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53094,0,0,'Product','Y',0,'Product, Service, Item','Identifies an item which is either purchased or sold in this organization.',53054,TO_DATE('2007-12-17 08:42:54','YYYY-MM-DD HH24:MI:SS'),'M_Product_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:54','YYYY-MM-DD HH24:MI:SS'),'N',20,454,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53094 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53095,0,0,'Warehouse','Y',0,'Storage Warehouse and Service Point','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',53054,TO_DATE('2007-12-17 08:42:54','YYYY-MM-DD HH24:MI:SS'),'M_Warehouse_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:54','YYYY-MM-DD HH24:MI:SS'),'N',40,459,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53095 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53096,0,0,'Product Category','Y',0,'Category of a Product','Identifies the category which this product belongs to.  Product categories are used for pricing and selection.',53054,TO_DATE('2007-12-17 08:42:56','YYYY-MM-DD HH24:MI:SS'),'M_Product_Category_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:56','YYYY-MM-DD HH24:MI:SS'),'N',10,453,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53096 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53097,0,0,'Cost Element','Y',0,'Product Cost Element',53054,TO_DATE('2007-12-17 08:42:57','YYYY-MM-DD HH24:MI:SS'),'M_CostElement_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:57','YYYY-MM-DD HH24:MI:SS'),'N',30,2700,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53097 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)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Copy Price to Standard Cost',0,0,0,'This process allow copy a Price from Price list Version to Element Cost',TO_DATE('2007-12-17 08:42:58','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.CopyPriceToStandard',53056,TO_DATE('2007-12-17 08:42:58','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This process allow copy a Price from Price list Version to Element Cost','N','N','3',0,'PP_Copy Price to Standard Cost','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53056 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53098,0,0,'Accounting Schema','Y',0,'Rules for accounting','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar',53056,TO_DATE('2007-12-17 08:42:59','YYYY-MM-DD HH24:MI:SS'),'C_AcctSchema_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:42:59','YYYY-MM-DD HH24:MI:SS'),'Y',30,181,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53098 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53099,0,0,'Cost Type','Y',0,'Type of Cost (e.g. Current, Plan, Future)','You can define multiple cost types. A cost type selected in an Accounting Schema is used for accounting.',53056,TO_DATE('2007-12-17 08:43:00','YYYY-MM-DD HH24:MI:SS'),'M_CostType_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:00','YYYY-MM-DD HH24:MI:SS'),'Y',10,2071,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53099 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53100,0,0,'Organization','Y',0,'Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',53056,TO_DATE('2007-12-17 08:43:01','YYYY-MM-DD HH24:MI:SS'),'AD_Org_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:01','YYYY-MM-DD HH24:MI:SS'),'Y',20,113,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53100 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,EntityType) VALUES (53101,0,0,'Cost Element','Y',0,'Product Cost Element',53056,TO_DATE('2007-12-17 08:43:02','YYYY-MM-DD HH24:MI:SS'),'M_CostElement_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:02','YYYY-MM-DD HH24:MI:SS'),'Y',70,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53101 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53102,0,0,'Price List Version','Y',0,'Identifies a unique instance of a Price List','Each Price List can have multiple versions.  The most common use is to indicate the dates that a Price List is valid for.',53056,TO_DATE('2007-12-17 08:43:03','YYYY-MM-DD HH24:MI:SS'),'M_PriceList_Version_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:03','YYYY-MM-DD HH24:MI:SS'),'Y',80,450,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53102 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)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Workflow Cost Roll-Up',0,0,0,'This Process allow integrate Labor and Overhead Cost to a Manufacturing Workflow ',TO_DATE('2007-12-17 08:43:04','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.RollupWorkflow',53058,TO_DATE('2007-12-17 08:43:04','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This Process allow integrate Labor and Overhead Cost to a Manufacturing Workflow 

Labor Cost Operation = (Qty Batch Size * Setup Time) * Duration * Labor Rate to this Resource 
Overhead Cost Operation =  (Qty Batch Size * Setup Time) * Duration * Overhead Rate to this Resource 

Labor Cost Workflow = Sum of every the Labor Cost Operation
Overhead Cost Workflow = Sum of every the Overhead Cost Operation

Cost Workflow = Labor Cost Workflow + Overhead Cost Workflow
','N','N','3',0,'PP_Workflow Cost Roll-Up','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53058 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_Value_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53103,0,0,'Organization','Y',0,'Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',53058,TO_DATE('2007-12-17 08:43:06','YYYY-MM-DD HH24:MI:SS'),'AD_Org_ID','Y','N',0,0,130,19,TO_DATE('2007-12-17 08:43:06','YYYY-MM-DD HH24:MI:SS'),'N',10,113,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53103 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53104,0,0,'Accounting Schema','Y',0,'Rules for accounting','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar',53058,TO_DATE('2007-12-17 08:43:07','YYYY-MM-DD HH24:MI:SS'),'C_AcctSchema_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:07','YYYY-MM-DD HH24:MI:SS'),'N',20,181,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53104 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53105,0,0,'Product','Y',0,'Product, Service, Item','Identifies an item which is either purchased or sold in this organization.',53058,TO_DATE('2007-12-17 08:43:08','YYYY-MM-DD HH24:MI:SS'),'M_Product_ID','Y','N',0,0,30,TO_DATE('2007-12-17 08:43:08','YYYY-MM-DD HH24:MI:SS'),'N',50,454,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53105 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53106,0,0,'Cost Type','Y',0,'Type of Cost (e.g. Current, Plan, Future)','You can define multiple cost types. A cost type selected in an Accounting Schema is used for accounting.',53058,TO_DATE('2007-12-17 08:43:09','YYYY-MM-DD HH24:MI:SS'),'M_CostType_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:09','YYYY-MM-DD HH24:MI:SS'),'N',25,2071,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53106 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53107,0,0,'Product Category','Y',0,'Category of a Product','Identifies the category which this product belongs to.  Product categories are used for pricing and selection.',53058,TO_DATE('2007-12-17 08:43:10','YYYY-MM-DD HH24:MI:SS'),'M_Product_Category_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:10','YYYY-MM-DD HH24:MI:SS'),'N',55,453,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53107 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)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Cost Workflow & Process Details',0,0,0,'This report show every cost element to a BOM or Formula ',TO_DATE('2007-12-17 08:43:12','YYYY-MM-DD HH24:MI:SS'),53060,TO_DATE('2007-12-17 08:43:12','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This report show every cost element to a BOM or Formula ','N','N','3',0,'PP_Cost Workflow & Process Review ','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53060 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process (Name,AD_Org_ID,AD_Client_ID,Statistic_Seconds,Description,Created,Classname,AD_Process_ID,Updated,UpdatedBy,CreatedBy,IsActive,Help,IsReport,IsDirectPrint,AccessLevel,Statistic_Count,Value,IsBetaFunctionality,WorkflowValue,ShowHelp,EntityType) VALUES ('Bill of Material & Formula Cost Roll-UP',0,0,0,'This Process allow integrate Bill of Material & Formula Cost',TO_DATE('2007-12-17 08:43:13','YYYY-MM-DD HH24:MI:SS'),'org.eevolution.process.RollupBillOfMaterial',53062,TO_DATE('2007-12-17 08:43:13','YYYY-MM-DD HH24:MI:SS'),0,0,'Y','This Process allow integrate Bill of Material & Formula Cost

Element Cost = Element Cost this level + Element Cost this low level 

Total BOM Cost = Sum every Element Cost','N','N','3',0,'PP_Bill of Material & Formula Cost Rol','N',NULL,'Y','EE01')
;

INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Name,t.Description,t.Help, '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=53062 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53108,0,0,'Product','Y',0,'Product, Service, Item','Identifies an item which is either purchased or sold in this organization.',53062,TO_DATE('2007-12-17 08:43:14','YYYY-MM-DD HH24:MI:SS'),'M_Product_ID','Y','N',0,0,30,TO_DATE('2007-12-17 08:43:14','YYYY-MM-DD HH24:MI:SS'),'N',60,454,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53108 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53109,0,0,'Cost Type','Y',0,'Type of Cost (e.g. Current, Plan, Future)','You can define multiple cost types. A cost type selected in an Accounting Schema is used for accounting.',53062,TO_DATE('2007-12-17 08:43:15','YYYY-MM-DD HH24:MI:SS'),'M_CostType_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:15','YYYY-MM-DD HH24:MI:SS'),'N',30,2071,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53109 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53110,0,0,'Accounting Schema','Y',0,'Rules for accounting','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar',53062,TO_DATE('2007-12-17 08:43:16','YYYY-MM-DD HH24:MI:SS'),'C_AcctSchema_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:16','YYYY-MM-DD HH24:MI:SS'),'N',20,181,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53110 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53111,0,0,'Organization','Y',0,'Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',53062,TO_DATE('2007-12-17 08:43:18','YYYY-MM-DD HH24:MI:SS'),'AD_Org_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:18','YYYY-MM-DD HH24:MI:SS'),'N',10,113,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53111 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)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,Help,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53112,0,0,'Product Category','Y',10,'Category of a Product','Identifies the category which this product belongs to.  Product categories are used for pricing and selection.',53062,TO_DATE('2007-12-17 08:43:18','YYYY-MM-DD HH24:MI:SS'),'M_Product_Category_ID','Y','N',0,0,19,TO_DATE('2007-12-17 08:43:18','YYYY-MM-DD HH24:MI:SS'),'N',70,453,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53112 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)
;

INSERT INTO AD_Window (IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,AD_Window_ID,WindowType,Help,AD_Client_ID,AD_Org_ID,Description,IsSOTrx,IsDefault,Processing,IsBetaFunctionality,EntityType) VALUES ('Y',TO_DATE('2007-12-17 08:43:19','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:43:19','YYYY-MM-DD HH24:MI:SS'),0,'Cost Collector',53014,'T','The cost collector is a repository of all the MO transactions. This real transactions relation allows to compare it with the standard transactions in order to be able to calculate variations by cost element.',0,0,'The cost collector is a repository of all the MO transactions.','Y','N','N','N','EE01')
;

INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Name,t.Help,t.Description, '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=53014 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),53014,'Y',0,0,0)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),53014,'Y',0,0,102)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),53014,'Y',0,0,103)
;

INSERT INTO AD_Window_Access (Updated,UpdatedBy,CreatedBy,Created,AD_Window_ID,IsActive,AD_Client_ID,AD_Org_ID,AD_Role_ID) VALUES (TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),53014,'Y',0,0,50001)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:43:20','YYYY-MM-DD HH24:MI:SS'),0,0,'N','Collector Cost',10,53035,53053,53014,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53053 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:43:21','YYYY-MM-DD HH24:MI:SS'),0,54081,1,53835,'N',0,TO_DATE('2007-12-17 08:43:21','YYYY-MM-DD HH24:MI:SS'),'Process Now',53053,'Y','N',0,'N','EE01')
;

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=54081 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:43:22','YYYY-MM-DD HH24:MI:SS'),0,54082,'Method of moving the inventory',2,53827,'N',0,'The Movement Type indicates the type of movement (in, out, to production, etc)',TO_DATE('2007-12-17 08:43:22','YYYY-MM-DD HH24:MI:SS'),'Movement Type',53053,'Y','N',0,'N','EE01')
;

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=54082 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:43:23','YYYY-MM-DD HH24:MI:SS'),0,54083,22,53828,'N',0,TO_DATE('2007-12-17 08:43:23','YYYY-MM-DD HH24:MI:SS'),'PP_Cost_Collector_ID',53053,'N','N',0,'N','EE01')
;

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=54083 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:24','YYYY-MM-DD HH24:MI:SS'),0,54084,'Client/Tenant for this installation.',22,53843,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 08:43:24','YYYY-MM-DD HH24:MI:SS'),'Client',53053,'N','N',10,'N','EE01')
;

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=54084 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:25','YYYY-MM-DD HH24:MI:SS'),0,54085,'Organizational entity within client',22,53805,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 08:43:25','YYYY-MM-DD HH24:MI:SS'),'Organization',53053,'Y','N',20,'N','EE01')
;

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=54085 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:26','YYYY-MM-DD HH24:MI:SS'),0,54086,22,53830,'N',0,TO_DATE('2007-12-17 08:43:26','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53053,'N','N',30,'N','EE01')
;

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=54086 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:27','YYYY-MM-DD HH24:MI:SS'),0,54087,10,53829,'N',0,TO_DATE('2007-12-17 08:43:27','YYYY-MM-DD HH24:MI:SS'),'PP_Order_BOMLine_ID',53053,'Y','N',40,'N','EE01')
;

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=54087 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:31','YYYY-MM-DD HH24:MI:SS'),0,54088,'Target document type for conversing documents',0,53809,'N',0,'You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.',TO_DATE('2007-12-17 08:43:31','YYYY-MM-DD HH24:MI:SS'),'Target Document Type',53053,'N','N',50,'N','EE01')
;

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=54088 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:32','YYYY-MM-DD HH24:MI:SS'),0,54089,'The record is active in the system',1,53820,'N',0,'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.',TO_DATE('2007-12-17 08:43:32','YYYY-MM-DD HH24:MI:SS'),'Active',53053,'Y','N',60,'N','EE01')
;

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=54089 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:34','YYYY-MM-DD HH24:MI:SS'),0,54090,'Optional short description of the record',255,53816,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 08:43:34','YYYY-MM-DD HH24:MI:SS'),'Description',53053,'N','N',70,'N','EE01')
;

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=54090 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:35','YYYY-MM-DD HH24:MI:SS'),0,54091,'Resource',22,53837,'N',0,TO_DATE('2007-12-17 08:43:35','YYYY-MM-DD HH24:MI:SS'),'Resource',53053,'N','N',80,'N','EE01')
;

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=54091 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:36','YYYY-MM-DD HH24:MI:SS'),0,54092,'Storage Warehouse and Service Point',22,53824,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 08:43:36','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53053,'N','N',90,'N','EE01')
;

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=54092 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:37','YYYY-MM-DD HH24:MI:SS'),0,54093,'Warehouse Locator',22,53823,'N',0,'The Locator indicates where in a Warehouse a product is located.',TO_DATE('2007-12-17 08:43:37','YYYY-MM-DD HH24:MI:SS'),'Locator',53053,'Y','N',100,'N','EE01')
;

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=54093 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:38','YYYY-MM-DD HH24:MI:SS'),0,54094,'Product, Service, Item',22,53803,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 08:43:38','YYYY-MM-DD HH24:MI:SS'),'Product',53053,'N','N',110,'N','EE01')
;

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=54094 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:39','YYYY-MM-DD HH24:MI:SS'),0,54095,'Product Attribute Set Instance',22,53822,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 08:43:39','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53053,'Y','N',120,'N','EE01')
;

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=54095 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:40','YYYY-MM-DD HH24:MI:SS'),0,54096,'Date a product was moved in or out of inventory',7,53825,'N',0,'The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.',TO_DATE('2007-12-17 08:43:40','YYYY-MM-DD HH24:MI:SS'),'Movement Date',53053,'N','N',130,'N','EE01')
;

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=54096 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:42','YYYY-MM-DD HH24:MI:SS'),0,54097,'Accounting Date',7,53815,'N',0,'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.',TO_DATE('2007-12-17 08:43:42','YYYY-MM-DD HH24:MI:SS'),'Account Date',53053,'Y','N',140,'N','EE01')
;

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=54097 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:43','YYYY-MM-DD HH24:MI:SS'),0,54098,'Quantity of a product moved.',22,53826,'N',0,'The Movement Quantity indicates the quantity of a product that has been moved.',TO_DATE('2007-12-17 08:43:43','YYYY-MM-DD HH24:MI:SS'),'Movement Quantity',53053,'N','N',150,'N','EE01')
;

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=54098 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:44','YYYY-MM-DD HH24:MI:SS'),0,54099,'The Quantity scrapped due to QA issues',22,53838,'N',0,TO_DATE('2007-12-17 08:43:44','YYYY-MM-DD HH24:MI:SS'),'Scrapped Quantity',53053,'Y','N',160,'N','EE01')
;

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=54099 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:44','YYYY-MM-DD HH24:MI:SS'),0,54100,'Financial Project',22,53811,'N',0,'A Project allows you to track and control internal or external activities.',TO_DATE('2007-12-17 08:43:44','YYYY-MM-DD HH24:MI:SS'),'Project',53053,'N','N',170,'N','EE01')
;

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=54100 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:45','YYYY-MM-DD HH24:MI:SS'),0,54101,'Performing or initiating organization',22,53804,'N',0,'The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',TO_DATE('2007-12-17 08:43:45','YYYY-MM-DD HH24:MI:SS'),'Trx Organization',53053,'Y','N',180,'N','EE01')
;

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=54101 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:46','YYYY-MM-DD HH24:MI:SS'),0,54102,'Business Activity',22,53807,'N',0,'Activities indicate tasks that are performed and used to utilize Activity based Costing',TO_DATE('2007-12-17 08:43:46','YYYY-MM-DD HH24:MI:SS'),'Activity',53053,'N','N',190,'N','EE01')
;

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=54102 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:47','YYYY-MM-DD HH24:MI:SS'),0,54103,'Marketing Campaign',22,53808,'N',0,'The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',TO_DATE('2007-12-17 08:43:47','YYYY-MM-DD HH24:MI:SS'),'Campaign',53053,'Y','N',200,'N','EE01')
;

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=54103 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:48','YYYY-MM-DD HH24:MI:SS'),0,54104,'User defined list element #1',22,53842,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 08:43:48','YYYY-MM-DD HH24:MI:SS'),'User List 1',53053,'N','N',210,'N','EE01')
;

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=54104 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:49','YYYY-MM-DD HH24:MI:SS'),0,54105,'User defined list element #2',22,53844,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 08:43:49','YYYY-MM-DD HH24:MI:SS'),'User List 2',53053,'Y','N',220,'N','EE01')
;

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=54105 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:50','YYYY-MM-DD HH24:MI:SS'),0,54106,'Document type or rules',22,53810,'N',0,'The Document Type determines document sequence and processing rules',TO_DATE('2007-12-17 08:43:50','YYYY-MM-DD HH24:MI:SS'),'Document Type',53053,'N','N',230,'N','EE01')
;

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=54106 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:51','YYYY-MM-DD HH24:MI:SS'),0,54107,'The current status of the document',2,53818,'N',0,'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',TO_DATE('2007-12-17 08:43:51','YYYY-MM-DD HH24:MI:SS'),'Document Status',53053,'N','N',240,'N','EE01')
;

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=54107 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:51','YYYY-MM-DD HH24:MI:SS'),0,54108,'The targeted status of the document',2,53817,'N',0,'You find the current status in the Document Status field. The options are listed in a popup',TO_DATE('2007-12-17 08:43:51','YYYY-MM-DD HH24:MI:SS'),'Document Action',53053,'Y','N',250,'N','EE01')
;

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=54108 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:52','YYYY-MM-DD HH24:MI:SS'),0,54109,'The document has been processed',1,53834,'N',0,'The Processed checkbox indicates that a document has been processed.',TO_DATE('2007-12-17 08:43:52','YYYY-MM-DD HH24:MI:SS'),'Processed',53053,'N','N',260,'N','EE01')
;

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=54109 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:43:54','YYYY-MM-DD HH24:MI:SS'),0,54110,'Posting status',1,53833,'N',0,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ',TO_DATE('2007-12-17 08:43:54','YYYY-MM-DD HH24:MI:SS'),'Posted',53053,'Y','N',270,'N','EE01')
;

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=54110 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_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'MRP','3','Y','N','Y','PP_MRP',TO_DATE('2007-12-17 08:43:55','YYYY-MM-DD HH24:MI:SS'),53043,0,TO_DATE('2007-12-17 08:43:55','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53043 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table PP_MRP',0,0,'PP_MRP',50000,1000000,'Y',53040,TO_DATE('2007-12-17 08:43:55','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:43:55','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,SeqNo,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Name','N','N','Alphanumeric identifier of the entity','Y',1,'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.',0,'Y',53043,54023,'Name',0,0,120,'N',TO_DATE('2007-12-17 08:43:56','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:43:56','YYYY-MM-DD HH24:MI:SS'),469,'Y','N','N',0,'N','N','EE01')
;

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=54023 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE PP_MRP (NAME NVARCHAR2(120))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53043,54024,'AD_Org_ID',0,0,10,'N',TO_DATE('2007-12-17 08:43:58','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:43:58','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=54024 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 PP_MRP ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Business Partner ','N','N','Identifies a Business Partner','N','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',0,'Y',53043,54025,'C_BPartner_ID',0,0,10,'N',TO_DATE('2007-12-17 08:43:59','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:43:59','YYYY-MM-DD HH24:MI:SS'),187,'Y','N','N',0,'N','N','EE01')
;

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=54025 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 PP_MRP ADD C_BPartner_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sales Order Line','N','N','Sales Order Line','N','The Sales Order Line is a unique identifier for a line in an order.',0,'Y',53043,54026,'C_OrderLine_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:01','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:01','YYYY-MM-DD HH24:MI:SS'),561,'Y','N','N',0,'N','N','EE01')
;

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=54026 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 PP_MRP ADD C_OrderLine_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Order','N','N','Order','N','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.',0,'Y',53043,54027,'C_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:03','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:03','YYYY-MM-DD HH24:MI:SS'),558,'Y','N','N',0,'N','N','EE01')
;

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=54027 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 PP_MRP ADD C_Order_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53043,54028,'Created',0,0,29,'N',TO_DATE('2007-12-17 08:44:07','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:07','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=54028 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 PP_MRP ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53043,54029,'CreatedBy',0,0,10,'N',TO_DATE('2007-12-17 08:44:09','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:44:09','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=54029 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 PP_MRP ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateConfirm','N','N','N',0,'Y',53043,54030,'DateConfirm',0,0,29,'N',TO_DATE('2007-12-17 08:44:10','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:10','YYYY-MM-DD HH24:MI:SS'),53277,'Y','N','N',0,'N','N','EE01')
;

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=54030 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 PP_MRP ADD DateConfirm DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateFinishSchedule','N','N','N',0,'Y',53043,54031,'DateFinishSchedule',0,0,29,'N',TO_DATE('2007-12-17 08:44:14','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:14','YYYY-MM-DD HH24:MI:SS'),53278,'Y','N','N',0,'N','N','EE01')
;

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=54031 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 PP_MRP ADD DateFinishSchedule DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Ordered','Y','N','Date of Order','N','Indicates the Date an item was ordered.',0,'Y',53043,54032,'DateOrdered',0,0,29,'N',TO_DATE('2007-12-17 08:44:16','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:16','YYYY-MM-DD HH24:MI:SS'),268,'Y','N','N',0,'N','N','EE01')
;

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=54032 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 PP_MRP ADD DateOrdered DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Date Promised','Y','N','Date Order was promised','N','The Date Promised indicates the date, if any, that an Order was promised for.',0,'Y',53043,54033,'DatePromised',0,0,29,'N',TO_DATE('2007-12-17 08:44:17','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:17','YYYY-MM-DD HH24:MI:SS'),269,'Y','N','N',0,'N','N','EE01')
;

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=54033 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 PP_MRP ADD DatePromised DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateSimulation','N','N','N',0,'Y',53043,54034,'DateSimulation',0,0,29,'N',TO_DATE('2007-12-17 08:44:20','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:20','YYYY-MM-DD HH24:MI:SS'),53279,'Y','N','N',0,'N','N','EE01')
;

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=54034 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 PP_MRP ADD DateSimulation DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStart','N','N','N',0,'Y',53043,54035,'DateStart',0,0,29,'N',TO_DATE('2007-12-17 08:44:21','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:21','YYYY-MM-DD HH24:MI:SS'),53280,'Y','N','N',0,'N','N','EE01')
;

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=54035 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 PP_MRP ADD DateStart DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('DateStartSchedule','N','N','N',0,'Y',53043,54036,'DateStartSchedule',0,0,29,'N',TO_DATE('2007-12-17 08:44:23','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:23','YYYY-MM-DD HH24:MI:SS'),53281,'Y','N','N',0,'N','N','EE01')
;

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=54036 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 PP_MRP ADD DateStartSchedule DATE
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53043,54037,'Description',0,0,1020,'N',TO_DATE('2007-12-17 08:44:24','YYYY-MM-DD HH24:MI:SS'),'Y',14,0,TO_DATE('2007-12-17 08:44:24','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=54037 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 PP_MRP ADD Description NVARCHAR2(1020)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Document Status','N','N','The current status of the document','N','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',0,'Y',53043,54038,'DocStatus',0,0,2,'N',TO_DATE('2007-12-17 08:44:26','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:44:26','YYYY-MM-DD HH24:MI:SS'),289,'Y','N','N',0,'N','N','EE01')
;

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=54038 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 PP_MRP ADD DocStatus NVARCHAR2(2)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','Y','N','The record is active in the system','N','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.',0,'Y',53043,54039,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 08:44:27','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 08:44:27','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=54039 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 PP_MRP ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Available','N','N','Resource is available','N','Resource is available for assignments',0,'Y',53043,54040,'IsAvailable',0,0,1,'N',TO_DATE('2007-12-17 08:44:29','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 08:44:29','YYYY-MM-DD HH24:MI:SS'),1762,'Y','N','N',0,'N','N','EE01')
;

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=54040 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 PP_MRP ADD IsAvailable CHAR(1) CHECK (IsAvailable IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Forecast Line','N','N','Forecast Line','N','Forecast of Product Qyantity by Period',0,'Y',53043,54041,'M_ForecastLine_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:31','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:31','YYYY-MM-DD HH24:MI:SS'),2499,'Y','N','N',0,'N','N','EE01')
;

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=54041 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 PP_MRP ADD M_ForecastLine_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Forecast','N','N','Material Forecast','N','Material Forecast',0,'Y',53043,54042,'M_Forecast_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:33','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:33','YYYY-MM-DD HH24:MI:SS'),2498,'Y','N','N',0,'N','N','EE01')
;

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=54042 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 PP_MRP ADD M_Forecast_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','N','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53043,54043,'M_Product_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:34','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:34','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=54043 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 PP_MRP ADD M_Product_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Requisition Line','N','N','Material Requisition Line','N',0,'Y',53043,54044,'M_RequisitionLine_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:36','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:36','YYYY-MM-DD HH24:MI:SS'),2453,'Y','N','N',0,'N','N','EE01')
;

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=54044 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 PP_MRP ADD M_RequisitionLine_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Requisition','N','N','Material Requisition','N',0,'Y',53043,54045,'M_Requisition_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:37','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:37','YYYY-MM-DD HH24:MI:SS'),2452,'Y','N','N',0,'N','N','EE01')
;

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=54045 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 PP_MRP ADD M_Requisition_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Warehouse','Y','N','Storage Warehouse and Service Point','N','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',0,'Y',53043,54046,'M_Warehouse_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:39','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:39','YYYY-MM-DD HH24:MI:SS'),459,'Y','N','N',0,'N','N','EE01')
;

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=54046 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 PP_MRP ADD M_Warehouse_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53316,'PP_MRP_ID','PP_MRP_ID',0,0,0,0,'PP_MRP_ID',TO_DATE('2007-12-17 08:44:40','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 08:44:40','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53316 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_MRP_ID','Y','N','N',0,'Y',53043,54047,'PP_MRP_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:40','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 08:44:40','YYYY-MM-DD HH24:MI:SS'),53316,'N','Y','N',0,'N','N','EE01')
;

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=54047 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 PP_MRP ADD PP_MRP_ID NUMBER(10) NOT NULL
;

ALTER TABLE PP_MRP ADD CONSTRAINT PP_MRP_Key PRIMARY KEY (PP_MRP_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_BOMLine_ID','N','N','N',0,'Y',53043,54048,'PP_Order_BOMLine_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:43','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:43','YYYY-MM-DD HH24:MI:SS'),53275,'Y','N','N',0,'N','N','EE01')
;

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=54048 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 PP_MRP ADD PP_Order_BOMLine_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Order_ID','N','N','N',0,'Y',53043,54049,'PP_Order_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:45','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:45','YYYY-MM-DD HH24:MI:SS'),53276,'Y','N','N',0,'N','N','EE01')
;

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=54049 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 PP_MRP ADD PP_Order_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Planner_ID','N','N','N',286,0,'Y',53043,54050,'Planner_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:46','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:44:46','YYYY-MM-DD HH24:MI:SS'),53269,'Y','N','N',0,'N','N','EE01')
;

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=54050 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 PP_MRP ADD Planner_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Priority','N','N','Indicates if this request is of a high, medium or low priority.','N','The Priority indicates the importance of this request.',0,'Y',53043,54051,'Priority',0,0,10,'N',TO_DATE('2007-12-17 08:44:47','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:44:47','YYYY-MM-DD HH24:MI:SS'),1514,'Y','N','N',0,'N','N','EE01')
;

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=54051 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 PP_MRP ADD Priority NVARCHAR2(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Quantity','N','N','Quantity','N','The Quantity indicates the number of a specific product or item for this document.',0,'Y',53043,54052,'Qty',0,0,131089,'N',TO_DATE('2007-12-17 08:44:49','YYYY-MM-DD HH24:MI:SS'),'Y',29,0,TO_DATE('2007-12-17 08:44:49','YYYY-MM-DD HH24:MI:SS'),526,'Y','N','N',0,'N','N','EE01')
;

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=54052 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 PP_MRP ADD Qty NUMBER
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Resource','N','N','Resource','N',0,'Y',53043,54053,'S_Resource_ID',0,0,10,'N',TO_DATE('2007-12-17 08:44:50','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:44:50','YYYY-MM-DD HH24:MI:SS'),1777,'Y','N','N',0,'N','N','EE01')
;

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=54053 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 PP_MRP ADD S_Resource_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Type','N','N','Type of Validation (SQL, Java Script, Java Language)','N','The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.',0,'Y',53043,54054,'Type',0,0,1,'N',TO_DATE('2007-12-17 08:44:51','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:44:51','YYYY-MM-DD HH24:MI:SS'),600,'Y','N','N',0,'N','N','EE01')
;

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=54054 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 PP_MRP ADD TYPE NVARCHAR2(1)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('TypeMRP','N','N','N',0,'Y',53043,54055,'TypeMRP',0,0,3,'N',TO_DATE('2007-12-17 08:44:53','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:44:53','YYYY-MM-DD HH24:MI:SS'),53282,'Y','N','N',0,'N','N','EE01')
;

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=54055 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 PP_MRP ADD TypeMRP NVARCHAR2(3)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53043,54056,'Updated',0,0,29,'N',TO_DATE('2007-12-17 08:44:56','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:44:56','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=54056 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 PP_MRP ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53043,54057,'UpdatedBy',0,0,10,'N',TO_DATE('2007-12-17 08:44:58','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:44:58','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=54057 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 PP_MRP ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Search Key','Y','N','Search key for the record in the format required - must be unique','N','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).',0,'Y',53043,54058,'Value',0,0,80,'N',TO_DATE('2007-12-17 08:45:00','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:45:00','YYYY-MM-DD HH24:MI:SS'),620,'Y','N','N',0,'N','N','EE01')
;

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=54058 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 PP_MRP ADD VALUE NVARCHAR2(80) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53043,54059,'AD_Client_ID',0,0,10,'N',TO_DATE('2007-12-17 08:45:01','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:01','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=54059 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 PP_MRP ADD AD_Client_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Version','N','N','Version of the table definition','N','The Version indicates the version of this table definition.',0,'Y',53043,54060,'Version',0,0,131089,'N',TO_DATE('2007-12-17 08:45:03','YYYY-MM-DD HH24:MI:SS'),'Y',22,0,TO_DATE('2007-12-17 08:45:03','YYYY-MM-DD HH24:MI:SS'),624,'Y','N','N',0,'N','N','EE01')
;

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=54060 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 PP_MRP ADD VERSION NUMBER
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'T_MRP_CRP_ID','3','Y','N','N','T_MRP_CRP',TO_DATE('2007-12-17 08:45:04','YYYY-MM-DD HH24:MI:SS'),53044,0,TO_DATE('2007-12-17 08:45:04','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53044 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table T_MRP_CRP',0,0,'T_MRP_CRP',50000,1000000,'Y',53041,TO_DATE('2007-12-17 08:45:05','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:45:05','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53044,54061,'AD_Client_ID',0,0,10,'N',TO_DATE('2007-12-17 08:45:06','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:06','YYYY-MM-DD HH24:MI:SS'),102,'N','N','N',0,'N','N','EE01')
;

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=54061 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE T_MRP_CRP (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53044,54062,'AD_Org_ID',0,0,10,'N',TO_DATE('2007-12-17 08:45:07','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:07','YYYY-MM-DD HH24:MI:SS'),113,'N','N','N',0,'N','N','EE01')
;

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=54062 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 T_MRP_CRP ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process Instance','N','N','Instance of the process','N',0,'Y',53044,54063,'AD_PInstance_ID',0,0,10,'N',TO_DATE('2007-12-17 08:45:09','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:09','YYYY-MM-DD HH24:MI:SS'),114,'Y','N','N',0,'N','N','EE01')
;

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=54063 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 T_MRP_CRP ADD AD_PInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53044,54064,'Created',0,0,7,'N',TO_DATE('2007-12-17 08:45:10','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:45:10','YYYY-MM-DD HH24:MI:SS'),245,'N','N','N',0,'N','N','EE01')
;

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=54064 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 T_MRP_CRP ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53044,54065,'CreatedBy',0,0,10,'N',TO_DATE('2007-12-17 08:45:11','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:45:11','YYYY-MM-DD HH24:MI:SS'),246,'N','N','N',0,'N','N','EE01')
;

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=54065 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 T_MRP_CRP ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Description','N','N','Optional short description of the record','N','A description is limited to 255 characters.',0,'Y',53044,54066,'Description',0,0,50,'N',TO_DATE('2007-12-17 08:45:14','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:45:14','YYYY-MM-DD HH24:MI:SS'),275,'Y','N','N',0,'N','N','EE01')
;

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=54066 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 T_MRP_CRP ADD Description NVARCHAR2(50)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','N','N','The record is active in the system','N','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.',0,'Y',53044,54067,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 08:45:15','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 08:45:15','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=54067 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 T_MRP_CRP ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sequence','N','N','Method of ordering records; lowest number comes first','N','The Sequence indicates the order of records',0,'Y',53044,54068,'SeqNo',0,0,10,'N',TO_DATE('2007-12-17 08:45:20','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 08:45:20','YYYY-MM-DD HH24:MI:SS'),566,'Y','N','N',0,'N','N','EE01')
;

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=54068 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 T_MRP_CRP ADD SeqNo NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53317,'T_MRP_CRP_ID','T_MRP_CRP_ID',0,0,0,0,'T_MRP_CRP_ID',TO_DATE('2007-12-17 08:45:21','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 08:45:21','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53317 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('T_MRP_CRP_ID','Y','N','N',0,'Y',53044,54069,'T_MRP_CRP_ID',0,0,10,'N',TO_DATE('2007-12-17 08:45:21','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 08:45:21','YYYY-MM-DD HH24:MI:SS'),53317,'N','Y','N',0,'N','N','EE01')
;

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=54069 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 T_MRP_CRP ADD T_MRP_CRP_ID NUMBER(10) NOT NULL
;

ALTER TABLE T_MRP_CRP ADD CONSTRAINT T_MRP_CRP_Key PRIMARY KEY (T_MRP_CRP_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53044,54070,'Updated',0,0,7,'N',TO_DATE('2007-12-17 08:45:24','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:45:24','YYYY-MM-DD HH24:MI:SS'),607,'N','N','N',0,'N','N','EE01')
;

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=54070 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 T_MRP_CRP ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53044,54071,'UpdatedBy',0,0,10,'N',TO_DATE('2007-12-17 08:45:25','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:45:25','YYYY-MM-DD HH24:MI:SS'),608,'N','N','N',0,'N','N','EE01')
;

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=54071 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 T_MRP_CRP ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Table (AD_Org_ID,AD_Client_ID,Name,AccessLevel,IsActive,IsSecurityEnabled,IsDeleteable,TableName,Created,AD_Table_ID,CreatedBy,Updated,UpdatedBy,IsHighVolume,ImportTable,IsView,IsChangeLog,ReplicationType,EntityType) VALUES (0,0,'T_BOMLine_ID','7','Y','N','N','T_BOMLine',TO_DATE('2007-12-17 08:45:27','YYYY-MM-DD HH24:MI:SS'),53045,0,TO_DATE('2007-12-17 08:45:27','YYYY-MM-DD HH24:MI:SS'),0,'N','N','N','N','L','EE01')
;

INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53045 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','Table T_BOMLine',0,0,'T_BOMLine',50000,1000000,'Y',53042,TO_DATE('2007-12-17 08:45:28','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:45:28','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Client','Y','N','Client/Tenant for this installation.','N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'Y',53045,54072,'AD_Client_ID',0,0,22,'N',TO_DATE('2007-12-17 08:45:28','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:28','YYYY-MM-DD HH24:MI:SS'),102,'Y','N','N',0,'N','N','EE01')
;

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=54072 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

CREATE TABLE T_BOMLine (AD_Client_ID NUMBER(10) NOT NULL)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,AD_Val_Rule_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Organization','Y','N','Organizational entity within client','N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'Y',53045,54073,'AD_Org_ID',0,0,22,'N',TO_DATE('2007-12-17 08:45:30','YYYY-MM-DD HH24:MI:SS'),'Y',19,104,0,TO_DATE('2007-12-17 08:45:30','YYYY-MM-DD HH24:MI:SS'),113,'Y','N','N',0,'N','N','EE01')
;

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=54073 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 T_BOMLine ADD AD_Org_ID NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Process Instance','N','N','Instance of the process','N',0,'Y',53045,54074,'AD_PInstance_ID',0,0,22,'N',TO_DATE('2007-12-17 08:45:32','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:32','YYYY-MM-DD HH24:MI:SS'),114,'Y','N','N',0,'N','N','EE01')
;

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=54074 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 T_BOMLine ADD AD_PInstance_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created','Y','N','Date this record was created','N','The Created field indicates the date that this record was created.',0,'Y',53045,54075,'Created',0,0,7,'N',TO_DATE('2007-12-17 08:45:33','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:45:33','YYYY-MM-DD HH24:MI:SS'),245,'Y','N','N',0,'N','N','EE01')
;

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=54075 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 T_BOMLine ADD Created DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Created By','Y','N','User who created this records','N','The Created By field indicates the user who created this record.',110,0,'Y',53045,54076,'CreatedBy',0,0,22,'N',TO_DATE('2007-12-17 08:45:35','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:45:35','YYYY-MM-DD HH24:MI:SS'),246,'Y','N','N',0,'N','N','EE01')
;

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=54076 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 T_BOMLine ADD CreatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Active','N','N','The record is active in the system','N','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.',0,'Y',53045,54077,'IsActive',0,0,1,'N',TO_DATE('2007-12-17 08:45:36','YYYY-MM-DD HH24:MI:SS'),'Y',20,0,TO_DATE('2007-12-17 08:45:36','YYYY-MM-DD HH24:MI:SS'),348,'Y','N','N',0,'N','N','EE01')
;

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=54077 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 T_BOMLine ADD IsActive CHAR(1) CHECK (IsActive IN ('Y','N'))
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Level no','N','N','N',0,'Y',53045,54078,'LevelNo',0,0,22,'N',TO_DATE('2007-12-17 08:45:37','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 08:45:37','YYYY-MM-DD HH24:MI:SS'),1982,'Y','N','N',0,'N','N','EE01')
;

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=54078 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 T_BOMLine ADD LevelNo NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53318,'Levels','Levels',0,0,0,0,'Levels',TO_DATE('2007-12-17 08:45:39','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 08:45:39','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53318 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Levels','N','N','N',0,'Y',53045,54079,'Levels',0,0,250,'N',TO_DATE('2007-12-17 08:45:39','YYYY-MM-DD HH24:MI:SS'),'Y',10,0,TO_DATE('2007-12-17 08:45:39','YYYY-MM-DD HH24:MI:SS'),53318,'Y','N','N',0,'N','N','EE01')
;

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=54079 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 T_BOMLine ADD LEVELS NVARCHAR2(250)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Product','N','N','Product, Service, Item','N','Identifies an item which is either purchased or sold in this organization.',0,'Y',53045,54080,'M_Product_ID',0,0,22,'N',TO_DATE('2007-12-17 08:45:41','YYYY-MM-DD HH24:MI:SS'),'Y',30,0,TO_DATE('2007-12-17 08:45:41','YYYY-MM-DD HH24:MI:SS'),454,'Y','N','N',0,'N','N','EE01')
;

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=54080 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 T_BOMLine ADD M_Product_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('PP_Product_BOMLine_ID','N','N','N',0,'Y',53045,54081,'PP_Product_BOMLine_ID',0,0,22,'N',TO_DATE('2007-12-17 08:45:42','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:42','YYYY-MM-DD HH24:MI:SS'),53254,'Y','N','N',0,'N','N','EE01')
;

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=54081 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 T_BOMLine ADD PP_Product_BOMLine_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('BOM & Formaula','N','N','N',0,'Y',53045,54082,'PP_Product_BOM_ID',0,0,22,'N',TO_DATE('2007-12-17 08:45:44','YYYY-MM-DD HH24:MI:SS'),'Y',19,0,TO_DATE('2007-12-17 08:45:44','YYYY-MM-DD HH24:MI:SS'),53245,'Y','N','N',0,'N','N','EE01')
;

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=54082 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 T_BOMLine ADD PP_Product_BOM_ID NUMBER(10)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Sequence','N','N','Method of ordering records; lowest number comes first','N','The Sequence indicates the order of records',0,'Y',53045,54083,'SeqNo',0,0,22,'N',TO_DATE('2007-12-17 08:45:45','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,TO_DATE('2007-12-17 08:45:45','YYYY-MM-DD HH24:MI:SS'),566,'Y','N','N',0,'N','N','EE01')
;

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=54083 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 T_BOMLine ADD SeqNo NUMBER(10)
;

INSERT INTO AD_Element (AD_Element_ID,Name,ColumnName,AD_Client_ID,AD_Org_ID,UpdatedBy,CreatedBy,PrintName,Created,Updated,IsActive,EntityType) VALUES (53319,'T_BOMLine_ID','T_BOMLine_ID',0,0,0,0,'T_BOMLine_ID',TO_DATE('2007-12-17 08:45:47','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2007-12-17 08:45:47','YYYY-MM-DD HH24:MI:SS'),'Y','EE01')
;

INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Name,Description,PrintName,Help,PO_PrintName,PO_Description,PO_Help,PO_Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Name,t.Description,t.PrintName,t.Help,t.PO_PrintName,t.PO_Description,t.PO_Help,t.PO_Name, '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=53319 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,IsIdentifier,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('T_BOMLine_ID','Y','N','N',0,'Y',53045,54084,'T_BOMLine_ID',0,0,10,'N',TO_DATE('2007-12-17 08:45:47','YYYY-MM-DD HH24:MI:SS'),'Y',13,0,TO_DATE('2007-12-17 08:45:47','YYYY-MM-DD HH24:MI:SS'),53319,'N','Y','N',0,'N','N','EE01')
;

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=54084 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 T_BOMLine ADD T_BOMLine_ID NUMBER(10) NOT NULL
;

ALTER TABLE T_BOMLine ADD CONSTRAINT T_BOMLine_Key PRIMARY KEY (T_BOMLine_ID)
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated','Y','N','Date this record was updated','N','The Updated field indicates the date that this record was updated.',0,'Y',53045,54085,'Updated',0,0,7,'N',TO_DATE('2007-12-17 08:45:49','YYYY-MM-DD HH24:MI:SS'),'Y',16,0,TO_DATE('2007-12-17 08:45:49','YYYY-MM-DD HH24:MI:SS'),607,'Y','N','N',0,'N','N','EE01')
;

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=54085 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 T_BOMLine ADD Updated DATE NOT NULL
;

INSERT INTO AD_Column (Name,IsMandatory,IsTranslated,Description,IsIdentifier,Help,AD_Reference_Value_ID,Version,IsActive,AD_Table_ID,AD_Column_ID,ColumnName,AD_Client_ID,AD_Org_ID,FieldLength,IsParent,Created,IsSyncDatabase,AD_Reference_ID,CreatedBy,Updated,AD_Element_ID,IsUpdateable,IsKey,IsSelectionColumn,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,EntityType) VALUES ('Updated By','Y','N','User who updated this records','N','The Updated By field indicates the user who updated this record.',110,0,'Y',53045,54086,'UpdatedBy',0,0,22,'N',TO_DATE('2007-12-17 08:45:50','YYYY-MM-DD HH24:MI:SS'),'Y',18,0,TO_DATE('2007-12-17 08:45:50','YYYY-MM-DD HH24:MI:SS'),608,'Y','N','N',0,'N','N','EE01')
;

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=54086 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 T_BOMLine ADD UpdatedBy NUMBER(10) NOT NULL
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:45:52','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Create','Y',TO_DATE('2007-12-17 08:45:52','YYYY-MM-DD HH24:MI:SS'),0,0,'MRP-020',53011,'EE01')
;

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=53011 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:45:54','YYYY-MM-DD HH24:MI:SS'),0,0,'I','De-Expedite','Y',TO_DATE('2007-12-17 08:45:54','YYYY-MM-DD HH24:MI:SS'),0,0,'MRP-030',53012,'EE01')
;

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=53012 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:45:54','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Expedite','Y',TO_DATE('2007-12-17 08:45:54','YYYY-MM-DD HH24:MI:SS'),'Indicates that a scheduled supply order is due after is needed and should be rescheduled to an earlier date or demand rescheduled to a later date.',0,0,'MRP-040',53013,'EE01')
;

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=53013 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:45:55','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Cancel','Y',TO_DATE('2007-12-17 08:45:55','YYYY-MM-DD HH24:MI:SS'),'Indicate that a scheduled supply order is no longer needed and should be deleted.',0,0,'MRP-050',53014,'EE01')
;

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=53014 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:45:57','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Release Due For','Y',TO_DATE('2007-12-17 08:45:57','YYYY-MM-DD HH24:MI:SS'),'Indicate tha a schedule order should be released.',0,0,'MRP-060',53015,'EE01')
;

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=53015 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:45:58','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Release Past Due For','Y',TO_DATE('2007-12-17 08:45:58','YYYY-MM-DD HH24:MI:SS'),0,0,'MRP-070',53016,'EE01')
;

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=53016 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:45:59','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Quantity  Less than Minimum','Y',TO_DATE('2007-12-17 08:45:59','YYYY-MM-DD HH24:MI:SS'),'Indicates that a supply order was created for a quantity less than the minimum quantity set in the product planning  ',0,0,'MRP-080',53017,'EE01')
;

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=53017 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:46:01','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Quantity  Less than Maximum','Y',TO_DATE('2007-12-17 08:46:01','YYYY-MM-DD HH24:MI:SS'),'Indicates that a supply order was created for a quantity for a qunatity greater than than maximum quantity set in the product planning  ',0,0,'MRP-090',53018,'EE01')
;

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=53018 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:46:02','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Past Due Time Fence Conflict','Y',TO_DATE('2007-12-17 08:46:02','YYYY-MM-DD HH24:MI:SS'),'Indicates that there is an unsatisfued material requirement inside the planning time fence for this item. You sould either manually schedule and expedite orders to fill this demand or delay fulfillment of the requirement that created the demand.',0,0,'MRP-100',53019,'EE01')
;

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=53019 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:46:03','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Not exisist demand warehouse','Y',TO_DATE('2007-12-17 08:46:03','YYYY-MM-DD HH24:MI:SS'),'indicates that the product planining is not set Demand ',0,0,'MRP-110',53020,'EE01')
;

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=53020 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:46:04','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Not exisist supply warehouse','Y',TO_DATE('2007-12-17 08:46:04','YYYY-MM-DD HH24:MI:SS'),'indicates that the product planining is not set supply',0,0,'MRP-120',53021,'EE01')
;

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=53021 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

INSERT INTO AD_Message (Updated,AD_Client_ID,AD_Org_ID,MsgType,MsgText,IsActive,Created,MsgTip,CreatedBy,UpdatedBy,Value,AD_Message_ID,EntityType) VALUES (TO_DATE('2007-12-17 08:46:05','YYYY-MM-DD HH24:MI:SS'),0,0,'I','Beginning Quantity Less Than Zero','Y',TO_DATE('2007-12-17 08:46:05','YYYY-MM-DD HH24:MI:SS'),'On hand  is Negative',0,0,'MRP-001',53022,'EE01')
;

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=53022 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;

CREATE OR REPLACE VIEW rv_pp_mrp AS 
SELECT 
mrp.ad_client_id, mrp.ad_org_id, mrp.created, mrp.createdby, mrp.isactive, mrp.updated, mrp.updatedby, pp.ismps, mrp.c_order_id, mrp.c_orderline_id, mrp.dateordered, mrp.dateconfirm, mrp.datepromised, mrp.datestartschedule, mrp.datefinishschedule, mrp.datestart, mrp.datesimulation, mrp.docstatus, mrp.m_forecast_id, mrp.m_forecastline_id, mrp.VALUE, mrp.m_product_id, mrp.m_requisition_id, mrp.m_requisitionline_id, mrp.m_warehouse_id, mrp.pp_order_id, mrp.qty, mrp.NAME, mrp.s_resource_id, mrp.priority, mrp.TYPE, mrp.typemrp 
FROM pp_mrp mrp 
JOIN pp_product_planning pp ON pp.m_product_id = mrp.m_product_id AND mrp.m_warehouse_id = pp.m_warehouse_id;

CREATE OR REPLACE VIEW rv_pp_order AS 
 SELECT o.ad_client_id, o.ad_org_id, o.isactive, o.created, o.createdby, o.updated, o.updatedby, o.pp_order_id, o.documentno, o.docstatus, o.m_warehouse_id, o.m_product_id, o.qtyentered, o.qtyreject, o.qtyscrap, o.qtybatchs, o.qtybatchsize, o.dateordered, o.datepromised, o.datestart, o.datestartschedule, o.datefinish, o.datefinishschedule, o.dateconfirm, o.datedelivered, o.lot, o.pp_product_bom_id, o.ad_workflow_id, ( SELECT p.weight
           FROM M_PRODUCT p
          WHERE p.m_product_id = o.m_product_id) AS weight, o.c_doctypetarget_id, o.m_attributesetinstance_id, o.planner_id, o.priorityrule, o.ad_orgtrx_id, o.user1_id, o.user2_id, o.c_doctype_id, o.line, o.description, o.s_resource_id, o.floatbefored, o.floatafter, o.c_uom_id, o.qtyordered, o.qtydelivered, o.yield, o.c_project_id, o.c_campaign_id, o.c_activity_id, o.isapproved, o.isprinted, o.isselected, o.processed, o.assay, o.isqtypercentage, o.ordertype, o.issotrx, o.scheduletype, o.serno
   FROM pp_order o;

CREATE OR REPLACE VIEW rv_pp_order_bomline AS 
 SELECT obl.ad_client_id, obl.ad_org_id, obl.createdby, obl.updatedby, obl.updated, obl.created, obl.isactive, obl.pp_order_bom_id, obl.pp_order_bomline_id, obl.pp_order_id, obl.iscritical, obl.componenttype, obl.m_product_id, obl.c_uom_id, ROUND(obl.qtyrequiered, 4) AS qtyrequiered, ROUND(Bomqtyreserved(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyreserved, ROUND(Bomqtyavailable(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyavailable, ROUND(Bomqtyonhand(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyonhand, obl.m_warehouse_id, ROUND(obl.qtybom, 4) AS qtybom, obl.isqtypercentage, ROUND(obl.qtybatch, 4) AS qtybatch, 
        CASE
            WHEN o.qtybatchs = 0 THEN 1
            ELSE ROUND(obl.qtyrequiered / o.qtybatchs, 4)
        END AS qtybatchsize
   FROM pp_order_bomline obl
   JOIN pp_order o ON o.pp_order_id = obl.pp_order_id;

CREATE OR REPLACE VIEW rv_pp_operation_activity AS 
SELECT 
n.ad_client_id, n.ad_org_id, n.created, n.createdby, n.isactive, n.updated, n.updatedby, n.pp_order_id, n.docstatus, n.VALUE, n.s_resource_id, n.durationrequiered, n.durationreal, n.durationrequiered - n.durationreal AS duration, n.qtydelivered, n.qtyreject, n.qtyscrap, n.datestartschedule, n.datefinishschedule
FROM pp_order_node n; 

CREATE OR REPLACE VIEW rv_pp_order_storage AS 
 SELECT obl.ad_client_id, obl.ad_org_id, obl.createdby, obl.updatedby, obl.updated, obl.created, obl.isactive, obl.pp_order_bom_id, obl.pp_order_bomline_id, obl.pp_order_id, obl.iscritical, obl.m_product_id, ( SELECT p.NAME
           FROM M_PRODUCT p
          WHERE p.m_product_id = o.m_product_id) AS NAME, obl.c_uom_id, s.qtyonhand, ROUND(obl.qtyrequiered, 4) AS qtyrequiered, 
        CASE
            WHEN o.qtybatchs = 0 THEN 1
            ELSE ROUND(obl.qtyrequiered / o.qtybatchs, 4)
        END AS qtybatchsize, ROUND(Bomqtyreserved(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyreserved, ROUND(Bomqtyavailable(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyavailable, obl.m_warehouse_id, obl.qtybom, obl.isqtypercentage, ROUND(obl.qtybatch, 4) AS qtybatch, obl.m_attributesetinstance_id, l.m_locator_id, l.x, l.y, l.z
   FROM pp_order_bomline obl
   JOIN pp_order o ON o.pp_order_id = obl.pp_order_id
   LEFT JOIN M_STORAGE s ON s.m_product_id = obl.m_product_id AND s.qtyonhand <> 0 AND obl.m_warehouse_id = (( SELECT ld.m_warehouse_id
   FROM M_LOCATOR ld
  WHERE s.m_locator_id = ld.m_locator_id))
   LEFT JOIN M_LOCATOR l ON l.m_locator_id = s.m_locator_id
  ORDER BY obl.m_product_id;

CREATE OR REPLACE VIEW rv_pp_order_receipt_issue AS 
 SELECT obl.pp_order_bomline_id, obl.iscritical, p.VALUE, obl.m_product_id, mos.NAME AS productname, mos.m_attributesetinstance_id, asi.description AS instancename, mos.c_uom_id, u.NAME AS uomname, obl.qtyrequiered, obl.qtyreserved AS qtyreserved_order, mos.qtyonhand, mos.qtyreserved AS qtyreserved_storage, mos.qtyavailable, mos.m_locator_id, mos.m_warehouse_id, w.NAME AS warehousename, mos.qtybom, mos.isqtypercentage, mos.qtybatch, obl.componenttype, mos.qtyrequiered - obl.qtydelivered AS qtyopen, obl.pp_order_id
   FROM rv_pp_order_storage mos
   JOIN pp_order_bomline obl ON mos.pp_order_bomline_id = obl.pp_order_bomline_id
   JOIN M_ATTRIBUTESETINSTANCE asi ON mos.m_attributesetinstance_id = asi.m_attributesetinstance_id
   JOIN C_UOM u ON mos.c_uom_id = u.c_uom_id
   JOIN M_PRODUCT p ON mos.m_product_id = p.m_product_id
   JOIN M_WAREHOUSE w ON mos.m_warehouse_id = w.m_warehouse_id;

CREATE OR REPLACE VIEW rv_pp_order_transactions AS 
 SELECT DISTINCT o.ad_client_id, o.ad_org_id, o.isactive, o.created, o.createdby, o.updatedby, o.updated, o.documentno, ol.m_product_id, mt.m_locator_id, mt.movementdate, o.pp_order_id, o.qtydelivered, o.qtyscrap, ol.qtydelivered AS qtydeliveredline, o.qtydelivered * ol.qtybatch / 100 AS qtyissueshouldbe, ol.qtyscrap AS qtyscrapline, o.qtyscrap * ol.qtybatch / 100 AS qtyissuescrapshouldbe, mt.createdby AS createdbyissue, mt.updatedby AS updatedbyissue, ( SELECT SUM(t.movementqty) AS SUM
           FROM M_TRANSACTION t
          WHERE t.pp_order_bomline_id = ol.pp_order_bomline_id) AS qtytodeliver, (o.qtydelivered + o.qtyscrap) * ol.qtybatch / 100 + (( SELECT SUM(t.movementqty) AS SUM
           FROM M_TRANSACTION t
          WHERE t.pp_order_bomline_id = ol.pp_order_bomline_id)) AS differenceqty, o.issotrx, o.dateordered
   FROM pp_order o
   JOIN pp_order_bomline ol ON ol.pp_order_id = o.pp_order_id
   LEFT JOIN M_TRANSACTION mt ON mt.pp_order_bomline_id = ol.pp_order_bomline_id
ORDER BY o.ad_client_id, o.ad_org_id, o.isactive, o.created, o.createdby,
o.updatedby, o.updated, o.documentno, ol.m_product_id, mt.m_locator_id, 
mt.movementdate, o.pp_order_id, o.qtydelivered, o.qtyscrap,
ol.qtydelivered, o.qtydelivered * ol.qtybatch / 100, 
ol.qtyscrap, o.qtyscrap * ol.qtybatch / 100, mt.createdby, mt.updatedby,
QtyToDeliver,
differenceqty, o.issotrx, o.dateordered;

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, bl.isactive, bl.pp_product_bom_id, bl.pp_product_bomline_id, bl.description, bl.iscritical, bl.componenttype, t.m_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 pp_product_bomline bl
   RIGHT JOIN t_bomline t ON t.pp_product_bomline_id = bl.pp_product_bomline_id
  ORDER BY t.seqno;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50016,'EE01','N',50000,10,50002,0,0,TO_DATE('2007-12-17 08:46:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:06','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:07','YYYY-MM-DD HH24:MI:SS'),0,54111,'Dictionary Entity Type; Determines ownership and synchronization',20,53278,'N',0,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.  

For customizations, copy the entity and select "User"!',TO_DATE('2007-12-17 08:46:07','YYYY-MM-DD HH24:MI:SS'),'Entity Type',53015,'N','N',60,'N','D')
;

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=54111 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:08','YYYY-MM-DD HH24:MI:SS'),0,54112,'Configuration Level for this parameter',20,53279,'N',0,'Configuration Level for this parameter
S - just allowed system configuration
C - client configurable parameter
O - org configurable parameter',TO_DATE('2007-12-17 08:46:08','YYYY-MM-DD HH24:MI:SS'),'Configuration Level',53015,'Y','N',70,'N','D')
;

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=54112 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_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50017,'EE01','N',50003,10,50006,0,0,TO_DATE('2007-12-17 08:46:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:09','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Multi Level BOM & Formula Detail',0,0,0,0,0,'Multi Level BOM & Formula Detail','Y',TO_DATE('2007-12-17 08:46:10','YYYY-MM-DD HH24:MI:SS'),0,53006,50049,50002,'R',0,0,TO_DATE('2007-12-17 08:46:10','YYYY-MM-DD HH24:MI:SS'),0,'Shows in two different panels the parent-component relationship for the product entered in the Product field.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50049 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53001,'X',0,'CO',0,0,'EE01','N','X',0,'BOM & Formula Info',0,0,0,0,0,'BOM & Formula Info','Y',TO_DATE('2007-12-17 08:46:11','YYYY-MM-DD HH24:MI:SS'),0,50050,50002,'X',0,0,TO_DATE('2007-12-17 08:46:11','YYYY-MM-DD HH24:MI:SS'),0,'Shows in two different panels the parent-component relationship for the product entered in the Product field.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50050 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50018,'EE01','N',50050,10,50049,0,0,TO_DATE('2007-12-17 08:46:12','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:12','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50019,'EE01','N',50007,10,50008,0,0,TO_DATE('2007-12-17 08:46:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:13','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Bill of Materials & Formula ',0,0,0,0,0,'Bill of Materials & Formula','Y',TO_DATE('2007-12-17 08:46:14','YYYY-MM-DD HH24:MI:SS'),0,50051,53006,50002,'W',0,0,TO_DATE('2007-12-17 08:46:14','YYYY-MM-DD HH24:MI:SS'),0,'Maintain Product Bill of Materials & Formula ')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50051 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50020,'EE01','N',50051,10,50050,0,0,TO_DATE('2007-12-17 08:46:15','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:15','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50021,'EE01','N',50009,10,50010,0,0,TO_DATE('2007-12-17 08:46:16','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:16','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Product Planning',0,0,0,0,0,'Product Planning','Y',TO_DATE('2007-12-17 08:46:16','YYYY-MM-DD HH24:MI:SS'),0,50052,53007,50003,'W',0,0,TO_DATE('2007-12-17 08:46:16','YYYY-MM-DD HH24:MI:SS'),0,'Product Planning')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50052 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50022,'EE01','N',50052,10,50011,0,0,TO_DATE('2007-12-17 08:46:17','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:17','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Calculate Low Level',0,0,0,0,0,'Calculate Low Level','Y',TO_DATE('2007-12-17 08:46:18','YYYY-MM-DD HH24:MI:SS'),0,53012,50053,50004,'P',0,0,TO_DATE('2007-12-17 08:46:18','YYYY-MM-DD HH24:MI:SS'),0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50053 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Calculate Material Plan',0,0,0,0,0,'Calculate Material Plan','Y',TO_DATE('2007-12-17 08:46:19','YYYY-MM-DD HH24:MI:SS'),0,53016,50054,50004,'P',0,0,TO_DATE('2007-12-17 08:46:19','YYYY-MM-DD HH24:MI:SS'),0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50054 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50023,'EE01','N',50054,10,50013,0,0,TO_DATE('2007-12-17 08:46:21','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:21','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53004,'X',0,'CO',0,0,'EE01','N','X',0,'Planned Order Approval',0,0,0,0,0,'Planned Order Approval','Y',TO_DATE('2007-12-17 08:46:22','YYYY-MM-DD HH24:MI:SS'),0,50055,50004,'X',0,0,TO_DATE('2007-12-17 08:46:22','YYYY-MM-DD HH24:MI:SS'),0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50055 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50024,'EE01','N',50055,10,50014,0,0,TO_DATE('2007-12-17 08:46:23','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:23','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53003,'X',0,'CO',0,0,'EE01','N','X',0,'MRP Info',0,0,0,0,0,'MRP Info','Y',TO_DATE('2007-12-17 08:46:24','YYYY-MM-DD HH24:MI:SS'),0,50056,50004,'X',0,0,TO_DATE('2007-12-17 08:46:24','YYYY-MM-DD HH24:MI:SS'),0,'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50056 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50025,'EE01','Y',50056,10,50055,0,0,TO_DATE('2007-12-17 08:46:25','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:25','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,UpdatedBy,Name,IsActive,FieldLength,Description,AD_Process_ID,Updated,ColumnName,IsCentrallyMaintained,IsRange,CreatedBy,AD_Val_Rule_ID,AD_Org_ID,AD_Reference_ID,Created,IsMandatory,SeqNo,AD_Element_ID,EntityType) VALUES (53113,0,0,'Resource','Y',0,'Resource',53020,TO_DATE('2007-12-17 08:46:26','YYYY-MM-DD HH24:MI:SS'),'S_Resource_ID','Y','N',0,52002,0,19,TO_DATE('2007-12-17 08:46:26','YYYY-MM-DD HH24:MI:SS'),'Y',10,1777,'EE01')
;

INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Name,Description,Help, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Name,t.Description,t.Help, '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=53113 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)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50026,'EE01','N',50015,10,50017,0,0,TO_DATE('2007-12-17 08:46:27','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:27','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50027,'EE01','N',50017,10,50018,0,0,TO_DATE('2007-12-17 08:46:28','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:28','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50028,'EE01','N',50019,10,50025,0,0,TO_DATE('2007-12-17 08:46:29','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:29','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Print & Release Order',0,0,0,0,0,'Print & Release Order','Y',TO_DATE('2007-12-17 08:46:29','YYYY-MM-DD HH24:MI:SS'),0,53034,50057,50007,'P',0,0,TO_DATE('2007-12-17 08:46:29','YYYY-MM-DD HH24:MI:SS'),0,'Print & Release Order')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50057 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53007,'X',0,'CO',0,0,'EE01','N','X',0,'Order Receipt & Issue',0,0,0,0,0,'Order Receipt & Issue','Y',TO_DATE('2007-12-17 08:46:30','YYYY-MM-DD HH24:MI:SS'),0,50058,50007,'X',0,0,TO_DATE('2007-12-17 08:46:30','YYYY-MM-DD HH24:MI:SS'),0,'Order Receipt & Issue')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50058 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Manufacturing Order',0,0,0,0,0,'Manufacturing Order','Y',TO_DATE('2007-12-17 08:46:32','YYYY-MM-DD HH24:MI:SS'),0,50059,53009,50007,'W',0,0,TO_DATE('2007-12-17 08:46:32','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturing Order')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50059 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Component Check',0,0,0,0,0,'Component Check','Y',TO_DATE('2007-12-17 08:46:33','YYYY-MM-DD HH24:MI:SS'),0,53032,50060,50007,'R',0,0,TO_DATE('2007-12-17 08:46:33','YYYY-MM-DD HH24:MI:SS'),0,'Component Check')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50060 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50029,'EE01','N',50060,10,50057,0,0,TO_DATE('2007-12-17 08:46:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:46:34','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Process_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 08:46:35','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:46:35','YYYY-MM-DD HH24:MI:SS'),0,53028,'Manufacturing Order','Manufacturing Schedule is a document group of documents or schedule identity  conveying authority for the manufacture of specified parts or products in specified quantities.',0,'N','Manufacturing Order',10,53027,53054,53009,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53054 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:36','YYYY-MM-DD HH24:MI:SS'),0,54113,1,53652,'N',0,TO_DATE('2007-12-17 08:46:36','YYYY-MM-DD HH24:MI:SS'),'IsQtyPercentage',53054,'N','N',0,'N','EE01')
;

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=54113 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:37','YYYY-MM-DD HH24:MI:SS'),0,54114,'Sales Order Line',10,53630,'N',0,'The Sales Order Line is a unique identifier for a line in an order.',TO_DATE('2007-12-17 08:46:37','YYYY-MM-DD HH24:MI:SS'),'Sales Order Line',53054,'N','N',0,'N','EE01')
;

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=54114 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:38','YYYY-MM-DD HH24:MI:SS'),0,54115,22,53659,'N',0,TO_DATE('2007-12-17 08:46:38','YYYY-MM-DD HH24:MI:SS'),'PP_Order_ID',53054,'N','N',0,'N','EE01')
;

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=54115 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:39','YYYY-MM-DD HH24:MI:SS'),0,54116,1,53658,'N',0,TO_DATE('2007-12-17 08:46:39','YYYY-MM-DD HH24:MI:SS'),'OrderType',53054,'N','N',0,'N','EE01')
;

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=54116 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:40','YYYY-MM-DD HH24:MI:SS'),0,54117,'Lot number (alphanumeric)',20,53656,'N',0,'The Lot Number indicates the specific lot that a product was part of.',TO_DATE('2007-12-17 08:46:40','YYYY-MM-DD HH24:MI:SS'),'Lot No',53054,'N','N',0,'N','EE01')
;

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=54117 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:40','YYYY-MM-DD HH24:MI:SS'),0,54118,'This is a Sales Transaction',1,53653,'N',0,'The Sales Transaction checkbox indicates if this item is a Sales Transaction.',TO_DATE('2007-12-17 08:46:40','YYYY-MM-DD HH24:MI:SS'),'Sales Transaction',53054,'N','N',0,'N','EE01')
;

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=54118 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:41','YYYY-MM-DD HH24:MI:SS'),0,54119,'Product Serial Number ',20,53675,'N',0,'The Serial Number identifies a tracked, warranted product.  It can only be used when the quantity is 1.',TO_DATE('2007-12-17 08:46:41','YYYY-MM-DD HH24:MI:SS'),'Serial No',53054,'N','N',0,'N','EE01')
;

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=54119 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:42','YYYY-MM-DD HH24:MI:SS'),0,54120,22,53625,'N',0,TO_DATE('2007-12-17 08:46:42','YYYY-MM-DD HH24:MI:SS'),'Assay',53054,'N','N',0,'N','EE01')
;

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=54120 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:43','YYYY-MM-DD HH24:MI:SS'),0,54121,'Type of schedule',1,53674,'N',0,'Define the method how the next occurance is calculated',TO_DATE('2007-12-17 08:46:43','YYYY-MM-DD HH24:MI:SS'),'Schedule Type',53054,'N','N',0,'N','EE01')
;

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=54121 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:44','YYYY-MM-DD HH24:MI:SS'),0,54122,1,53665,'N',0,TO_DATE('2007-12-17 08:46:44','YYYY-MM-DD HH24:MI:SS'),'Process Now',53054,'N','N',0,'N','EE01')
;

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=54122 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:46:45','YYYY-MM-DD HH24:MI:SS'),0,54123,'Posting status',1,53662,'N',0,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ',TO_DATE('2007-12-17 08:46:45','YYYY-MM-DD HH24:MI:SS'),'Posted',53054,'N','N',0,'N','EE01')
;

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=54123 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:46','YYYY-MM-DD HH24:MI:SS'),0,54124,'Client/Tenant for this installation.',22,53680,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 08:46:46','YYYY-MM-DD HH24:MI:SS'),'Client',53054,'N','N',10,'N','EE01')
;

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=54124 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:48','YYYY-MM-DD HH24:MI:SS'),0,54125,'Organizational entity within client',22,53683,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 08:46:48','YYYY-MM-DD HH24:MI:SS'),'Organization',53054,'Y','N',20,'N','EE01')
;

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=54125 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:49','YYYY-MM-DD HH24:MI:SS'),0,54126,'Document sequence number of the document',10,53621,'N',0,'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).',TO_DATE('2007-12-17 08:46:49','YYYY-MM-DD HH24:MI:SS'),'Document No',53054,'N','N',30,'N','EE01')
;

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=54126 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:50','YYYY-MM-DD HH24:MI:SS'),0,54127,'Unique line for this document',22,53655,'N',0,'Indicates the unique line for a document.  It will also control the display order of the lines within a document.',TO_DATE('2007-12-17 08:46:50','YYYY-MM-DD HH24:MI:SS'),'Line No',53054,'Y','N',40,'N','EE01')
;

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=54127 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:51','YYYY-MM-DD HH24:MI:SS'),0,54128,'Target document type for conversing documents',22,53628,'N',0,'You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.',TO_DATE('2007-12-17 08:46:51','YYYY-MM-DD HH24:MI:SS'),'Target Document Type',53054,'N','N',50,'N','EE01')
;

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=54128 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:53','YYYY-MM-DD HH24:MI:SS'),0,54129,'The record is active in the system',1,53649,'N',0,'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.',TO_DATE('2007-12-17 08:46:53','YYYY-MM-DD HH24:MI:SS'),'Active',53054,'Y','N',60,'N','EE01')
;

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=54129 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:54','YYYY-MM-DD HH24:MI:SS'),0,54130,'Optional short description of the record',510,53644,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 08:46:54','YYYY-MM-DD HH24:MI:SS'),'Description',53054,'N','N',70,'N','EE01')
;

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=54130 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:55','YYYY-MM-DD HH24:MI:SS'),0,54131,'Product, Service, Item',22,53623,'N',0,'Identifies an item which is either purchased or sold in this organization.',TO_DATE('2007-12-17 08:46:55','YYYY-MM-DD HH24:MI:SS'),'Product',53054,'N','N',80,'N',106,'EE01')
;

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=54131 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:56','YYYY-MM-DD HH24:MI:SS'),0,54132,'Product Attribute Set Instance',22,53657,'N',0,'The values of the actual Product Attribute Instances.  The product level attributes are defined on Product level.',TO_DATE('2007-12-17 08:46:56','YYYY-MM-DD HH24:MI:SS'),'Attribute Set Instance',53054,'Y','N',90,'N',106,'EE01')
;

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=54132 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 08:46:58','YYYY-MM-DD HH24:MI:SS'),0,54133,'Resource/Plant',22,53622,'N',0,TO_DATE('2007-12-17 08:46:58','YYYY-MM-DD HH24:MI:SS'),'Resource/Plant',53054,'N','N',100,'N',106,'EE01')
;

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=54133 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:46:59','YYYY-MM-DD HH24:MI:SS'),0,54134,'Workflow or combination of tasks',22,53684,'N',0,'The Workflow field identifies a unique Workflow in the system.',TO_DATE('2007-12-17 08:46:59','YYYY-MM-DD HH24:MI:SS'),'Workflow',53054,'Y','N',110,'N',106,'EE01')
;

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=54134 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:00','YYYY-MM-DD HH24:MI:SS'),0,54135,'Storage Warehouse and Service Point',22,53624,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 08:47:00','YYYY-MM-DD HH24:MI:SS'),'Warehouse',53054,'N','N',120,'N',106,'EE01')
;

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=54135 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:00','YYYY-MM-DD HH24:MI:SS'),0,54136,22,53660,'N',0,TO_DATE('2007-12-17 08:47:00','YYYY-MM-DD HH24:MI:SS'),'BOM & Formaula',53054,'Y','N',130,'N',106,'EE01')
;

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=54136 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:01','YYYY-MM-DD HH24:MI:SS'),0,54137,22,53661,'N',0,TO_DATE('2007-12-17 08:47:01','YYYY-MM-DD HH24:MI:SS'),'Planner_ID',53054,'N','N',140,'N',106,'EE01')
;

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=54137 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:02','YYYY-MM-DD HH24:MI:SS'),0,54138,'Priority of a document',1,53663,'N',0,'The Priority indicates the importance (high, medium, low) of this document',TO_DATE('2007-12-17 08:47:02','YYYY-MM-DD HH24:MI:SS'),'Priority',53054,'Y','N',150,'N',106,'EE01')
;

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=54138 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 08:47:03','YYYY-MM-DD HH24:MI:SS'),0,54139,'Date of Order',7,53640,'N',0,'Indicates the Date an item was ordered.

DATE Ordered . IS THE DATE WHEN THE ORDER was GENERATED. IF THE MO IS created manually THE DEFAULT DATE ordered IS THE SYSTEM DATE. IF THE MO was GENERATED BY MRP THE DEFAULT DATE ordered IS THE DAY OF THE MRP process.',TO_DATE('2007-12-17 08:47:03','YYYY-MM-DD HH24:MI:SS'),'DATE Ordered',53054,'N','N',160,'N',105,'EE01')
;

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=54139 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 08:47:04','YYYY-MM-DD HH24:MI:SS'),0,54140,'Date Order was promised',7,53641,'N',0,'The Date Promised indicates the date, if any, that an Order was promised for.

DATE Promised . IS THE DATE we COMMIT TO give THE ORDER TO THE warehouse. IF THE MO IS created manually THE DEFAULT DATE promised IS THE SYSTEM DATE. IF THE MO was GENERATED BY MRP this DATE IS filled automatically USING its ALGORITHM calculation.',TO_DATE('2007-12-17 08:47:04','YYYY-MM-DD HH24:MI:SS'),'DATE Promised',53054,'Y','N',170,'N',105,'EE01')
;

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=54140 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:05','YYYY-MM-DD HH24:MI:SS'),0,54141,7,53636,'N',0,TO_DATE('2007-12-17 08:47:05','YYYY-MM-DD HH24:MI:SS'),'DateConfirm',53054,'N','N',180,'Y',105,'EE01')
;

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=54141 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:06','YYYY-MM-DD HH24:MI:SS'),0,54142,'Date when the product was delivered',7,53637,'N',0,TO_DATE('2007-12-17 08:47:06','YYYY-MM-DD HH24:MI:SS'),'Date Delivered',53054,'Y','N',190,'Y',105,'EE01')
;

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=54142 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:07','YYYY-MM-DD HH24:MI:SS'),0,54143,7,53643,'N',0,TO_DATE('2007-12-17 08:47:07','YYYY-MM-DD HH24:MI:SS'),'DateStartSchedule',53054,'N','N',200,'N',105,'EE01')
;

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=54143 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:08','YYYY-MM-DD HH24:MI:SS'),0,54144,7,53639,'N',0,TO_DATE('2007-12-17 08:47:08','YYYY-MM-DD HH24:MI:SS'),'DateFinishSchedule',53054,'Y','N',210,'N',105,'EE01')
;

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=54144 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 08:47:08','YYYY-MM-DD HH24:MI:SS'),0,54145,'Indicate the real date to start',7,53642,'N',0,'It is the date when the first manufacturing order movement is reported, this movement can be an inventory or labor movement.',TO_DATE('2007-12-17 08:47:08','YYYY-MM-DD HH24:MI:SS'),'Date Start',53054,'N','N',220,'Y',105,'EE01')
;

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=54145 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 08:47:09','YYYY-MM-DD HH24:MI:SS'),0,54146,'Finish or (planned) completion date',7,53638,'N',0,'The finish date is used to indicate when the project is expected to be completed or has been completed.

To Manufacturing Order is the date when the last manufacturing order movement is reported, It is the closing order date.',TO_DATE('2007-12-17 08:47:09','YYYY-MM-DD HH24:MI:SS'),'Finish Date',53054,'Y','N',230,'Y',105,'EE01')
;

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=54146 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:10','YYYY-MM-DD HH24:MI:SS'),0,54147,22,53648,'N',0,TO_DATE('2007-12-17 08:47:10','YYYY-MM-DD HH24:MI:SS'),'FloatBefored',53054,'N','N',240,'N',105,'EE01')
;

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=54147 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:11','YYYY-MM-DD HH24:MI:SS'),0,54148,22,53647,'N',0,TO_DATE('2007-12-17 08:47:11','YYYY-MM-DD HH24:MI:SS'),'FloatAfter',53054,'Y','N',250,'N',105,'EE01')
;

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=54148 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:12','YYYY-MM-DD HH24:MI:SS'),0,54149,'The Quantity Entered is based on the selected UoM',0,53669,'N',0,'The Quantity Entered is converted to base product UoM quantity',TO_DATE('2007-12-17 08:47:12','YYYY-MM-DD HH24:MI:SS'),'Quantity',53054,'N','N',260,'N',102,'EE01')
;

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=54149 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:13','YYYY-MM-DD HH24:MI:SS'),0,54150,'Unit of Measure',22,53632,'N',0,'The UOM defines a unique non monetary Unit of Measure',TO_DATE('2007-12-17 08:47:13','YYYY-MM-DD HH24:MI:SS'),'UOM',53054,'Y','N',270,'N',102,'EE01')
;

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=54150 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:14','YYYY-MM-DD HH24:MI:SS'),0,54151,22,53667,'N',0,TO_DATE('2007-12-17 08:47:14','YYYY-MM-DD HH24:MI:SS'),'QtyBatchs',53054,'N','N',280,'Y','EE01')
;

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=54151 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:15','YYYY-MM-DD HH24:MI:SS'),0,54152,22,53666,'N',0,TO_DATE('2007-12-17 08:47:15','YYYY-MM-DD HH24:MI:SS'),'QtyBatchSize',53054,'N','N',290,'Y','EE01')
;

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=54152 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:16','YYYY-MM-DD HH24:MI:SS'),0,54153,'Ordered Quantity',22,53670,'N',0,'The Ordered Quantity indicates the quantity of a product that was ordered.',TO_DATE('2007-12-17 08:47:16','YYYY-MM-DD HH24:MI:SS'),'Ordered Quantity',53054,'N','N',300,'N',102,'@UOMConversion@=Y | @Processed@=''Y''		','EE01')
;

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=54153 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:18','YYYY-MM-DD HH24:MI:SS'),0,54154,'Delivered Quantity',22,53668,'N',0,'The Delivered Quantity indicates the quantity of a product that has been delivered.',TO_DATE('2007-12-17 08:47:18','YYYY-MM-DD HH24:MI:SS'),'Delivered Quantity',53054,'N','N',310,'Y',102,'EE01')
;

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=54154 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:19','YYYY-MM-DD HH24:MI:SS'),0,54155,22,53681,'N',0,TO_DATE('2007-12-17 08:47:19','YYYY-MM-DD HH24:MI:SS'),'Yield',53054,'Y','N',320,'N',102,'EE01')
;

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=54155 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:20','YYYY-MM-DD HH24:MI:SS'),0,54156,22,53671,'N',0,TO_DATE('2007-12-17 08:47:20','YYYY-MM-DD HH24:MI:SS'),'QtyReject',53054,'N','N',330,'Y',102,'EE01')
;

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=54156 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:21','YYYY-MM-DD HH24:MI:SS'),0,54157,22,53673,'N',0,TO_DATE('2007-12-17 08:47:21','YYYY-MM-DD HH24:MI:SS'),'QtyScrap',53054,'Y','N',340,'Y',102,'EE01')
;

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=54157 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:22','YYYY-MM-DD HH24:MI:SS'),0,54158,'Financial Project',22,53631,'N',0,'A Project allows you to track and control internal or external activities.',TO_DATE('2007-12-17 08:47:22','YYYY-MM-DD HH24:MI:SS'),'Project',53054,'N','N',350,'N','@$Element_PJ@=''Y''','EE01')
;

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=54158 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:23','YYYY-MM-DD HH24:MI:SS'),0,54159,'Marketing Campaign',22,53627,'N',0,'The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',TO_DATE('2007-12-17 08:47:23','YYYY-MM-DD HH24:MI:SS'),'Campaign',53054,'Y','N',360,'N','@$Element_MC@=Y','EE01')
;

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=54159 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:24','YYYY-MM-DD HH24:MI:SS'),0,54160,'Business Activity',22,53626,'N',0,'Activities indicate tasks that are performed and used to utilize Activity based Costing',TO_DATE('2007-12-17 08:47:24','YYYY-MM-DD HH24:MI:SS'),'Activity',53054,'N','N',370,'N','@$Element_AY@=''Y''','EE01')
;

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=54160 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:25','YYYY-MM-DD HH24:MI:SS'),0,54161,'Performing or initiating organization',22,53682,'N',0,'The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',TO_DATE('2007-12-17 08:47:25','YYYY-MM-DD HH24:MI:SS'),'Trx Organization',53054,'Y','N',380,'N','@$Element_OT@=Y','EE01')
;

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=54161 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:26','YYYY-MM-DD HH24:MI:SS'),0,54162,'User defined list element #1',22,53678,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 08:47:26','YYYY-MM-DD HH24:MI:SS'),'User List 1',53054,'N','N',390,'N','@$Element_U1@=Y','EE01')
;

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=54162 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:27','YYYY-MM-DD HH24:MI:SS'),0,54163,'User defined list element #2',22,53679,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 08:47:27','YYYY-MM-DD HH24:MI:SS'),'User List 2',53054,'Y','N',400,'N','@$Element_U2@=Y','EE01')
;

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=54163 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:32','YYYY-MM-DD HH24:MI:SS'),0,54164,'The current status of the document',2,53646,'N',0,'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',TO_DATE('2007-12-17 08:47:32','YYYY-MM-DD HH24:MI:SS'),'Document Status',53054,'N','N',410,'Y',101,'EE01')
;

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=54164 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:33','YYYY-MM-DD HH24:MI:SS'),0,54165,'Document type or rules',22,53629,'N',0,'The Document Type determines document sequence and processing rules',TO_DATE('2007-12-17 08:47:33','YYYY-MM-DD HH24:MI:SS'),'Document Type',53054,'Y','N',420,'Y',101,'EE01')
;

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=54165 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:35','YYYY-MM-DD HH24:MI:SS'),0,54166,'Copy From Record',1,53633,'N',0,'Copy From Record',TO_DATE('2007-12-17 08:47:35','YYYY-MM-DD HH24:MI:SS'),'Copy From',53054,'N','N',430,'N',101,'EE01')
;

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=54166 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:36','YYYY-MM-DD HH24:MI:SS'),0,54167,'The targeted status of the document',2,53645,'N',0,'You find the current status in the Document Status field. The options are listed in a popup',TO_DATE('2007-12-17 08:47:36','YYYY-MM-DD HH24:MI:SS'),'Document Action',53054,'Y','N',440,'N',101,'EE01')
;

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=54167 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:37','YYYY-MM-DD HH24:MI:SS'),0,54168,'Indicates if this document requires approval',1,53650,'N',0,'The Approved checkbox indicates if this document requires approval before it can be processed.',TO_DATE('2007-12-17 08:47:37','YYYY-MM-DD HH24:MI:SS'),'Approved',53054,'N','N',450,'Y',101,'EE01')
;

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=54168 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:38','YYYY-MM-DD HH24:MI:SS'),0,54169,'Indicates if this document / line is printed',1,53651,'N',0,'The Printed checkbox indicates if this document or line will included when printing.',TO_DATE('2007-12-17 08:47:38','YYYY-MM-DD HH24:MI:SS'),'Printed',53054,'Y','N',460,'Y',101,'EE01')
;

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=54169 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:39','YYYY-MM-DD HH24:MI:SS'),0,54170,1,53654,'N',0,TO_DATE('2007-12-17 08:47:39','YYYY-MM-DD HH24:MI:SS'),'Selected',53054,'N','N',470,'Y',101,'EE01')
;

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=54170 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:47:39','YYYY-MM-DD HH24:MI:SS'),0,54171,'The document has been processed',1,53664,'N',0,'The Processed checkbox indicates that a document has been processed.',TO_DATE('2007-12-17 08:47:39','YYYY-MM-DD HH24:MI:SS'),'Processed',53054,'Y','N',480,'Y','EE01')
;

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=54171 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_PrintFormatItem SET IsOrderBy='N', SortNo=0, ImageURL=NULL, IsHeightOneLine='Y', XPosition=0, IsGroupBy='N', IsPrinted='Y', MaxHeight=0, AD_PrintColor_ID=100, AD_PrintFormat_ID=50001, PrintFormatType='P', PrintAreaType='C', ImageIsAttached='N', AD_PrintFormatChild_ID=50002, IsFixedWidth='N', IsCounted='N', YPosition=0, IsNextLine='Y', IsSummarized='N', IsSuppressNull='N', IsPageBreak='N', LineAlignmentType='X', AD_Column_ID=53659, Name='Manufacturing Order', IsRelativePosition='Y', PrintName='Manufacturing Order', AD_PrintFont_ID=130, FieldAlignmentType='D', SeqNo=260, IsAveraged='N', XSpace=0, MaxWidth=0, IsActive='Y', YSpace=10, BelowColumn=0, RunningTotalLines=20, IsMinCalc='N', IsSetNLPosition='N', IsNextPage='N', IsMaxCalc='N', PrintNameSuffix=NULL, IsRunningTotal='N', IsVarianceCalc='N', IsDeviationCalc='N', ArcDiameter=0, ShapeType=NULL, LineWidth=0, BarcodeType=NULL,Updated=TO_DATE('2007-12-17 08:48:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50059
;

UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50059
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_Process_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Generate Movement ',0,0,0,0,0,'Generate Movement','Y',TO_DATE('2007-12-17 08:48:13','YYYY-MM-DD HH24:MI:SS'),0,53046,50061,50010,'P',0,0,TO_DATE('2007-12-17 08:48:13','YYYY-MM-DD HH24:MI:SS'),0,'Generate and print Movement from open Distribution Orders')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50061 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50030,'EE01','N',50061,10,50035,0,0,TO_DATE('2007-12-17 08:48:14','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:48:14','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50031,'EE01','N',50034,10,50036,0,0,TO_DATE('2007-12-17 08:48:15','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:48:15','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (AD_Form_ID,SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES (53008,'X',0,'CO',0,0,'EE01','N','X',0,'Generate Movement Manual',0,0,0,0,0,'Generate Movement Manual','Y',TO_DATE('2007-12-17 08:48:16','YYYY-MM-DD HH24:MI:SS'),0,50062,50010,'X',0,0,TO_DATE('2007-12-17 08:48:16','YYYY-MM-DD HH24:MI:SS'),0,'Generate Movement to a Order Distribution')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50062 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50032,'EE01','N',50062,10,50061,0,0,TO_DATE('2007-12-17 08:48:17','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:48:17','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_Node (SplitElement,Cost,DocAction,Duration,DynPriorityChange,EntityType,IsCentrallyMaintained,JoinElement,Priority,Value,WaitTime,WaitingTime,WorkingTime,XPosition,YPosition,Name,IsActive,Updated,AD_Org_ID,AD_WF_Node_ID,AD_Window_ID,AD_Workflow_ID,Action,AD_Client_ID,UpdatedBy,Created,CreatedBy,Description) VALUES ('X',0,'CO',0,0,'EE01','N','X',0,'Distribution Order',0,0,0,0,0,'Distribution Order','Y',TO_DATE('2007-12-17 08:48:18','YYYY-MM-DD HH24:MI:SS'),0,50063,53012,50010,'W',0,0,TO_DATE('2007-12-17 08:48:18','YYYY-MM-DD HH24:MI:SS'),0,'Distribution Order allow create Order inter warehouse to supply a demand ')
;

INSERT INTO AD_WF_Node_Trl (AD_Language,AD_WF_Node_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_WF_Node_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_WF_Node t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_WF_Node_ID=50063 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50033,'EE01','N',50063,10,50062,0,0,TO_DATE('2007-12-17 08:48:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:48:19','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50034,'EE01','N',50036,10,50063,0,0,TO_DATE('2007-12-17 08:48:20','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:48:20','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50035,'EE01','N',50041,10,50042,0,0,TO_DATE('2007-12-17 08:48:21','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:48:21','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50036,'EE01','N',50042,100,50044,0,0,TO_DATE('2007-12-17 08:48:22','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:48:22','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Tab (Created,CreatedBy,Updated,AD_Client_ID,AD_Process_ID,Description,Help,AD_Org_ID,IsTranslationTab,Name,SeqNo,AD_Table_ID,AD_Tab_ID,AD_Window_ID,HasTree,IsSortTab,IsSingleRow,IsActive,IsInfoTab,CommitWarning,IsReadOnly,Processing,UpdatedBy,TabLevel,IsInsertRecord,IsAdvancedTab,EntityType) VALUES (TO_DATE('2007-12-17 08:48:23','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:48:23','YYYY-MM-DD HH24:MI:SS'),0,53044,'Distribution Order allow create Order inter warehouse to supply a demand ','Distribution Order allow create Order inter warehouse to supply a demand ',0,'N','Order',10,53037,53055,53012,'N','N','Y','Y','N',NULL,'N','N',0,0,'Y','N','EE01')
;

INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Description,Help,Name,CommitWarning, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.Description,t.Help,t.Name,t.CommitWarning, '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=53055 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

INSERT INTO AD_Field (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:24','YYYY-MM-DD HH24:MI:SS'),0,54172,'The record is active in the system',1,53896,'N',0,'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.',TO_DATE('2007-12-17 08:48:24','YYYY-MM-DD HH24:MI:SS'),'Active',53055,'N','N',0,'N','EE01')
;

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=54172 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:25','YYYY-MM-DD HH24:MI:SS'),0,54173,'Reference to corresponding Sales/Purchase Order',10,53914,'N',0,'Reference of the Sales Order Line to the corresponding Purchase Order Line or vice versa.',TO_DATE('2007-12-17 08:48:25','YYYY-MM-DD HH24:MI:SS'),'Referenced Order',53055,'Y','N',0,'N','EE01')
;

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=54173 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:26','YYYY-MM-DD HH24:MI:SS'),0,54174,'Document is in dispute',1,53900,'N',0,'The document is in dispute. Use Requests to track details.',TO_DATE('2007-12-17 08:48:26','YYYY-MM-DD HH24:MI:SS'),'In Dispute',53055,'N','N',0,'N','EE01')
;

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=54174 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:27','YYYY-MM-DD HH24:MI:SS'),0,54175,'Generate To',1,53895,'N',0,TO_DATE('2007-12-17 08:48:27','YYYY-MM-DD HH24:MI:SS'),'Generate To',53055,'N','N',0,'N','EE01')
;

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=54175 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:28','YYYY-MM-DD HH24:MI:SS'),0,54176,1,53904,'N',0,TO_DATE('2007-12-17 08:48:28','YYYY-MM-DD HH24:MI:SS'),'Selected',53055,'N','N',0,'N','EE01')
;

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=54176 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:28','YYYY-MM-DD HH24:MI:SS'),0,54177,1,53913,'N',0,TO_DATE('2007-12-17 08:48:28','YYYY-MM-DD HH24:MI:SS'),'Process Now',53055,'N','N',0,'N','EE01')
;

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=54177 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:29','YYYY-MM-DD HH24:MI:SS'),0,54178,'Enable sending Document EMail',1,53916,'N',0,'Send emails with document attached (e.g. Invoice, Delivery Note, etc.)',TO_DATE('2007-12-17 08:48:29','YYYY-MM-DD HH24:MI:SS'),'Send EMail',53055,'N','N',0,'N','EE01')
;

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=54178 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:30','YYYY-MM-DD HH24:MI:SS'),0,54179,'The document has been processed',1,53912,'N',0,'The Processed checkbox indicates that a document has been processed.',TO_DATE('2007-12-17 08:48:30','YYYY-MM-DD HH24:MI:SS'),'Processed',53055,'Y','N',0,'Y','EE01')
;

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=54179 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:31','YYYY-MM-DD HH24:MI:SS'),0,54180,'Additional document charges',22,53872,'N',0,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)',TO_DATE('2007-12-17 08:48:31','YYYY-MM-DD HH24:MI:SS'),'Charge',53055,'N','N',0,'N',130,'EE01')
;

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=54180 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:32','YYYY-MM-DD HH24:MI:SS'),0,54181,'Invoice Identifier',22,53874,'N',0,'The Invoice Document.',TO_DATE('2007-12-17 08:48:32','YYYY-MM-DD HH24:MI:SS'),'Invoice',53055,'N','N',0,'N','EE01')
;

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=54181 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:33','YYYY-MM-DD HH24:MI:SS'),0,54182,'Order',22,53875,'N',0,'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.',TO_DATE('2007-12-17 08:48:33','YYYY-MM-DD HH24:MI:SS'),'Order',53055,'N','N',0,'N','EE01')
;

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=54182 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:34','YYYY-MM-DD HH24:MI:SS'),0,54183,'Posting status',1,53910,'N',0,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ',TO_DATE('2007-12-17 08:48:34','YYYY-MM-DD HH24:MI:SS'),'Posted',53055,'N','N',0,'N','EE01')
;

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=54183 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:35','YYYY-MM-DD HH24:MI:SS'),0,54184,'Charge Amount',22,53877,'N',0,'The Charge Amount indicates the amount for an additional charge.',TO_DATE('2007-12-17 08:48:35','YYYY-MM-DD HH24:MI:SS'),'Charge amount',53055,'Y','N',0,'N',130,'EE01')
;

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=54184 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:36','YYYY-MM-DD HH24:MI:SS'),0,54185,1,53878,'N',0,TO_DATE('2007-12-17 08:48:36','YYYY-MM-DD HH24:MI:SS'),'Create Confirm',53055,'N','N',0,'N','EE01')
;

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=54185 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:37','YYYY-MM-DD HH24:MI:SS'),0,54186,'Process which will generate a new document lines based on an existing document',1,53879,'N',0,'The Create From process will create a new document based on information in an existing document selected by the user.',TO_DATE('2007-12-17 08:48:37','YYYY-MM-DD HH24:MI:SS'),'Create lines from',53055,'N','N',0,'N','EE01')
;

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=54186 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:38','YYYY-MM-DD HH24:MI:SS'),0,54187,1,53880,'N',0,TO_DATE('2007-12-17 08:48:38','YYYY-MM-DD HH24:MI:SS'),'Create Package',53055,'N','N',0,'N','EE01')
;

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=54187 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:39','YYYY-MM-DD HH24:MI:SS'),0,54188,'Number of packages shipped',22,53907,'N',0,TO_DATE('2007-12-17 08:48:39','YYYY-MM-DD HH24:MI:SS'),'No Packages',53055,'N','N',0,'N','EE01')
;

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=54188 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'N','Y','Y',TO_DATE('2007-12-17 08:48:40','YYYY-MM-DD HH24:MI:SS'),0,54189,'This is a Sales Transaction',1,53903,'N',0,'The Sales Transaction checkbox indicates if this item is a Sales Transaction.',TO_DATE('2007-12-17 08:48:40','YYYY-MM-DD HH24:MI:SS'),'Sales Transaction',53055,'N','N',0,'N','EE01')
;

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=54189 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:41','YYYY-MM-DD HH24:MI:SS'),0,54190,'Client/Tenant for this installation.',22,53924,'N',0,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',TO_DATE('2007-12-17 08:48:41','YYYY-MM-DD HH24:MI:SS'),'Client',53055,'N','N',10,'N','EE01')
;

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=54190 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:42','YYYY-MM-DD HH24:MI:SS'),0,54191,'Organizational entity within client',22,53866,'N',0,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',TO_DATE('2007-12-17 08:48:42','YYYY-MM-DD HH24:MI:SS'),'Organization',53055,'Y','N',20,'N','EE01')
;

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=54191 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:43','YYYY-MM-DD HH24:MI:SS'),0,54192,'Document sequence number of the document',20,53864,'N',0,'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).',TO_DATE('2007-12-17 08:48:43','YYYY-MM-DD HH24:MI:SS'),'Document No',53055,'N','N',30,'N','EE01')
;

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=54192 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:44','YYYY-MM-DD HH24:MI:SS'),0,54193,'Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner',22,53908,'N',0,'The business partner order reference is the order reference for this specific transaction; Often Purchase Order numbers are given to print on Invoices for easier reference.  A standard number can be defined in the Business Partner (Customer) window.',TO_DATE('2007-12-17 08:48:44','YYYY-MM-DD HH24:MI:SS'),'Order Reference',53055,'Y','N',40,'N','EE01')
;

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=54193 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:45','YYYY-MM-DD HH24:MI:SS'),0,54194,'Optional short description of the record',255,53890,'N',0,'A description is limited to 255 characters.',TO_DATE('2007-12-17 08:48:45','YYYY-MM-DD HH24:MI:SS'),'Description',53055,'N','N',50,'N','EE01')
;

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=54194 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:45','YYYY-MM-DD HH24:MI:SS'),0,54195,'Document type or rules',22,53873,'N',0,'The Document Type determines document sequence and processing rules',TO_DATE('2007-12-17 08:48:45','YYYY-MM-DD HH24:MI:SS'),'Document Type',53055,'N','N',60,'N','EE01')
;

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=54195 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 08:48:46','YYYY-MM-DD HH24:MI:SS'),0,54196,'Company Agent',1,53915,'N',0,'Company Agent to Distribution Order',TO_DATE('2007-12-17 08:48:46','YYYY-MM-DD HH24:MI:SS'),'Company Agent',53055,'Y','N',70,'N','EE01')
;

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=54196 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:48','YYYY-MM-DD HH24:MI:SS'),0,54197,'Date of Order',7,53884,'N',0,'Indicates the Date an item was ordered.',TO_DATE('2007-12-17 08:48:48','YYYY-MM-DD HH24:MI:SS'),'Date Ordered',53055,'N','N',80,'N','EE01')
;

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=54197 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:49','YYYY-MM-DD HH24:MI:SS'),0,54198,'Date Order was promised',10,53886,'N',0,'The Date Promised indicates the date, if any, that an Order was promised for.',TO_DATE('2007-12-17 08:48:49','YYYY-MM-DD HH24:MI:SS'),'Date Promised',53055,'Y','N',90,'N','EE01')
;

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=54198 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:50','YYYY-MM-DD HH24:MI:SS'),0,54199,'Identifies a Business Partner',22,53869,'N',0,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson',TO_DATE('2007-12-17 08:48:50','YYYY-MM-DD HH24:MI:SS'),'Business Partner ',53055,'N','N',100,'N',130,'EE01')
;

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=54199 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:51','YYYY-MM-DD HH24:MI:SS'),0,54200,'Identifies the (ship to) address for this Business Partner',22,53870,'N',0,'The Partner address indicates the location of a Business Partner',TO_DATE('2007-12-17 08:48:51','YYYY-MM-DD HH24:MI:SS'),'Partner Location',53055,'Y','N',110,'N',130,'EE01')
;

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=54200 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:53','YYYY-MM-DD HH24:MI:SS'),0,54201,'Method or manner of product delivery',22,53905,'N',0,'The Shipper indicates the method of delivering product',TO_DATE('2007-12-17 08:48:53','YYYY-MM-DD HH24:MI:SS'),'Shipper',53055,'N','N',120,'N',130,'EE01')
;

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=54201 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:54','YYYY-MM-DD HH24:MI:SS'),0,54202,'User within the system - Internal or Business Partner Contact',22,53867,'N',0,'The User identifies a unique user in the system. This could be an internal user or a business partner contact',TO_DATE('2007-12-17 08:48:54','YYYY-MM-DD HH24:MI:SS'),'User/Contact',53055,'Y','N',130,'N',130,'EE01')
;

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=54202 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:55','YYYY-MM-DD HH24:MI:SS'),0,54203,'How the order will be delivered',1,53889,'N',0,'The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.',TO_DATE('2007-12-17 08:48:55','YYYY-MM-DD HH24:MI:SS'),'Delivery Via',53055,'N','N',140,'N',130,'EE01')
;

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=54203 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:56','YYYY-MM-DD HH24:MI:SS'),0,54204,'Defines the timing of Delivery',1,53888,'N',0,'The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.',TO_DATE('2007-12-17 08:48:56','YYYY-MM-DD HH24:MI:SS'),'Delivery Rule',53055,'Y','N',150,'N',130,'EE01')
;

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=54204 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','N','Y',TO_DATE('2007-12-17 08:48:56','YYYY-MM-DD HH24:MI:SS'),0,54205,'Storage Warehouse and Service Point',22,53906,'N',0,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.',TO_DATE('2007-12-17 08:48:56','YYYY-MM-DD HH24:MI:SS'),'Transit Warehouse',53055,'N','N',160,'N',130,'EE01')
;

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=54205 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:57','YYYY-MM-DD HH24:MI:SS'),0,54206,'Drop Shipments are sent from the Vendor directly to the Customer',1,53899,'N',0,'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.',TO_DATE('2007-12-17 08:48:57','YYYY-MM-DD HH24:MI:SS'),'Drop Shipment',53055,'Y','N',170,'N','EE01')
;

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=54206 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:48:58','YYYY-MM-DD HH24:MI:SS'),0,54207,'Shipment Date/Time',7,53917,'N',0,'Actual Date/Time of Shipment (pick up)',TO_DATE('2007-12-17 08:48:58','YYYY-MM-DD HH24:MI:SS'),'Ship Date',53055,'N','N',180,'N',130,'@DeliveryViaRule@=S','EE01')
;

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=54207 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:00','YYYY-MM-DD HH24:MI:SS'),0,54208,'Date a product was received',7,53887,'N',0,'The Date Received indicates the date that product was received.',TO_DATE('2007-12-17 08:49:00','YYYY-MM-DD HH24:MI:SS'),'Date received',53055,'Y','N',190,'N',130,'@DeliveryViaRule@=S','EE01')
;

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=54208 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:01','YYYY-MM-DD HH24:MI:SS'),0,54209,'Date/Time when picked for Shipment',7,53909,'N',0,TO_DATE('2007-12-17 08:49:01','YYYY-MM-DD HH24:MI:SS'),'Pick Date',53055,'N','N',200,'N',130,'@DeliveryViaRule@=S','EE01')
;

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=54209 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:02','YYYY-MM-DD HH24:MI:SS'),0,54210,'Date the document was printed.',7,53885,'N',0,'Indicates the Date that a document was printed.',TO_DATE('2007-12-17 08:49:02','YYYY-MM-DD HH24:MI:SS'),'Date printed',53055,'Y','N',210,'N',130,'@DeliveryViaRule@=S','EE01')
;

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=54210 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:03','YYYY-MM-DD HH24:MI:SS'),0,54211,'Method for charging Freight',1,53894,'N',0,'The Freight Cost Rule indicates the method used when charging for freight.',TO_DATE('2007-12-17 08:49:03','YYYY-MM-DD HH24:MI:SS'),'Freight Cost Rule',53055,'N','N',220,'N',130,'@DeliveryViaRule@=''S''','EE01')
;

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=54211 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:04','YYYY-MM-DD HH24:MI:SS'),0,54212,'Freight Amount ',22,53893,'N',0,'The Freight Amount indicates the amount charged for Freight in the document currency.',TO_DATE('2007-12-17 08:49:04','YYYY-MM-DD HH24:MI:SS'),'Freight Amount',53055,'Y','N',230,'N',130,'@DeliveryViaRule@=''S'' & @FreightCostRule@=''F''','EE01')
;

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=54212 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:05','YYYY-MM-DD HH24:MI:SS'),0,54213,'Priority of a document',1,53911,'N',0,'The Priority indicates the importance (high, medium, low) of this document',TO_DATE('2007-12-17 08:49:05','YYYY-MM-DD HH24:MI:SS'),'Priority',53055,'N','N',240,'N',130,'EE01')
;

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=54213 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:06','YYYY-MM-DD HH24:MI:SS'),0,54214,'Number to track the shipment',22,53918,'N',0,TO_DATE('2007-12-17 08:49:06','YYYY-MM-DD HH24:MI:SS'),'Tracking No',53055,'Y','N',250,'N',130,'@DeliveryViaRule@=S','EE01')
;

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=54214 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:08','YYYY-MM-DD HH24:MI:SS'),0,54215,'Weight of a product',22,53925,'N',0,'The Weight indicates the weight  of the product in the Weight UOM of the Client',TO_DATE('2007-12-17 08:49:08','YYYY-MM-DD HH24:MI:SS'),'Weight',53055,'N','N',260,'N',130,'EE01')
;

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=54215 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:09','YYYY-MM-DD HH24:MI:SS'),0,54216,'Volume of a product',22,53923,'N',0,'The Volume indicates the volume of the product in the Volume UOM of the Client',TO_DATE('2007-12-17 08:49:09','YYYY-MM-DD HH24:MI:SS'),'Volume',53055,'Y','N',270,'N',130,'EE01')
;

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=54216 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:10','YYYY-MM-DD HH24:MI:SS'),0,54217,'Financial Project',22,53876,'N',0,'A Project allows you to track and control internal or external activities.',TO_DATE('2007-12-17 08:49:10','YYYY-MM-DD HH24:MI:SS'),'Project',53055,'N','N',280,'N',104,'@$Element_PJ@=''Y''','EE01')
;

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=54217 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:11','YYYY-MM-DD HH24:MI:SS'),0,54218,22,53883,'N',0,TO_DATE('2007-12-17 08:49:11','YYYY-MM-DD HH24:MI:SS'),'DD_Order_ID',53055,'N','N',290,'N','EE01')
;

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=54218 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:13','YYYY-MM-DD HH24:MI:SS'),0,54219,'Business Activity',22,53868,'N',0,'Activities indicate tasks that are performed and used to utilize Activity based Costing',TO_DATE('2007-12-17 08:49:13','YYYY-MM-DD HH24:MI:SS'),'Activity',53055,'Y','N',300,'N',104,'@$Element_AY@=''Y''','EE01')
;

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=54219 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:14','YYYY-MM-DD HH24:MI:SS'),0,54220,'Marketing Campaign',22,53871,'N',0,'The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.',TO_DATE('2007-12-17 08:49:14','YYYY-MM-DD HH24:MI:SS'),'Campaign',53055,'N','N',310,'N',104,'@$Element_MC@=Y','EE01')
;

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=54220 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:15','YYYY-MM-DD HH24:MI:SS'),0,54221,'Performing or initiating organization',22,53865,'N',0,'The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.',TO_DATE('2007-12-17 08:49:15','YYYY-MM-DD HH24:MI:SS'),'Trx Organization',53055,'Y','N',320,'N',104,'@$Element_OT@=Y','EE01')
;

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=54221 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:16','YYYY-MM-DD HH24:MI:SS'),0,54222,'User defined list element #1',22,53921,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 08:49:16','YYYY-MM-DD HH24:MI:SS'),'User List 1',53055,'N','N',330,'N',104,'@$Element_U1@=Y','EE01')
;

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=54222 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,DisplayLogic,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:16','YYYY-MM-DD HH24:MI:SS'),0,54223,'User defined list element #2',22,53922,'N',0,'The user defined element displays the optional elements that have been defined for this account combination.',TO_DATE('2007-12-17 08:49:16','YYYY-MM-DD HH24:MI:SS'),'User List 2',53055,'Y','N',340,'N',104,'@$Element_U2@=Y','EE01')
;

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=54223 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:17','YYYY-MM-DD HH24:MI:SS'),0,54224,'The current status of the document',2,53892,'N',0,'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',TO_DATE('2007-12-17 08:49:17','YYYY-MM-DD HH24:MI:SS'),'Document Status',53055,'N','N',350,'Y',101,'EE01')
;

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=54224 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,AD_FieldGroup_ID,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:19','YYYY-MM-DD HH24:MI:SS'),0,54225,'The targeted status of the document',2,53891,'N',0,'You find the current status in the Document Status field. The options are listed in a popup',TO_DATE('2007-12-17 08:49:19','YYYY-MM-DD HH24:MI:SS'),'Document Action',53055,'Y','N',360,'N',101,'EE01')
;

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=54225 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:20','YYYY-MM-DD HH24:MI:SS'),0,54226,'Movement is in transit',1,53901,'N',0,'Material Movement is in transit - shipped, but not received.
The transaction is completed, if confirmed.',TO_DATE('2007-12-17 08:49:20','YYYY-MM-DD HH24:MI:SS'),'In Transit',53055,'N','N',370,'Y','EE01')
;

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=54226 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:21','YYYY-MM-DD HH24:MI:SS'),0,54227,'Indicates if this document requires approval',1,53897,'N',0,'The Approved checkbox indicates if this document requires approval before it can be processed.',TO_DATE('2007-12-17 08:49:21','YYYY-MM-DD HH24:MI:SS'),'Approved',53055,'Y','N',380,'Y','EE01')
;

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=54227 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,Description,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Help,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:22','YYYY-MM-DD HH24:MI:SS'),0,54228,'Indicates if this document / line is printed',1,53902,'N',0,'The Printed checkbox indicates if this document or line will included when printing.',TO_DATE('2007-12-17 08:49:22','YYYY-MM-DD HH24:MI:SS'),'Printed',53055,'N','N',390,'Y','EE01')
;

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=54228 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 (SortNo,AD_Org_ID,UpdatedBy,IsDisplayed,IsCentrallyMaintained,IsActive,Created,AD_Client_ID,AD_Field_ID,DisplayLength,AD_Column_ID,IsFieldOnly,CreatedBy,Updated,Name,AD_Tab_ID,IsSameLine,IsHeading,SeqNo,IsReadOnly,EntityType) VALUES (0,0,0,'Y','Y','Y',TO_DATE('2007-12-17 08:49:25','YYYY-MM-DD HH24:MI:SS'),0,54229,1,53898,'N',0,TO_DATE('2007-12-17 08:49:25','YYYY-MM-DD HH24:MI:SS'),'Delivered',53055,'Y','N',400,'Y','EE01')
;

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=54229 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_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50037,'D','N',50045,100,50048,0,0,TO_DATE('2007-12-17 08:49:27','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:27','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50038,'D','N',50046,100,50047,0,0,TO_DATE('2007-12-17 08:49:28','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:28','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50039,'EE01','N',50008,10,50051,0,0,TO_DATE('2007-12-17 08:49:29','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:29','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50040,'EE01','N',50012,10,50053,0,0,TO_DATE('2007-12-17 08:49:30','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:30','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50041,'EE01','N',50053,10,50054,0,0,TO_DATE('2007-12-17 08:49:31','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:31','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50042,'EE01','N',50013,10,50055,0,0,TO_DATE('2007-12-17 08:49:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:32','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50043,'EE01','N',50057,10,50058,0,0,TO_DATE('2007-12-17 08:49:33','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:33','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,EntityType,IsStdUserWorkflow,AD_WF_Node_ID,SeqNo,AD_WF_Next_ID,UpdatedBy,AD_Org_ID,Created,CreatedBy,IsActive,Updated,AD_Client_ID) VALUES (50044,'EE01','N',50059,10,50060,0,0,TO_DATE('2007-12-17 08:49:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2007-12-17 08:49:34','YYYY-MM-DD HH24:MI:SS'),0)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Manufacturing Management',0,53014,0,0,TO_DATE('2007-12-17 08:49:35','YYYY-MM-DD HH24:MI:SS'),'Manufacturing','N',TO_DATE('2007-12-17 08:49:35','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53014 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 0,12, 10, 53014)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Manufacturing Management Setup',0,53015,0,0,TO_DATE('2007-12-17 08:49:37','YYYY-MM-DD HH24:MI:SS'),'Setup Manufacturing Management','F',50000,'N',TO_DATE('2007-12-17 08:49:37','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53015 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53014,0, 10, 53015)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Engineering Management',0,53016,0,0,TO_DATE('2007-12-17 08:49:38','YYYY-MM-DD HH24:MI:SS'),'Engineering management involves the overall management of organizations with an orientation to manufacturing, engineering, technology or production.','N',TO_DATE('2007-12-17 08:49:38','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53016 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53014,1, 10, 53016)
;

UPDATE AD_TREENODEMM SET Parent_ID = 53016 , SeqNo = 0 WHERE AD_Tree_ID = 10 AND Node_ID = 536
;

UPDATE AD_TREENODEMM SET Parent_ID = 53016 , SeqNo = 0 WHERE AD_Tree_ID = 10 AND Node_ID = 533
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Resource Manufacturing',0,53017,0,0,TO_DATE('2007-12-17 08:50:14','YYYY-MM-DD HH24:MI:SS'),'Resource Manufacturing','N',TO_DATE('2007-12-17 08:50:14','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53017 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53016,1, 10, 53017)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Manufacturing Resource',0,53018,0,0,TO_DATE('2007-12-17 08:50:15','YYYY-MM-DD HH24:MI:SS'),'Manufacturing Resource','W',53004,'Y',TO_DATE('2007-12-17 08:50:15','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53018 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53017,1, 10, 53018)
;

UPDATE AD_Menu SET IsSummary='N', IsActive='Y', Name='Resource Type', Description='Maintain Resource Types', Action='W', AD_Window_ID=237, IsSOTrx='Y', IsReadOnly='N', EntityType='EE01',Updated=TO_DATE('2007-12-17 08:50:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=320
;

UPDATE AD_TREENODEMM SET Parent_ID = 53017 , SeqNo = 0 WHERE AD_Tree_ID = 10 AND Node_ID = 320
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Manufacturing Workflow',0,53019,0,0,TO_DATE('2007-12-17 08:50:34','YYYY-MM-DD HH24:MI:SS'),'N',TO_DATE('2007-12-17 08:50:34','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53019 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53016,2, 10, 53019)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Manufacturing Workflows',0,53020,0,0,TO_DATE('2007-12-17 08:50:35','YYYY-MM-DD HH24:MI:SS'),'Maintain Manufacturing Workflows (Routing)','W',53005,'N',TO_DATE('2007-12-17 08:50:35','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53020 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53019,1, 10, 53020)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Manufacturing Workflow Setup',0,53021,0,0,TO_DATE('2007-12-17 08:50:36','YYYY-MM-DD HH24:MI:SS'),'Setup Manufacturing Workflow','F',50001,'N',TO_DATE('2007-12-17 08:50:36','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53021 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53019,0, 10, 53021)
;

UPDATE AD_TREENODEMM SET Parent_ID = 53019 , SeqNo = 2 WHERE AD_Tree_ID = 10 AND Node_ID = 469
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Bill of Material & Formulas',0,53022,0,0,TO_DATE('2007-12-17 08:50:56','YYYY-MM-DD HH24:MI:SS'),'Bill of Material & Formulas','N',TO_DATE('2007-12-17 08:50:56','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53022 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53016,3, 10, 53022)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Bill of Material & Formula Setup',0,53023,0,0,TO_DATE('2007-12-17 08:51:01','YYYY-MM-DD HH24:MI:SS'),'Setup Bill of Material & Formula','F',50002,'N',TO_DATE('2007-12-17 08:51:01','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53023 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53022,0, 10, 53023)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Bill of Materials & Formula ',0,53024,0,0,TO_DATE('2007-12-17 08:51:02','YYYY-MM-DD HH24:MI:SS'),'Maintain Product Bill of Materials & Formula ','W',53006,'N',TO_DATE('2007-12-17 08:51:02','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53024 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53022,1, 10, 53024)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','BOM & Formula Info',0,53025,0,0,TO_DATE('2007-12-17 08:51:03','YYYY-MM-DD HH24:MI:SS'),'Shows in two different panels the parent-component relationship for the product entered in the Product field.','X','N',TO_DATE('2007-12-17 08:51:03','YYYY-MM-DD HH24:MI:SS'),0,'N',53001,'D')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53025 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53022,2, 10, 53025)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Multi Level BOM & Formula Detail',0,53026,0,0,TO_DATE('2007-12-17 08:51:05','YYYY-MM-DD HH24:MI:SS'),'Shows in two different panels the parent-component relationship for the product entered in the Product field.','P','N',TO_DATE('2007-12-17 08:51:05','YYYY-MM-DD HH24:MI:SS'),0,'N',53006,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53026 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53022,3, 10, 53026)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Mutiple Components Change',0,53027,0,0,TO_DATE('2007-12-17 08:51:06','YYYY-MM-DD HH24:MI:SS'),'This option allows the change of any component into BOM or Formula','P','N',TO_DATE('2007-12-17 08:51:06','YYYY-MM-DD HH24:MI:SS'),0,'N',53008,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53027 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53022,4, 10, 53027)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','Product Configuration BOM',0,53028,0,0,TO_DATE('2007-12-17 08:51:07','YYYY-MM-DD HH24:MI:SS'),'This form let create a product configure with multy level using options and variants','X','N',TO_DATE('2007-12-17 08:51:07','YYYY-MM-DD HH24:MI:SS'),0,'N',53002,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53028 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53022,5, 10, 53028)
;

UPDATE AD_Menu SET IsSummary='N', IsActive='N', Name='BOM Drop', Description='Drop (expand) Bill of Materials', Action='X', IsSOTrx='N', IsReadOnly='N', AD_Form_ID=114, EntityType='D',Updated=TO_DATE('2007-12-17 08:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=426
;

UPDATE AD_TREENODEMM SET Parent_ID = 53022 , SeqNo = 6 WHERE AD_Tree_ID = 10 AND Node_ID = 426
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Planning Management',0,53029,0,0,TO_DATE('2007-12-17 08:51:24','YYYY-MM-DD HH24:MI:SS'),'Using Planning Management you answer the question: When and How Many products we must get?','N',TO_DATE('2007-12-17 08:51:24','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53029 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53014,2, 10, 53029)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Planning Management Setup',0,53030,0,0,TO_DATE('2007-12-17 08:51:25','YYYY-MM-DD HH24:MI:SS'),'Setup Planning Management','F',50003,'N',TO_DATE('2007-12-17 08:51:25','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53030 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53029,0, 10, 53030)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Product Data Planning',0,53031,0,0,TO_DATE('2007-12-17 08:51:26','YYYY-MM-DD HH24:MI:SS'),'Product Data Planning','N',TO_DATE('2007-12-17 08:51:26','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53031 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53029,1, 10, 53031)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Product Planning',0,53032,0,0,TO_DATE('2007-12-17 08:51:27','YYYY-MM-DD HH24:MI:SS'),'Maintain Product Planning','W',53007,'N',TO_DATE('2007-12-17 08:51:27','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53032 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53031,0, 10, 53032)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Create Product Planning',0,53033,0,0,TO_DATE('2007-12-17 08:51:29','YYYY-MM-DD HH24:MI:SS'),'This process will create the data plannig register for every product','P','N',TO_DATE('2007-12-17 08:51:29','YYYY-MM-DD HH24:MI:SS'),0,'N',53010,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53033 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53031,1, 10, 53033)
;

UPDATE AD_Menu SET IsSummary='N', IsActive='Y', Name='Forecast', Description='Maintain Material Forecast', Action='W', AD_Window_ID=328, IsSOTrx='N', IsReadOnly='N', EntityType='EE01',Updated=TO_DATE('2007-12-17 08:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=478
;

UPDATE AD_TREENODEMM SET Parent_ID = 53031 , SeqNo = 2 WHERE AD_Tree_ID = 10 AND Node_ID = 478
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','MRP',0,53034,0,0,TO_DATE('2007-12-17 08:51:48','YYYY-MM-DD HH24:MI:SS'),'Materials Requirements Planning','N',TO_DATE('2007-12-17 08:51:48','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53034 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53029,2, 10, 53034)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Material Requirement Planning Setup',0,53035,0,0,TO_DATE('2007-12-17 08:51:49','YYYY-MM-DD HH24:MI:SS'),'MRP is a set of techniques which uses Bills of Material, Inventory Data, and the Master Production Schedule to calculate requirements for materials.','F',50004,'N',TO_DATE('2007-12-17 08:51:49','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53035 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,0, 10, 53035)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Calculate Low Level',0,53036,0,0,TO_DATE('2007-12-17 08:51:50','YYYY-MM-DD HH24:MI:SS'),'This process calculate and register the lowest level of a product inside any BOM. It is used in the MRP calculations and should be executed when you enter a new BOM.','P','N',TO_DATE('2007-12-17 08:51:50','YYYY-MM-DD HH24:MI:SS'),0,'N',53012,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53036 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,1, 10, 53036)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Create Record MRP',0,53037,0,0,TO_DATE('2007-12-17 08:51:51','YYYY-MM-DD HH24:MI:SS'),'This process recreate the demand, approved and open orders for a product.','P','N',TO_DATE('2007-12-17 08:51:51','YYYY-MM-DD HH24:MI:SS'),0,'N',53014,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53037 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,2, 10, 53037)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Calculate Material Plan',0,53038,0,0,TO_DATE('2007-12-17 08:51:53','YYYY-MM-DD HH24:MI:SS'),'This process calcualte the demand, approved and open orders for a product.','P','N',TO_DATE('2007-12-17 08:51:53','YYYY-MM-DD HH24:MI:SS'),0,'N',53016,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53038 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,3, 10, 53038)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','MRP Info',0,53039,0,0,TO_DATE('2007-12-17 08:51:54','YYYY-MM-DD HH24:MI:SS'),'Show the detail of MRP calculation','X','N',TO_DATE('2007-12-17 08:51:54','YYYY-MM-DD HH24:MI:SS'),0,'N',53003,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53039 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,4, 10, 53039)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','MRP Notice',0,53040,0,0,TO_DATE('2007-12-17 08:51:55','YYYY-MM-DD HH24:MI:SS'),'View System Notices','W',53008,'N',TO_DATE('2007-12-17 08:51:55','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53040 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,5, 10, 53040)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','MRP Details',0,53041,0,0,TO_DATE('2007-12-17 08:51:56','YYYY-MM-DD HH24:MI:SS'),'Show the detail of MRP calculation','R','Y',TO_DATE('2007-12-17 08:51:56','YYYY-MM-DD HH24:MI:SS'),0,'N',53018,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53041 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,6, 10, 53041)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','Planned Order Approval ',0,53042,0,0,TO_DATE('2007-12-17 08:51:57','YYYY-MM-DD HH24:MI:SS'),'A planned manufacturing order is a manufacturing order suggested by the MRP process and contains its quantity and its release and promise dates.','X','N',TO_DATE('2007-12-17 08:51:57','YYYY-MM-DD HH24:MI:SS'),0,'N',53004,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53042 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53034,7, 10, 53042)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','CRP',0,53043,0,0,TO_DATE('2007-12-17 08:51:58','YYYY-MM-DD HH24:MI:SS'),'Capacity Requirements Planning','N',TO_DATE('2007-12-17 08:51:58','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53043 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53029,3, 10, 53043)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','Resource Load View to date',0,53044,0,0,TO_DATE('2007-12-17 08:51:59','YYYY-MM-DD HH24:MI:SS'),'It shows graphically of the required and available time for each manufacturing resource.','X','N',TO_DATE('2007-12-17 08:51:59','YYYY-MM-DD HH24:MI:SS'),0,'N',53005,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53044 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53043,3, 10, 53044)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Calculate Capacity Plan',0,53045,0,0,TO_DATE('2007-12-17 08:52:00','YYYY-MM-DD HH24:MI:SS'),'Calculate Capacity Plan','P','N',TO_DATE('2007-12-17 08:52:00','YYYY-MM-DD HH24:MI:SS'),0,'N',53020,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53045 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53043,1, 10, 53045)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','Resource Load View',0,53046,0,0,TO_DATE('2007-12-17 08:52:01','YYYY-MM-DD HH24:MI:SS'),'It shows graphically of the required and available time for each manufacturing resource.','X','N',TO_DATE('2007-12-17 08:52:01','YYYY-MM-DD HH24:MI:SS'),0,'N',53006,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53046 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53043,2, 10, 53046)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Capacity Requirement Planning Setup',0,53047,0,0,TO_DATE('2007-12-17 08:52:02','YYYY-MM-DD HH24:MI:SS'),'The process of Capacity Plan Calculation allows us to know the available time in each manufacturing resource, as well as the required time to satisfy the Master Production Schedule.','F',50005,'N',TO_DATE('2007-12-17 08:52:02','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53047 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53043,0, 10, 53047)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','DRP',0,53048,0,0,TO_DATE('2007-12-17 08:52:03','YYYY-MM-DD HH24:MI:SS'),'Distribution Resource Planning','N',TO_DATE('2007-12-17 08:52:03','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53048 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53029,4, 10, 53048)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Calculate Distribution Plan',0,53049,0,0,TO_DATE('2007-12-17 08:52:04','YYYY-MM-DD HH24:MI:SS'),'Distribution Resource Planning (DRP) is a method used in business administration for planning orders within a supply chain. ','P','N',TO_DATE('2007-12-17 08:52:04','YYYY-MM-DD HH24:MI:SS'),0,'N',53022,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53049 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53048,1, 10, 53049)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Distribution Resource Planning Setup',0,53050,0,0,TO_DATE('2007-12-17 08:52:05','YYYY-MM-DD HH24:MI:SS'),'is a method used in business administration for planning orders within a supply chain. DRP enables the user to set certain inventory control parameters (like a safety stock) and calculate the time-phased inventory requirements.','F',50006,'N',TO_DATE('2007-12-17 08:52:05','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53050 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53048,0, 10, 53050)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','DRP Details',0,53051,0,0,TO_DATE('2007-12-17 08:52:06','YYYY-MM-DD HH24:MI:SS'),'Show the detail of DRP calculation','R','Y',TO_DATE('2007-12-17 08:52:06','YYYY-MM-DD HH24:MI:SS'),0,'N',53024,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53051 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53048,2, 10, 53051)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Production Management',0,53052,0,0,TO_DATE('2007-12-17 08:52:07','YYYY-MM-DD HH24:MI:SS'),'Production Management','N',TO_DATE('2007-12-17 08:52:07','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53052 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53014,3, 10, 53052)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Discreet Manufacturing',0,53053,0,0,TO_DATE('2007-12-17 08:52:08','YYYY-MM-DD HH24:MI:SS'),'N',TO_DATE('2007-12-17 08:52:08','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53053 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53052,0, 10, 53053)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Discrete Manufacturing Setup',0,53054,0,0,TO_DATE('2007-12-17 08:52:09','YYYY-MM-DD HH24:MI:SS'),'Once the production planning process is completed, the production control process let us to check the execution activities in order to be sure we can reach the material plan.','F',50007,'N',TO_DATE('2007-12-17 08:52:09','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53054 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53053,0, 10, 53054)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Manufacturing Order',0,53055,0,0,TO_DATE('2007-12-17 08:52:10','YYYY-MM-DD HH24:MI:SS'),'Maintain Manufacturing Order','W',53009,'N',TO_DATE('2007-12-17 08:52:10','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53055 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53053,1, 10, 53055)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Manufacturing Orders Review  ',0,53056,0,0,TO_DATE('2007-12-17 08:52:10','YYYY-MM-DD HH24:MI:SS'),'It is a report of every Manufacturing Orders filtering according with the characteristics the user is interested to select.','R','N',TO_DATE('2007-12-17 08:52:10','YYYY-MM-DD HH24:MI:SS'),0,'N',53030,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53056 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53053,2, 10, 53056)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Component Check',0,53057,0,0,TO_DATE('2007-12-17 08:52:11','YYYY-MM-DD HH24:MI:SS'),'Show if  components are available in the warehouse to Manufacturing Order','P','N',TO_DATE('2007-12-17 08:52:11','YYYY-MM-DD HH24:MI:SS'),0,'N',53032,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53057 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53053,3, 10, 53057)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Print & Release Order',0,53058,0,0,TO_DATE('2007-12-17 08:52:12','YYYY-MM-DD HH24:MI:SS'),'Once the planned orders of manufacture generated by MRP, have been aprobed, has been reached the date of liberation and has been verified that the required components are in existence, the orders are emitted to the plant for its manufacture.','P','N',TO_DATE('2007-12-17 08:52:12','YYYY-MM-DD HH24:MI:SS'),0,'N',53034,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53058 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53053,4, 10, 53058)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','Order Receipt & Issue',0,53059,0,0,TO_DATE('2007-12-17 08:52:13','YYYY-MM-DD HH24:MI:SS'),'Order Receipt & Issue','X','N',TO_DATE('2007-12-17 08:52:13','YYYY-MM-DD HH24:MI:SS'),0,'N',53007,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53059 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53053,5, 10, 53059)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Inventory in Process',0,53060,0,0,TO_DATE('2007-12-17 08:52:14','YYYY-MM-DD HH24:MI:SS'),'This report show the inventory in process','R','N',TO_DATE('2007-12-17 08:52:14','YYYY-MM-DD HH24:MI:SS'),0,'N',53036,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53060 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53053,6, 10, 53060)
;

UPDATE AD_Menu SET IsSummary='N', IsActive='Y', Name='Order Transactions', Description='Order Transactions', Action='R', IsSOTrx='N', IsReadOnly='N', AD_Process_ID=120, EntityType='EE01',Updated=TO_DATE('2007-12-17 08:52:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=194
;

UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=194
;

UPDATE AD_TREENODEMM SET Parent_ID = 53053 , SeqNo = 7 WHERE AD_Tree_ID = 10 AND Node_ID = 194
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Management Maintenance',0,53061,0,0,TO_DATE('2007-12-17 08:52:32','YYYY-MM-DD HH24:MI:SS'),'Management Maintenance','N',TO_DATE('2007-12-17 08:52:32','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53061 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53052,1, 10, 53061)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Spare parts',0,53062,0,0,TO_DATE('2007-12-17 08:52:33','YYYY-MM-DD HH24:MI:SS'),'Spare parts','W',53010,'N',TO_DATE('2007-12-17 08:52:33','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53062 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53061,0, 10, 53062)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Shop Floor Control',0,53063,0,0,TO_DATE('2007-12-17 08:52:34','YYYY-MM-DD HH24:MI:SS'),'Shop Floor Control','N',TO_DATE('2007-12-17 08:52:34','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53063 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53052,2, 10, 53063)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Activity Control Report',0,53064,0,0,TO_DATE('2007-12-17 08:52:35','YYYY-MM-DD HH24:MI:SS'),'Activity Control','W',53011,'N',TO_DATE('2007-12-17 08:52:35','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53064 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53063,0, 10, 53064)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Shop Floor Transaction Details',0,53065,0,0,TO_DATE('2007-12-17 08:52:36','YYYY-MM-DD HH24:MI:SS'),'Show the Shop Floor Transaction Details','R','N',TO_DATE('2007-12-17 08:52:36','YYYY-MM-DD HH24:MI:SS'),0,'N',53040,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53065 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53063,1, 10, 53065)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Distribution Management',0,53066,0,0,TO_DATE('2007-12-17 08:52:37','YYYY-MM-DD HH24:MI:SS'),'Distribution Resource Planning (DRP) is a method used in business administration for planning orders within a supply chain. ','N',TO_DATE('2007-12-17 08:52:37','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53066 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53014,4, 10, 53066)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Workflow_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Distribution Management Setup',0,53067,0,0,TO_DATE('2007-12-17 08:52:37','YYYY-MM-DD HH24:MI:SS'),'Distribution Management Setup','F',50010,'N',TO_DATE('2007-12-17 08:52:37','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53067 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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,0, 10, 53067)
;

UPDATE AD_TREENODEMM SET Parent_ID = 53066 , SeqNo = 1 WHERE AD_Tree_ID = 10 AND Node_ID = 381
;

UPDATE AD_TREENODEMM SET Parent_ID = 53066 , SeqNo = 2 WHERE AD_Tree_ID = 10 AND Node_ID = 128
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Distribution Order ',0,53068,0,0,TO_DATE('2007-12-17 08:53:18','YYYY-MM-DD HH24:MI:SS'),'Distribution Order allow create Order inter warehouse to supply a demand ','W',53012,'N',TO_DATE('2007-12-17 08:53:18','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53068 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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,3, 10, 53068)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Form_ID,EntityType) VALUES ('N','Y','Generate Movement Manual',0,53069,0,0,TO_DATE('2007-12-17 08:53:20','YYYY-MM-DD HH24:MI:SS'),'Generate Movement to a Order Distribution','X','N',TO_DATE('2007-12-17 08:53:20','YYYY-MM-DD HH24:MI:SS'),0,'N',53008,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53069 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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,4, 10, 53069)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Generate Movement',0,53070,0,0,TO_DATE('2007-12-17 08:53:21','YYYY-MM-DD HH24:MI:SS'),'Generate and print Movement from open Distribution Orders','P','N',TO_DATE('2007-12-17 08:53:21','YYYY-MM-DD HH24:MI:SS'),0,'N',53046,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53070 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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,5, 10, 53070)
;

UPDATE AD_TREENODEMM SET Parent_ID = 53066 , SeqNo = 6 WHERE AD_Tree_ID = 10 AND Node_ID = 181
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Quality Management',0,53071,0,0,TO_DATE('2007-12-17 08:53:38','YYYY-MM-DD HH24:MI:SS'),'Quality Management','N',TO_DATE('2007-12-17 08:53:38','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53071 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53014,5, 10, 53071)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Quality Specifications',0,53072,0,0,TO_DATE('2007-12-17 08:53:39','YYYY-MM-DD HH24:MI:SS'),'Maintain Quality Specifications','W',53013,'N',TO_DATE('2007-12-17 08:53:39','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53072 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53071,0, 10, 53072)
;

UPDATE AD_TREENODEMM SET Parent_ID = 53071 , SeqNo = 1 WHERE AD_Tree_ID = 10 AND Node_ID = 53024
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Print Test Results',0,53073,0,0,TO_DATE('2007-12-17 08:54:01','YYYY-MM-DD HH24:MI:SS'),'Process allow print the result of Quality Order','R','N',TO_DATE('2007-12-17 08:54:01','YYYY-MM-DD HH24:MI:SS'),0,'N',53048,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53073 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53071,2, 10, 53073)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('Y','Y','Standard Costing Management',0,53074,0,0,TO_DATE('2007-12-17 08:54:02','YYYY-MM-DD HH24:MI:SS'),'Standard Costing Management','N',TO_DATE('2007-12-17 08:54:02','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53074 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53014,6, 10, 53074)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Create Doc Type to Manufacturing',0,53075,0,0,TO_DATE('2007-12-17 08:54:03','YYYY-MM-DD HH24:MI:SS'),'Let create the document type to manufacturing','P','N',TO_DATE('2007-12-17 08:54:03','YYYY-MM-DD HH24:MI:SS'),0,'N',53050,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53075 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,0, 10, 53075)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Create Element',0,53076,0,0,TO_DATE('2007-12-17 08:54:04','YYYY-MM-DD HH24:MI:SS'),'Let create every cost elements defined for a Organization, Accounting Schema, Warehouse, Resource, Cost Type and Product.','P','N',TO_DATE('2007-12-17 08:54:04','YYYY-MM-DD HH24:MI:SS'),0,'N',53052,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53076 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,1, 10, 53076)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Product Costing',0,53077,0,0,TO_DATE('2007-12-17 08:54:05','YYYY-MM-DD HH24:MI:SS'),'To watch the cost elements for every set of Product, Organization, Accounting Schema, Warehouse, Resource and Cost Type','R','N',TO_DATE('2007-12-17 08:54:05','YYYY-MM-DD HH24:MI:SS'),0,'N',53054,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53077 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,2, 10, 53077)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Copy Price to Standard Cost',0,53078,0,0,TO_DATE('2007-12-17 08:54:07','YYYY-MM-DD HH24:MI:SS'),'This process allow copy a Price from Price list Version to Element Cost','P','N',TO_DATE('2007-12-17 08:54:07','YYYY-MM-DD HH24:MI:SS'),0,'N',53056,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53078 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,3, 10, 53078)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Workflow Cost Roll-Up',0,53079,0,0,TO_DATE('2007-12-17 08:54:08','YYYY-MM-DD HH24:MI:SS'),'This Process allow integrate Labor and Overhead Cost to a Manufacturing Workflow ','P','N',TO_DATE('2007-12-17 08:54:08','YYYY-MM-DD HH24:MI:SS'),0,'N',53058,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53079 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,4, 10, 53079)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Cost Workflow & Process Details',0,53080,0,0,TO_DATE('2007-12-17 08:54:09','YYYY-MM-DD HH24:MI:SS'),'This report show every cost element to a BOM or Formula ','R','N',TO_DATE('2007-12-17 08:54:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',53060,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53080 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,5, 10, 53080)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,IsSOTrx,Created,AD_Org_ID,IsReadOnly,AD_Process_ID,EntityType) VALUES ('N','Y','Bill of Material & Formula Cost Roll-UP',0,53081,0,0,TO_DATE('2007-12-17 08:54:10','YYYY-MM-DD HH24:MI:SS'),'This Process allow integrate Bill of Material & Formula Cost','P','N',TO_DATE('2007-12-17 08:54:10','YYYY-MM-DD HH24:MI:SS'),0,'N',53062,'EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53081 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,6, 10, 53081)
;

INSERT INTO AD_Menu (IsSummary,IsActive,Name,UpdatedBy,AD_Menu_ID,AD_Client_ID,CreatedBy,Updated,Description,Action,AD_Window_ID,IsSOTrx,Created,AD_Org_ID,IsReadOnly,EntityType) VALUES ('N','Y','Cost Collector',0,53082,0,0,TO_DATE('2007-12-17 08:54:11','YYYY-MM-DD HH24:MI:SS'),'The cost collector is a repository of all the MO transactions.','W',53014,'N',TO_DATE('2007-12-17 08:54:11','YYYY-MM-DD HH24:MI:SS'),0,'N','EE01')
;

INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, '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=53082 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

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, 53074,7, 10, 53082)
;

UPDATE AD_WF_Node SET Workflow_ID=50001,Updated=TO_DATE('2007-12-17 08:54:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=50000
;

UPDATE AD_WF_Node SET Workflow_ID=50007,Updated=TO_DATE('2007-12-17 08:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=50001
;

UPDATE AD_WF_Node SET Workflow_ID=50002,Updated=TO_DATE('2007-12-17 08:54:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=50002
;

UPDATE AD_WF_Node SET Workflow_ID=50004,Updated=TO_DATE('2007-12-17 08:54:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=50009
;

UPDATE AD_WF_Node SET Workflow_ID=50005,Updated=TO_DATE('2007-12-17 08:54:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=50010
;

UPDATE AD_WF_Node SET Workflow_ID=50000,Updated=TO_DATE('2007-12-17 08:54:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=50012
;

UPDATE AD_WF_Node SET Workflow_ID=50010,Updated=TO_DATE('2007-12-17 08:54:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_WF_Node_ID=50021
;

UPDATE AD_SEQUENCE s SET NAME = (SELECT TableName FROM AD_TABLE t WHERE t.IsView='N' AND UPPER(s.NAME)=UPPER(t.TableName)) WHERE s.IsTableID='Y' AND EXISTS (SELECT * FROM AD_TABLE t WHERE t.IsActive='Y' AND t.IsView='N' AND UPPER(s.NAME)=UPPER(t.TableName) AND s.NAME<>t.TableName)
;

UPDATE AD_Sequence SET CurrentNextSys=523848,Updated=TO_DATE('2007-12-17 08:56:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Sequence_ID=9
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Product_BOM',0,0,'DocumentNo_PP_Product_BOM',50000,1000000,'N',53043,TO_DATE('2007-12-17 08:56:38','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:38','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order_Node',0,0,'DocumentNo_PP_Order_Node',50000,1000000,'N',53044,TO_DATE('2007-12-17 08:56:39','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:39','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order_BOM',0,0,'DocumentNo_PP_Order_BOM',50000,1000000,'N',53045,TO_DATE('2007-12-17 08:56:39','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:39','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order',0,0,'DocumentNo_PP_Order',50000,1000000,'N',53046,TO_DATE('2007-12-17 08:56:40','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:40','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order_Workflow',0,0,'DocumentNo_PP_Order_Workflow',50000,1000000,'N',53047,TO_DATE('2007-12-17 08:56:40','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:40','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table DD_Order',0,0,'DocumentNo_DD_Order',50000,1000000,'N',53048,TO_DATE('2007-12-17 08:56:41','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:41','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table M_MovementLine',0,0,'DocumentNo_M_MovementLine',50000,1000000,'N',53049,TO_DATE('2007-12-17 08:56:42','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:42','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table QM_Specification',0,0,'DocumentNo_QM_Specification',50000,1000000,'N',53050,TO_DATE('2007-12-17 08:56:43','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:43','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table QM_SpecificationLine',0,0,'DocumentNo_QM_SpecificationLine',50000,1000000,'N',53051,TO_DATE('2007-12-17 08:56:43','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:43','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_MRP',0,0,'DocumentNo_PP_MRP',50000,1000000,'N',53052,TO_DATE('2007-12-17 08:56:44','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:44','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Product_BOM',11,0,'DocumentNo_PP_Product_BOM',50000,1000000,'N',53053,TO_DATE('2007-12-17 08:56:44','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:44','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order_Node',11,0,'DocumentNo_PP_Order_Node',50000,1000000,'N',53054,TO_DATE('2007-12-17 08:56:45','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:45','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order_BOM',11,0,'DocumentNo_PP_Order_BOM',50000,1000000,'N',53055,TO_DATE('2007-12-17 08:56:46','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:46','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order',11,0,'DocumentNo_PP_Order',50000,1000000,'N',53056,TO_DATE('2007-12-17 08:56:47','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:47','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_Order_Workflow',11,0,'DocumentNo_PP_Order_Workflow',50000,1000000,'N',53057,TO_DATE('2007-12-17 08:56:47','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:47','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table DD_Order',11,0,'DocumentNo_DD_Order',50000,1000000,'N',53058,TO_DATE('2007-12-17 08:56:47','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:47','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table M_MovementLine',11,0,'DocumentNo_M_MovementLine',50000,1000000,'N',53059,TO_DATE('2007-12-17 08:56:48','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:48','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table QM_Specification',11,0,'DocumentNo_QM_Specification',50000,1000000,'N',53060,TO_DATE('2007-12-17 08:56:48','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:48','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table QM_SpecificationLine',11,0,'DocumentNo_QM_SpecificationLine',50000,1000000,'N',53061,TO_DATE('2007-12-17 08:56:49','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:49','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;

INSERT INTO AD_Sequence (IncrementNo,StartNewYear,AD_Org_ID,StartNo,IsAutoSequence,Description,AD_Client_ID,CreatedBy,Name,CurrentNextSys,CurrentNext,IsTableID,AD_Sequence_ID,Updated,UpdatedBy,Created,IsAudited,IsActive) VALUES (1,'N',0,1000000,'Y','DocumentNo/Value for Table PP_MRP',11,0,'DocumentNo_PP_MRP',50000,1000000,'N',53062,TO_DATE('2007-12-17 08:56:49','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2007-12-17 08:56:49','YYYY-MM-DD HH24:MI:SS'),'N','Y')
;
