REVERTING REVISION of [ FR 2432892 ] Re-org of migration directory
This commit is contained in:
parent
44b7f6b777
commit
cbb8d70e63
|
@ -0,0 +1,125 @@
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
|
||||||
|
-- May 29, 2008 11:15:59 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53010,0,'1','org.eevolution.form.VInOutInvoiceGen',TO_DATE('2008-05-29 23:15:59','YYYY-MM-DD HH24:MI:SS'),0,'Select and generate shipments & Invoices','D','Generate Shipments & Invoices from Orders.
|
||||||
|
Select the orders to generate the shipments & Invoices for.','Y','N','Generate Shipments & Invoices (manual)',TO_DATE('2008-05-29 23:15:59','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:15:59 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53010 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:16:00 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53010,0,0,TO_DATE('2008-05-29 23:16:00','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-05-29 23:16:00','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:18:19 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Menu (AD_Client_ID,AD_Form_ID,AD_Menu_ID,AD_Org_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53010,53132,0,'X',TO_DATE('2008-05-29 23:18:19','YYYY-MM-DD HH24:MI:SS'),0,'Select and generate shipments & Invoices','D','Y','N','N','N','Generate Shipments & Invoices (manual)',TO_DATE('2008-05-29 23:18:19','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:18:19 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53132 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=346
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53132
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=193
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=180
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=494
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=444
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Element SET ColumnName='Implosion', Name='Implosion',Updated=TO_DATE('2008-05-31 16:10:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Column SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Element_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Field SET Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53466) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.', AD_Element_ID=53466 WHERE UPPER(ColumnName)='IMPLOSION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Element_ID=53466 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Implosion', Name='Implosion' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53466)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Implosion', Name='Implosion' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53466)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:14:43 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
ALTER TABLE T_BOMLine ADD Implosion CHAR(1) DEFAULT 'N' CHECK (Implosion IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
-- June 1, 2008 1:20:00 PM EST
|
||||||
|
-- BF1981079 - MultiLevel BOM & Formula Detail
|
||||||
|
DROP VIEW RV_PP_PRODUCT_BOMLINE;
|
||||||
|
|
||||||
|
CREATE VIEW RV_PP_PRODUCT_BOMLINE (SEQNO, LEVELNO, LEVELS, AD_CLIENT_ID, AD_ORG_ID, CREATEDBY, UPDATEDBY, UPDATED, CREATED, AD_PINSTANCE_ID, IMPLOSION, M_PRODUCT_ID, ISACTIVE, PP_PRODUCT_BOM_ID, PP_PRODUCT_BOMLINE_ID, DESCRIPTION, ISCRITICAL, COMPONENTTYPE, TM_PRODUCT_ID, C_UOM_ID, ISSUEMETHOD, LINE, M_ATTRIBUTESETINSTANCE_ID, SCRAP, VALIDFROM, VALIDTO, QTYBOM, QTYBATCH, ISQTYPERCENTAGE) AS
|
||||||
|
SELECT t.seqno, t.levelno, t.levels, t.ad_client_id, t.ad_org_id, t.createdby, t.updatedby, t.updated, t.created, t.ad_pinstance_id, t.implosion, t.sel_product_id, 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 t_bomline t
|
||||||
|
LEFT JOIN pp_product_bomline bl ON t.pp_product_bomline_id = bl.pp_product_bomline_id
|
||||||
|
ORDER BY t.seqno;
|
||||||
|
|
||||||
|
ALTER TABLE T_BOMLine DROP COLUMN Implotion;
|
|
@ -0,0 +1,188 @@
|
||||||
|
-- 02.06.2008 11:01:31 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53018
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:01:31 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
DELETE FROM AD_Tab WHERE AD_Tab_ID=53018
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:01:50 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Tab SET IsInsertRecord='N', TabLevel=1,Updated=TO_DATE('2008-06-02 11:01:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53019
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:13 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,701,56255,0,53019,TO_DATE('2008-06-02 11:03:12','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2008-06-02 11:03:12','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:14 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56255 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:14 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,1213,56256,0,53019,TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:14 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56256 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:15 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,316,56257,0,53019,TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:15 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56257 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,315,56258,0,53019,TO_DATE('2008-06-02 11:03:15','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2008-06-02 11:03:15','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56258 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,313,56259,0,53019,TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0,'Language for this entity',6,'D','The Language identifies the language to use for display and formatting','Y','Y','Y','N','N','N','N','N','Language',TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56259 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:17 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,314,56260,0,53019,TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:17 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56260 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:18 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,1214,56261,0,53019,TO_DATE('2008-06-02 11:03:17','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2008-06-02 11:03:17','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:18 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56261 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,317,56262,0,53019,TO_DATE('2008-06-02 11:03:18','YYYY-MM-DD HH24:MI:SS'),0,'This column is translated',1,'D','The Translated checkbox indicates if this column is translated.','Y','Y','Y','N','N','N','N','N','Translated',TO_DATE('2008-06-02 11:03:18','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56262 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,312,56263,0,53019,TO_DATE('2008-06-02 11:03:19','YYYY-MM-DD HH24:MI:SS'),0,'Workflow or combination of tasks',22,'D','The Workflow field identifies a unique Workflow in the system.','Y','Y','Y','N','N','N','N','N','Workflow',TO_DATE('2008-06-02 11:03:19','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56263 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56256
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56261
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56259
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56255
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56262
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56260
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56258
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56257
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:07:03 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsReadOnly='Y',Updated=TO_DATE('2008-06-02 11:07:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56256
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:07:12 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsSameLine='Y',Updated=TO_DATE('2008-06-02 11:07:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56261
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:07:25 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsReadOnly='Y',Updated=TO_DATE('2008-06-02 11:07:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:08:21 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=40,Updated=TO_DATE('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56259
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:08:21 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=80,Updated=TO_DATE('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56258
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:08:21 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=90,Updated=TO_DATE('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56257
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:11:28 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Tab SET TabLevel=2,Updated=TO_DATE('2008-06-02 11:11:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53026
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- 02.06.2008 11:29:41 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-02 11:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53295
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
-- Jun 2, 2008 9:43:00 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_COLUMN SET FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-06-02 21:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14866
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 2, 2008 9:43:14 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
ALTER TABLE R_ISSUERECOMMENDATION MODIFY R_IssueRecommendation_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
--ALTER TABLE R_ISSUERECOMMENDATION MODIFY R_IssueRecommendation_ID NOT NULL
|
||||||
|
--;
|
||||||
|
|
||||||
|
--ALTER TABLE R_ISSUERECOMMENDATION ADD (CONSTRAINT r_issuerecommendation_pkey PRIMARY KEY (r_issuerecommendation_id))
|
||||||
|
--;
|
||||||
|
|
||||||
|
ALTER TABLE R_ISSUEKNOWN ADD (CONSTRAINT RIssueRecommendation_RIssueKno FOREIGN KEY (R_IssueRecommendation_ID) REFERENCES R_ISSUERECOMMENDATION)
|
||||||
|
;
|
|
@ -0,0 +1,53 @@
|
||||||
|
CREATE OR REPLACE VIEW C_INVOICE_V
|
||||||
|
(C_INVOICE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED,
|
||||||
|
CREATEDBY, UPDATED, UPDATEDBY, ISSOTRX, DOCUMENTNO,
|
||||||
|
DOCSTATUS, DOCACTION, PROCESSING, PROCESSED, C_DOCTYPE_ID,
|
||||||
|
C_DOCTYPETARGET_ID, C_ORDER_ID, DESCRIPTION, ISAPPROVED, ISTRANSFERRED,
|
||||||
|
SALESREP_ID, DATEINVOICED, DATEPRINTED, DATEACCT, C_BPARTNER_ID,
|
||||||
|
C_BPARTNER_LOCATION_ID, AD_USER_ID, POREFERENCE, DATEORDERED, C_CURRENCY_ID,
|
||||||
|
C_CONVERSIONTYPE_ID, PAYMENTRULE, C_PAYMENTTERM_ID, C_CHARGE_ID, M_PRICELIST_ID,
|
||||||
|
C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID, ISPRINTED, ISDISCOUNTPRINTED,
|
||||||
|
ISPAID, ISINDISPUTE, ISPAYSCHEDULEVALID, C_INVOICEPAYSCHEDULE_ID, INVOICECOLLECTIONTYPE,DUNNINGGRACE,
|
||||||
|
CHARGEAMT, TOTALLINES, GRANDTOTAL, MULTIPLIER, MULTIPLIERAP,
|
||||||
|
DOCBASETYPE, DUEDATE
|
||||||
|
)
|
||||||
|
AS
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, cast(null as numeric) AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType,i.DunningGrace,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END as numeric) AS ChargeAmt,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END as numeric) AS TotalLines,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END as numeric) AS GrandTotal,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END as numeric) AS Multiplier,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS numeric) as MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
, paymentTermDueDate(i.C_PaymentTerm_ID, i.DateInvoiced) as DueDate
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
WHERE i.IsPayScheduleValid<>'Y'
|
||||||
|
UNION
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType, i.DunningGrace,
|
||||||
|
null AS ChargeAmt,
|
||||||
|
null AS TotalLines,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
, ips.DueDate
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID)
|
||||||
|
WHERE i.IsPayScheduleValid='Y'
|
||||||
|
AND ips.IsValid='Y';
|
|
@ -0,0 +1,140 @@
|
||||||
|
-- 03.06.2008 12:09:57 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DefaultValue='Y', IsReadOnly='Y',Updated=TO_DATE('2008-06-03 12:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53299
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:12:50 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:12:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53300
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:12:54 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:13:00 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:13:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53302
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:13:03 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:13:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53303
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:13:06 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:13:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53304
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53296
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53292
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53291
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53294
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element SET Name='Manufacturing Resource', PrintName='Manufacturing Resource',Updated=TO_DATE('2008-06-03 12:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Column SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Element_ID=53232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53232) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL, AD_Element_ID=53232 WHERE UPPER(ColumnName)='ISMANUFACTURINGRESOURCE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Element_ID=53232 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource', Name='Manufacturing Resource' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53232)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource', Name='Manufacturing Resource' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53232)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:17:25 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='Y',Name='Resursa de productie',PrintName='Resursa de productie',Updated=TO_DATE('2008-06-03 12:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53232 AND AD_Language='ro_RO'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element SET Name='Manufacturing Resource Type', PrintName='Manufacturing Resource Type',Updated=TO_DATE('2008-06-03 12:19:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Column SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53233) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL, AD_Element_ID=53233 WHERE UPPER(ColumnName)='MANUFACTURINGRESOURCETYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53233 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource Type', Name='Manufacturing Resource Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53233)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource Type', Name='Manufacturing Resource Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53233)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:27 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='Y',Name='Tip resursa productie',PrintName='Tip resursa productie',Updated=TO_DATE('2008-06-03 12:19:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53233 AND AD_Language='ro_RO'
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
-- 03.06.2008 13:08:34 EEST
|
||||||
|
-- Fix AD_WF_Node.C_BPartner_ID reference
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 13:08:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53309
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 16:25:28 EEST
|
||||||
|
-- Fix PP_Product_Planning.AD_Workflow_ID : set AD_Val_Rule_ID=MFG WF
|
||||||
|
UPDATE AD_Column SET AD_Val_Rule_ID=52003,Updated=TO_DATE('2008-06-03 16:25:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53377
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Create Product Planning unique contraint:
|
||||||
|
create unique index PP_Product_Planning_UQ on PP_Product_Planning (M_Product_ID, S_Resource_ID, M_Warehouse_ID, AD_Org_ID);
|
||||||
|
|
||||||
|
-- 03.06.2008 18:16:22 EEST
|
||||||
|
-- PP_Order_Node.A_Asset_ID set to Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:16:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53743
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 18:17:53 EEST
|
||||||
|
-- PP_Order_Node.C_BPartner_ID set to Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:17:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53460
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 18:18:34 EEST
|
||||||
|
-- PP_MRP.C_BPartner_ID set to Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54025
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- M_Product_ID fields in Manufacturing tables should have AD_Reference_ID=Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30, IsUpdateable='N',Updated=TO_DATE('2008-06-03 18:20:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53389
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53549
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53610
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53733
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53763
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53993
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54043
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,74 @@
|
||||||
|
-- 04-jun-2008 23:12:26 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
|
||||||
|
-- added first to fix [ 1985198 ] 196_FB1983672_refactory script failing
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE,
|
||||||
|
CREATED,
|
||||||
|
UPDATED, CREATEDBY,
|
||||||
|
UPDATEDBY, NAME, DESCRIPTION, VERSION,
|
||||||
|
ENTITYTYPE, COLUMNNAME, AD_TABLE_ID, AD_REFERENCE_ID,
|
||||||
|
FIELDLENGTH, ISKEY, ISPARENT, ISMANDATORY, ISUPDATEABLE,
|
||||||
|
READONLYLOGIC, ISIDENTIFIER, ISTRANSLATED, ISENCRYPTED,
|
||||||
|
ISSELECTIONCOLUMN, AD_ELEMENT_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE
|
||||||
|
)
|
||||||
|
VALUES (56076, 0, 0, 'Y',
|
||||||
|
TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),
|
||||||
|
TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'), 100,
|
||||||
|
100, 'Current Cost Price Low Level', 'The low level cost is using to accumulation the cost for low level in a bill of material or formula.', 0,
|
||||||
|
'EE01', 'CurrentCostPriceLL', 771, 37,
|
||||||
|
22, 'N', 'N', 'Y', 'Y',
|
||||||
|
'@CostingMethod@!x & @CostingMethod@!S', 'N', 'N', 'N',
|
||||||
|
'N', 53296, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:12:26 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
INSERT INTO AD_FIELD (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,NAME,Updated,UpdatedBy) VALUES (0,56076,56266,0,701,TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),0,'The low level cost is using to accumulation the cost for low level in a bill of material or formula.',22,'EE01','The low level cost is using to accumulation the cost for low level in a bill of material or formula.','Y','Y','Y','N','N','N','N','N','Current Cost Price Low Level',TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:12:26 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
INSERT INTO AD_FIELD_TRL (AD_LANGUAGE,AD_Field_ID, Description,Help,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Field_ID, t.Description,t.Help,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_FIELD t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56266 AND EXISTS (SELECT * FROM AD_FIELD_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56266
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=11352
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=12318
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=12175
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=12176
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=12319
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:39 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET IsSameLine='Y',Updated=TO_DATE('2008-06-04 23:14:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11352
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Add CurrentCostPriceLL column to database
|
||||||
|
ALTER TABLE M_Cost ADD CurrentCostPriceLL NUMBER DEFAULT 0;
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- 05.06.2008 20:16:23 EEST
|
||||||
|
-- Internal Use Inventory / Attributes it's an advanced tab
|
||||||
|
UPDATE AD_Tab SET IsAdvancedTab='Y',Updated=TO_DATE('2008-06-05 20:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53134
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
-- Reset SeqNo for HR_Payroll.Value, there is already HR_Payroll.Name as identifier
|
||||||
|
update AD_Column set SeqNo=null
|
||||||
|
where AD_Column_ID=54887 and IsIdentifier='N' and SeqNo=1;
|
|
@ -0,0 +1,2 @@
|
||||||
|
update AD_Table set EntityType='EE01'
|
||||||
|
where TableName in ('RV_PP_MRP', 'RV_PP_Order_BOMLine', 'RV_PP_WIP') and EntityType<>'EE01';
|
|
@ -0,0 +1,17 @@
|
||||||
|
-- Jun 9, 2008 8:18:13 PM COT
|
||||||
|
-- [ 1989305 ] Missing GL Journal Batch in GardenWorld
|
||||||
|
INSERT INTO AD_Sequence (UpdatedBy,IsAutoSequence,AD_Org_ID,AD_Sequence_ID,Updated,CurrentNext,IsTableID,Created,StartNewYear,IsAudited,IncrementNo,AD_Client_ID,StartNo,Name,CurrentNextSys,CreatedBy,IsActive) VALUES (100,'Y',0,53162,TO_DATE('2008-06-09 20:18:12','YYYY-MM-DD HH24:MI:SS'),100,'N',TO_DATE('2008-06-09 20:18:12','YYYY-MM-DD HH24:MI:SS'),'N','N',1,11,1000,'GL Journal Batch',1002,100,'Y')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 9, 2008 8:18:33 PM COT
|
||||||
|
INSERT INTO C_DocType (IsSOTrx,UpdatedBy,IsDocNoControlled,AD_Org_ID,DocNoSequence_ID,Updated,DocumentCopies,HasCharges,C_DocType_ID,Created,IsDefault,GL_Category_ID,PrintName,AD_Client_ID,HasProforma,Name,CreatedBy,IsShipConfirm,IsPickQAConfirm,DocBaseType,IsDefaultCounterDoc,IsActive,IsSplitWhenDifference,IsCreateCounter,IsInTransit,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,IsIndexed) VALUES ('N',100,'Y',0,53162,TO_DATE('2008-06-09 20:18:32','YYYY-MM-DD HH24:MI:SS'),0,'N',50001,TO_DATE('2008-06-09 20:18:32','YYYY-MM-DD HH24:MI:SS'),'N',108,'Journal Batch',11,'N','GL Journal Batch',100,'N','N','GLJ','N','Y','N','Y','N','N','N','Y')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 9, 2008 8:18:34 PM COT
|
||||||
|
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=50001 AND EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.C_DocType_ID!=t.C_DocType_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 9, 2008 8:18:34 PM COT
|
||||||
|
INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 11,0,'Y', SysDate,100, SysDate,100, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID) WHERE client.AD_Client_ID=11 AND doctype.C_DocType_ID=50001 AND rol.IsManual='N')
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
-- Jun 12, 2008 7:57:23 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-06-12 19:57:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=712
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 7:58:40 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
INSERT INTO AD_Process_Para (FieldLength,UpdatedBy,ColumnName,AD_Org_ID,AD_Process_Para_ID,SeqNo,Updated,Help,DefaultValue,Created,IsCentrallyMaintained,AD_Process_ID,AD_Client_ID,IsRange,AD_Reference_ID,EntityType,AD_Val_Rule_ID,Name,CreatedBy,IsMandatory,AD_Reference_Value_ID,IsActive,AD_Element_ID,Description) VALUES (1,100,'DocAction',0,53177,30,TO_DATE('2008-06-12 19:58:39','YYYY-MM-DD HH24:MI:SS'),'You find the current status in the Document Status field. The options are listed in a popup','PR',TO_DATE('2008-06-12 19:58:39','YYYY-MM-DD HH24:MI:SS'),'Y',343,0,'N',17,'D',219,'Document Action',100,'N',135,'Y',287,'The targeted status of the document')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 7:58:40 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53177 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 8:32:52 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
INSERT INTO AD_Val_Rule (UpdatedBy,Code,AD_Org_ID,Updated,Type,Created,AD_Client_ID,EntityType,AD_Val_Rule_ID,Name,CreatedBy,IsActive) VALUES (100,'AD_Ref_List.Value IN (''CO'')',0,TO_DATE('2008-06-12 20:32:50','YYYY-MM-DD HH24:MI:SS'),'S',TO_DATE('2008-06-12 20:32:50','YYYY-MM-DD HH24:MI:SS'),0,'D',52027,'List - DocAction - Complete',100,'Y')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 8:33:09 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
UPDATE AD_Process_Para SET DefaultValue=NULL, AD_Val_Rule_ID=52027,Updated=TO_DATE('2008-06-12 20:33:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53177
|
||||||
|
;
|
|
@ -0,0 +1,24 @@
|
||||||
|
-- Jun 15, 2008 12:35:47 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50029,Updated=TO_DATE('2008-06-15 12:35:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 12:39:50 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50033,Updated=TO_DATE('2008-06-15 12:39:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 1:09:43 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_WF_NodeNext SET SeqNo=100,Updated=TO_DATE('2008-06-15 13:09:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_WF_NodeNext_ID=50010
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 1:13:45 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50016,Updated=TO_DATE('2008-06-15 13:13:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 1:18:01 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50020,Updated=TO_DATE('2008-06-15 13:18:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50006
|
||||||
|
;
|
|
@ -0,0 +1,15 @@
|
||||||
|
-- 20.06.2008 14:06:53 EEST
|
||||||
|
-- BF [ 1963128 ] Running a process w/o trl should display an error
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53038,0,TO_DATE('2008-06-20 14:06:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Check Missing Translation Records','E',TO_DATE('2008-06-20 14:06:43','YYYY-MM-DD HH24:MI:SS'),0,'CheckMissingTrl')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 20.06.2008 14:06:53 EEST
|
||||||
|
-- BF [ 1963128 ] Running a process w/o trl should display an error
|
||||||
|
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=53038 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 20.06.2008 14:08:39 EEST
|
||||||
|
-- BF [ 1963128 ] Running a process w/o trl should display an error
|
||||||
|
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Lipsesc liniile de traducere',Updated=TO_DATE('2008-06-20 14:08:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53038 AND AD_Language='ro_RO'
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
-- Jun 20, 2008 3:24:52 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Column SET AD_Val_Rule_ID=52002,Updated=TO_DATE('2008-06-20 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:27:23 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2008-06-20 15:27:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:30:05 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET AD_Element_ID=1777, AD_Val_Rule_ID=52002,Updated=TO_DATE('2008-06-20 15:30:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53035
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:32:17 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET AD_Val_Rule_ID=52003,Updated=TO_DATE('2008-06-20 15:32:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:35:42 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53340,0,53010,53183,30,'DD_NetworkDistribution_ID',TO_DATE('2008-06-20 15:35:33','YYYY-MM-DD HH24:MI:SS'),0,'Network Distribution','EE01',22,NULL,'Y','Y','N','N','Network Distribution',75,TO_DATE('2008-06-20 15:35:33','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:35:42 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53183 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:37:05 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-20 15:37:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53660
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:38:45 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET AD_Reference_ID=19,Updated=TO_DATE('2008-06-20 15:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53183
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
-- Jun 20, 2008 6:33:56 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53354,0,53010,53184,29,'SafetyStock',TO_DATE('2008-06-20 18:33:47','YYYY-MM-DD HH24:MI:SS'),0,'Safety Stock Qty','EE01',22,'Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.','Y','Y','N','N','Safety Stock Qty',130,TO_DATE('2008-06-20 18:33:47','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 6:33:56 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53184 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 6:34:14 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=105,Updated=TO_DATE('2008-06-20 18:34:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53184
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT ddnetworkdistribution_ppproduc;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT adworkflow_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT mwarehouse_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT planner_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT ppproductbom_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT sresource_ppproductplanning;
|
||||||
|
|
||||||
|
DROP INDEX pp_product_planning_uq;
|
|
@ -0,0 +1,267 @@
|
||||||
|
SET DEFINE OFF
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
-- Jun 23, 2008 9:58:30 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
UPDATE AD_Table SET IsView='Y',Updated=TO_DATE('2008-06-23 09:58:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53028
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:10 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56089,102,0,19,53028,'AD_Client_ID',TO_DATE('2008-06-23 09:59:02','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','Client',TO_DATE('2008-06-23 09:59:02','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:10 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56089 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56090,113,0,19,53028,'AD_Org_ID',TO_DATE('2008-06-23 09:59:10','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','Organization',TO_DATE('2008-06-23 09:59:10','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56090 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56091,246,0,18,110,53028,'CreatedBy',TO_DATE('2008-06-23 09:59:11','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE01',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','Created By',TO_DATE('2008-06-23 09:59:11','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56091 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56092,608,0,18,110,53028,'UpdatedBy',TO_DATE('2008-06-23 11:04:30','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE01',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','Updated By',TO_DATE('2008-06-23 11:04:30','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56092 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56093,607,0,16,53028,'Updated',TO_DATE('2008-06-23 11:04:31','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE01',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','Updated',TO_DATE('2008-06-23 11:04:31','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56093 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:32 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56094,245,0,16,53028,'Created',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE01',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','Created',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:32 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56094 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:33 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56095,348,0,20,53028,'IsActive',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Active',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:33 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56095 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:34 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56096,53298,0,19,53028,'PP_Order_BOM_ID',TO_DATE('2008-06-23 11:04:33','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_BOM_ID',TO_DATE('2008-06-23 11:04:33','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:34 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56096 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:35 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56097,53275,0,19,53028,'PP_Order_BOMLine_ID',TO_DATE('2008-06-23 11:04:34','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_BOMLine_ID',TO_DATE('2008-06-23 11:04:34','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:35 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56097 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:36 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56098,53276,0,19,53028,'PP_Order_ID',TO_DATE('2008-06-23 11:04:35','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_ID',TO_DATE('2008-06-23 11:04:35','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:36 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56098 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:37 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56099,53251,0,20,53028,'IsCritical',TO_DATE('2008-06-23 11:04:36','YYYY-MM-DD HH24:MI:SS'),100,'Indicate that a Manufacturing Order can not begin without have this component','EE01',1,'Indicate that a Manufacturing Order can not begin without have this component','Y','N','N','N','N','Y','N','N','N','N','Is Critical Component',TO_DATE('2008-06-23 11:04:36','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:37 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56099 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:38 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56100,53249,0,17,53028,'ComponentType',TO_DATE('2008-06-23 11:04:37','YYYY-MM-DD HH24:MI:SS'),100,'Component Type for a Bill of Material or Formula','EE01',2,'The Component Type can be:
|
||||||
|
|
||||||
|
1.- By Product: Define a By Product as Component into BOM
|
||||||
|
2.- Component: Define a normal Component into BOM
|
||||||
|
3.- Option: Define an Option for Product Configure BOM
|
||||||
|
4.- Phantom: Define a Phantom as Component into BOM
|
||||||
|
5.- Packing: Define a Packing as Component into BOM
|
||||||
|
6.- Planning : Define Planning as Component into BOM
|
||||||
|
7.- Tools: Define Tools as Component into BOM
|
||||||
|
8.- Variant: Define Variant for Product Configure BOM
|
||||||
|
','Y','N','N','N','N','N','N','N','N','N','Component Type',TO_DATE('2008-06-23 11:04:37','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:38 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56100 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:39 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56101,454,0,19,53028,'M_Product_ID',TO_DATE('2008-06-23 11:04:38','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','Y','N','N','N','N','Product',TO_DATE('2008-06-23 11:04:38','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:39 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56101 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:40 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56102,215,0,19,53028,'C_UOM_ID',TO_DATE('2008-06-23 11:04:39','YYYY-MM-DD HH24:MI:SS'),100,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','Y','N','N','N','N','UOM',TO_DATE('2008-06-23 11:04:39','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:40 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56102 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:41 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56103,53288,0,29,53028,'QtyRequiered',TO_DATE('2008-06-23 11:04:40','YYYY-MM-DD HH24:MI:SS'),100,'EE01',22,'Y','N','N','N','N','N','N','N','N','N','QtyRequiered',TO_DATE('2008-06-23 11:04:40','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:41 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56103 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:42 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56104,532,0,29,53028,'QtyReserved',TO_DATE('2008-06-23 11:04:41','YYYY-MM-DD HH24:MI:SS'),100,'Reserved Quantity','EE01',22,'The Reserved Quantity indicates the quantity of a product that is currently reserved.','Y','N','N','N','N','N','N','N','N','N','Reserved Quantity',TO_DATE('2008-06-23 11:04:41','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:42 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56104 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:43 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56105,2238,0,29,53028,'QtyAvailable',TO_DATE('2008-06-23 11:04:42','YYYY-MM-DD HH24:MI:SS'),100,'Available Quantity (On Hand - Reserved)','EE01',22,'Quantity available to promise = On Hand minus Reserved Quantity','Y','N','N','N','N','N','N','N','N','N','Available Quantity',TO_DATE('2008-06-23 11:04:42','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:43 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56105 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:44 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56106,530,0,29,53028,'QtyOnHand',TO_DATE('2008-06-23 11:04:43','YYYY-MM-DD HH24:MI:SS'),100,'On Hand Quantity','EE01',22,'The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.','Y','N','N','N','N','N','N','N','N','N','On Hand Quantity',TO_DATE('2008-06-23 11:04:43','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:44 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56106 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56107,459,0,19,53028,'M_Warehouse_ID',TO_DATE('2008-06-23 11:04:44','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','EE01',10,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','Y','N','N','N','N','Warehouse',TO_DATE('2008-06-23 11:04:44','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56107 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56108,53255,0,29,53028,'QtyBOM',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,'Indicate the Quantity use in this BOM','EE01',22,'Exist two way the add a compenent to a BOM or Formula:
|
||||||
|
|
||||||
|
1.- Adding a Component based in quantity to use in this BOM
|
||||||
|
2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula.
|
||||||
|
','Y','N','N','N','N','N','N','N','N','N','Quantity',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56108 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:46 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56109,53252,0,29,53028,'IsQtyPercentage',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,'Indicate that this component is based in % Quantity','EE01',1,'Indicate that this component is based in % Quantity','Y','N','N','N','N','N','N','N','N','N','Is Qty Percentage',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:46 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56109 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:47 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56110,53256,0,29,53028,'QtyBatch',TO_DATE('2008-06-23 11:04:46','YYYY-MM-DD HH24:MI:SS'),100,'Indicate the Quantity % use in this Formula','EE01',22,'Exist two way the add a compenent to a BOM or Formula:
|
||||||
|
|
||||||
|
1.- Adding a Component based in quantity to use in this BOM
|
||||||
|
2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula.
|
||||||
|
','Y','N','N','N','N','N','N','N','N','N','Quantity %',TO_DATE('2008-06-23 11:04:46','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:47 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56110 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:48 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56111,53243,0,29,53028,'QtyBatchSize',TO_DATE('2008-06-23 11:04:47','YYYY-MM-DD HH24:MI:SS'),100,'EE01',22,'Y','N','N','N','N','N','N','N','N','N','QtyBatchSize',TO_DATE('2008-06-23 11:04:47','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:48 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56111 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:15:46 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
UPDATE AD_Element SET PrintName='QtyRequired',Updated=TO_DATE('2008-06-23 11:15:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53288
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:15:47 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='QtyRequired', Name='QtyRequiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53288)
|
||||||
|
;
|
|
@ -0,0 +1,20 @@
|
||||||
|
-- 23.06.2008 10:33:45 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-06-23 10:33:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54951
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 23.06.2008 10:33:47 EEST
|
||||||
|
--
|
||||||
|
ALTER TABLE HR_PayrollConcept MODIFY IsPrinted CHAR(1) DEFAULT 'N'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 23.06.2008 10:33:47 EEST
|
||||||
|
--
|
||||||
|
UPDATE HR_PayrollConcept SET IsPrinted='N' WHERE IsPrinted IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 23.06.2008 10:33:47 EEST
|
||||||
|
--
|
||||||
|
ALTER TABLE HR_PayrollConcept MODIFY IsPrinted NOT NULL
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- 23.06.2008 12:02:32 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-06-23 12:02:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55104
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- Jun 25, 2008 9:00:46 AM EST
|
||||||
|
-- BF2001820
|
||||||
|
ALTER TABLE PP_Order_Workflow MODIFY EntityType VARCHAR2(40) DEFAULT 'U'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 25, 2008 9:00:47 AM EST
|
||||||
|
-- BF2001820
|
||||||
|
UPDATE PP_Order_Workflow SET EntityType='U' WHERE EntityType IS NULL
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,205 @@
|
||||||
|
-- Jun 22, 2008 5:51:42 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 17:51:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53072
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:35 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53513
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:35 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53512
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:45 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-06-22 18:01:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53513
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:47 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-06-22 18:01:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53512
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:02:06 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET DisplayLength=30,Updated=TO_DATE('2008-06-22 18:02:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54392
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:02:35 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-06-22 18:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55434
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:02:49 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-06-22 18:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53522
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:05:22 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@Order_Policy@=''POQ''',Updated=TO_DATE('2008-06-22 18:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:08:03 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET AD_Column_ID=53389,Updated=TO_DATE('2008-06-22 18:08:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:09:53 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:09:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:09:57 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53033
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:10:01 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:10:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:10:04 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:10:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53034
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53533
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53525
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53527
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53528
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53529
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53530
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53531
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53532
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54420
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:20 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-06-22 18:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53533
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:13:09 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53533
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:13:09 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53523
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:13:09 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53524
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:14:30 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2008-06-22 18:14:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53376
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:14:51 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2008-06-22 18:14:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:19:12 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Column SET IsUpdateable='N',Updated=TO_DATE('2008-06-22 18:19:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53376
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:45:01 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-06-22 18:45:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53035
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:46:14 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=195,Updated=TO_DATE('2008-06-22 18:46:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53052
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:46:40 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Process_Para SET DefaultValue='@Order_Policy@=''POQ''',Updated=TO_DATE('2008-06-22 18:46:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53052
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:30:57 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53039,0,TO_DATE('2008-06-23 00:30:56','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Do not exist default Locator for Warehouse','Do not exist default Locator for Warehouse','I',TO_DATE('2008-06-23 00:30:56','YYYY-MM-DD HH24:MI:SS'),0,'DRP-001')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:30:57 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
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=53039 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:31:53 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53040,0,TO_DATE('2008-06-23 00:31:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Do not exist Shipper for Create Distribution Order','Do not exist Shipper for Create Distribution Order','I',TO_DATE('2008-06-23 00:31:52','YYYY-MM-DD HH24:MI:SS'),0,'DRP-030')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:31:53 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
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=53040 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:34:18 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-06-23 00:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54298
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:34:21 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
ALTER TABLE DD_NetworkDistributionLine MODIFY M_Shipper_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:35:46 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
ALTER TABLE DD_NetworkDistributionLine MODIFY M_Shipper_ID NOT NULL
|
||||||
|
;
|
|
@ -0,0 +1,50 @@
|
||||||
|
-- Jun 26, 2008 9:57:54 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:57:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:19 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:58:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53033
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:28 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:58:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:36 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53034
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:43 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET AD_Column_ID=3668,Updated=TO_DATE('2008-06-26 09:58:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53034
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53523
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53522
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53525
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53524
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:03:16 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-06-26 10:03:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53526
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
-- Jun 30, 2008 7:42:57 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,53014,53206,19,202,'AD_Org_ID',TO_DATE('2008-06-30 19:42:51','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','Organization',10,TO_DATE('2008-06-30 19:42:51','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:42:57 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53206 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:44:28 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1777,0,53014,53207,19,52002,'S_Resource_ID',TO_DATE('2008-06-30 19:44:25','YYYY-MM-DD HH24:MI:SS'),0,'Resource','EE01',22,'Y','Y','Y','N','Resource',20,TO_DATE('2008-06-30 19:44:25','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:44:28 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53207 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:46:01 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Process_Para SET AD_Val_Rule_ID=189,Updated=TO_DATE('2008-06-30 19:46:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53133
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:46:15 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,459,0,53014,53208,19,189,'M_Warehouse_ID',TO_DATE('2008-06-30 19:46:13','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','N','N','Warehouse',30,TO_DATE('2008-06-30 19:46:13','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:46:15 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53208 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)
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
-- Mar 13, 2008 11:51:15 AM CET
|
||||||
|
UPDATE AD_Val_Rule SET Code='(
|
||||||
|
EXISTS (
|
||||||
|
/* UOM is a default UOM and no product selected */
|
||||||
|
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 (
|
||||||
|
/* UOM is the products UOM */
|
||||||
|
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 (
|
||||||
|
/* For the products UOM there is a conversion that is explicitly bound to the product */
|
||||||
|
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
|
||||||
|
)
|
||||||
|
OR EXISTS (
|
||||||
|
/* For the products UOM there is a conversion that is not bound to any product explicitly */
|
||||||
|
SELECT *
|
||||||
|
FROM M_Product p INNER JOIN C_UOM_Conversion c ON (p.C_UOM_ID=c.C_UOM_ID AND c.M_Product_ID IS NULL)
|
||||||
|
WHERE C_UOM.C_UOM_ID=c.C_UOM_TO_ID AND @M_Product_ID@=p.M_Product_ID
|
||||||
|
))',Updated=TO_DATE('2008-03-13 11:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=210
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
-- Jul 4, 2008 6:11:43 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process SET Help='This process copies BOM Lines from the Selected BOM to the Current BOM. The BOM being copied to must have any existing BOM Lines',
|
||||||
|
Updated=TO_DATE('2008-07-04 18:11:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 5, 2008 4:51:47 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Copy BOM Lines From', Description='Copy BOM Lines from an exising BOM', Help='Copy BOM Lines from an exising BOM. The BOM being copied to, must not have any existing BOM Lines.',Updated=TO_DATE('2008-07-05 16:51:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53480
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 5, 2008 4:51:47 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=53480
|
||||||
|
;
|
|
@ -0,0 +1,90 @@
|
||||||
|
-- Jul 6, 2008 10:30:49 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutBOM.getdefaults',Updated=TO_DATE('2008-07-06 10:30:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53333
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53474
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53475
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53464
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53476
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53465
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53467
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53468
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53469
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53470
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53471
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53472
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53473
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:59 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-06 10:44:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53476
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:46:09 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsCentrallyMaintained='Y',Updated=TO_DATE('2008-07-06 10:46:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53474
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:46:15 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsCentrallyMaintained='Y',Updated=TO_DATE('2008-07-06 10:46:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53476
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:50:46 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET DisplayLength=22,Updated=TO_DATE('2008-07-06 10:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53464
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- 07.07.2008 15:22:56 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET ReadOnlyLogic='@M_Product_ID@!0',Updated=TO_DATE('2008-07-07 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6610
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:23:12 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET ReadOnlyLogic='@M_Product_Category_ID@!0',Updated=TO_DATE('2008-07-07 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6611
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
-- 07.07.2008 15:40:27 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Tab SET DisplayLogic='@DiscountType@=B', ReadOnlyLogic=NULL,Updated=TO_DATE('2008-07-07 15:40:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=406
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:10 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5273
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:12 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5274
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:15 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:18 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:21 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5277
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:24 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:27 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5281
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:31 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:34 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10479
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:41 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsBPartnerFlatDiscount@=N',Updated=TO_DATE('2008-07-07 15:42:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5279
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,161 @@
|
||||||
|
-- Jul 7, 2008 12:21:56 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53656,0,'PlanningHorizon',TO_DATE('2008-07-07 12:21:51','YYYY-MM-DD HH24:MI:SS'),0,'The planning horizon is the amount of time an organisation will look into the future when preparing a strategic plan.','EE01','The planning horizon is the amount of time an organisation will look into the future when preparing a strategic plan.','Y','Planning Horizon','Planning Horizon',TO_DATE('2008-07-07 12:21:51','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:21:56 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53656 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:05 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Element SET Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.',Updated=TO_DATE('2008-07-07 12:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53656
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:05 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53656
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:05 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Column SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Element_ID=53656
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53656) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', AD_Element_ID=53656 WHERE UPPER(ColumnName)='PLANNINGHORIZON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Element_ID=53656 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Planning Horizon', Name='Planning Horizon' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53656)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Planning Horizon', Name='Planning Horizon' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53656)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:26 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56150,53656,0,11,487,'PlanningHorizon',TO_DATE('2008-07-07 12:23:24','YYYY-MM-DD HH24:MI:SS'),0,'0','The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','EE01',22,'The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','Y','N','N','N','N','N','N','N','N','N','Y','Planning Horizon',0,TO_DATE('2008-07-07 12:23:24','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:26 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56150 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:31 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
ALTER TABLE S_Resource ADD PlanningHorizon NUMBER(10) DEFAULT 0
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:42 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56150,56280,0,53015,TO_DATE('2008-07-07 12:24:21','YYYY-MM-DD HH24:MI:SS'),0,'The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.',22,'EE01','The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','Y','Y','Y','N','N','N','N','N','Planning Horizon',TO_DATE('2008-07-07 12:24:21','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:42 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56280 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53293
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53294
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53302
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53303
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53304
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:26:04 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-07 12:26:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:26:24 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-07-07 12:26:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53296
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53293
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53292
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53291
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53297
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53294
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:35:03 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsManufacturingResource@=''Y'' & @ManufacturingResourceType@=''PT''',Updated=TO_DATE('2008-07-07 12:35:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:35:50 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-07 12:35:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56280
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,269 @@
|
||||||
|
-- Jun 26, 2008 12:37:51 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Element (AD_Org_ID,UpdatedBy,Updated,PrintName,Name,IsActive,Help,EntityType,Description,CreatedBy,Created,ColumnName,AD_Element_ID,AD_Client_ID) VALUES (0,100,TO_DATE('2008-06-26 12:37:50','YYYY-MM-DD HH24:MI:SS'),'Autocomplete','Autocomplete','Y','The autocompletion uses all existing values (from the same client and organization) of the field.','D','Automatic completion for textfields',100,TO_DATE('2008-06-26 12:37:50','YYYY-MM-DD HH24:MI:SS'),'IsAutocomplete',53655,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:51 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, PrintName,PO_PrintName,PO_Name,PO_Help,PO_Description,Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.PrintName,t.PO_PrintName,t.PO_Name,t.PO_Help,t.PO_Description,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_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53655 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Element SET EntityType='D',Updated=TO_DATE('2008-06-26 12:37:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53655
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Column SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Element_ID=53655
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53655) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.', AD_Element_ID=53655 WHERE UPPER(ColumnName)='ISAUTOCOMPLETE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:38:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Element_ID=53655 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:38:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Autocomplete', Name='Autocomplete' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53655)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:38:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Autocomplete', Name='Autocomplete' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53655)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:11 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Column (AD_Org_ID,Version,UpdatedBy,Updated,SeqNo,Name,IsUpdateable,IsTranslated,IsSyncDatabase,IsSelectionColumn,IsParent,IsMandatory,IsKey,IsIdentifier,IsEncrypted,IsAlwaysUpdateable,IsActive,Help,FieldLength,EntityType,Description,DefaultValue,CreatedBy,Created,ColumnName,AD_Table_ID,AD_Reference_ID,AD_Element_ID,AD_Column_ID,AD_Client_ID) VALUES (0,0,100,TO_DATE('2008-06-26 12:39:10','YYYY-MM-DD HH24:MI:SS'),0,'Autocomplete','Y','N','N','N','N','Y','N','N','N','N','Y','The autocompletion uses all existing values (from the same client and organization) of the field.',1,'D','Automatic completion for textfields','N',100,TO_DATE('2008-06-26 12:39:10','YYYY-MM-DD HH24:MI:SS'),'IsAutocomplete',101,20,53655,56149,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:11 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56149 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:16 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-06-26 12:39:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56149
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:22 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
ALTER TABLE AD_Column ADD IsAutocomplete CHAR(1) DEFAULT 'N' CHECK (IsAutocomplete IN ('Y','N')) NOT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:40:30 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,UpdatedBy,Updated,Name,IsSameLine,IsReadOnly,IsHeading,IsFieldOnly,IsEncrypted,IsDisplayed,IsCentrallyMaintained,IsActive,Help,EntityType,DisplayLength,Description,CreatedBy,Created,AD_Tab_ID,AD_Field_ID,AD_Client_ID) VALUES (56149,0,100,TO_DATE('2008-06-26 12:40:30','YYYY-MM-DD HH24:MI:SS'),'Autocomplete','N','N','N','N','N','Y','Y','Y','The autocompletion uses all existing values (from the same client and organization) of the field.','D',1,'Automatic completion for textfields',100,TO_DATE('2008-06-26 12:40:30','YYYY-MM-DD HH24:MI:SS'),101,56279,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:40:31 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56279 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=2526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=171
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=54403
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=2574
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=2573
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=161
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=162
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=2370
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=169
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=10128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4941
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=50188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=168
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=159
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=825
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=4940
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=167
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=5121
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=5122
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:41 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@AD_Reference_ID@=10',Updated=TO_DATE('2008-06-26 12:53:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 12:51:57 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=380,Updated=TO_DATE('2008-07-29 12:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||||
|
;
|
||||||
|
|
||||||
|
drop view AD_FIELD_V;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_V
|
||||||
|
(AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID, AD_COLUMN_ID, NAME, DESCRIPTION, HELP, ISDISPLAYED,
|
||||||
|
DISPLAYLOGIC, DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD,
|
||||||
|
OBSCURETYPE, COLUMNNAME, COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE, ISKEY, ISPARENT, ISMANDATORY, ISIDENTIFIER,
|
||||||
|
ISTRANSLATED, AD_REFERENCE_VALUE_ID, CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID, ISALWAYSUPDATEABLE,
|
||||||
|
READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN, TABLENAME, VALUEMIN, VALUEMAX,
|
||||||
|
FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID, FIELDGROUPTYPE, ISCOLLAPSEDBYDEFAULT, INFOFACTORYCLASS, ISAUTOCOMPLETE) AS
|
||||||
|
SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
f.NAME, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) AS DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, COALESCE(f.AD_Reference_Value_ID, c.AD_Reference_Value_ID) AS AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID) AS AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
|
||||||
|
c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fg.NAME AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID, fg.FieldGroupType, fg.IsCollapsedByDefault,
|
||||||
|
COALESCE(f.InfoFactoryClass, c.InfoFactoryClass) as InfoFactoryClass,
|
||||||
|
c.IsAutocomplete
|
||||||
|
FROM AD_FIELD f
|
||||||
|
INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_VAL_RULE vr ON (vr.AD_Val_Rule_ID = COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID))
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
|
||||||
|
drop view AD_FIELD_VT;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_VT (AD_LANGUAGE, AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID,
|
||||||
|
AD_COLUMN_ID, NAME, DESCRIPTION, HELP, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE,
|
||||||
|
ISHEADING, ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE, COLUMNNAME, COLUMNSQL, FIELDLENGTH, VFORMAT,
|
||||||
|
DEFAULTVALUE, ISKEY, ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED, AD_REFERENCE_VALUE_ID, CALLOUT,
|
||||||
|
AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID, ISALWAYSUPDATEABLE, READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE,
|
||||||
|
ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN, TABLENAME, VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID,
|
||||||
|
FIELDGROUPTYPE, ISCOLLAPSEDBYDEFAULT, INFOFACTORYCLASS, ISAUTOCOMPLETE) AS
|
||||||
|
SELECT trl.AD_LANGUAGE, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
trl.NAME, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) AS DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, COALESCE(f.AD_Reference_Value_ID, c.AD_Reference_Value_ID) AS AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID) as AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fgt.NAME AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID, fg.FieldGroupType, fg.IsCollapsedByDefault,
|
||||||
|
COALESCE(f.InfoFactoryClass, c.InfoFactoryClass) as InfoFactoryClass,
|
||||||
|
c.IsAutocomplete
|
||||||
|
FROM AD_FIELD f
|
||||||
|
INNER JOIN AD_FIELD_TRL trl ON (f.AD_Field_ID = trl.AD_Field_ID)
|
||||||
|
INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP_TRL fgt ON
|
||||||
|
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_LANGUAGE=fgt.AD_LANGUAGE)
|
||||||
|
LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_VAL_RULE vr ON (vr.AD_Val_Rule_ID=COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID))
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,5 @@
|
||||||
|
-- Jul 11, 2008 3:04:33 AM COT
|
||||||
|
-- Changes to Payment Selection and Print
|
||||||
|
UPDATE AD_Column SET AD_Reference_Value_ID=343,Updated=TO_DATE('2008-07-11 03:04:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7719
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
-- Jul 7, 2008 1:24:00 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process SET Classname='org.eevolution.process.PP_Product_BOM_Check', Value='PP_Product_BOM',Updated=TO_DATE('2008-07-07 13:24:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=136
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:26:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process SET Description='Verify BOM Structure and Update Low Level',Updated=TO_DATE('2008-07-07 13:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=136
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:26:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=136
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:28:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET Description='Verify BOM Structure and Update Low Level', DisplayLogic='@IsSummary@=''N'' & @IsBOM@=''Y''',Updated=TO_DATE('2008-07-07 13:28:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3747
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:28:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=3747
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,67 @@
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
|
||||||
|
DROP TABLE FACT_ACCT_BALANCE
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW fact_acct_balance
|
||||||
|
AS
|
||||||
|
SELECT ad_client_id, ad_org_id, c_acctschema_id,
|
||||||
|
TRUNC (dateacct) as dateacct, account_id, postingtype,
|
||||||
|
m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
|
||||||
|
c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
|
||||||
|
c_locfrom_id, user1_id, user2_id, gl_budget_id,
|
||||||
|
COALESCE (SUM (amtacctdr), 0) as amtacctdr,
|
||||||
|
COALESCE (SUM (amtacctcr), 0) as amtacctcr,
|
||||||
|
COALESCE (SUM (qty), 0) as qty, MAX (createdby) as createdby,
|
||||||
|
MAX (created) as created, MAX (updatedby) as updatedby,
|
||||||
|
MAX (updated) as updated, MAX (isactive) as isactive,
|
||||||
|
MAX (c_subacct_id) as c_subacct_id, userelement1_id,
|
||||||
|
userelement2_id, MAX (c_projectphase_id) as c_projectphase_id,
|
||||||
|
MAX (c_projecttask_id) as c_projecttask_id
|
||||||
|
FROM fact_acct a
|
||||||
|
GROUP BY ad_client_id, ad_org_id, c_acctschema_id,
|
||||||
|
TRUNC (dateacct), account_id, postingtype,
|
||||||
|
m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
|
||||||
|
c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
|
||||||
|
c_locfrom_id, user1_id, user2_id,
|
||||||
|
userelement1_id, userelement2_id,
|
||||||
|
gl_budget_id
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE INDEX FACT_ACCT_TRUNC_DATEACCT ON FACT_ACCT (TRUNC(dateacct))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:27:48 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Table SET IsView='Y',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=547
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:31:01 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=283
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:32:35 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Menu SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=393
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:32:44 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:34:15 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:34:26 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:35:05 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454
|
||||||
|
;
|
|
@ -0,0 +1,766 @@
|
||||||
|
-- Jul 16, 2008 3:40:38 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,53018,53211,19,130,'AD_Org_ID',TO_DATE('2008-07-16 15:40:13','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','Organization',10,TO_DATE('2008-07-16 15:40:13','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:40:38 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53211 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:42:51 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1777,0,53018,53212,19,52002,'Resource',TO_DATE('2008-07-16 15:42:44','YYYY-MM-DD HH24:MI:SS'),100,'Resource','EE01',10,'Resource','Y','Y','N','N','Resource',10,TO_DATE('2008-07-16 15:42:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:42:51 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53212 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:47:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1514,0,53018,53213,17,154,'Priority',TO_DATE('2008-07-16 15:47:16','YYYY-MM-DD HH24:MI:SS'),100,'Priority','EE01',10,'Priority','Y','Y','N','N','Priority',70,TO_DATE('2008-07-16 15:47:16','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:47:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53213 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:49:11 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,459,0,53018,53214,19,189,'M_Warehouse_ID',TO_DATE('2008-07-16 15:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','N','N','Warehouse',80,TO_DATE('2008-07-16 15:49:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:49:11 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53214 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:54:22 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53018,53215,30,'Product',TO_DATE('2008-07-16 15:54:14','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',90,TO_DATE('2008-07-16 15:54:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:54:22 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53215 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:17 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_TypeMRP',Updated=TO_DATE('2008-07-16 15:55:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:17 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:44 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Forecast',Updated=TO_DATE('2008-07-16 15:55:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:44 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Manufacturing Order',Updated=TO_DATE('2008-07-16 15:56:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Purchase Order',Updated=TO_DATE('2008-07-16 15:56:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53277
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53277
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:10 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Material Requisition',Updated=TO_DATE('2008-07-16 15:57:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:10 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:25 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Orden de Venta',Updated=TO_DATE('2008-07-16 15:57:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:25 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53435,53229,TO_DATE('2008-07-16 16:00:10','YYYY-MM-DD HH24:MI:SS'),100,'EE01','Y','Distribution Order',TO_DATE('2008-07-16 16:00:10','YYYY-MM-DD HH24:MI:SS'),100,'DOO')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
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=53435 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Sales Order',Updated=TO_DATE('2008-07-16 16:00:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:47 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_PP_MRP Type',Updated=TO_DATE('2008-07-16 16:01:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:47 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Demand',Updated=TO_DATE('2008-07-16 16:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:02:07 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Supply',Updated=TO_DATE('2008-07-16 16:02:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53281
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:02:07 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53281
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:14:52 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-16 16:14:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:15:43 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET AD_Reference_ID=17, AD_Reference_Value_ID=319,Updated=TO_DATE('2008-07-16 16:15:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:20:49 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='S_Resource_ID',Updated=TO_DATE('2008-07-16 16:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53212
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:21:05 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_DATE('2008-07-16 16:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53212
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:21:17 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-07-16 16:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53214
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:21:54 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-07-16 16:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:04 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-07-16 16:22:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53057
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:33 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-07-16 16:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:49 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-07-16 16:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-07-16 16:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:11 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_DATE('2008-07-16 16:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:15 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_DATE('2008-07-16 16:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:23 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_DATE('2008-07-16 16:23:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:36 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-07-16 16:23:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:26:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,290,0,53018,53217,10,'DocumentNo',TO_DATE('2008-07-16 16:25:51','YYYY-MM-DD HH24:MI:SS'),100,'Document sequence number of the document','EE01',40,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".','Y','Y','N','N','Document No',100,TO_DATE('2008-07-16 16:25:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:26:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53217 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:28:28 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='M_Product_ID',Updated=TO_DATE('2008-07-16 16:28:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:28:50 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_DATE('2008-07-16 16:28:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53217
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:29:53 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-07-16 16:29:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-07-16 16:30:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:06 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-07-16 16:30:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:12 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_DATE('2008-07-16 16:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53213
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_DATE('2008-07-16 16:30:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:31 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_DATE('2008-07-16 16:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53217
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:38 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=120,Updated=TO_DATE('2008-07-16 16:30:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:59 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET Description='Is MPS',Updated=TO_DATE('2008-07-16 16:30:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:59 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET EntityType='EE01',Updated=TO_DATE('2008-07-16 16:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:31 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_MRP Order Type',Updated=TO_DATE('2008-07-16 16:47:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:31 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:37 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=52020, AD_Reference_ID=17, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description=NULL, Help=NULL, Name='OrderType',Updated=TO_DATE('2008-07-16 16:47:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:37 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=54055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:37 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='OrderType', Description=NULL, Help=NULL WHERE AD_Column_ID=54055 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:15 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Description='MRP type can be a Demand or Supply', Name='_Type MRP',Updated=TO_DATE('2008-07-16 16:49:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:15 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=53282, AD_Reference_ID=17, AD_Reference_Value_ID=53230, ColumnName='TypeMRP', Description=NULL, Help=NULL, Name='TypeMRP',Updated=TO_DATE('2008-07-16 16:49:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=54054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='TypeMRP', Description=NULL, Help=NULL WHERE AD_Column_ID=54054 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:50:46 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=52020, AD_Reference_ID=17, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description=NULL, Help=NULL, Name='OrderType',Updated=TO_DATE('2008-07-16 16:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53440
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:50:46 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53440
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:50:46 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='OrderType', Description=NULL, Help=NULL WHERE AD_Column_ID=53440 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:59:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=53282, ColumnName='TypeMRP', Description=NULL, Help=NULL, Name='TypeMRP',Updated=TO_DATE('2008-07-16 16:59:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53439
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:59:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53439
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:59:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='TypeMRP', Description=NULL, Help=NULL WHERE AD_Column_ID=53439 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:00:22 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_MRP Type',Updated=TO_DATE('2008-07-16 17:00:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:00:23 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:02:13 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=53230,Updated=TO_DATE('2008-07-16 17:02:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53439
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE PP_MRP RENAME COLUMN Type TO OrderType;
|
||||||
|
|
||||||
|
ALTER TABLE PP_MRP MODIFY (OrderType NVARCHAR2(3));
|
||||||
|
|
||||||
|
ALTER TABLE PP_MRP MODIFY (TypeMRP CHAR(1));
|
||||||
|
|
||||||
|
create or replace FUNCTION documentNo
|
||||||
|
(
|
||||||
|
p_PP_MRP_ID IN pp_mrp.pp_mrp_id%TYPE DEFAULT 0)
|
||||||
|
RETURN pp_mrp.value%TYPE
|
||||||
|
/*************************************************************************
|
||||||
|
* Function documentNofunc - PL/SQL equivalent to pljava SQLJ function
|
||||||
|
* Author: Tony Snook (tspc)
|
||||||
|
************************************************************************/
|
||||||
|
AS
|
||||||
|
v_DocumentNo pp_mrp.value%TYPE := '';
|
||||||
|
|
||||||
|
CURSOR cur
|
||||||
|
IS
|
||||||
|
SELECT ordertype, m_forecast_id, c_order_id, dd_order_id, pp_order_id, m_requisition_id
|
||||||
|
FROM pp_mrp
|
||||||
|
WHERE pp_mrp_id = p_pp_mrp_id;
|
||||||
|
|
||||||
|
rec cur%ROWTYPE;
|
||||||
|
|
||||||
|
BEGIN
|
||||||
|
-- If NO id return null
|
||||||
|
IF p_PP_MRP_ID = 0 THEN
|
||||||
|
CLOSE cur;
|
||||||
|
RETURN '';
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
CASE
|
||||||
|
WHEN rec.ordertype = 'FTC' THEN
|
||||||
|
SELECT f.Name INTO v_DocumentNo FROM M_Forecast f WHERE f.M_Forecast_ID=rec.M_Forecast_ID;
|
||||||
|
WHEN rec.ordertype = 'POO' THEN
|
||||||
|
SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=rec.C_Order_ID;
|
||||||
|
WHEN rec.ordertype = 'DOO' THEN
|
||||||
|
SELECT do.DocumentNo INTO v_DocumentNo FROM DD_Order DO WHERE do.DD_Order_ID=rec.DD_Order_ID;
|
||||||
|
WHEN rec.ordertype = 'SOO' THEN
|
||||||
|
SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=rec.C_Order_ID;
|
||||||
|
WHEN rec.ordertype = 'MOP' THEN
|
||||||
|
SELECT po.DocumentNo INTO v_DocumentNo FROM PP_Order po WHERE po.PP_Order_ID=rec.PP_Order_ID;
|
||||||
|
WHEN rec.ordertype = 'POR' THEN
|
||||||
|
SELECT r.DocumentNo INTO v_DocumentNo FROM M_Requisition r WHERE r.M_Requisition_ID=rec.M_Requisition_ID;
|
||||||
|
ELSE
|
||||||
|
v_documentno := '';
|
||||||
|
END CASE;
|
||||||
|
|
||||||
|
CLOSE cur;
|
||||||
|
--
|
||||||
|
RETURN v_DocumentNo;
|
||||||
|
END documentNo;
|
||||||
|
/
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_mrp;
|
||||||
|
|
||||||
|
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.ordertype,
|
||||||
|
mrp.typemrp,
|
||||||
|
documentNo(mrp.pp_mrp_id) AS documentNo
|
||||||
|
FROM pp_mrp mrp
|
||||||
|
LEFT JOIN pp_product_planning pp ON pp.m_product_id = mrp.m_product_id AND mrp.m_warehouse_id = pp.m_warehouse_id;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_operation_activity;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_bomline;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_receipt_issue;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_storage;
|
||||||
|
|
||||||
|
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
|
||||||
|
;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_transactions;
|
||||||
|
|
||||||
|
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
|
||||||
|
;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_product_bomline;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW rv_pp_product_bomline AS
|
||||||
|
SELECT
|
||||||
|
t.seqno,
|
||||||
|
t.levelno,
|
||||||
|
t.levels,
|
||||||
|
t.ad_client_id,
|
||||||
|
t.ad_org_id,
|
||||||
|
t.createdby,
|
||||||
|
t.updatedby,
|
||||||
|
t.updated,
|
||||||
|
t.created,
|
||||||
|
t.ad_pinstance_id,
|
||||||
|
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
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE AD_Column SET EntityType='EE01' WHERE AD_Table_ID=53021;
|
||||||
|
|
||||||
|
UPDATE AD_Table SET EntityType='EE01' WHERE AD_Table_ID=53021;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:18:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET AD_Element_ID=52020, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description='Order Type', Help='Order Type', Name='Order Type',Updated=TO_DATE('2008-07-16 17:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:18:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:18:35 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET AD_Reference_Value_ID=53230,Updated=TO_DATE('2008-07-16 17:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
|
||||||
|
;
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- Jul 18, 2008 11:52:19 AM COT
|
||||||
|
-- Cannot assign project to payment with charge
|
||||||
|
UPDATE AD_Column SET ReadOnlyLogic=NULL,Updated=TO_DATE('2008-07-18 11:52:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8554
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2008-07-18 12:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8554
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,360 @@
|
||||||
|
-- 18-jul-2008 19:14:17 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56177,1005,0,19,53088,'C_Activity_ID',TO_DATE('2008-07-18 19:14:05','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity','EE02',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','N','N','Y','Activity',0,TO_DATE('2008-07-18 19:14:05','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:14:17 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56177 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:16:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56178,550,0,19,53102,'C_Campaign_ID',TO_DATE('2008-07-18 19:16:34','YYYY-MM-DD HH24:MI:SS'),0,'Marketing Campaign','EE02',10,'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.','Y','N','N','N','N','N','N','N','N','N','Y','Campaign',0,TO_DATE('2008-07-18 19:16:34','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:16:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56178 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:17:37 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56179,112,0,19,53102,'AD_OrgTrx_ID',TO_DATE('2008-07-18 19:17:34','YYYY-MM-DD HH24:MI:SS'),0,'Performing or initiating organization','EE02',10,'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.','Y','N','N','N','N','N','N','N','N','N','Y','Trx Organization',0,TO_DATE('2008-07-18 19:17:34','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:17:37 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56179 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:17:58 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD C_Campaign_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:18:06 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD AD_OrgTrx_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:19:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56180,2073,0,19,53102,262,'C_ProjectPhase_ID',TO_DATE('2008-07-18 19:19:31','YYYY-MM-DD HH24:MI:SS'),0,'Phase of a Project','EE02',10,'Y','N','N','N','N','N','N','N','N','N','Y','Project Phase',0,TO_DATE('2008-07-18 19:19:31','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:19:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56180 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:19:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD C_ProjectPhase_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:20:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56181,2074,0,19,53102,263,'C_ProjectTask_ID',TO_DATE('2008-07-18 19:20:39','YYYY-MM-DD HH24:MI:SS'),0,'Actual Project Task in a Phase','EE02',10,'A Project Task in a Project Phase represents the actual work.','Y','N','N','N','N','N','N','N','N','N','Y','Project Task',0,TO_DATE('2008-07-18 19:20:39','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:20:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56181 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:20:43 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD C_ProjectTask_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:21:55 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56182,208,0,19,53102,'C_Project_ID',TO_DATE('2008-07-18 19:21:54','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project','EE02',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','N','N','Y','Project',0,TO_DATE('2008-07-18 19:21:54','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:21:55 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56182 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:21:57 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD C_Project_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:23:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56183,613,0,18,134,53102,'User1_ID',TO_DATE('2008-07-18 19:23:31','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','N','Y','User List 1',0,TO_DATE('2008-07-18 19:23:31','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:23:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56183 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:23:35 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD User1_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=614, AD_Reference_Value_ID=137, ColumnName='User2_ID', Description='User defined list element #2', Help='The user defined element displays the optional elements that have been defined for this account combination.', Name='User List 2',Updated=TO_DATE('2008-07-18 19:24:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56183
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56183
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
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=56183 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:06 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD User2_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:25:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56184,613,0,18,134,53102,'User1_ID',TO_DATE('2008-07-18 19:25:07','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','N','Y','User List 1',0,TO_DATE('2008-07-18 19:25:07','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:25:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56184 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:25:11 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement MODIFY User1_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Element SET Name='Manufacturing Order Activity', PrintName='Manufacturing Order Activity',Updated=TO_DATE('2008-07-18 19:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Column SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL, AD_Element_ID=53285 WHERE UPPER(ColumnName)='PP_ORDER_NODE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53285 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53285) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:09 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Activity', Name='Manufacturing Order Activity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53285)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56185,53285,0,19,53102,'PP_Order_Node_ID',TO_DATE('2008-07-18 19:27:35','YYYY-MM-DD HH24:MI:SS'),0,'EE02',10,'Y','N','N','N','N','N','N','N','N','N','Y','Manufacturing Order Activity',0,TO_DATE('2008-07-18 19:27:35','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56185 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD PP_Order_Node_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:30:21 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Department ADD C_Activity_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:05 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56177,56307,0,53109,TO_DATE('2008-07-18 19:31:04','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity',10,'EE02','Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','Y','N','N','N','N','N','Activity',TO_DATE('2008-07-18 19:31:04','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:06 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56307 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56178,56308,0,53124,TO_DATE('2008-07-18 19:31:36','YYYY-MM-DD HH24:MI:SS'),0,'Marketing Campaign',10,'EE02','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.','Y','Y','Y','N','N','N','N','N','Campaign',TO_DATE('2008-07-18 19:31:36','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56308 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56185,56309,0,53124,TO_DATE('2008-07-18 19:31:38','YYYY-MM-DD HH24:MI:SS'),0,10,'EE02','Y','Y','Y','N','N','N','N','N','Manufacturing Order Activity',TO_DATE('2008-07-18 19:31:38','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56309 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56182,56310,0,53124,TO_DATE('2008-07-18 19:31:39','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project',10,'EE02','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','N','N','Project',TO_DATE('2008-07-18 19:31:39','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56310 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:41 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56180,56311,0,53124,TO_DATE('2008-07-18 19:31:40','YYYY-MM-DD HH24:MI:SS'),0,'Phase of a Project',10,'EE02','Y','Y','Y','N','N','N','N','N','Project Phase',TO_DATE('2008-07-18 19:31:40','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:41 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56311 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:42 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56181,56312,0,53124,TO_DATE('2008-07-18 19:31:41','YYYY-MM-DD HH24:MI:SS'),0,'Actual Project Task in a Phase',10,'EE02','A Project Task in a Project Phase represents the actual work.','Y','Y','Y','N','N','N','N','N','Project Task',TO_DATE('2008-07-18 19:31:41','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:42 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56312 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:43 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56179,56313,0,53124,TO_DATE('2008-07-18 19:31:42','YYYY-MM-DD HH24:MI:SS'),0,'Performing or initiating organization',10,'EE02','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.','Y','Y','Y','N','N','N','N','N','Trx Organization',TO_DATE('2008-07-18 19:31:42','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:43 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56313 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:44 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56184,56314,0,53124,TO_DATE('2008-07-18 19:31:43','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1',10,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','Y','N','N','N','N','N','User List 1',TO_DATE('2008-07-18 19:31:43','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:44 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56314 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:45 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56183,56315,0,53124,TO_DATE('2008-07-18 19:31:44','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #2',10,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','Y','N','N','N','N','N','User List 2',TO_DATE('2008-07-18 19:31:44','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:45 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56315 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56313
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56308
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56314
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56315
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56311
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56312
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56310
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56309
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:33:53 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab SET Description='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Help='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Name='Activity',Updated=TO_DATE('2008-07-18 19:33:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:33:53 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:35:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab SET Description='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Help='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Name='Order Activity',Updated=TO_DATE('2008-07-18 19:35:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:35:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:05 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu SET Description='Activity Control', Name='Activity Control',Updated=TO_DATE('2008-07-18 19:36:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:05 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu SET Description='Show the Activity Control Transaction Details', Name='Activity Control Transaction Details',Updated=TO_DATE('2008-07-18 19:36:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53065
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
-- Column wrong in displaylogic
|
||||||
|
|
||||||
|
update ad_field
|
||||||
|
set displaylogic = '@IsOwned@=Y & @IsDepreciated@=Y'
|
||||||
|
where displaylogic = '@IsOwned@=Y & @IsDepeciated@=Y'
|
||||||
|
;
|
|
@ -0,0 +1,2 @@
|
||||||
|
-- placeholder
|
||||||
|
-- migration script just for postgresql
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,5 @@
|
||||||
|
-- 25-jul-2008 10:06:30 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE C_AcctSchema SET Period_OpenHistory=10000,Updated=TO_DATE('2008-07-25 10:06:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,60 @@
|
||||||
|
-- 25-jul-2008 10:39:47 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Role SET IsActive='N', UserLevel='S ',Updated=TO_DATE('2008-07-25 10:39:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Role SET IsActive='N', UserLevel='S ',Updated=TO_DATE('2008-07-25 10:39:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
DELETE FROM AD_Window_Access WHERE AD_Role_ID=50001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
INSERT INTO AD_Window_Access (AD_Window_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT w.AD_Window_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Window w INNER JOIN AD_Tab t ON (w.AD_Window_ID=t.AD_Window_ID) INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) WHERE t.SeqNo=(SELECT MIN(SeqNo) FROM AD_Tab xt WHERE xt.AD_Window_ID=w.AD_Window_ID)AND tt.AccessLevel IN ('4','7','6')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
DELETE FROM AD_Process_Access WHERE AD_Role_ID=50001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
INSERT INTO AD_Process_Access (AD_Process_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT DISTINCT p.AD_Process_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Process p WHERE AccessLevel IN ('4','7','6')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
DELETE FROM AD_Form_Access WHERE AD_Role_ID=50001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
INSERT INTO AD_Form_Access (AD_Form_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT f.AD_Form_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_Form f WHERE AccessLevel IN ('4','7','6')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
DELETE FROM AD_WorkFlow_Access WHERE AD_Role_ID=50001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
INSERT INTO AD_WorkFlow_Access (AD_WorkFlow_ID, AD_Role_ID, AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadWrite) SELECT w.AD_WorkFlow_ID, 50001,0,0,'Y', SysDate,100, SysDate,100,'Y' FROM AD_WorkFlow w WHERE AccessLevel IN ('4','7','6')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
DELETE FROM AD_Document_Action_Access WHERE AD_Role_ID=50001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 25-jul-2008 10:39:50 COT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 0,0,'Y', SysDate,100, SysDate,100, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID AND rol.AD_Role_ID=50001) )
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- 25.07.2008 21:48:11 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DefaultValue='Y', IsReadOnly='Y',Updated=TO_DATE('2008-07-25 21:48:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54515
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- Jul 26, 2008 5:50:38 PM COT
|
||||||
|
-- [ 1783032 ] Add DocAction parameter to Generate Invoices (manual) form
|
||||||
|
UPDATE AD_Val_Rule SET Code='DocStatus NOT IN (''DR'',''IP'') AND EXISTS (SELECT * FROM C_OrderLine WHERE C_Order.C_Order_ID=C_OrderLine.C_Order_ID AND QtyOrdered <> QtyInvoiced) AND IsSOTrx=''Y'' AND NOT EXISTS (SELECT * FROM C_Invoice i WHERE i.C_Order_ID=C_Order.C_Order_ID AND i.DocStatus IN (''IP'', ''CO'', ''CL''))',Updated=TO_DATE('2008-07-26 17:50:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=134
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
-- Jul 23, 2008 4:50:40 PM COT
|
||||||
|
-- [ 1810133 ] Add logging policy on column level
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53669,0,'IsAllowLogging',TO_DATE('2008-07-23 16:50:36','YYYY-MM-DD HH24:MI:SS'),100,'Determine if a column must be recorded into the change log','D','Y','IsAllowLogging','IsAllowLogging',TO_DATE('2008-07-23 16:50:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53669 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='Y',Name='RegistrarEnLog',PrintName='Registrar en Log de Cambios',Description='Determina si una columna debe ser registrada en el log de cambios',Updated=TO_DATE('2008-07-23 16:53:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53669 AND AD_Language='es_MX'
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56187,53669,0,20,101,'IsAllowLogging',TO_DATE('2008-07-23 16:55:42','YYYY-MM-DD HH24:MI:SS'),100,'Y','Determine if a column must be recorded into the change log','D',1,'Y','N','N','N','N','N','N','N','N','N','Y','IsAllowLogging',0,TO_DATE('2008-07-23 16:55:42','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56187 AND EXISTS (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_Column ADD IsAllowLogging CHAR(1) DEFAULT 'Y' CHECK (IsAllowLogging IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56187,56317,0,101,TO_DATE('2008-07-23 16:57:53','YYYY-MM-DD HH24:MI:SS'),100,'Determine if a column must be recorded into the change log',0,'D','Y','Y','Y','N','N','N','N','N','IsAllowLogging',370,0,TO_DATE('2008-07-23 16:57:53','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56317 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_Column SET IsAllowLogging = 'N' WHERE AD_Column_ID IN (6652, 6653)
|
||||||
|
;
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- Jul 22, 2008 3:46:17 PM COT
|
||||||
|
-- [ 2019115 ] Don't allow UoM change if product already used
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53043,0,TO_DATE('2008-07-22 15:46:13','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','UOM can''t be changed if the product has movements or costs','E',TO_DATE('2008-07-22 15:46:13','YYYY-MM-DD HH24:MI:SS'),100,'SaveUomError')
|
||||||
|
;
|
||||||
|
|
||||||
|
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=53043 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='UOM no puede ser modificado si el producto tiene movimientos o costos',Updated=TO_DATE('2008-07-22 15:47:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53043 AND AD_Language like 'es_%'
|
||||||
|
;
|
|
@ -0,0 +1,522 @@
|
||||||
|
-- Jul 26, 2008 7:59:19 PM CDT
|
||||||
|
-- POReference
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56246,952,0,10,323,'POReference',TO_DATE('2008-07-26 19:59:18','YYYY-MM-DD HH24:MI:SS'),100,'Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner','EE01',20,'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.','Y','N','N','N','N','N','N','N','N','N','Y','Order Reference',0,TO_DATE('2008-07-26 19:59:18','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 7:59:19 PM CDT
|
||||||
|
-- POReference
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56246 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 7:59:22 PM CDT
|
||||||
|
-- POReference
|
||||||
|
ALTER TABLE M_Movement ADD POReference NVARCHAR2(20)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:02 PM CDT
|
||||||
|
-- POReference
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56246,56323,0,259,TO_DATE('2008-07-26 20:00:01','YYYY-MM-DD HH24:MI:SS'),100,'Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner',20,'EE01','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.','Y','Y','Y','N','N','N','N','N','Order Reference',TO_DATE('2008-07-26 20:00:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:02 PM CDT
|
||||||
|
-- POReference
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=1000501 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56323
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=2726
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54046
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=2722
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=2725
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=10418
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=54047
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=54048
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=54049
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=54050
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=54051
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=54052
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=54053
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=54054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=7791
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=7788
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=7792
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=7793
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=7790
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=7789
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=10530
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=10529
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=9223
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=9222
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=9224
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=9221
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2727
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:30 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=5144
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:00:48 PM CDT
|
||||||
|
-- POReference
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-26 20:00:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56323
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=460
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=129
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=543
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=195
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000019
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=407
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=406
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=335
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=436
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=507
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=472
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=448
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=449
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53050
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53049
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=445
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53051
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=460
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=129
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=543
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=195
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000019
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=407
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=406
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=335
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=436
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=507
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=448
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=449
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53050
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53049
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=445
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=472
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53051
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=167
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=357
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=412
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=256
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=197
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=179
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=503
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=196
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=228
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=479
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=482
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=481
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=411
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=537
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=311
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=292
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=515
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=183, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=545
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=381
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53088
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53068
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53070
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=181
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 26, 2008 8:29:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=484
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,330 @@
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54010
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54029
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54035
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54027
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=54011
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=54036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=54037
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=54038
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:46:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=54039
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:47:14 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-07-27 14:47:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54035
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:54:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54029
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:54:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54010
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=54024
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=54033
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=54034
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=54029
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54010
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54035
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54027
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54011
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=54036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=54037
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=54038
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:55:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=54039
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53050
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53049
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=472
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53051
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=381
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53088
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53068
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=445
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:45 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:45 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:45 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53070
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:45 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=181
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:45 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=484
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53050
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53049
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53048, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53051
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=381
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53088
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53068
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=445
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=472
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53070
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=181
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 2:57:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=484
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:01:46 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Menu SET Name='Distribution Run Process',Updated=TO_DATE('2008-07-27 15:01:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:01:46 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:04:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process SET Description='Create Distribution Run orders based on Distribution List line items', Name='Distribution Run Orders', Value='M_DistributionRun Orders',Updated=TO_DATE('2008-07-27 15:04:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=1000037
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:04:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=1000037
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:04:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Menu SET Description='Create Distribution Run orders based on Distribution List line items', IsActive='Y', Name='Distribution Run Orders',Updated=TO_DATE('2008-07-27 15:04:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:04:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:32:28 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET Callout='org.compiere.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-07-27 15:32:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53933
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:32:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-07-27 15:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53933
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:33:12 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2008-07-27 15:33:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53948
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:33:18 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2008-07-27 15:33:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53929
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:33:23 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-07-27 15:33:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53954
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 27, 2008 3:33:29 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-07-27 15:33:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53928
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,134 @@
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:00:46 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53675,0,'CreateDO',TO_DATE('2008-07-29 11:00:37','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Create Distribution Order','Create Distribution Order',TO_DATE('2008-07-29 11:00:37','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:00:46 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53675 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:38 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53150,'1','org.eevolution.process.DistributionRunOrders',TO_DATE('2008-07-28 20:27:26','YYYY-MM-DD HH24:MI:SS'),0,'Create Distribution Run Orders based on Distribution List and redistribute the quantity into Distribution Plan line items','EE01','Please note that due to rounding, the total quantity of the order(s) is likely to be higher then the quantity entered.','Y','N','N','N','Distribution Run Orders','Y',0,0,TO_DATE('2008-07-28 20:27:26','YYYY-MM-DD HH24:MI:SS'),0,'M_DistributionRun Orders',NULL)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:38 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53150 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:39 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_DATE('2008-07-28 20:27:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:39 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:41 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,269,0,53150,53218,15,'DatePromised',TO_DATE('2008-07-28 20:27:40','YYYY-MM-DD HH24:MI:SS'),0,'Date Promised','EE01',8,'Date Promised','Y','Y','N','N','Date Promised',25,TO_DATE('2008-07-28 20:27:40','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:41 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53218 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:41 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_DATE('2008-07-28 20:27:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:41 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:42 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53675,0,53150,53219,20,'CreateDO',TO_DATE('2008-07-28 20:27:41','YYYY-MM-DD HH24:MI:SS'),0,'Create Distribution Order','EE01',1,'Create Distribution Order','Y','Y','N','N','Create Distribution Order',50,TO_DATE('2008-07-28 20:27:41','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:42 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53219 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:43 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2153,0,53150,53220,20,'IsTest',TO_DATE('2008-07-28 20:27:42','YYYY-MM-DD HH24:MI:SS'),0,'Test','EE01',1,'Execute in Test Mode','Y','Y','N','N','Test',40,TO_DATE('2008-07-28 20:27:42','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:43 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53220 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:43 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_DATE('2008-07-28 20:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:43 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:44 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2408,0,53150,53221,19,'M_DistributionList_ID',TO_DATE('2008-07-28 20:27:43','YYYY-MM-DD HH24:MI:SS'),0,'Distribution List','EE01',10,'Distribution Lists allow to distribute products to a selected list of partners','Y','N','Y','N','Distribution List',30,TO_DATE('2008-07-28 20:27:43','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:44 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53221 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:45 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,459,0,53150,53222,19,'M_Warehouse_ID',TO_DATE('2008-07-28 20:27:44','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point','EE01',10,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','Y','N','Warehouse',20,TO_DATE('2008-07-28 20:27:44','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:45 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53222 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:46 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,53150,53223,19,'AD_Org_ID',TO_DATE('2008-07-28 20:27:45','YYYY-MM-DD HH24:MI:SS'),0,'Organization','EE01',10,'Organizational entity within client','Y','Y','Y','N','Organization',10,TO_DATE('2008-07-28 20:27:45','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:46 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53223 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:48 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53184,0,53150,'P',TO_DATE('2008-07-28 20:27:47','YYYY-MM-DD HH24:MI:SS'),0,'Create Distribution Run Orders based on Distribution List and redistribute the quantity into Distribution Plan line items','EE01','Y','N','N','N','Distribution Run Orders',TO_DATE('2008-07-28 20:27:47','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:48 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53184 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:27:48 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
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,7, 10, 53184)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 8:59:40 PM CDT
|
||||||
|
-- Distribution Run Orders
|
||||||
|
UPDATE AD_Val_Rule SET Code='C_DocType.DocBaseType IN (''SOO'', ''POO'',''DOO'')',Updated=TO_DATE('2008-07-28 20:59:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=172
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,993 @@
|
||||||
|
SET DEFINE OFF;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:09 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,Description,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53144,'3',TO_DATE('2008-07-28 22:49:59','YYYY-MM-DD HH24:MI:SS'),0,'Distribution Order & Line View','EE01','Y','N','N','N','N','Y',150,'Distribution Order Detail','L','RV_DD_OrderDetail',TO_DATE('2008-07-28 22:49:59','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:09 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
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=53144 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:10 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53165,TO_DATE('2008-07-28 22:50:10','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table RV_DD_OrderDetail',1,'Y','N','Y','Y','RV_DD_OrderDetail','N',1000000,TO_DATE('2008-07-28 22:50:10','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:39 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56249,102,0,19,53144,'AD_Client_ID',TO_DATE('2008-07-28 22:50:36','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','N','N','Client',TO_DATE('2008-07-28 22:50:36','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:39 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56249 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:39 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56250,113,0,19,53144,'AD_Org_ID',TO_DATE('2008-07-28 22:50:39','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','N','N','Organization',TO_DATE('2008-07-28 22:50:39','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:39 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56250 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:41 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56251,348,0,20,53144,'IsActive',TO_DATE('2008-07-28 22:50:39','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','N','N','Active',TO_DATE('2008-07-28 22:50:39','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:41 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56251 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:42 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56252,245,0,16,53144,'Created',TO_DATE('2008-07-28 22:50:41','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','EE01',29,'The Created field indicates the date that this record was created.','Y','N','N','N','N','N','N','N','N','N','Created',TO_DATE('2008-07-28 22:50:41','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:42 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56252 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56253,246,0,18,110,53144,'CreatedBy',TO_DATE('2008-07-28 22:50:42','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','EE01',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','N','N','N','N','N','Created By',TO_DATE('2008-07-28 22:50:42','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:44 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56253 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:45 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56254,607,0,16,53144,'Updated',TO_DATE('2008-07-28 22:50:44','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','EE01',29,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','N','N','N','N','N','Updated',TO_DATE('2008-07-28 22:50:44','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:45 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56254 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:46 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56255,608,0,18,110,53144,'UpdatedBy',TO_DATE('2008-07-28 22:50:45','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','EE01',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','N','N','N','N','N','Updated By',TO_DATE('2008-07-28 22:50:45','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:46 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56255 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:47 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56256,558,0,19,53144,'C_Order_ID',TO_DATE('2008-07-28 22:50:46','YYYY-MM-DD HH24:MI:SS'),0,'Order','EE01',10,'The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you cloase an order, unshipped (backordered) quantities are cancelled.','Y','N','N','N','N','N','N','N','N','N','Order',TO_DATE('2008-07-28 22:50:46','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:47 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56256 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56257,289,0,17,53144,'DocStatus',TO_DATE('2008-07-28 22:50:47','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document','EE01',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','N','N','Document Status',TO_DATE('2008-07-28 22:50:47','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:48 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56257 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56258,287,0,17,53144,'DocAction',TO_DATE('2008-07-28 22:50:48','YYYY-MM-DD HH24:MI:SS'),0,'The targeted status of the document','EE01',2,'You find the current status in the Document Status field. The options are listed in a popup','Y','N','N','N','N','N','N','N','N','N','Document Action',TO_DATE('2008-07-28 22:50:48','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56258 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:50 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56259,196,0,19,53144,'C_DocType_ID',TO_DATE('2008-07-28 22:50:49','YYYY-MM-DD HH24:MI:SS'),0,'Document type or rules','EE01',10,'The Document Type determines document sequence and processing rules','Y','N','N','N','N','N','N','N','N','N','Document Type',TO_DATE('2008-07-28 22:50:49','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:50 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56259 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:51 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56260,351,0,20,53144,'IsApproved',TO_DATE('2008-07-28 22:50:50','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this document requires approval','EE01',1,'The Approved checkbox indicates if this document requires approval before it can be processed.','Y','N','N','N','N','N','N','N','N','N','Approved',TO_DATE('2008-07-28 22:50:50','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:51 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56260 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:53 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56261,1063,0,18,190,53144,'SalesRep_ID',TO_DATE('2008-07-28 22:50:51','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent','EE01',10,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','N','N','Sales Representative',TO_DATE('2008-07-28 22:50:51','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:53 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56261 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:54 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56262,2466,0,20,53144,'IsDropShip',TO_DATE('2008-07-28 22:50:53','YYYY-MM-DD HH24:MI:SS'),0,'Drop Shipments are sent from the Vendor directly to the Customer','EE01',1,'Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','N','N','N','N','N','N','N','N','N','Drop Shipment',TO_DATE('2008-07-28 22:50:53','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:54 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56262 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56263,138,0,19,53144,'AD_User_ID',TO_DATE('2008-07-28 22:50:54','YYYY-MM-DD HH24:MI:SS'),0,'User within the system - Internal or Business Partner Contact','EE01',10,'The User identifies a unique user in the system. This could be an internal user or a business partner contact','Y','N','N','N','N','N','N','N','N','N','User/Contact',TO_DATE('2008-07-28 22:50:54','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:55 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56263 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:56 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56264,952,0,10,53144,'POReference',TO_DATE('2008-07-28 22:50:55','YYYY-MM-DD HH24:MI:SS'),0,'Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner','EE01',20,'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.','Y','N','N','N','N','N','N','N','N','N','Order Reference',TO_DATE('2008-07-28 22:50:55','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:56 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56264 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:57 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56265,1106,0,20,53144,'IsSOTrx',TO_DATE('2008-07-28 22:50:56','YYYY-MM-DD HH24:MI:SS'),0,'This is a Sales Transaction','EE01',1,'The Sales Transaction checkbox indicates if this item is a Sales Transaction.','Y','N','N','N','N','N','N','N','N','N','Sales Transaction',TO_DATE('2008-07-28 22:50:56','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:57 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56265 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:58 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56266,550,0,19,53144,'C_Campaign_ID',TO_DATE('2008-07-28 22:50:57','YYYY-MM-DD HH24:MI:SS'),0,'Marketing Campaign','EE01',10,'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.','Y','N','N','N','N','N','N','N','N','N','Campaign',TO_DATE('2008-07-28 22:50:57','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:50:58 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56266 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:00 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56267,208,0,19,53144,'C_Project_ID',TO_DATE('2008-07-28 22:50:58','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project','EE01',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','N','N','Project',TO_DATE('2008-07-28 22:50:58','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:00 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56267 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:01 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56268,1005,0,19,53144,'C_Activity_ID',TO_DATE('2008-07-28 22:51:00','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity','EE01',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','N','N','Activity',TO_DATE('2008-07-28 22:51:00','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:01 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56268 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56269,53313,0,19,53144,'DD_OrderLine_ID',TO_DATE('2008-07-28 22:51:01','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Distribution Order Line',TO_DATE('2008-07-28 22:51:01','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56269 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:03 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56270,268,0,16,53144,'DateOrdered',TO_DATE('2008-07-28 22:51:02','YYYY-MM-DD HH24:MI:SS'),0,'Date of Order','EE01',29,'Indicates the Date an item was ordered.','Y','N','N','N','N','N','N','N','N','N','Date Ordered',TO_DATE('2008-07-28 22:51:02','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:03 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56270 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:04 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56271,269,0,16,53144,'DatePromised',TO_DATE('2008-07-28 22:51:03','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised','EE01',29,'The Date Promised indicates the date, if any, that an Order was promised for.','Y','N','N','N','N','N','N','N','N','N','Date Promised',TO_DATE('2008-07-28 22:51:03','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:04 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56271 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:05 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56272,454,0,19,53144,'M_Product_ID',TO_DATE('2008-07-28 22:51:04','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','N','N','Product',TO_DATE('2008-07-28 22:51:04','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:05 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56272 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:06 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56273,448,0,19,53144,'M_Locator_ID',TO_DATE('2008-07-28 22:51:05','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator','EE01',10,'The Locator indicates where in a Warehouse a product is located.','Y','N','N','N','N','N','N','N','N','N','Locator',TO_DATE('2008-07-28 22:51:05','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:06 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56273 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:07 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56274,1029,0,19,53144,'M_LocatorTo_ID',TO_DATE('2008-07-28 22:51:06','YYYY-MM-DD HH24:MI:SS'),0,'Location inventory is moved to','EE01',10,'The Locator To indicates the location where the inventory is being moved to.','Y','N','N','N','N','N','N','N','N','N','Locator To',TO_DATE('2008-07-28 22:51:06','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:07 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56274 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:08 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56275,2019,0,35,53144,'M_AttributeSetInstance_ID',TO_DATE('2008-07-28 22:51:07','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance','EE01',10,'The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','N','N','N','N','N','N','N','N','N','Attribute Set Instance',TO_DATE('2008-07-28 22:51:07','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:08 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56275 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:09 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56276,2679,0,14,53144,'ProductAttribute',TO_DATE('2008-07-28 22:51:08','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Instance Description','EE01',2147483647,'Y','N','N','N','N','N','N','N','N','N','Product Attribute',TO_DATE('2008-07-28 22:51:08','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:09 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56276 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:10 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56277,2799,0,19,53144,'M_AttributeSetInstanceTo_ID',TO_DATE('2008-07-28 22:51:09','YYYY-MM-DD HH24:MI:SS'),0,'Target Product Attribute Set Instance','EE01',10,'Y','N','N','N','N','N','N','N','N','N','Attribute Set Instance To',TO_DATE('2008-07-28 22:51:09','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:10 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56277 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53674,0,'productattributeto',TO_DATE('2008-07-28 22:51:10','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','productattributeto','productattributeto',TO_DATE('2008-07-28 22:51:10','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:11 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53674 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:12 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56278,53674,0,14,53144,'productattributeto',TO_DATE('2008-07-28 22:51:10','YYYY-MM-DD HH24:MI:SS'),0,'EE01',2147483647,'Y','N','N','N','N','N','N','N','N','N','productattributeto',TO_DATE('2008-07-28 22:51:10','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:12 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56278 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:13 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56279,2017,0,19,53144,'M_AttributeSet_ID',TO_DATE('2008-07-28 22:51:12','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set','EE01',10,'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.','Y','N','N','N','N','N','N','N','N','N','Attribute Set',TO_DATE('2008-07-28 22:51:12','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:13 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56279 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:14 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56280,2021,0,19,53144,'M_Lot_ID',TO_DATE('2008-07-28 22:51:13','YYYY-MM-DD HH24:MI:SS'),0,'Product Lot Definition','EE01',10,'The individual Lot of a Product','Y','N','N','N','N','N','N','N','N','N','Lot',TO_DATE('2008-07-28 22:51:13','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:14 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56280 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:15 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56281,1936,0,16,53144,'GuaranteeDate',TO_DATE('2008-07-28 22:51:14','YYYY-MM-DD HH24:MI:SS'),0,'Date when guarantee expires','EE01',29,'Date when the normal guarantee or availability expires','Y','N','N','N','N','N','N','N','N','N','Guarantee Date',TO_DATE('2008-07-28 22:51:14','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:15 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56281 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:17 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56282,446,0,10,53144,'Lot',TO_DATE('2008-07-28 22:51:15','YYYY-MM-DD HH24:MI:SS'),0,'Lot number (alphanumeric)','EE01',40,'The Lot Number indicates the specific lot that a product was part of.','Y','N','N','N','N','N','N','N','N','N','Lot No',TO_DATE('2008-07-28 22:51:15','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:17 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56282 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:17 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56283,568,0,10,53144,'SerNo',TO_DATE('2008-07-28 22:51:17','YYYY-MM-DD HH24:MI:SS'),0,'Product Serial Number ','EE01',40,'The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.','Y','N','N','N','N','N','N','N','N','N','Serial No',TO_DATE('2008-07-28 22:51:17','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:17 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56283 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:18 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56284,215,0,19,53144,'C_UOM_ID',TO_DATE('2008-07-28 22:51:17','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','N','N','N','N','N','UOM',TO_DATE('2008-07-28 22:51:17','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:18 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56284 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:20 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56285,2589,0,29,53144,'QtyEntered',TO_DATE('2008-07-28 22:51:18','YYYY-MM-DD HH24:MI:SS'),0,'The Quantity Entered is based on the selected UoM','EE01',131089,'The Quantity Entered is converted to base product UoM quantity','Y','N','N','N','N','N','N','N','N','N','Quantity',TO_DATE('2008-07-28 22:51:18','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:20 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56285 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:20 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56286,531,0,29,53144,'QtyOrdered',TO_DATE('2008-07-28 22:51:20','YYYY-MM-DD HH24:MI:SS'),0,'Ordered Quantity','EE01',131089,'The Ordered Quantity indicates the quantity of a product that was ordered.','Y','N','N','N','N','N','N','N','N','N','Ordered Quantity',TO_DATE('2008-07-28 22:51:20','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:20 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56286 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:21 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56287,532,0,29,53144,'QtyReserved',TO_DATE('2008-07-28 22:51:20','YYYY-MM-DD HH24:MI:SS'),0,'Reserved Quantity','EE01',131089,'The Reserved Quantity indicates the quantity of a product that is currently reserved.','Y','N','N','N','N','N','N','N','N','N','Reserved Quantity',TO_DATE('2008-07-28 22:51:20','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:21 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56287 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:22 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56288,528,0,29,53144,'QtyDelivered',TO_DATE('2008-07-28 22:51:21','YYYY-MM-DD HH24:MI:SS'),0,'Delivered Quantity','EE01',131089,'The Delivered Quantity indicates the quantity of a product that has been delivered.','Y','N','N','N','N','N','N','N','N','N','Delivered Quantity',TO_DATE('2008-07-28 22:51:21','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:22 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56288 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:23 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56289,2386,0,29,53144,'ConfirmedQty',TO_DATE('2008-07-28 22:51:22','YYYY-MM-DD HH24:MI:SS'),0,'Confirmation of a received quantity','EE01',131089,'Confirmation of a received quantity','Y','N','N','N','N','N','N','N','N','N','Confirmed Quantity',TO_DATE('2008-07-28 22:51:22','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:23 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56289 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:24 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56290,53312,0,29,53144,'QtyInTransit',TO_DATE('2008-07-28 22:51:23','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','N','N','QtyInTransit',TO_DATE('2008-07-28 22:51:23','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:24 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56290 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56291,2436,0,29,53144,'TargetQty',TO_DATE('2008-07-28 22:51:24','YYYY-MM-DD HH24:MI:SS'),0,'Target Movement Quantity','EE01',131089,'The Quantity which should have been received','Y','N','N','N','N','N','N','N','N','N','Target Quantity',TO_DATE('2008-07-28 22:51:24','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56291 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:27 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56292,1250,0,29,53144,'QtyToDeliver',TO_DATE('2008-07-28 22:51:25','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','N','N','Qty to deliver',TO_DATE('2008-07-28 22:51:25','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:27 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56292 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:51:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET AD_Val_Rule_ID=129,Updated=TO_DATE('2008-07-28 22:51:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56249
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:52:05 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET AD_Val_Rule_ID=130,Updated=TO_DATE('2008-07-28 22:52:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56250
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:53:50 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET AD_Reference_Value_ID=135,Updated=TO_DATE('2008-07-28 22:53:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56258
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:54:01 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56293,53311,0,19,53144,'DD_Order_ID',TO_DATE('2008-07-28 22:53:59','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Distribution Order',TO_DATE('2008-07-28 22:53:59','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:54:01 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56293 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:54:35 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET AD_Reference_Value_ID=131,Updated=TO_DATE('2008-07-28 22:54:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56257
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:56:13 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=35,Updated=TO_DATE('2008-07-28 22:56:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56277
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:56:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=31,Updated=TO_DATE('2008-07-28 22:56:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56274
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:56:38 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=31,Updated=TO_DATE('2008-07-28 22:56:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56273
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Element SET ColumnName='ProductAttributeTo', Name='Product Attribute To', PrintName='Product Attribute To',Updated=TO_DATE('2008-07-28 22:59:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53674
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53674
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET ColumnName='ProductAttributeTo', Name='Product Attribute To', Description=NULL, Help=NULL WHERE AD_Element_ID=53674
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ProductAttributeTo', Name='Product Attribute To', Description=NULL, Help=NULL, AD_Element_ID=53674 WHERE UPPER(ColumnName)='PRODUCTATTRIBUTETO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ProductAttributeTo', Name='Product Attribute To', Description=NULL, Help=NULL WHERE AD_Element_ID=53674 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET Name='Product Attribute To', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53674) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:03 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Product Attribute To', Name='Product Attribute To' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53674)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Element SET Description='Product Attribute Instance Description',Updated=TO_DATE('2008-07-28 22:59:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53674
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53674
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET ColumnName='ProductAttributeTo', Name='Product Attribute To', Description='Product Attribute Instance Description', Help=NULL WHERE AD_Element_ID=53674
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ProductAttributeTo', Name='Product Attribute To', Description='Product Attribute Instance Description', Help=NULL, AD_Element_ID=53674 WHERE UPPER(ColumnName)='PRODUCTATTRIBUTETO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ProductAttributeTo', Name='Product Attribute To', Description='Product Attribute Instance Description', Help=NULL WHERE AD_Element_ID=53674 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 10:59:25 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET Name='Product Attribute To', Description='Product Attribute Instance Description', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53674) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:07 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:20 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56291
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:27 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56292
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:34 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56287
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:40 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56286
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56290
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:00:54 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:00:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56288
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:01:00 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:01:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:01:06 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:01:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56264
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:01:23 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:01:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56289
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:02:49 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_ReportView (AD_Client_ID,AD_Org_ID,AD_ReportView_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy) VALUES (0,0,53023,53144,TO_DATE('2008-07-28 23:02:48','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','RV_DD_OrderDetail',TO_DATE('2008-07-28 23:02:48','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:04:34 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_ReportView_ID,AccessLevel,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53151,53023,'3',TO_DATE('2008-07-28 23:04:33','YYYY-MM-DD HH24:MI:SS'),0,'Distribution Order Detail Report','EE01','The report includes order detail information Distribution Orders.','Y','N','N','Y','N','Distribution Order Detail','Y',0,0,TO_DATE('2008-07-28 23:04:33','YYYY-MM-DD HH24:MI:SS'),0,'RV_DD_OrderDetail')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:04:34 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53151 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:04:34 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53151,0,TO_DATE('2008-07-28 23:04:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-07-28 23:04:34','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:04:34 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53151,103,TO_DATE('2008-07-28 23:04:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-07-28 23:04:34','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:04:34 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53151,50001,TO_DATE('2008-07-28 23:04:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-07-28 23:04:34','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:04:35 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53151,102,TO_DATE('2008-07-28 23:04:35','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-07-28 23:04:35','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:04:35 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53151,50002,TO_DATE('2008-07-28 23:04:35','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-07-28 23:04:35','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:06:31 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,196,0,53151,53224,19,52004,'C_DocType_ID',TO_DATE('2008-07-28 23:06:30','YYYY-MM-DD HH24:MI:SS'),0,'Document type or rules','EE01',0,'The Document Type determines document sequence and processing rules','Y','Y','N','N','Document Type',10,TO_DATE('2008-07-28 23:06:30','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:06:31 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53224 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:07:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,187,0,53151,53225,30,'C_BPartner_ID',TO_DATE('2008-07-28 23:07:21','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','EE01',0,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','N','N','Business Partner ',20,TO_DATE('2008-07-28 23:07:21','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:07:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53225 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:08:31 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53151,53226,30,'M_Product_ID',TO_DATE('2008-07-28 23:08:19','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',0,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',30,TO_DATE('2008-07-28 23:08:19','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:08:31 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53226 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:09:31 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,268,0,53151,53227,15,'DateOrdered',TO_DATE('2008-07-28 23:09:30','YYYY-MM-DD HH24:MI:SS'),0,'Date of Order','EE01',0,'Indicates the Date an item was ordered.','Y','Y','N','N','Date Ordered',40,TO_DATE('2008-07-28 23:09:30','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:09:31 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53227 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:10:29 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,269,0,53151,53228,15,'DatePromised',TO_DATE('2008-07-28 23:10:25','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised','EE01',0,'The Date Promised indicates the date, if any, that an Order was promised for.','Y','Y','N','Y','Date Promised',40,TO_DATE('2008-07-28 23:10:25','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:10:29 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53228 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:10:34 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET IsRange='Y',Updated=TO_DATE('2008-07-28 23:10:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53227
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:11:59 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,289,0,53151,53229,17,131,'DocStatus',TO_DATE('2008-07-28 23:11:54','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document','EE01',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','Y','Y','N','N','Document Status',50,TO_DATE('2008-07-28 23:11:54','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:11:59 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53229 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:13:57 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,448,0,53151,53230,19,'M_Locator_ID',TO_DATE('2008-07-28 23:13:56','YYYY-MM-DD HH24:MI:SS'),0,'Warehouse Locator','EE01',10,'The Locator indicates where in a Warehouse a product is located.','Y','Y','N','N','Locator',60,TO_DATE('2008-07-28 23:13:56','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:13:57 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53230 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:15:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1029,0,53151,53231,18,191,'M_LocatorTo_ID',TO_DATE('2008-07-28 23:15:00','YYYY-MM-DD HH24:MI:SS'),0,'Location inventory is moved to','EE01',10,'The Locator To indicates the location where the inventory is being moved to.','Y','Y','N','N','Locator To',60,TO_DATE('2008-07-28 23:15:00','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:15:02 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53231 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:15:18 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:15:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53224
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:15:23 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:15:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53225
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:15:28 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:15:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53226
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:15:37 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:15:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53227
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:15:51 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-07-28 23:15:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53228
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:16:01 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:16:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53228
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:16:14 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-28 23:16:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:16:32 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-07-28 23:16:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53231
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:16:50 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-07-28 23:16:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:18:10 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=54027
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:18:10 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:21 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53185,0,53151,'R',TO_DATE('2008-07-28 23:19:20','YYYY-MM-DD HH24:MI:SS'),0,'Distribution Order Detail Report','EE01','Y','N','N','N','Distribution Order Detail',TO_DATE('2008-07-28 23:19:20','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:21 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53185 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:21 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53185, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53185)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53105
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=381
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53088
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53068
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53185
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=445
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=472
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000041
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53070
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=181
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 28, 2008 11:19:43 PM CDT
|
||||||
|
-- Order Distribution
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=53066, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=484
|
||||||
|
;
|
||||||
|
|
||||||
|
--DROP VIEW RV_DD_ORDERDETAIL;
|
||||||
|
CREATE OR REPLACE VIEW RV_DD_ORDERDETAIL AS
|
||||||
|
SELECT l.AD_Client_ID, l.AD_Org_ID,
|
||||||
|
l.IsActive, l.Created, l.CreatedBy, l.Updated, l.UpdatedBy,
|
||||||
|
o.C_Order_ID, o.DocStatus, o.DocAction, o.C_DocType_ID, o.IsApproved, --o.IsCreditApproved,
|
||||||
|
o.SalesRep_ID,
|
||||||
|
o.IsDropShip,
|
||||||
|
o.AD_User_ID,
|
||||||
|
o.POReference,
|
||||||
|
o.IsSOTrx,
|
||||||
|
l.C_Campaign_ID, l.C_Project_ID, l.C_Activity_ID,
|
||||||
|
--l.C_ProjectPhase_ID, l.C_ProjectTask_ID,
|
||||||
|
l.DD_OrderLine_ID, l.DateOrdered, l.DatePromised, l.M_Product_ID, l.M_Locator_ID,l.M_LocatorTo_ID,
|
||||||
|
l.M_AttributeSetInstance_ID, productAttribute(l.M_AttributeSetInstance_ID) AS ProductAttribute,
|
||||||
|
l.M_AttributeSetInstanceTo_ID, productAttribute(l.M_AttributeSetInstanceTo_ID) AS ProductAttributeTo,
|
||||||
|
pasi.M_AttributeSet_ID, pasi.M_Lot_ID, pasi.GuaranteeDate, pasi.Lot, pasi.SerNo,
|
||||||
|
l.C_UOM_ID, l.QtyEntered, l.QtyOrdered, l.QtyReserved, l.QtyDelivered, l.Confirmedqty, l.Qtyintransit, l.TargetQty,
|
||||||
|
l.QtyOrdered-l.QtyDelivered AS QtyToDeliver
|
||||||
|
FROM DD_Order o
|
||||||
|
INNER JOIN DD_OrderLine l ON (o.DD_Order_ID=l.DD_Order_ID)
|
||||||
|
LEFT OUTER JOIN M_AttributeSetInstance pasi ON (l.M_AttributeSetInstance_ID=pasi.M_AttributeSetInstance_ID)
|
||||||
|
LEFT OUTER JOIN M_AttributeSetInstance pasito ON (l.M_AttributeSetInstanceTo_ID=pasito.M_AttributeSetInstance_ID);
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
-- Jul 29, 2008 2:35:59 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=55163
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 2:36:07 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=55163
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 2:36:07 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
DELETE FROM AD_Field WHERE AD_Field_ID=55163
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 2:36:16 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=55045
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 2:36:16 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
DELETE FROM AD_Column WHERE AD_Column_ID=55045
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE HR_Movement DROP COLUMN Posted;
|
|
@ -0,0 +1,87 @@
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:53:38 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53676,0,'IsInPayroll',TO_DATE('2008-07-29 11:53:37','YYYY-MM-DD HH24:MI:SS'),0,'Defined if any User Contact will be used for Calculate Payroll','EE02','Y','Is In Payroll','Is In Payroll',TO_DATE('2008-07-29 11:53:37','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:53:38 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53676 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:54:29 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,14619,56325,0,53108,TO_DATE('2008-07-29 11:54:27','YYYY-MM-DD HH24:MI:SS'),0,'How a Java Client connects to the server(s)',1,'D','Depending on the connection profile, different protocols are used and tasks are performed on the server rather then the client. Usually the user can select different profiles, unless it is enforced by the User or Role definition. The User level profile overwrites the Role based profile.','Y','Y','Y','N','N','N','N','N','Connection Profile',TO_DATE('2008-07-29 11:54:27','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:54:29 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56325 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:54:30 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,15975,56326,0,53108,TO_DATE('2008-07-29 11:54:29','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',40,'D','A search key allows you a fast method of finding a particular record.
|
||||||
|
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_DATE('2008-07-29 11:54:29','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:54:30 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56326 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:54:31 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,52066,56327,0,53108,TO_DATE('2008-07-29 11:54:30','YYYY-MM-DD HH24:MI:SS'),0,20,'D','Y','Y','Y','N','N','N','N','N','UserPIN',TO_DATE('2008-07-29 11:54:30','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:54:31 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56327 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:55:25 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56294,53676,0,20,114,'IsInPayroll',TO_DATE('2008-07-29 11:55:24','YYYY-MM-DD HH24:MI:SS'),0,'Defined if any User Contact will be used for Calculate Payroll','EE02',1,'Y','Y','N','N','N','N','N','N','N','N','N','Y','Is In Payroll',0,TO_DATE('2008-07-29 11:55:24','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:55:26 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56294 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:55:30 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
ALTER TABLE AD_User ADD IsInPayroll CHAR(1) CHECK (IsInPayroll IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:55:40 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56294,56328,0,53108,TO_DATE('2008-07-29 11:55:40','YYYY-MM-DD HH24:MI:SS'),0,'Defined if any User Contact will be used for Calculate Payroll',1,'EE02','Y','Y','Y','N','N','N','N','N','Is In Payroll',TO_DATE('2008-07-29 11:55:40','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:55:40 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56328 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:56:01 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56325
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:56:01 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56326
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:56:01 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56327
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 11:56:01 AM CDT
|
||||||
|
-- Fix Payroll bug
|
||||||
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56328
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
-- Jul 29, 2008 3:14:21 PM COT
|
||||||
|
-- [ 1979978 ] A_VALID_ASSET_COMBINATIONS in dict not in db
|
||||||
|
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2008-07-29 15:14:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55992
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2008-07-29 15:14:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55991
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table SET IsActive='N',Updated=TO_DATE('2008-07-29 15:14:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53140
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
-- Jul 29, 2008 4:04:35 PM CDT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=18, AD_Reference_Value_ID=130,Updated=TO_DATE('2008-07-29 16:04:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56179
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 4:05:00 PM CDT
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Column SET AD_Val_Rule_ID=104,Updated=TO_DATE('2008-07-29 16:05:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55055
|
||||||
|
;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
UPDATE AD_SYSTEM
|
||||||
|
SET releaseno = '352a',
|
||||||
|
VERSION = '2008-07-29'
|
||||||
|
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,50 @@
|
||||||
|
<project name="migrate-db-oracle-351a-352a" default="run-scripts" basedir=".">
|
||||||
|
<property file="../oracle.properties" />
|
||||||
|
<path id="lib.path">
|
||||||
|
<fileset dir="../../tools/lib">
|
||||||
|
<include name="**/*.jar" />
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
||||||
|
<classpath>
|
||||||
|
<fileset dir="../../tools/lib">
|
||||||
|
<include name="**/*.jar" />
|
||||||
|
</fileset>
|
||||||
|
</classpath>
|
||||||
|
</taskdef>
|
||||||
|
|
||||||
|
<target name="init">
|
||||||
|
<echo message="============================================================" />
|
||||||
|
<echo message=" Oracle database migration tool for Adempiere ERP" />
|
||||||
|
<echo message=" Adempiere Licese is GNU GPL License" />
|
||||||
|
<echo message="============================================================" />
|
||||||
|
<echo message="" file="sqlplus.log" append="false" />
|
||||||
|
<echo append="false" file="build.log" message="#Build log:${line.separator}${line.separator}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="run-scripts" depends="init">
|
||||||
|
<echo message="----- Running migration SQL scripts -----" />
|
||||||
|
<echo file="sqlplus.log" append="true" message="${line.separator}#Run Scripts:${line.separator}${line.separator}" />
|
||||||
|
<foreach param="file.name" target="load">
|
||||||
|
<path>
|
||||||
|
<fileset dir=".">
|
||||||
|
<include name="*.sql" />
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
</foreach>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="load">
|
||||||
|
<echo message="Loading file ${file.name}" />
|
||||||
|
<exec dir="${oracle.home}/bin" executable="${oracle.home}/bin/sqlplus" resultproperty="sqlplus.result" output="sqlplus.log" append="true">
|
||||||
|
<arg line="${oracle.connect.param}" />
|
||||||
|
<arg line="@${file.name}" />
|
||||||
|
</exec>
|
||||||
|
<echo message="File ${file.name} status ${sqlplus.result}" />
|
||||||
|
<echo append="true" file="build.log">File ${file.name} status ${sqlplus.result}</echo>
|
||||||
|
<echo append="true" file="build.log" message="${line.separator}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,122 @@
|
||||||
|
-- May 29, 2008 11:15:59 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53010,0,'1','org.eevolution.form.VInOutInvoiceGen',TO_TIMESTAMP('2008-05-29 23:15:59','YYYY-MM-DD HH24:MI:SS'),0,'Select and generate shipments & Invoices','D','Generate Shipments & Invoices from Orders.
|
||||||
|
Select the orders to generate the shipments & Invoices for.','Y','N','Generate Shipments & Invoices (manual)',TO_TIMESTAMP('2008-05-29 23:15:59','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:15:59 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53010 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:16:00 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53010,0,0,TO_TIMESTAMP('2008-05-29 23:16:00','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2008-05-29 23:16:00','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:18:19 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Menu (AD_Client_ID,AD_Form_ID,AD_Menu_ID,AD_Org_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53010,53132,0,'X',TO_TIMESTAMP('2008-05-29 23:18:19','YYYY-MM-DD HH24:MI:SS'),0,'Select and generate shipments & Invoices','D','Y','N','N','N','Generate Shipments & Invoices (manual)',TO_TIMESTAMP('2008-05-29 23:18:19','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 29, 2008 11:18:19 PM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53132 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53083
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=346
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53132
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=193
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=180
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=494
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 30, 2008 12:01:18 AM CDT
|
||||||
|
-- New Form Shipments & Invoices
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=444
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Element SET ColumnName='Implosion', Name='Implosion',Updated=TO_TIMESTAMP('2008-05-31 16:10:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Column SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Element_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Field SET Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53466) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.', AD_Element_ID=53466 WHERE UPPER(ColumnName)='IMPLOSION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Element_ID=53466 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Implosion', Name='Implosion' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53466)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:10:49 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Implosion', Name='Implosion' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53466)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- May 31, 2008 4:14:43 PM CDT
|
||||||
|
-- Fix Libero
|
||||||
|
ALTER TABLE T_BOMLine ADD COLUMN Implosion CHAR(1) DEFAULT 'N' CHECK (Implosion IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
-- June 1, 2008 1:20:00 PM EST
|
||||||
|
-- BF1981079 - MultiLevel BOM & Formula Detail
|
||||||
|
DROP VIEW rv_pp_product_bomline;
|
||||||
|
|
||||||
|
CREATE VIEW rv_pp_product_bomline (seqno, levelno, levels, ad_client_id, ad_org_id, createdby, updatedby, updated, created, ad_pinstance_id, implosion, m_product_id, isactive, pp_product_bom_id, pp_product_bomline_id, description, iscritical, componenttype, tm_product_id, c_uom_id, issuemethod, line, m_attributesetinstance_id, scrap, validfrom, validto, qtybom, qtybatch, isqtypercentage) AS
|
||||||
|
SELECT t.seqno, t.levelno, t.levels, t.ad_client_id, t.ad_org_id, t.createdby, t.updatedby, t.updated, t.created, t.ad_pinstance_id, t.implosion, t.sel_product_id, 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 t_bomline t
|
||||||
|
LEFT JOIN pp_product_bomline bl ON t.pp_product_bomline_id = bl.pp_product_bomline_id
|
||||||
|
ORDER BY t.seqno;
|
||||||
|
|
||||||
|
ALTER TABLE T_BOMLine DROP COLUMN Implotion;
|
|
@ -0,0 +1,188 @@
|
||||||
|
-- 02.06.2008 11:01:31 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53018
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:01:31 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
DELETE FROM AD_Tab WHERE AD_Tab_ID=53018
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:01:50 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Tab SET IsInsertRecord='N', TabLevel=1,Updated=TO_TIMESTAMP('2008-06-02 11:01:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53019
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:14 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,701,56255,0,53019,TO_TIMESTAMP('2008-06-02 11:03:12','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_TIMESTAMP('2008-06-02 11:03:12','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:14 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56255 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:14 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,1213,56256,0,53019,TO_TIMESTAMP('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_TIMESTAMP('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:14 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56256 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:15 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,316,56257,0,53019,TO_TIMESTAMP('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_TIMESTAMP('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:15 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56257 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,315,56258,0,53019,TO_TIMESTAMP('2008-06-02 11:03:15','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_TIMESTAMP('2008-06-02 11:03:15','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56258 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,313,56259,0,53019,TO_TIMESTAMP('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0,'Language for this entity',6,'D','The Language identifies the language to use for display and formatting','Y','Y','Y','N','N','N','N','N','Language',TO_TIMESTAMP('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:16 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56259 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:17 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,314,56260,0,53019,TO_TIMESTAMP('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_TIMESTAMP('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:17 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56260 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:18 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,1214,56261,0,53019,TO_TIMESTAMP('2008-06-02 11:03:17','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_TIMESTAMP('2008-06-02 11:03:17','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:18 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56261 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,317,56262,0,53019,TO_TIMESTAMP('2008-06-02 11:03:18','YYYY-MM-DD HH24:MI:SS'),0,'This column is translated',1,'D','The Translated checkbox indicates if this column is translated.','Y','Y','Y','N','N','N','N','N','Translated',TO_TIMESTAMP('2008-06-02 11:03:18','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56262 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,312,56263,0,53019,TO_TIMESTAMP('2008-06-02 11:03:19','YYYY-MM-DD HH24:MI:SS'),0,'Workflow or combination of tasks',22,'D','The Workflow field identifies a unique Workflow in the system.','Y','Y','Y','N','N','N','N','N','Workflow',TO_TIMESTAMP('2008-06-02 11:03:19','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:03:19 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56263 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56256
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56261
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56259
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56255
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56262
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56260
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56258
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:05:20 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56257
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:07:03 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-06-02 11:07:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56256
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:07:12 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsSameLine='Y',Updated=TO_TIMESTAMP('2008-06-02 11:07:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56261
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:07:25 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-06-02 11:07:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:08:21 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=40,Updated=TO_TIMESTAMP('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56259
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:08:21 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=80,Updated=TO_TIMESTAMP('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56258
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:08:21 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=90,Updated=TO_TIMESTAMP('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56257
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 02.06.2008 11:11:28 EEST
|
||||||
|
-- Fix Manufacturing Workflows window
|
||||||
|
UPDATE AD_Tab SET TabLevel=2,Updated=TO_TIMESTAMP('2008-06-02 11:11:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53026
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- 02.06.2008 11:29:41 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-02 11:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53295
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
-- Jun 2, 2008 9:43:00 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Column SET FieldLength=22, IsUpdateable='N',Updated=TO_TIMESTAMP('2008-06-02 21:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14866
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 2, 2008 9:43:14 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
ALTER TABLE R_IssueRecommendation DROP COLUMN R_IssueRecommendation_ID
|
||||||
|
;
|
||||||
|
ALTER TABLE R_IssueRecommendation ADD COLUMN R_IssueRecommendation_ID NUMERIC(10) NOT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE R_IssueRecommendation ADD CONSTRAINT r_issuerecommendation_pkey PRIMARY KEY (r_issuerecommendation_id)
|
||||||
|
;
|
||||||
|
ALTER TABLE R_IssueKnown ADD CONSTRAINT RIssueRecommendation_RIssueKno FOREIGN KEY (R_IssueRecommendation_ID) REFERENCES R_IssueRecommendation
|
||||||
|
;
|
|
@ -0,0 +1,114 @@
|
||||||
|
DROP VIEW c_invoiceline_v;
|
||||||
|
DROP VIEW rv_bpartneropen;
|
||||||
|
DROP VIEW c_invoice_v;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW C_INVOICE_V
|
||||||
|
(C_INVOICE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED,
|
||||||
|
CREATEDBY, UPDATED, UPDATEDBY, ISSOTRX, DOCUMENTNO,
|
||||||
|
DOCSTATUS, DOCACTION, PROCESSING, PROCESSED, C_DOCTYPE_ID,
|
||||||
|
C_DOCTYPETARGET_ID, C_ORDER_ID, DESCRIPTION, ISAPPROVED, ISTRANSFERRED,
|
||||||
|
SALESREP_ID, DATEINVOICED, DATEPRINTED, DATEACCT, C_BPARTNER_ID,
|
||||||
|
C_BPARTNER_LOCATION_ID, AD_USER_ID, POREFERENCE, DATEORDERED, C_CURRENCY_ID,
|
||||||
|
C_CONVERSIONTYPE_ID, PAYMENTRULE, C_PAYMENTTERM_ID, C_CHARGE_ID, M_PRICELIST_ID,
|
||||||
|
C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID, ISPRINTED, ISDISCOUNTPRINTED,
|
||||||
|
ISPAID, ISINDISPUTE, ISPAYSCHEDULEVALID, C_INVOICEPAYSCHEDULE_ID, INVOICECOLLECTIONTYPE,DUNNINGGRACE,
|
||||||
|
CHARGEAMT, TOTALLINES, GRANDTOTAL, MULTIPLIER, MULTIPLIERAP,
|
||||||
|
DOCBASETYPE, DUEDATE
|
||||||
|
)
|
||||||
|
AS
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, cast(null as numeric) AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType,i.DunningGrace,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END as numeric) AS ChargeAmt,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END as numeric) AS TotalLines,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END as numeric) AS GrandTotal,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END as numeric) AS Multiplier,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS numeric) as MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
, paymentTermDueDate(i.C_PaymentTerm_ID, i.DateInvoiced) as DueDate
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
WHERE i.IsPayScheduleValid<>'Y'
|
||||||
|
UNION
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType, i.DunningGrace,
|
||||||
|
null AS ChargeAmt,
|
||||||
|
null AS TotalLines,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
, ips.DueDate
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID)
|
||||||
|
WHERE i.IsPayScheduleValid='Y'
|
||||||
|
AND ips.IsValid='Y';
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW C_INVOICELINE_V
|
||||||
|
(AD_CLIENT_ID, AD_ORG_ID, C_INVOICELINE_ID, C_INVOICE_ID, SALESREP_ID,
|
||||||
|
C_BPARTNER_ID, M_PRODUCT_ID, DOCUMENTNO, DATEINVOICED, DATEACCT,
|
||||||
|
ISSOTRX, DOCSTATUS, LINENETAMT, LINELISTAMT, LINELIMITAMT,
|
||||||
|
LINEDISCOUNTAMT, LINEOVERLIMITAMT, QTYINVOICED, QTYENTERED, LINE,
|
||||||
|
C_ORDERLINE_ID, C_UOM_ID, C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID,
|
||||||
|
C_PROJECTPHASE_ID, C_PROJECTTASK_ID)
|
||||||
|
AS
|
||||||
|
SELECT il.AD_Client_ID, il.AD_Org_ID,
|
||||||
|
il.C_InvoiceLine_ID, i.C_Invoice_ID, i.SalesRep_ID,
|
||||||
|
i.C_BPartner_ID, il.M_Product_ID,
|
||||||
|
i.DocumentNo, i.DateInvoiced, i.DateAcct,
|
||||||
|
i.IsSOTrx, i.DocStatus,
|
||||||
|
ROUND(i.Multiplier*LineNetAmt, 2) AS LineNetAmt,
|
||||||
|
ROUND(i.Multiplier*PriceList*QtyInvoiced, 2) AS LineListAmt,
|
||||||
|
CASE WHEN COALESCE(il.PriceLimit, 0)=0 THEN ROUND(i.Multiplier*LineNetAmt,2) ELSE ROUND(i.Multiplier*il.PriceLimit*il.QtyInvoiced,2) END AS LineLimitAmt,
|
||||||
|
ROUND(i.Multiplier*il.PriceList*il.QtyInvoiced-il.LineNetAmt,2) AS LineDiscountAmt,
|
||||||
|
CASE WHEN COALESCE(il.PriceLimit,0)=0 THEN 0 ELSE ROUND(i.Multiplier*il.LineNetAmt-il.PriceLimit*il.QtyInvoiced,2) END AS LineOverLimitAmt,
|
||||||
|
il.QtyInvoiced, il.QtyEntered,
|
||||||
|
il.Line, il.C_OrderLine_ID, il.C_UOM_ID,
|
||||||
|
il.C_Campaign_ID, il.C_Project_ID, il.C_Activity_ID, il.C_ProjectPhase_ID, il.C_ProjectTask_ID
|
||||||
|
FROM C_Invoice_v i, C_InvoiceLine il
|
||||||
|
WHERE i.C_Invoice_ID=il.C_Invoice_ID;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW RV_BPARTNEROPEN
|
||||||
|
(AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, C_BPARTNER_ID, C_CURRENCY_ID, AMT,
|
||||||
|
OPENAMT, DATEDOC, DAYSDUE, C_CAMPAIGN_ID, C_PROJECT_ID,
|
||||||
|
C_ACTIVITY_ID)
|
||||||
|
AS
|
||||||
|
SELECT i.AD_Client_ID,i.AD_Org_ID, i.IsActive, i.Created,i.CreatedBy,i.Updated,i.UpdatedBy,
|
||||||
|
i.C_BPartner_ID, i.C_Currency_ID,
|
||||||
|
i.GrandTotal*i.MultiplierAP AS Amt,
|
||||||
|
invoiceOpen (i.C_Invoice_ID, i.C_InvoicePaySchedule_ID)*i.MultiplierAP AS OpenAmt,
|
||||||
|
i.DateInvoiced AS DateDoc,
|
||||||
|
COALESCE(daysBetween(getdate(),ips.DueDate), paymentTermDueDays(C_PaymentTerm_ID,DateInvoiced,getdate())) AS DaysDue,
|
||||||
|
i.C_Campaign_ID, i.C_Project_ID, i.C_Activity_ID
|
||||||
|
FROM C_Invoice_v i
|
||||||
|
LEFT OUTER JOIN C_InvoicePaySchedule ips ON (i.C_InvoicePaySchedule_ID=ips.C_InvoicePaySchedule_ID)
|
||||||
|
WHERE i.IsPaid='N'
|
||||||
|
AND i.DocStatus IN ('CO','CL')
|
||||||
|
UNION
|
||||||
|
SELECT p.AD_Client_ID,p.AD_Org_ID, p.IsActive, p.Created,p.CreatedBy,p.Updated,p.UpdatedBy,
|
||||||
|
p.C_BPartner_ID, p.C_Currency_ID,
|
||||||
|
p.PayAmt*MultiplierAP*-1 AS Amt,
|
||||||
|
paymentAvailable(p.C_Payment_ID)*p.MultiplierAP*-1 AS OpenAmt,
|
||||||
|
p.DateTrx AS DateDoc,
|
||||||
|
null,
|
||||||
|
p.C_Campaign_ID, p.C_Project_ID, p.C_Activity_ID
|
||||||
|
FROM C_Payment_v p
|
||||||
|
WHERE p.IsAllocated='N' AND p.C_BPartner_ID IS NOT NULL
|
||||||
|
AND p.DocStatus IN ('CO','CL');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,140 @@
|
||||||
|
-- 03.06.2008 12:09:57 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DefaultValue='Y', IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-06-03 12:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53299
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:12:50 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-06-03 12:12:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53300
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:12:54 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-06-03 12:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:13:00 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-06-03 12:13:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53302
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:13:03 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-06-03 12:13:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53303
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:13:06 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-06-03 12:13:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53304
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53296
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53292
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53291
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:14:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53294
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element SET Name='Manufacturing Resource', PrintName='Manufacturing Resource',Updated=TO_TIMESTAMP('2008-06-03 12:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Column SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Element_ID=53232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53232) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL, AD_Element_ID=53232 WHERE UPPER(ColumnName)='ISMANUFACTURINGRESOURCE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Element_ID=53232 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Resource', Name='Manufacturing Resource' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53232)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:15:42 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Resource', Name='Manufacturing Resource' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53232)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:17:25 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='Y',Name='Resursa de productie',PrintName='Resursa de productie',Updated=TO_TIMESTAMP('2008-06-03 12:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53232 AND AD_Language='ro_RO'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element SET Name='Manufacturing Resource Type', PrintName='Manufacturing Resource Type',Updated=TO_TIMESTAMP('2008-06-03 12:19:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Column SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Field SET Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53233) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL, AD_Element_ID=53233 WHERE UPPER(ColumnName)='MANUFACTURINGRESOURCETYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53233 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Resource Type', Name='Manufacturing Resource Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53233)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:17 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Resource Type', Name='Manufacturing Resource Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53233)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 12:19:27 EEST
|
||||||
|
-- Fix Manufacturing Resource Window
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='Y',Name='Tip resursa productie',PrintName='Tip resursa productie',Updated=TO_TIMESTAMP('2008-06-03 12:19:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53233 AND AD_Language='ro_RO'
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
-- 03.06.2008 13:08:34 EEST
|
||||||
|
-- Fix AD_WF_Node.C_BPartner_ID reference
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 13:08:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53309
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 16:25:28 EEST
|
||||||
|
-- Fix PP_Product_Planning.AD_Workflow_ID : set AD_Val_Rule_ID=MFG WF
|
||||||
|
UPDATE AD_Column SET AD_Val_Rule_ID=52003,Updated=TO_TIMESTAMP('2008-06-03 16:25:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53377
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Create Product Planning unique contraint:
|
||||||
|
create unique index PP_Product_Planning_UQ on PP_Product_Planning (M_Product_ID, S_Resource_ID, M_Warehouse_ID, AD_Org_ID);
|
||||||
|
|
||||||
|
-- 03.06.2008 18:16:22 EEST
|
||||||
|
-- PP_Order_Node.A_Asset_ID set to Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:16:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53743
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 18:17:53 EEST
|
||||||
|
-- PP_Order_Node.C_BPartner_ID set to Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:17:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53460
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 03.06.2008 18:18:34 EEST
|
||||||
|
-- PP_MRP.C_BPartner_ID set to Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54025
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- M_Product_ID fields in Manufacturing tables should have AD_Reference_ID=Search
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30, IsUpdateable='N',Updated=TO_TIMESTAMP('2008-06-03 18:20:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53389
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:20:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53549
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53610
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53733
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53763
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53993
|
||||||
|
;
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-03 18:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54043
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,74 @@
|
||||||
|
-- 04-jun-2008 23:12:26 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
|
||||||
|
-- added first to fix [ 1985198 ] 196_FB1983672_refactory script failing
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE,
|
||||||
|
CREATED,
|
||||||
|
UPDATED, CREATEDBY,
|
||||||
|
UPDATEDBY, NAME, DESCRIPTION, VERSION,
|
||||||
|
ENTITYTYPE, COLUMNNAME, AD_TABLE_ID, AD_REFERENCE_ID,
|
||||||
|
FIELDLENGTH, ISKEY, ISPARENT, ISMANDATORY, ISUPDATEABLE,
|
||||||
|
READONLYLOGIC, ISIDENTIFIER, ISTRANSLATED, ISENCRYPTED,
|
||||||
|
ISSELECTIONCOLUMN, AD_ELEMENT_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE
|
||||||
|
)
|
||||||
|
VALUES (56076, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),
|
||||||
|
TO_TIMESTAMP('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'), 100,
|
||||||
|
100, 'Current Cost Price Low Level', 'The low level cost is using to accumulation the cost for low level in a bill of material or formula.', 0,
|
||||||
|
'EE01', 'CurrentCostPriceLL', 771, 37,
|
||||||
|
22, 'N', 'N', 'Y', 'Y',
|
||||||
|
'@CostingMethod@!x & @CostingMethod@!S', 'N', 'N', 'N',
|
||||||
|
'N', 53296, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:12:26 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
INSERT INTO AD_FIELD (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,NAME,Updated,UpdatedBy) VALUES (0,56076,56266,0,701,TO_TIMESTAMP('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),0,'The low level cost is using to accumulation the cost for low level in a bill of material or formula.',22,'EE01','The low level cost is using to accumulation the cost for low level in a bill of material or formula.','Y','Y','Y','N','N','N','N','N','Current Cost Price Low Level',TO_TIMESTAMP('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:12:26 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
INSERT INTO AD_FIELD_TRL (AD_LANGUAGE,AD_Field_ID, Description,Help,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Field_ID, t.Description,t.Help,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_FIELD t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56266 AND EXISTS (SELECT * FROM AD_FIELD_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56266
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=11352
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=12318
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=12175
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=12176
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:30 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=12319
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 04-jun-2008 23:14:39 CDT
|
||||||
|
-- Fix Libero
|
||||||
|
UPDATE AD_FIELD SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-06-04 23:14:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11352
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Add CurrentCostPriceLL column to database
|
||||||
|
ALTER TABLE M_Cost ADD COLUMN CurrentCostPriceLL NUMERIC DEFAULT 0;
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- 05.06.2008 20:16:23 EEST
|
||||||
|
-- Internal Use Inventory / Attributes it's an advanced tab
|
||||||
|
UPDATE AD_Tab SET IsAdvancedTab='Y',Updated=TO_TIMESTAMP('2008-06-05 20:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53134
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
-- Reset SeqNo for HR_Payroll.Value, there is already HR_Payroll.Name as identifier
|
||||||
|
update AD_Column set SeqNo=null
|
||||||
|
where AD_Column_ID=54887 and IsIdentifier='N' and SeqNo=1;
|
|
@ -0,0 +1,2 @@
|
||||||
|
update AD_Table set EntityType='EE01'
|
||||||
|
where TableName in ('RV_PP_MRP', 'RV_PP_Order_BOMLine', 'RV_PP_WIP') and EntityType<>'EE01';
|
|
@ -0,0 +1,17 @@
|
||||||
|
-- Jun 9, 2008 8:18:14 PM COT
|
||||||
|
-- [ 1989305 ] Missing GL Journal Batch in GardenWorld
|
||||||
|
INSERT INTO AD_Sequence (UpdatedBy,IsAutoSequence,AD_Org_ID,AD_Sequence_ID,Updated,CurrentNext,IsTableID,Created,StartNewYear,IsAudited,IncrementNo,AD_Client_ID,StartNo,Name,CurrentNextSys,CreatedBy,IsActive) VALUES (100,'Y',0,53162,TO_TIMESTAMP('2008-06-09 20:18:12','YYYY-MM-DD HH24:MI:SS'),100,'N',TO_TIMESTAMP('2008-06-09 20:18:12','YYYY-MM-DD HH24:MI:SS'),'N','N',1,11,1000,'GL Journal Batch',1002,100,'Y')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 9, 2008 8:18:33 PM COT
|
||||||
|
INSERT INTO C_DocType (IsSOTrx,UpdatedBy,IsDocNoControlled,AD_Org_ID,DocNoSequence_ID,Updated,DocumentCopies,HasCharges,C_DocType_ID,Created,IsDefault,GL_Category_ID,PrintName,AD_Client_ID,HasProforma,Name,CreatedBy,IsShipConfirm,IsPickQAConfirm,DocBaseType,IsDefaultCounterDoc,IsActive,IsSplitWhenDifference,IsCreateCounter,IsInTransit,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,IsIndexed) VALUES ('N',100,'Y',0,53162,TO_TIMESTAMP('2008-06-09 20:18:32','YYYY-MM-DD HH24:MI:SS'),0,'N',50001,TO_TIMESTAMP('2008-06-09 20:18:32','YYYY-MM-DD HH24:MI:SS'),'N',108,'Journal Batch',11,'N','GL Journal Batch',100,'N','N','GLJ','N','Y','N','Y','N','N','N','Y')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 9, 2008 8:18:34 PM COT
|
||||||
|
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=50001 AND EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.C_DocType_ID!=t.C_DocType_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 9, 2008 8:18:34 PM COT
|
||||||
|
INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 11,0,'Y', CURRENT_TIMESTAMP,100, CURRENT_TIMESTAMP,100, doctype.C_DocType_ID, "action".AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List "action" ON ("action".AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID) WHERE client.AD_Client_ID=11 AND doctype.C_DocType_ID=50001 AND rol.IsManual='N')
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
-- Jun 12, 2008 7:57:23 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-06-12 19:57:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=712
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 7:58:40 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
INSERT INTO AD_Process_Para (FieldLength,UpdatedBy,ColumnName,AD_Org_ID,AD_Process_Para_ID,SeqNo,Updated,Help,DefaultValue,Created,IsCentrallyMaintained,AD_Process_ID,AD_Client_ID,IsRange,AD_Reference_ID,EntityType,AD_Val_Rule_ID,Name,CreatedBy,IsMandatory,AD_Reference_Value_ID,IsActive,AD_Element_ID,Description) VALUES (1,100,'DocAction',0,53177,30,TO_TIMESTAMP('2008-06-12 19:58:39','YYYY-MM-DD HH24:MI:SS'),'You find the current status in the Document Status field. The options are listed in a popup','PR',TO_TIMESTAMP('2008-06-12 19:58:39','YYYY-MM-DD HH24:MI:SS'),'Y',343,0,'N',17,'D',219,'Document Action',100,'N',135,'Y',287,'The targeted status of the document')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 7:58:40 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53177 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 8:32:52 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
INSERT INTO AD_Val_Rule (UpdatedBy,Code,AD_Org_ID,Updated,Type,Created,AD_Client_ID,EntityType,AD_Val_Rule_ID,Name,CreatedBy,IsActive) VALUES (100,'AD_Ref_List.Value IN (''CO'')',0,TO_TIMESTAMP('2008-06-12 20:32:50','YYYY-MM-DD HH24:MI:SS'),'S',TO_TIMESTAMP('2008-06-12 20:32:50','YYYY-MM-DD HH24:MI:SS'),0,'D',52027,'List - DocAction - Complete',100,'Y')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 12, 2008 8:33:09 PM COT
|
||||||
|
-- FR 1992542 - Import Payment doesn't have DocAction parameter
|
||||||
|
UPDATE AD_Process_Para SET DefaultValue=NULL, AD_Val_Rule_ID=52027,Updated=TO_TIMESTAMP('2008-06-12 20:33:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53177
|
||||||
|
;
|
|
@ -0,0 +1,24 @@
|
||||||
|
-- Jun 15, 2008 12:35:47 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50029,Updated=TO_TIMESTAMP('2008-06-15 12:35:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 12:39:50 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50033,Updated=TO_TIMESTAMP('2008-06-15 12:39:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 1:09:43 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_WF_NodeNext SET SeqNo=100,Updated=TO_TIMESTAMP('2008-06-15 13:09:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_WF_NodeNext_ID=50010
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 1:13:45 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50016,Updated=TO_TIMESTAMP('2008-06-15 13:13:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 15, 2008 1:18:01 PM EST
|
||||||
|
-- Fix Manufacturing Workflows
|
||||||
|
UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50020,Updated=TO_TIMESTAMP('2008-06-15 13:18:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50006
|
||||||
|
;
|
|
@ -0,0 +1,15 @@
|
||||||
|
-- 20.06.2008 14:06:53 EEST
|
||||||
|
-- BF [ 1963128 ] Running a process w/o trl should display an error
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53038,0,TO_TIMESTAMP('2008-06-20 14:06:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Check Missing Translation Records','E',TO_TIMESTAMP('2008-06-20 14:06:43','YYYY-MM-DD HH24:MI:SS'),0,'CheckMissingTrl')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 20.06.2008 14:06:53 EEST
|
||||||
|
-- BF [ 1963128 ] Running a process w/o trl should display an error
|
||||||
|
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=53038 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 20.06.2008 14:08:39 EEST
|
||||||
|
-- BF [ 1963128 ] Running a process w/o trl should display an error
|
||||||
|
UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Lipsesc liniile de traducere',Updated=TO_TIMESTAMP('2008-06-20 14:08:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53038 AND AD_Language='ro_RO'
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
-- Jun 20, 2008 3:24:52 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Column SET AD_Val_Rule_ID=52002,Updated=TO_TIMESTAMP('2008-06-20 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:27:23 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2008-06-20 15:27:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:30:05 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET AD_Element_ID=1777, AD_Val_Rule_ID=52002,Updated=TO_TIMESTAMP('2008-06-20 15:30:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53035
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:32:17 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET AD_Val_Rule_ID=52003,Updated=TO_TIMESTAMP('2008-06-20 15:32:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:35:42 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53340,0,53010,53183,30,'DD_NetworkDistribution_ID',TO_TIMESTAMP('2008-06-20 15:35:33','YYYY-MM-DD HH24:MI:SS'),0,'Network Distribution','EE01',22,NULL,'Y','Y','N','N','Network Distribution',75,TO_TIMESTAMP('2008-06-20 15:35:33','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:35:42 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53183 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:37:05 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2008-06-20 15:37:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53660
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 3:38:45 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2008-06-20 15:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53183
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
-- Jun 20, 2008 6:33:56 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53354,0,53010,53184,29,'SafetyStock',TO_TIMESTAMP('2008-06-20 18:33:47','YYYY-MM-DD HH24:MI:SS'),0,'Safety Stock Qty','EE01',22,'Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.','Y','Y','N','N','Safety Stock Qty',130,TO_TIMESTAMP('2008-06-20 18:33:47','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 6:33:56 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53184 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 20, 2008 6:34:14 PM CDT
|
||||||
|
-- Fixed Libero Issue
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=105,Updated=TO_TIMESTAMP('2008-06-20 18:34:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53184
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT ddnetworkdistribution_ppproduc;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT adworkflow_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT mwarehouse_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT planner_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT ppproductbom_ppproductplanning;
|
||||||
|
ALTER TABLE PP_Product_Planning DROP CONSTRAINT sresource_ppproductplanning;
|
||||||
|
|
||||||
|
DROP INDEX pp_product_planning_uq;
|
|
@ -0,0 +1,265 @@
|
||||||
|
-- Jun 23, 2008 9:58:30 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
UPDATE AD_Table SET IsView='Y',Updated=TO_TIMESTAMP('2008-06-23 09:58:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53028
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:10 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56089,102,0,19,53028,'AD_Client_ID',TO_TIMESTAMP('2008-06-23 09:59:02','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','Client',TO_TIMESTAMP('2008-06-23 09:59:02','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:10 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56089 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56090,113,0,19,53028,'AD_Org_ID',TO_TIMESTAMP('2008-06-23 09:59:10','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','Organization',TO_TIMESTAMP('2008-06-23 09:59:10','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56090 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56091,246,0,18,110,53028,'CreatedBy',TO_TIMESTAMP('2008-06-23 09:59:11','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE01',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','Created By',TO_TIMESTAMP('2008-06-23 09:59:11','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 9:59:11 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56091 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56092,608,0,18,110,53028,'UpdatedBy',TO_TIMESTAMP('2008-06-23 11:04:30','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE01',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','Updated By',TO_TIMESTAMP('2008-06-23 11:04:30','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56092 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56093,607,0,16,53028,'Updated',TO_TIMESTAMP('2008-06-23 11:04:31','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE01',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','Updated',TO_TIMESTAMP('2008-06-23 11:04:31','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:31 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56093 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:32 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56094,245,0,16,53028,'Created',TO_TIMESTAMP('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE01',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','Created',TO_TIMESTAMP('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:32 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56094 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:33 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56095,348,0,20,53028,'IsActive',TO_TIMESTAMP('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Active',TO_TIMESTAMP('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:33 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56095 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:34 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56096,53298,0,19,53028,'PP_Order_BOM_ID',TO_TIMESTAMP('2008-06-23 11:04:33','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_BOM_ID',TO_TIMESTAMP('2008-06-23 11:04:33','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:34 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56096 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:35 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56097,53275,0,19,53028,'PP_Order_BOMLine_ID',TO_TIMESTAMP('2008-06-23 11:04:34','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_BOMLine_ID',TO_TIMESTAMP('2008-06-23 11:04:34','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:35 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56097 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:36 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56098,53276,0,19,53028,'PP_Order_ID',TO_TIMESTAMP('2008-06-23 11:04:35','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_ID',TO_TIMESTAMP('2008-06-23 11:04:35','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:36 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56098 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:37 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56099,53251,0,20,53028,'IsCritical',TO_TIMESTAMP('2008-06-23 11:04:36','YYYY-MM-DD HH24:MI:SS'),100,'Indicate that a Manufacturing Order can not begin without have this component','EE01',1,'Indicate that a Manufacturing Order can not begin without have this component','Y','N','N','N','N','Y','N','N','N','N','Is Critical Component',TO_TIMESTAMP('2008-06-23 11:04:36','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:37 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56099 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:38 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56100,53249,0,17,53028,'ComponentType',TO_TIMESTAMP('2008-06-23 11:04:37','YYYY-MM-DD HH24:MI:SS'),100,'Component Type for a Bill of Material or Formula','EE01',2,'The Component Type can be:
|
||||||
|
|
||||||
|
1.- By Product: Define a By Product as Component into BOM
|
||||||
|
2.- Component: Define a normal Component into BOM
|
||||||
|
3.- Option: Define an Option for Product Configure BOM
|
||||||
|
4.- Phantom: Define a Phantom as Component into BOM
|
||||||
|
5.- Packing: Define a Packing as Component into BOM
|
||||||
|
6.- Planning : Define Planning as Component into BOM
|
||||||
|
7.- Tools: Define Tools as Component into BOM
|
||||||
|
8.- Variant: Define Variant for Product Configure BOM
|
||||||
|
','Y','N','N','N','N','N','N','N','N','N','Component Type',TO_TIMESTAMP('2008-06-23 11:04:37','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:38 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56100 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:39 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56101,454,0,19,53028,'M_Product_ID',TO_TIMESTAMP('2008-06-23 11:04:38','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','Y','N','N','N','N','Product',TO_TIMESTAMP('2008-06-23 11:04:38','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:39 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56101 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:40 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56102,215,0,19,53028,'C_UOM_ID',TO_TIMESTAMP('2008-06-23 11:04:39','YYYY-MM-DD HH24:MI:SS'),100,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','Y','N','N','N','N','UOM',TO_TIMESTAMP('2008-06-23 11:04:39','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:40 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56102 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:41 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56103,53288,0,29,53028,'QtyRequiered',TO_TIMESTAMP('2008-06-23 11:04:40','YYYY-MM-DD HH24:MI:SS'),100,'EE01',22,'Y','N','N','N','N','N','N','N','N','N','QtyRequiered',TO_TIMESTAMP('2008-06-23 11:04:40','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:41 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56103 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:42 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56104,532,0,29,53028,'QtyReserved',TO_TIMESTAMP('2008-06-23 11:04:41','YYYY-MM-DD HH24:MI:SS'),100,'Reserved Quantity','EE01',22,'The Reserved Quantity indicates the quantity of a product that is currently reserved.','Y','N','N','N','N','N','N','N','N','N','Reserved Quantity',TO_TIMESTAMP('2008-06-23 11:04:41','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:42 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56104 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:43 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56105,2238,0,29,53028,'QtyAvailable',TO_TIMESTAMP('2008-06-23 11:04:42','YYYY-MM-DD HH24:MI:SS'),100,'Available Quantity (On Hand - Reserved)','EE01',22,'Quantity available to promise = On Hand minus Reserved Quantity','Y','N','N','N','N','N','N','N','N','N','Available Quantity',TO_TIMESTAMP('2008-06-23 11:04:42','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:43 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56105 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:44 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56106,530,0,29,53028,'QtyOnHand',TO_TIMESTAMP('2008-06-23 11:04:43','YYYY-MM-DD HH24:MI:SS'),100,'On Hand Quantity','EE01',22,'The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.','Y','N','N','N','N','N','N','N','N','N','On Hand Quantity',TO_TIMESTAMP('2008-06-23 11:04:43','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:44 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56106 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56107,459,0,19,53028,'M_Warehouse_ID',TO_TIMESTAMP('2008-06-23 11:04:44','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','EE01',10,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','Y','N','N','N','N','Warehouse',TO_TIMESTAMP('2008-06-23 11:04:44','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56107 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56108,53255,0,29,53028,'QtyBOM',TO_TIMESTAMP('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,'Indicate the Quantity use in this BOM','EE01',22,'Exist two way the add a compenent to a BOM or Formula:
|
||||||
|
|
||||||
|
1.- Adding a Component based in quantity to use in this BOM
|
||||||
|
2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula.
|
||||||
|
','Y','N','N','N','N','N','N','N','N','N','Quantity',TO_TIMESTAMP('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:45 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56108 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:46 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56109,53252,0,29,53028,'IsQtyPercentage',TO_TIMESTAMP('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,'Indicate that this component is based in % Quantity','EE01',1,'Indicate that this component is based in % Quantity','Y','N','N','N','N','N','N','N','N','N','Is Qty Percentage',TO_TIMESTAMP('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:46 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56109 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:47 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56110,53256,0,29,53028,'QtyBatch',TO_TIMESTAMP('2008-06-23 11:04:46','YYYY-MM-DD HH24:MI:SS'),100,'Indicate the Quantity % use in this Formula','EE01',22,'Exist two way the add a compenent to a BOM or Formula:
|
||||||
|
|
||||||
|
1.- Adding a Component based in quantity to use in this BOM
|
||||||
|
2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula.
|
||||||
|
','Y','N','N','N','N','N','N','N','N','N','Quantity %',TO_TIMESTAMP('2008-06-23 11:04:46','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:47 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56110 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:48 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56111,53243,0,29,53028,'QtyBatchSize',TO_TIMESTAMP('2008-06-23 11:04:47','YYYY-MM-DD HH24:MI:SS'),100,'EE01',22,'Y','N','N','N','N','N','N','N','N','N','QtyBatchSize',TO_TIMESTAMP('2008-06-23 11:04:47','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:04:48 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56111 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:15:46 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
UPDATE AD_Element SET PrintName='QtyRequired',Updated=TO_TIMESTAMP('2008-06-23 11:15:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53288
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 11:15:47 AM EST
|
||||||
|
-- RV_PP_Order_BOMLine dictionary columns
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='QtyRequired', Name='QtyRequiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53288)
|
||||||
|
;
|
|
@ -0,0 +1,20 @@
|
||||||
|
-- 23.06.2008 10:33:45 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-06-23 10:33:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54951
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 23.06.2008 10:33:47 EEST
|
||||||
|
--
|
||||||
|
insert into t_alter_column values('hr_payrollconcept','IsPrinted','CHAR(1)',null,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 23.06.2008 10:33:47 EEST
|
||||||
|
--
|
||||||
|
UPDATE HR_PayrollConcept SET IsPrinted='N' WHERE IsPrinted IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 23.06.2008 10:33:47 EEST
|
||||||
|
--
|
||||||
|
insert into t_alter_column values('hr_payrollconcept','IsPrinted',null,'NOT NULL',null)
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- 23.06.2008 12:02:32 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_TIMESTAMP('2008-06-23 12:02:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55104
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- Jun 25, 2008 9:00:46 AM EST
|
||||||
|
-- BF2001820
|
||||||
|
insert into t_alter_column values('pp_order_workflow','EntityType','VARCHAR(40)',null,'U')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 25, 2008 9:00:47 AM EST
|
||||||
|
-- BF2001820
|
||||||
|
UPDATE PP_Order_Workflow SET EntityType='U' WHERE EntityType IS NULL
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,204 @@
|
||||||
|
-- Jun 22, 2008 5:51:42 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-22 17:51:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53072
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:35 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53513
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:35 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53512
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:45 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-06-22 18:01:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53513
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:01:47 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-06-22 18:01:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53512
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:02:06 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET DisplayLength=30,Updated=TO_TIMESTAMP('2008-06-22 18:02:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54392
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:02:35 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-06-22 18:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55434
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:02:49 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-06-22 18:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53522
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:05:22 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@Order_Policy@=''POQ''',Updated=TO_TIMESTAMP('2008-06-22 18:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:08:03 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET AD_Column_ID=53389,Updated=TO_TIMESTAMP('2008-06-22 18:08:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:09:53 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-22 18:09:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:09:57 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-22 18:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53033
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:10:01 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-22 18:10:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:10:04 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-22 18:10:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53034
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53533
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53525
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53527
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53528
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53529
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53530
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53531
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53532
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:07 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54420
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:12:20 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-06-22 18:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53533
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:13:09 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53533
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:13:09 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53523
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:13:09 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53524
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:14:30 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2008-06-22 18:14:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53376
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:14:51 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2008-06-22 18:14:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:19:12 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Column SET IsUpdateable='N',Updated=TO_TIMESTAMP('2008-06-22 18:19:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53376
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:45:01 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-06-22 18:45:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53035
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:46:14 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=195,Updated=TO_TIMESTAMP('2008-06-22 18:46:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53052
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 22, 2008 6:46:40 PM CDT
|
||||||
|
-- New Event Model Validator
|
||||||
|
UPDATE AD_Process_Para SET DefaultValue='@Order_Policy@=''POQ''',Updated=TO_TIMESTAMP('2008-06-22 18:46:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53052
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:30:57 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53039,0,TO_TIMESTAMP('2008-06-23 00:30:56','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Do not exist default Locator for Warehouse','Do not exist default Locator for Warehouse','I',TO_TIMESTAMP('2008-06-23 00:30:56','YYYY-MM-DD HH24:MI:SS'),0,'DRP-001')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:30:57 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
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=53039 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:31:53 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53040,0,TO_TIMESTAMP('2008-06-23 00:31:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Do not exist Shipper for Create Distribution Order','Do not exist Shipper for Create Distribution Order','I',TO_TIMESTAMP('2008-06-23 00:31:52','YYYY-MM-DD HH24:MI:SS'),0,'DRP-030')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:31:53 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
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=53040 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:34:18 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-06-23 00:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54298
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:34:21 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
insert into t_alter_column values('dd_networkdistributionline','M_Shipper_ID','NUMERIC(10)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 23, 2008 12:35:46 AM CDT
|
||||||
|
-- Completed the DRP
|
||||||
|
insert into t_alter_column values('dd_networkdistributionline','M_Shipper_ID',null,'NOT NULL',null)
|
||||||
|
;
|
|
@ -0,0 +1,50 @@
|
||||||
|
-- Jun 26, 2008 9:57:54 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-26 09:57:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:19 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-26 09:58:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53033
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:28 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-26 09:58:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:36 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-06-26 09:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53034
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 9:58:43 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Tab SET AD_Column_ID=3668,Updated=TO_TIMESTAMP('2008-06-26 09:58:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53034
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53523
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53522
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53525
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:00:40 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53524
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 10:03:16 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-06-26 10:03:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53526
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
-- Jun 30, 2008 7:42:57 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,53014,53206,19,202,'AD_Org_ID',TO_TIMESTAMP('2008-06-30 19:42:51','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','Organization',10,TO_TIMESTAMP('2008-06-30 19:42:51','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:42:57 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53206 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:44:28 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1777,0,53014,53207,19,52002,'S_Resource_ID',TO_TIMESTAMP('2008-06-30 19:44:25','YYYY-MM-DD HH24:MI:SS'),0,'Resource','EE01',22,'Y','Y','Y','N','Resource',20,TO_TIMESTAMP('2008-06-30 19:44:25','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:44:28 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53207 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:46:01 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Process_Para SET AD_Val_Rule_ID=189,Updated=TO_TIMESTAMP('2008-06-30 19:46:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53133
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:46:15 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,459,0,53014,53208,19,189,'M_Warehouse_ID',TO_TIMESTAMP('2008-06-30 19:46:13','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','N','N','Warehouse',30,TO_TIMESTAMP('2008-06-30 19:46:13','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 30, 2008 7:46:15 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53208 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)
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
-- Mar 13, 2008 11:51:15 AM CET
|
||||||
|
UPDATE AD_Val_Rule SET Code='(
|
||||||
|
EXISTS (
|
||||||
|
/* UOM is a default UOM and no product selected */
|
||||||
|
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 (
|
||||||
|
/* UOM is the products UOM */
|
||||||
|
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 (
|
||||||
|
/* For the products UOM there is a conversion that is explicitly bound to the product */
|
||||||
|
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
|
||||||
|
)
|
||||||
|
OR EXISTS (
|
||||||
|
/* For the products UOM there is a conversion that is not bound to any product explicitly */
|
||||||
|
SELECT *
|
||||||
|
FROM M_Product p INNER JOIN C_UOM_Conversion c ON (p.C_UOM_ID=c.C_UOM_ID AND c.M_Product_ID IS NULL)
|
||||||
|
WHERE C_UOM.C_UOM_ID=c.C_UOM_TO_ID AND @M_Product_ID@=p.M_Product_ID
|
||||||
|
))',Updated=TO_TIMESTAMP('2008-03-13 11:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=210
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
-- Jul 4, 2008 6:11:43 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process SET Help='This process copies BOM Lines from the Selected BOM to the Current BOM. The BOM being copied to must have any existing BOM Lines',
|
||||||
|
Updated=TO_TIMESTAMP('2008-07-04 18:11:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 5, 2008 4:51:47 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Copy BOM Lines From', Description='Copy BOM Lines from an exising BOM', Help='Copy BOM Lines from an exising BOM. The BOM being copied to, must not have any existing BOM Lines.',Updated=TO_TIMESTAMP('2008-07-05 16:51:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53480
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 5, 2008 4:51:47 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=53480
|
||||||
|
;
|
|
@ -0,0 +1,90 @@
|
||||||
|
-- Jul 6, 2008 10:30:49 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Column SET Callout='org.eevolution.model.CalloutBOM.getdefaults',Updated=TO_TIMESTAMP('2008-07-06 10:30:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53333
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53474
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53475
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53464
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53476
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53465
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53466
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53467
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53468
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53469
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53470
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53471
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53472
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:22 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53473
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:44:59 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-07-06 10:44:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53476
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:46:09 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsCentrallyMaintained='Y',Updated=TO_TIMESTAMP('2008-07-06 10:46:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53474
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:46:15 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET IsCentrallyMaintained='Y',Updated=TO_TIMESTAMP('2008-07-06 10:46:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53476
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 6, 2008 10:50:46 AM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET DisplayLength=22,Updated=TO_TIMESTAMP('2008-07-06 10:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53464
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
-- 07.07.2008 15:22:56 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET ReadOnlyLogic='@M_Product_ID@!0',Updated=TO_TIMESTAMP('2008-07-07 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6610
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:23:12 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Column SET ReadOnlyLogic='@M_Product_Category_ID@!0',Updated=TO_TIMESTAMP('2008-07-07 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6611
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
-- 07.07.2008 15:40:27 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Tab SET DisplayLogic='@DiscountType@=B', ReadOnlyLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:40:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=406
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:10 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5273
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:12 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5274
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:15 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:18 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:21 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5277
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:24 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:27 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5281
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:31 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:34 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-07-07 15:42:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10479
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 07.07.2008 15:42:41 EEST
|
||||||
|
--
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsBPartnerFlatDiscount@=N',Updated=TO_TIMESTAMP('2008-07-07 15:42:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5279
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,160 @@
|
||||||
|
-- Jul 7, 2008 12:21:56 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53656,0,'PlanningHorizon',TO_TIMESTAMP('2008-07-07 12:21:51','YYYY-MM-DD HH24:MI:SS'),0,'The planning horizon is the amount of time an organisation will look into the future when preparing a strategic plan.','EE01','The planning horizon is the amount of time an organisation will look into the future when preparing a strategic plan.','Y','Planning Horizon','Planning Horizon',TO_TIMESTAMP('2008-07-07 12:21:51','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:21:56 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53656 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:05 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Element SET Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.',Updated=TO_TIMESTAMP('2008-07-07 12:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53656
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:05 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53656
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:05 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Column SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Element_ID=53656
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53656) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', AD_Element_ID=53656 WHERE UPPER(ColumnName)='PLANNINGHORIZON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Element_ID=53656 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Planning Horizon', Name='Planning Horizon' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53656)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:06 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Planning Horizon', Name='Planning Horizon' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53656)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:26 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56150,53656,0,11,487,'PlanningHorizon',TO_TIMESTAMP('2008-07-07 12:23:24','YYYY-MM-DD HH24:MI:SS'),0,'0','The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','EE01',22,'The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','Y','N','N','N','N','N','N','N','N','N','Y','Planning Horizon',0,TO_TIMESTAMP('2008-07-07 12:23:24','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:26 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56150 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:23:31 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
ALTER TABLE S_Resource ADD COLUMN PlanningHorizon NUMERIC(10) DEFAULT '0'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:42 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56150,56280,0,53015,TO_TIMESTAMP('2008-07-07 12:24:21','YYYY-MM-DD HH24:MI:SS'),0,'The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.',22,'EE01','The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','Y','Y','Y','N','N','N','N','N','Planning Horizon',TO_TIMESTAMP('2008-07-07 12:24:21','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:42 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56280 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53293
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53294
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53302
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53303
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:24:58 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53304
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:26:04 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-07-07 12:26:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:26:24 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-07-07 12:26:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53296
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53293
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53292
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53291
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53297
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:31:27 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53294
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:35:03 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsManufacturingResource@=''Y'' & @ManufacturingResourceType@=''PT''',Updated=TO_TIMESTAMP('2008-07-07 12:35:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 12:35:50 PM CDT
|
||||||
|
-- Improve MRP
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-07-07 12:35:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56280
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,241 @@
|
||||||
|
-- Jun 26, 2008 12:37:51 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Element (AD_Org_ID,UpdatedBy,Updated,PrintName,Name,IsActive,Help,EntityType,Description,CreatedBy,Created,ColumnName,AD_Element_ID,AD_Client_ID) VALUES (0,100,TO_TIMESTAMP('2008-06-26 12:37:50','YYYY-MM-DD HH24:MI:SS'),'Autocomplete','Autocomplete','Y','The autocompletion uses all existing values (from the same client and organization) of the field.','D','Automatic completion for textfields',100,TO_TIMESTAMP('2008-06-26 12:37:50','YYYY-MM-DD HH24:MI:SS'),'IsAutocomplete',53655,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:52 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, PrintName,PO_PrintName,PO_Name,PO_Help,PO_Description,Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.PrintName,t.PO_PrintName,t.PO_Name,t.PO_Help,t.PO_Description,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_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53655 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Element SET EntityType='D',Updated=TO_TIMESTAMP('2008-06-26 12:37:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53655
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Column SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Element_ID=53655
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53655) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:37:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.', AD_Element_ID=53655 WHERE UPPER(ColumnName)='ISAUTOCOMPLETE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:38:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Element_ID=53655 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:38:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Autocomplete', Name='Autocomplete' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53655)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:38:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Autocomplete', Name='Autocomplete' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53655)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:11 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Column (AD_Org_ID,Version,UpdatedBy,Updated,SeqNo,Name,IsUpdateable,IsTranslated,IsSyncDatabase,IsSelectionColumn,IsParent,IsMandatory,IsKey,IsIdentifier,IsEncrypted,IsAlwaysUpdateable,IsActive,Help,FieldLength,EntityType,Description,DefaultValue,CreatedBy,Created,ColumnName,AD_Table_ID,AD_Reference_ID,AD_Element_ID,AD_Column_ID,AD_Client_ID) VALUES (0,0,100,TO_TIMESTAMP('2008-06-26 12:39:10','YYYY-MM-DD HH24:MI:SS'),0,'Autocomplete','Y','N','N','N','N','Y','N','N','N','N','Y','The autocompletion uses all existing values (from the same client and organization) of the field.',1,'D','Automatic completion for textfields','N',100,TO_TIMESTAMP('2008-06-26 12:39:10','YYYY-MM-DD HH24:MI:SS'),'IsAutocomplete',101,20,53655,56149,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:11 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56149 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:16 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-06-26 12:39:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56149
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:39:22 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
ALTER TABLE AD_Column ADD COLUMN IsAutocomplete CHAR(1) DEFAULT 'N' CHECK (IsAutocomplete IN ('Y','N')) NOT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:40:30 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,UpdatedBy,Updated,Name,IsSameLine,IsReadOnly,IsHeading,IsFieldOnly,IsEncrypted,IsDisplayed,IsCentrallyMaintained,IsActive,Help,EntityType,DisplayLength,Description,CreatedBy,Created,AD_Tab_ID,AD_Field_ID,AD_Client_ID) VALUES (56149,0,100,TO_TIMESTAMP('2008-06-26 12:40:30','YYYY-MM-DD HH24:MI:SS'),'Autocomplete','N','N','N','N','N','Y','Y','Y','The autocompletion uses all existing values (from the same client and organization) of the field.','D',1,'Automatic completion for textfields',100,TO_TIMESTAMP('2008-06-26 12:40:30','YYYY-MM-DD HH24:MI:SS'),101,56279,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:40:31 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56279 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=2526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=171
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=54403
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=2574
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=2573
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=161
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=162
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=2370
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=169
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=10128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4941
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:52:59 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=50188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=168
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=159
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=825
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=4940
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=167
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=5121
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:00 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=5122
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jun 26, 2008 12:53:41 PM CEST
|
||||||
|
-- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@AD_Reference_ID@=10',Updated=TO_TIMESTAMP('2008-06-26 12:53:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 29, 2008 12:51:57 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=380,Updated=TO_TIMESTAMP('2008-07-29 12:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||||
|
;
|
||||||
|
|
||||||
|
DROP VIEW ad_field_v;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW ad_field_v AS
|
||||||
|
SELECT t.ad_window_id, f.ad_tab_id, f.ad_field_id, tbl.ad_table_id, f.ad_column_id,
|
||||||
|
f.name, f.description, f.help, f.isdisplayed, f.displaylogic, f.displaylength, f.seqno,
|
||||||
|
f.sortno, f.issameline, f.isheading, f.isfieldonly, f.isreadonly, f.isencrypted AS isencryptedfield,
|
||||||
|
f.obscuretype, c.columnname, c.columnsql, c.fieldlength, c.vformat,
|
||||||
|
COALESCE(f.defaultvalue, c.defaultvalue) AS defaultvalue, c.iskey, c.isparent,
|
||||||
|
COALESCE(f.ismandatory, c.ismandatory) AS ismandatory, c.isidentifier, c.istranslated,
|
||||||
|
COALESCE(f.ad_reference_value_id, c.ad_reference_value_id) AS ad_reference_value_id, c.callout,
|
||||||
|
COALESCE(f.ad_reference_id, c.ad_reference_id) AS ad_reference_id,
|
||||||
|
COALESCE(f.ad_val_rule_id, c.ad_val_rule_id) AS ad_val_rule_id, c.ad_process_id,
|
||||||
|
c.isalwaysupdateable, c.readonlylogic, c.mandatorylogic, c.isupdateable,
|
||||||
|
c.isencrypted AS isencryptedcolumn, c.isselectioncolumn, tbl.tablename, c.valuemin, c.valuemax,
|
||||||
|
fg.name AS fieldgroup, vr.code AS validationcode, f.included_tab_id, fg.fieldgrouptype, fg.iscollapsedbydefault,
|
||||||
|
COALESCE(f.infofactoryclass, c.infofactoryclass) AS infofactoryclass, c.isautocomplete
|
||||||
|
FROM ad_field f
|
||||||
|
JOIN ad_tab t ON f.ad_tab_id = t.ad_tab_id
|
||||||
|
LEFT JOIN ad_fieldgroup fg ON f.ad_fieldgroup_id = fg.ad_fieldgroup_id
|
||||||
|
LEFT JOIN ad_column c ON f.ad_column_id = c.ad_column_id
|
||||||
|
JOIN ad_table tbl ON c.ad_table_id = tbl.ad_table_id
|
||||||
|
JOIN ad_reference r ON c.ad_reference_id = r.ad_reference_id
|
||||||
|
LEFT JOIN ad_val_rule vr ON vr.ad_val_rule_id = COALESCE(f.ad_val_rule_id, c.ad_val_rule_id)
|
||||||
|
WHERE f.isactive = 'Y'::bpchar AND c.isactive = 'Y'::bpchar;
|
||||||
|
|
||||||
|
|
||||||
|
DROP VIEW ad_field_vt;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW ad_field_vt AS
|
||||||
|
SELECT trl.ad_language, t.ad_window_id, f.ad_tab_id, f.ad_field_id, tbl.ad_table_id, f.ad_column_id, trl.name, trl.description,
|
||||||
|
trl.help, f.isdisplayed, f.displaylogic, f.displaylength, f.seqno, f.sortno, f.issameline, f.isheading, f.isfieldonly, f.isreadonly,
|
||||||
|
f.isencrypted AS isencryptedfield, f.obscuretype, c.columnname, c.columnsql, c.fieldlength, c.vformat, COALESCE(f.defaultvalue, c.defaultvalue) AS defaultvalue,
|
||||||
|
c.iskey, c.isparent, COALESCE(f.ismandatory, c.ismandatory) AS ismandatory, c.isidentifier, c.istranslated,
|
||||||
|
COALESCE(f.ad_reference_value_id, c.ad_reference_value_id) AS ad_reference_value_id, c.callout, COALESCE(f.ad_reference_id, c.ad_reference_id) AS ad_reference_id,
|
||||||
|
COALESCE(f.ad_val_rule_id, c.ad_val_rule_id) AS ad_val_rule_id, c.ad_process_id, c.isalwaysupdateable, c.readonlylogic, c.mandatorylogic, c.isupdateable,
|
||||||
|
c.isencrypted AS isencryptedcolumn, c.isselectioncolumn, tbl.tablename, c.valuemin, c.valuemax, fgt.name AS fieldgroup, vr.code AS validationcode,
|
||||||
|
f.included_tab_id, fg.fieldgrouptype, fg.iscollapsedbydefault, COALESCE(f.infofactoryclass, c.infofactoryclass) AS infofactoryclass, c.isautocomplete
|
||||||
|
FROM ad_field f
|
||||||
|
JOIN ad_field_trl trl ON f.ad_field_id = trl.ad_field_id
|
||||||
|
JOIN ad_tab t ON f.ad_tab_id = t.ad_tab_id
|
||||||
|
LEFT JOIN ad_fieldgroup fg ON f.ad_fieldgroup_id = fg.ad_fieldgroup_id
|
||||||
|
LEFT JOIN ad_fieldgroup_trl fgt ON f.ad_fieldgroup_id = fgt.ad_fieldgroup_id AND trl.ad_language::text = fgt.ad_language::text
|
||||||
|
LEFT JOIN ad_column c ON f.ad_column_id = c.ad_column_id
|
||||||
|
JOIN ad_table tbl ON c.ad_table_id = tbl.ad_table_id
|
||||||
|
JOIN ad_reference r ON c.ad_reference_id = r.ad_reference_id
|
||||||
|
LEFT JOIN ad_val_rule vr ON vr.ad_val_rule_id = COALESCE(f.ad_val_rule_id, c.ad_val_rule_id)
|
||||||
|
WHERE f.isactive = 'Y'::bpchar AND c.isactive = 'Y'::bpchar;
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,4 @@
|
||||||
|
-- Jul 11, 2008 3:04:33 AM COT
|
||||||
|
-- Changes to Payment Selection and Print
|
||||||
|
UPDATE AD_Column SET AD_Reference_Value_ID=343,Updated=TO_TIMESTAMP('2008-07-11 03:04:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7719
|
||||||
|
;
|
|
@ -0,0 +1,25 @@
|
||||||
|
-- Jul 7, 2008 1:24:00 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process SET Classname='org.eevolution.process.PP_Product_BOM_Check', Value='PP_Product_BOM',Updated=TO_TIMESTAMP('2008-07-07 13:24:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=136
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:26:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process SET Description='Verify BOM Structure and Update Low Level',Updated=TO_TIMESTAMP('2008-07-07 13:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=136
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:26:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=136
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:28:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field SET Description='Verify BOM Structure and Update Low Level', DisplayLogic='@IsSummary@=''N'' & @IsBOM@=''Y''',Updated=TO_TIMESTAMP('2008-07-07 13:28:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3747
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 7, 2008 1:28:22 PM EST
|
||||||
|
-- Default comment for updating dictionary
|
||||||
|
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=3747
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,67 @@
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
|
||||||
|
DROP TABLE FACT_ACCT_BALANCE
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW fact_acct_balance
|
||||||
|
AS
|
||||||
|
SELECT ad_client_id, ad_org_id, c_acctschema_id,
|
||||||
|
TRUNC (dateacct) as dateacct, account_id, postingtype,
|
||||||
|
m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
|
||||||
|
c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
|
||||||
|
c_locfrom_id, user1_id, user2_id, gl_budget_id,
|
||||||
|
COALESCE (SUM (amtacctdr), 0) as amtacctdr,
|
||||||
|
COALESCE (SUM (amtacctcr), 0) as amtacctcr,
|
||||||
|
COALESCE (SUM (qty), 0) as qty, MAX (createdby) as createdby,
|
||||||
|
MAX (created) as created, MAX (updatedby) as updatedby,
|
||||||
|
MAX (updated) as updated, MAX (isactive) as isactive,
|
||||||
|
MAX (c_subacct_id) as c_subacct_id, userelement1_id,
|
||||||
|
userelement2_id, MAX (c_projectphase_id) as c_projectphase_id,
|
||||||
|
MAX (c_projecttask_id) as c_projecttask_id
|
||||||
|
FROM fact_acct a
|
||||||
|
GROUP BY ad_client_id, ad_org_id, c_acctschema_id,
|
||||||
|
TRUNC (dateacct), account_id, postingtype,
|
||||||
|
m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
|
||||||
|
c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
|
||||||
|
c_locfrom_id, user1_id, user2_id,
|
||||||
|
userelement1_id, userelement2_id,
|
||||||
|
gl_budget_id
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE INDEX FACT_ACCT_TRUNC_DATEACCT ON FACT_ACCT (CAST(dateacct AS DATE))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:27:48 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Table SET IsView='Y',Updated=TO_TIMESTAMP('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=547
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:31:01 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_TIMESTAMP('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=283
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:32:35 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Menu SET IsActive = 'N',Updated=TO_TIMESTAMP('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=393
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:32:44 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process SET IsActive = 'N',Updated=TO_TIMESTAMP('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:34:15 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_TIMESTAMP('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:34:26 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_TIMESTAMP('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 15, 2008 1:35:05 AM COT
|
||||||
|
-- 1642765 - problem with Facc_act_balance slow financial report
|
||||||
|
UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_TIMESTAMP('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454
|
||||||
|
;
|
|
@ -0,0 +1,720 @@
|
||||||
|
-- Jul 16, 2008 3:40:38 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,53018,53211,19,130,'AD_Org_ID',TO_TIMESTAMP('2008-07-16 15:40:13','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','Organization',10,TO_TIMESTAMP('2008-07-16 15:40:13','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:40:38 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53211 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:42:51 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1777,0,53018,53212,19,52002,'Resource',TO_TIMESTAMP('2008-07-16 15:42:44','YYYY-MM-DD HH24:MI:SS'),100,'Resource','EE01',10,'Resource','Y','Y','N','N','Resource',10,TO_TIMESTAMP('2008-07-16 15:42:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:42:51 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53212 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:47:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1514,0,53018,53213,17,154,'Priority',TO_TIMESTAMP('2008-07-16 15:47:16','YYYY-MM-DD HH24:MI:SS'),100,'Priority','EE01',10,'Priority','Y','Y','N','N','Priority',70,TO_TIMESTAMP('2008-07-16 15:47:16','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:47:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53213 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:49:11 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,459,0,53018,53214,19,189,'M_Warehouse_ID',TO_TIMESTAMP('2008-07-16 15:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','N','N','Warehouse',80,TO_TIMESTAMP('2008-07-16 15:49:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:49:11 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53214 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:54:22 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53018,53215,30,'Product',TO_TIMESTAMP('2008-07-16 15:54:14','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',90,TO_TIMESTAMP('2008-07-16 15:54:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:54:22 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53215 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:17 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_TypeMRP',Updated=TO_TIMESTAMP('2008-07-16 15:55:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:17 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:44 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Forecast',Updated=TO_TIMESTAMP('2008-07-16 15:55:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:55:44 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Manufacturing Order',Updated=TO_TIMESTAMP('2008-07-16 15:56:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Purchase Order',Updated=TO_TIMESTAMP('2008-07-16 15:56:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53277
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:56:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53277
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:10 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Material Requisition',Updated=TO_TIMESTAMP('2008-07-16 15:57:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:10 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53278
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:25 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Orden de Venta',Updated=TO_TIMESTAMP('2008-07-16 15:57:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 3:57:25 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53435,53229,TO_TIMESTAMP('2008-07-16 16:00:10','YYYY-MM-DD HH24:MI:SS'),100,'EE01','Y','Distribution Order',TO_TIMESTAMP('2008-07-16 16:00:10','YYYY-MM-DD HH24:MI:SS'),100,'DOO')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:16 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
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=53435 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)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Sales Order',Updated=TO_TIMESTAMP('2008-07-16 16:00:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:00:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:47 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_PP_MRP Type',Updated=TO_TIMESTAMP('2008-07-16 16:01:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:47 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Demand',Updated=TO_TIMESTAMP('2008-07-16 16:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53280
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:02:07 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET Name='Supply',Updated=TO_TIMESTAMP('2008-07-16 16:02:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53281
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:02:07 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53281
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:14:52 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_TIMESTAMP('2008-07-16 16:14:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:15:43 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET AD_Reference_ID=17, AD_Reference_Value_ID=319,Updated=TO_TIMESTAMP('2008-07-16 16:15:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:20:49 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='S_Resource_ID',Updated=TO_TIMESTAMP('2008-07-16 16:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53212
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:21:05 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_TIMESTAMP('2008-07-16 16:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53212
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:21:17 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2008-07-16 16:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53214
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:21:54 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-07-16 16:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:04 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-07-16 16:22:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53057
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:33 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-07-16 16:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:49 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2008-07-16 16:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:22:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_TIMESTAMP('2008-07-16 16:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:11 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_TIMESTAMP('2008-07-16 16:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:15 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_TIMESTAMP('2008-07-16 16:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:23 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_TIMESTAMP('2008-07-16 16:23:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:23:36 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-07-16 16:23:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
-- Jul 16, 2008 4:26:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,290,0,53018,53217,10,'DocumentNo',TO_TIMESTAMP('2008-07-16 16:25:51','YYYY-MM-DD HH24:MI:SS'),100,'Document sequence number of the document','EE01',40,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".','Y','Y','N','N','Document No',100,TO_TIMESTAMP('2008-07-16 16:25:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:26:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53217 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:28:28 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='M_Product_ID',Updated=TO_TIMESTAMP('2008-07-16 16:28:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:28:50 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_TIMESTAMP('2008-07-16 16:28:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53217
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:29:53 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-07-16 16:29:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:01 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2008-07-16 16:30:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:06 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_TIMESTAMP('2008-07-16 16:30:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:12 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_TIMESTAMP('2008-07-16 16:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53213
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_TIMESTAMP('2008-07-16 16:30:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:31 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_TIMESTAMP('2008-07-16 16:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53217
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:38 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET SeqNo=120,Updated=TO_TIMESTAMP('2008-07-16 16:30:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:59 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET Description='Is MPS',Updated=TO_TIMESTAMP('2008-07-16 16:30:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:30:59 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:01:55 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Ref_List SET EntityType='EE01',Updated=TO_DATE('2008-07-16 16:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:31 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_MRP Order Type',Updated=TO_TIMESTAMP('2008-07-16 16:47:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:31 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53229
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:37 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=52020, AD_Reference_ID=17, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description=NULL, Help=NULL, Name='OrderType',Updated=TO_TIMESTAMP('2008-07-16 16:47:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:37 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=54055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:47:37 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='OrderType', Description=NULL, Help=NULL WHERE AD_Column_ID=54055 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:15 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Description='MRP type can be a Demand or Supply', Name='_Type MRP',Updated=TO_TIMESTAMP('2008-07-16 16:49:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:15 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=53282, AD_Reference_ID=17, AD_Reference_Value_ID=53230, ColumnName='TypeMRP', Description=NULL, Help=NULL, Name='TypeMRP',Updated=TO_TIMESTAMP('2008-07-16 16:49:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=54054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:49:18 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='TypeMRP', Description=NULL, Help=NULL WHERE AD_Column_ID=54054 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:50:46 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=52020, AD_Reference_ID=17, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description=NULL, Help=NULL, Name='OrderType',Updated=TO_TIMESTAMP('2008-07-16 16:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53440
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:50:46 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53440
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:50:46 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='OrderType', Description=NULL, Help=NULL WHERE AD_Column_ID=53440 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:59:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=53282, ColumnName='TypeMRP', Description=NULL, Help=NULL, Name='TypeMRP',Updated=TO_TIMESTAMP('2008-07-16 16:59:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53439
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:59:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53439
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 4:59:27 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Field SET Name='TypeMRP', Description=NULL, Help=NULL WHERE AD_Column_ID=53439 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:00:23 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference SET Name='_MRP Type',Updated=TO_TIMESTAMP('2008-07-16 17:00:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:00:23 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:02:13 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=53230,Updated=TO_TIMESTAMP('2008-07-16 17:02:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53439
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE PP_MRP RENAME COLUMN Type TO OrderType;
|
||||||
|
|
||||||
|
INSERT INTO t_alter_column values('PP_MRP','OrderType','character varying(3)',null,'NULL');
|
||||||
|
|
||||||
|
INSERT INTO t_alter_column values('PP_MRP','TypeMRP','char(1)',null,'NULL');
|
||||||
|
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_mrp;
|
||||||
|
|
||||||
|
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.ordertype,
|
||||||
|
mrp.typemrp,
|
||||||
|
documentNo(mrp.pp_mrp_id) AS documentNo
|
||||||
|
FROM pp_mrp mrp
|
||||||
|
LEFT JOIN pp_product_planning pp ON pp.m_product_id = mrp.m_product_id AND mrp.m_warehouse_id = pp.m_warehouse_id;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_operation_activity;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_bomline;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_receipt_issue;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_storage;
|
||||||
|
|
||||||
|
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
|
||||||
|
;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order_transactions;
|
||||||
|
|
||||||
|
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
|
||||||
|
;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_order;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
DROP VIEW rv_pp_product_bomline;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW rv_pp_product_bomline AS
|
||||||
|
SELECT
|
||||||
|
t.seqno,
|
||||||
|
t.levelno,
|
||||||
|
t.levels,
|
||||||
|
t.ad_client_id,
|
||||||
|
t.ad_org_id,
|
||||||
|
t.createdby,
|
||||||
|
t.updatedby,
|
||||||
|
t.updated,
|
||||||
|
t.created,
|
||||||
|
t.ad_pinstance_id,
|
||||||
|
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
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET EntityType='EE01' WHERE AD_Table_ID=53021;
|
||||||
|
|
||||||
|
UPDATE AD_Table SET EntityType='EE01' WHERE AD_Table_ID=53021;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:18:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET AD_Element_ID=52020, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description='Order Type', Help='Order Type', Name='Order Type',Updated=TO_TIMESTAMP('2008-07-16 17:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:18:24 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 16, 2008 5:18:35 PM CDT
|
||||||
|
-- MRP Detail Report
|
||||||
|
UPDATE AD_Process_Para SET AD_Reference_Value_ID=53230,Updated=TO_TIMESTAMP('2008-07-16 17:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- Jul 18, 2008 11:52:19 AM COT
|
||||||
|
-- Cannot assign project to payment with charge
|
||||||
|
UPDATE AD_Column SET ReadOnlyLogic=NULL,Updated=TO_TIMESTAMP('2008-07-18 11:52:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8554
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2008-07-18 12:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8554
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,360 @@
|
||||||
|
-- 18-jul-2008 19:14:17 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56177,1005,0,19,53088,'C_Activity_ID',TO_TIMESTAMP('2008-07-18 19:14:05','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity','EE02',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','N','N','Y','Activity',0,TO_TIMESTAMP('2008-07-18 19:14:05','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:14:17 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56177 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:16:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56178,550,0,19,53102,'C_Campaign_ID',TO_TIMESTAMP('2008-07-18 19:16:34','YYYY-MM-DD HH24:MI:SS'),0,'Marketing Campaign','EE02',10,'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.','Y','N','N','N','N','N','N','N','N','N','Y','Campaign',0,TO_TIMESTAMP('2008-07-18 19:16:34','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:16:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56178 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:17:37 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56179,112,0,19,53102,'AD_OrgTrx_ID',TO_TIMESTAMP('2008-07-18 19:17:34','YYYY-MM-DD HH24:MI:SS'),0,'Performing or initiating organization','EE02',10,'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.','Y','N','N','N','N','N','N','N','N','N','Y','Trx Organization',0,TO_TIMESTAMP('2008-07-18 19:17:34','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:17:37 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56179 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:17:58 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN C_Campaign_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:18:06 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN AD_OrgTrx_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:19:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56180,2073,0,19,53102,262,'C_ProjectPhase_ID',TO_TIMESTAMP('2008-07-18 19:19:31','YYYY-MM-DD HH24:MI:SS'),0,'Phase of a Project','EE02',10,'Y','N','N','N','N','N','N','N','N','N','Y','Project Phase',0,TO_TIMESTAMP('2008-07-18 19:19:31','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:19:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56180 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:19:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN C_ProjectPhase_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:20:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56181,2074,0,19,53102,263,'C_ProjectTask_ID',TO_TIMESTAMP('2008-07-18 19:20:39','YYYY-MM-DD HH24:MI:SS'),0,'Actual Project Task in a Phase','EE02',10,'A Project Task in a Project Phase represents the actual work.','Y','N','N','N','N','N','N','N','N','N','Y','Project Task',0,TO_TIMESTAMP('2008-07-18 19:20:39','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:20:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56181 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:20:43 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN C_ProjectTask_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:21:55 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56182,208,0,19,53102,'C_Project_ID',TO_TIMESTAMP('2008-07-18 19:21:54','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project','EE02',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','N','N','Y','Project',0,TO_TIMESTAMP('2008-07-18 19:21:54','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:21:55 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56182 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:21:57 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN C_Project_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:23:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56183,613,0,18,134,53102,'User1_ID',TO_TIMESTAMP('2008-07-18 19:23:31','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','N','Y','User List 1',0,TO_TIMESTAMP('2008-07-18 19:23:31','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:23:32 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56183 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:23:35 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN User1_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Column SET AD_Element_ID=614, AD_Reference_Value_ID=137, ColumnName='User2_ID', Description='User defined list element #2', Help='The user defined element displays the optional elements that have been defined for this account combination.', Name='User List 2',Updated=TO_TIMESTAMP('2008-07-18 19:24:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56183
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56183
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
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=56183 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:24:06 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN User2_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:25:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56184,613,0,18,134,53102,'User1_ID',TO_TIMESTAMP('2008-07-18 19:25:07','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','N','Y','User List 1',0,TO_TIMESTAMP('2008-07-18 19:25:07','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:25:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56184 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:25:11 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
insert into t_alter_column values('hr_movement','User1_ID','NUMERIC(10)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Element SET Name='Manufacturing Order Activity', PrintName='Manufacturing Order Activity',Updated=TO_TIMESTAMP('2008-07-18 19:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Column SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL, AD_Element_ID=53285 WHERE UPPER(ColumnName)='PP_ORDER_NODE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53285 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:08 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53285) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:09 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Activity', Name='Manufacturing Order Activity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53285)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56185,53285,0,19,53102,'PP_Order_Node_ID',TO_TIMESTAMP('2008-07-18 19:27:35','YYYY-MM-DD HH24:MI:SS'),0,'EE02',10,'Y','N','N','N','N','N','N','N','N','N','Y','Manufacturing Order Activity',0,TO_TIMESTAMP('2008-07-18 19:27:35','YYYY-MM-DD HH24:MI:SS'),0,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:36 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56185 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:27:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Movement ADD COLUMN PP_Order_Node_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:30:21 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
ALTER TABLE HR_Department ADD COLUMN C_Activity_ID NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:05 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56177,56307,0,53109,TO_TIMESTAMP('2008-07-18 19:31:04','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity',10,'EE02','Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','Y','N','N','N','N','N','Activity',TO_TIMESTAMP('2008-07-18 19:31:04','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:06 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56307 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56178,56308,0,53124,TO_TIMESTAMP('2008-07-18 19:31:36','YYYY-MM-DD HH24:MI:SS'),0,'Marketing Campaign',10,'EE02','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.','Y','Y','Y','N','N','N','N','N','Campaign',TO_TIMESTAMP('2008-07-18 19:31:36','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56308 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56185,56309,0,53124,TO_TIMESTAMP('2008-07-18 19:31:38','YYYY-MM-DD HH24:MI:SS'),0,10,'EE02','Y','Y','Y','N','N','N','N','N','Manufacturing Order Activity',TO_TIMESTAMP('2008-07-18 19:31:38','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56309 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56182,56310,0,53124,TO_TIMESTAMP('2008-07-18 19:31:39','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project',10,'EE02','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','N','N','Project',TO_TIMESTAMP('2008-07-18 19:31:39','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:40 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56310 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:41 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56180,56311,0,53124,TO_TIMESTAMP('2008-07-18 19:31:40','YYYY-MM-DD HH24:MI:SS'),0,'Phase of a Project',10,'EE02','Y','Y','Y','N','N','N','N','N','Project Phase',TO_TIMESTAMP('2008-07-18 19:31:40','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:41 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56311 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:42 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56181,56312,0,53124,TO_TIMESTAMP('2008-07-18 19:31:41','YYYY-MM-DD HH24:MI:SS'),0,'Actual Project Task in a Phase',10,'EE02','A Project Task in a Project Phase represents the actual work.','Y','Y','Y','N','N','N','N','N','Project Task',TO_TIMESTAMP('2008-07-18 19:31:41','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:42 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56312 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:43 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56179,56313,0,53124,TO_TIMESTAMP('2008-07-18 19:31:42','YYYY-MM-DD HH24:MI:SS'),0,'Performing or initiating organization',10,'EE02','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.','Y','Y','Y','N','N','N','N','N','Trx Organization',TO_TIMESTAMP('2008-07-18 19:31:42','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:43 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56313 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:44 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56184,56314,0,53124,TO_TIMESTAMP('2008-07-18 19:31:43','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1',10,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','Y','N','N','N','N','N','User List 1',TO_TIMESTAMP('2008-07-18 19:31:43','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:44 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56314 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:45 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56183,56315,0,53124,TO_TIMESTAMP('2008-07-18 19:31:44','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #2',10,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','Y','N','N','N','N','N','User List 2',TO_TIMESTAMP('2008-07-18 19:31:44','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:31:45 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56315 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56313
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56308
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56314
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56315
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56311
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56312
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56310
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:32:39 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56309
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:33:53 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab SET Description='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Help='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Name='Activity',Updated=TO_TIMESTAMP('2008-07-18 19:33:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:33:53 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:35:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab SET Description='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Help='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Name='Order Activity',Updated=TO_TIMESTAMP('2008-07-18 19:35:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:35:01 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53036
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:05 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu SET Description='Activity Control', Name='Activity Control',Updated=TO_TIMESTAMP('2008-07-18 19:36:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:05 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu SET Description='Show the Activity Control Transaction Details', Name='Activity Control Transaction Details',Updated=TO_TIMESTAMP('2008-07-18 19:36:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- 18-jul-2008 19:36:38 CDT
|
||||||
|
-- Improve in Payroll
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53065
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
-- Column wrong in displaylogic
|
||||||
|
|
||||||
|
update ad_field
|
||||||
|
set displaylogic = '@IsOwned@=Y & @IsDepreciated@=Y'
|
||||||
|
where displaylogic = '@IsOwned@=Y & @IsDepeciated@=Y'
|
||||||
|
;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue