Merge 9985:cb7dcb1455d0
This commit is contained in:
commit
4eb3ef097c
|
@ -0,0 +1,11 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- 20/11/2013 10:53:00 AM COT
|
||||||
|
-- IDEMPIERE-1541 missing translation - mini calendar - more
|
||||||
|
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','more',200239,'D','ce211d63-ece3-4ac8-bd30-c2d3456527c0','more','Y',TO_DATE('2013-11-20 10:52:59','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-11-20 10:52:59','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311201053_IDEMPIERE-1541.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- Nov 22, 2013 3:55:16 PM COT
|
||||||
|
-- IDEMPIERE-325 Complete AD based info window
|
||||||
|
INSERT INTO AD_Tab (ImportFields,Processing,IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,HasTree,IsInfoTab,IsReadOnly,AD_Column_ID,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Client_ID) VALUES ('N','N','Y',151,50,'N','N',897,'N','N','Y',15790,'N','N',1,'9bad0b5e-9dc9-421f-9156-c6ee736f6f46','D','Used in Info Column',200113,0,TO_DATE('2013-11-22 15:55:06','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-11-22 15:55:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 22, 2013 3:58:20 PM COT
|
||||||
|
INSERT INTO AD_Field (SortNo,IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,AD_Org_ID,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField) VALUES (0,'N',200113,14,'N','N',15784,10,'Y',202536,'Y','The Info window is used to search and select records as well as display information relevant to the selection.','D','Info and search/select Window','Info Window','6ca76b42-60e2-42fd-b0da-d1139bcc2dbf','Y','N',100,0,TO_DATE('2013-11-22 15:58:11','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-11-22 15:58:11','YYYY-MM-DD HH24:MI:SS'),'Y','Y',10,1,'N',0,2,1,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 22, 2013 4:00:15 PM COT
|
||||||
|
INSERT INTO AD_Field (SortNo,IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,AD_Reference_ID,EntityType,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,AD_Org_ID,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField) VALUES (0,'N',200113,10,'N','N',15773,20,'Y',202537,'Y','Column in the Info Window for display and/or selection. If used for selection, the column cannot be a SQL expression. The SQL clause must be fully qualified based on the FROM clause in the Info Window definition',19,'D','Info Window Column','Info Column','77dbd70f-6abb-4853-8d4d-f500e69d6bf6','Y','N',100,0,TO_DATE('2013-11-22 16:00:07','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-11-22 16:00:07','YYYY-MM-DD HH24:MI:SS'),'Y','Y',20,1,'N',0,2,1,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 22, 2013 4:01:08 PM COT
|
||||||
|
INSERT INTO AD_Field (SortNo,IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,AD_Org_ID,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField) VALUES (0,'N',200113,10,'N','N',208350,30,'Y',202538,'N','The Column Name indicates the name of a column on a table as defined in the database.','D','Name of the column in the database','DB Column Name','fbf25dc2-a23a-481b-8578-73d6e3ed4fcb','Y','N',100,0,TO_DATE('2013-11-22 16:01:00','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-11-22 16:01:00','YYYY-MM-DD HH24:MI:SS'),'Y','Y',30,4,'N',0,2,1,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311221611_IDEMPIERE-325.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:01 PM COT
|
||||||
|
-- IDEMPIERE-594 Improve positioning on windows / Fix Relation Type window layout
|
||||||
|
UPDATE AD_Field SET SeqNo=20, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-11-26 19:43:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:01 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=40,Updated=TO_DATE('2013-11-26 19:43:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58066
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=50,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58075
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58071
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80, IsDisplayed='Y', XPosition=4, ColumnSpan=2,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58072
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90, IsDisplayed='Y', XPosition=1,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58073
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100, IsDisplayed='Y', XPosition=4, ColumnSpan=2,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58074
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_DATE('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58070
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311261943_IDEMPIERE-594.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,155 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
-- IDEMPIERE-594 Improve positioning on windows / fix column tab
|
||||||
|
UPDATE AD_Field SET SeqNo=50, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5121
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=156
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11264
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=152
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=154
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=250
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=120,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=155
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=130,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=158
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=140,Updated=TO_DATE('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=170
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=150,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=172
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=160,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=170,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=310
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=180,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=190,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59619
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=200,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=171
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=210, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=220,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2574
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=230,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2573
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=240, IsDisplayed='Y', XPosition=1,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202518
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=250, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202519
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=260,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=270,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=161
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=280,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=162
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=290,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=300, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=320, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2370
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=330,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=340,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4941
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=350,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=360, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=168
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=370, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=159
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=390, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200288
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=400, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200648
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=410, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202257
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=440, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=167
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=450,Updated=TO_DATE('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=825
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311271131_IDEMPIERE-594.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- 20/11/2013 10:53:00 AM COT
|
||||||
|
-- IDEMPIERE-1541 missing translation - mini calendar - more
|
||||||
|
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','more',200239,'D','ce211d63-ece3-4ac8-bd30-c2d3456527c0','more','Y',TO_TIMESTAMP('2013-11-20 10:52:59','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-11-20 10:52:59','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311201053_IDEMPIERE-1541.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
-- Nov 22, 2013 3:55:16 PM COT
|
||||||
|
-- IDEMPIERE-325 Complete AD based info window
|
||||||
|
INSERT INTO AD_Tab (ImportFields,Processing,IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,HasTree,IsInfoTab,IsReadOnly,AD_Column_ID,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Client_ID) VALUES ('N','N','Y',151,50,'N','N',897,'N','N','Y',15790,'N','N',1,'9bad0b5e-9dc9-421f-9156-c6ee736f6f46','D','Used in Info Column',200113,0,TO_TIMESTAMP('2013-11-22 15:55:06','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-11-22 15:55:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 22, 2013 3:58:20 PM COT
|
||||||
|
INSERT INTO AD_Field (SortNo,IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,AD_Org_ID,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField) VALUES (0,'N',200113,14,'N','N',15784,10,'Y',202536,'Y','The Info window is used to search and select records as well as display information relevant to the selection.','D','Info and search/select Window','Info Window','6ca76b42-60e2-42fd-b0da-d1139bcc2dbf','Y','N',100,0,TO_TIMESTAMP('2013-11-22 15:58:11','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-11-22 15:58:11','YYYY-MM-DD HH24:MI:SS'),'Y','Y',10,1,'N',0,2,1,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 22, 2013 4:00:15 PM COT
|
||||||
|
INSERT INTO AD_Field (SortNo,IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,AD_Reference_ID,EntityType,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,AD_Org_ID,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField) VALUES (0,'N',200113,10,'N','N',15773,20,'Y',202537,'Y','Column in the Info Window for display and/or selection. If used for selection, the column cannot be a SQL expression. The SQL clause must be fully qualified based on the FROM clause in the Info Window definition',19,'D','Info Window Column','Info Column','77dbd70f-6abb-4853-8d4d-f500e69d6bf6','Y','N',100,0,TO_TIMESTAMP('2013-11-22 16:00:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-11-22 16:00:07','YYYY-MM-DD HH24:MI:SS'),'Y','Y',20,1,'N',0,2,1,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 22, 2013 4:01:08 PM COT
|
||||||
|
INSERT INTO AD_Field (SortNo,IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,AD_Org_ID,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField) VALUES (0,'N',200113,10,'N','N',208350,30,'Y',202538,'N','The Column Name indicates the name of a column on a table as defined in the database.','D','Name of the column in the database','DB Column Name','fbf25dc2-a23a-481b-8578-73d6e3ed4fcb','Y','N',100,0,TO_TIMESTAMP('2013-11-22 16:01:00','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-11-22 16:01:00','YYYY-MM-DD HH24:MI:SS'),'Y','Y',30,4,'N',0,2,1,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311221611_IDEMPIERE-325.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
-- Nov 26, 2013 7:43:01 PM COT
|
||||||
|
-- IDEMPIERE-594 Improve positioning on windows / Fix Relation Type window layout
|
||||||
|
UPDATE AD_Field SET SeqNo=20, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-11-26 19:43:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:01 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=40,Updated=TO_TIMESTAMP('2013-11-26 19:43:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58066
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=50,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58075
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58071
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80, IsDisplayed='Y', XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58072
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90, IsDisplayed='Y', XPosition=1,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58073
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100, IsDisplayed='Y', XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58074
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 26, 2013 7:43:02 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_TIMESTAMP('2013-11-26 19:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58070
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311261943_IDEMPIERE-594.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,152 @@
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
-- IDEMPIERE-594 Improve positioning on windows / fix column tab
|
||||||
|
UPDATE AD_Field SET SeqNo=50, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5121
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=156
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11264
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=152
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=154
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=250
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=120,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=155
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=130,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=158
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:47 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=140,Updated=TO_TIMESTAMP('2013-11-27 11:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=170
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=150,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=172
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=160,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=170,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=310
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=180,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2526
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=190,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59619
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=200,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=171
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=210, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=220,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2574
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=230,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2573
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=240, IsDisplayed='Y', XPosition=1,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202518
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=250, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202519
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=260,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=270,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=161
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=280,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=162
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=290,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=300, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=320, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2370
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=330,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10128
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=340,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4941
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=350,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=360, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=168
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=370, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=159
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=390, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200288
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=400, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200648
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=410, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202257
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=440, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=167
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2013 11:30:48 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=450,Updated=TO_TIMESTAMP('2013-11-27 11:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=825
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201311271131_IDEMPIERE-594.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -6,10 +6,10 @@ INSERT INTO AD_ELEMENT_TRL (AD_Element_ID, AD_LANGUAGE, AD_Client_ID, AD_Org_ID,
|
||||||
UPDATE AD_COLUMN c SET AD_Element_id = (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE UPPER(c.ColumnName)=UPPER(e.ColumnName)) WHERE AD_Element_ID IS NULL
|
UPDATE AD_COLUMN c SET AD_Element_id = (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE UPPER(c.ColumnName)=UPPER(e.ColumnName)) WHERE AD_Element_ID IS NULL
|
||||||
;
|
;
|
||||||
|
|
||||||
DELETE AD_ELEMENT_TRL WHERE AD_Element_ID >= 1000000 AND AD_Element_ID IN (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName)))
|
DELETE AD_ELEMENT_TRL WHERE AD_Element_ID >= 1000000 AND AD_Element_ID IN (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_INFOCOLUMN i WHERE UPPER(e.ColumnName)=UPPER(i.ColumnName)))
|
||||||
;
|
;
|
||||||
|
|
||||||
DELETE AD_ELEMENT e WHERE AD_Element_ID >= 1000000 AND NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName))
|
DELETE AD_ELEMENT e WHERE AD_Element_ID >= 1000000 AND NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_INFOCOLUMN i WHERE UPPER(e.ColumnName)=UPPER(i.ColumnName))
|
||||||
;
|
;
|
||||||
|
|
||||||
UPDATE AD_COLUMN c SET (ColumnName, Name, Description, Help) = (SELECT ColumnName, Name, Description, Help FROM AD_ELEMENT e WHERE c.AD_Element_ID=e.AD_Element_ID), Updated = SYSDATE WHERE EXISTS (SELECT 1 FROM AD_ELEMENT e WHERE c.AD_Element_ID=e.AD_Element_ID AND (c.ColumnName <> e.ColumnName OR c.Name <> e.Name OR NVL(c.Description,' ') <> NVL(e.Description,' ') OR NVL(c.Help,' ') <> NVL(e.Help,' ')))
|
UPDATE AD_COLUMN c SET (ColumnName, Name, Description, Help) = (SELECT ColumnName, Name, Description, Help FROM AD_ELEMENT e WHERE c.AD_Element_ID=e.AD_Element_ID), Updated = SYSDATE WHERE EXISTS (SELECT 1 FROM AD_ELEMENT e WHERE c.AD_Element_ID=e.AD_Element_ID AND (c.ColumnName <> e.ColumnName OR c.Name <> e.Name OR NVL(c.Description,' ') <> NVL(e.Description,' ') OR NVL(c.Help,' ') <> NVL(e.Help,' ')))
|
||||||
|
|
|
@ -6,10 +6,10 @@ INSERT INTO AD_ELEMENT_TRL (AD_Element_ID, AD_LANGUAGE, AD_Client_ID, AD_Org_ID,
|
||||||
UPDATE AD_COLUMN SET AD_Element_id = (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE UPPER(AD_COLUMN.ColumnName)=UPPER(e.ColumnName)) WHERE AD_Element_ID IS NULL
|
UPDATE AD_COLUMN SET AD_Element_id = (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE UPPER(AD_COLUMN.ColumnName)=UPPER(e.ColumnName)) WHERE AD_Element_ID IS NULL
|
||||||
;
|
;
|
||||||
|
|
||||||
DELETE FROM AD_ELEMENT_TRL WHERE AD_Element_ID >= 1000000 AND AD_Element_ID IN (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName)))
|
DELETE FROM AD_ELEMENT_TRL WHERE AD_Element_ID >= 1000000 AND AD_Element_ID IN (SELECT AD_Element_ID FROM AD_ELEMENT e WHERE NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_INFOCOLUMN i WHERE UPPER(e.ColumnName)=UPPER(i.ColumnName)))
|
||||||
;
|
;
|
||||||
|
|
||||||
DELETE FROM AD_ELEMENT WHERE AD_Element_ID >= 1000000 AND NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(AD_ELEMENT.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(AD_ELEMENT.ColumnName)=UPPER(p.ColumnName))
|
DELETE FROM AD_ELEMENT WHERE AD_Element_ID >= 1000000 AND NOT EXISTS (SELECT 1 FROM AD_COLUMN c WHERE UPPER(AD_ELEMENT.ColumnName)=UPPER(c.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(AD_ELEMENT.ColumnName)=UPPER(p.ColumnName)) AND NOT EXISTS (SELECT 1 FROM AD_INFOCOLUMN i WHERE UPPER(AD_ELEMENT.ColumnName)=UPPER(i.ColumnName))
|
||||||
;
|
;
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET ColumnName=e.ColumnName,Name=e.Name,Description=e.Description,Help=e.Help, Updated = statement_timestamp() FROM AD_ELEMENT e WHERE AD_COLUMN.AD_Element_ID=e.AD_Element_ID AND EXISTS (SELECT 1 FROM AD_ELEMENT e WHERE AD_COLUMN.AD_Element_ID=e.AD_Element_ID AND (AD_COLUMN.ColumnName <> e.ColumnName OR AD_COLUMN.Name <> e.Name OR COALESCE(AD_COLUMN.Description,' ') <> COALESCE(e.Description,' ') OR COALESCE(AD_COLUMN.Help,' ') <> COALESCE(e.Help,' ')))
|
UPDATE AD_COLUMN SET ColumnName=e.ColumnName,Name=e.Name,Description=e.Description,Help=e.Help, Updated = statement_timestamp() FROM AD_ELEMENT e WHERE AD_COLUMN.AD_Element_ID=e.AD_Element_ID AND EXISTS (SELECT 1 FROM AD_ELEMENT e WHERE AD_COLUMN.AD_Element_ID=e.AD_Element_ID AND (AD_COLUMN.ColumnName <> e.ColumnName OR AD_COLUMN.Name <> e.Name OR COALESCE(AD_COLUMN.Description,' ') <> COALESCE(e.Description,' ') OR COALESCE(AD_COLUMN.Help,' ') <> COALESCE(e.Help,' ')))
|
||||||
|
|
|
@ -265,8 +265,7 @@ public class InOutGenerateRMA extends SvrProcess
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add processing information to process log
|
// Add processing information to process log
|
||||||
addLog(shipment.getM_InOut_ID(), shipment.getMovementDate(), null, processMsg.toString(),shipment.get_Table_ID(),shipment.getM_InOut_ID()
|
addBufferLog(shipment.getM_InOut_ID(), shipment.getMovementDate(), null, processMsg.toString(),shipment.get_Table_ID(),shipment.getM_InOut_ID());
|
||||||
);
|
|
||||||
m_created++;
|
m_created++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -216,7 +216,7 @@ public class InvoiceGenerateRMA extends SvrProcess
|
||||||
|
|
||||||
// Add processing information to process log
|
// Add processing information to process log
|
||||||
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + processMsg.toString());
|
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + processMsg.toString());
|
||||||
addLog(invoice.getC_Invoice_ID(), invoice.getDateInvoiced(), null, message, invoice.get_Table_ID(), invoice.getC_Invoice_ID());
|
addBufferLog(invoice.getC_Invoice_ID(), invoice.getDateInvoiced(), null, message, invoice.get_Table_ID(), invoice.getC_Invoice_ID());
|
||||||
m_created++;
|
m_created++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -399,7 +399,7 @@ public class AllocationAuto extends SvrProcess
|
||||||
if (payment.allocateIt())
|
if (payment.allocateIt())
|
||||||
{
|
{
|
||||||
String message = Msg.parseTranslation(getCtx(), "@PaymentAllocated@ " + payment.getDocumentNo() + " [1]");
|
String message = Msg.parseTranslation(getCtx(), "@PaymentAllocated@ " + payment.getDocumentNo() + " [1]");
|
||||||
addLog(0, payment.getDateAcct(), openAmt, message, payment.get_Table_ID(), payment.getC_Payment_ID());
|
addBufferLog(0, payment.getDateAcct(), openAmt, message, payment.get_Table_ID(), payment.getC_Payment_ID());
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -444,7 +444,7 @@ public class AllocationAuto extends SvrProcess
|
||||||
if (payment.allocateIt())
|
if (payment.allocateIt())
|
||||||
{
|
{
|
||||||
String message = Msg.parseTranslation(getCtx(), "@PaymentAllocated@ " + payment.getDocumentNo() + " [n]");
|
String message = Msg.parseTranslation(getCtx(), "@PaymentAllocated@ " + payment.getDocumentNo() + " [n]");
|
||||||
addLog(0, payment.getDateAcct(), availableAmt, message);
|
addBufferLog(0, payment.getDateAcct(), availableAmt, message, payment.get_Table_ID(), payment.getC_Payment_ID());
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@ public class BOMFlagValidate extends SvrProcess {
|
||||||
while (rs.next())
|
while (rs.next())
|
||||||
{
|
{
|
||||||
StringBuilder msglog=new StringBuilder().append(rs.getString(1)).append(" BOM without BOM lines");
|
StringBuilder msglog=new StringBuilder().append(rs.getString(1)).append(" BOM without BOM lines");
|
||||||
addLog(0, null, null, msglog.toString(), MProduct.Table_ID, rs.getInt(2));
|
addBufferLog(0, null, null, msglog.toString(), MProduct.Table_ID, rs.getInt(2));
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
throw e;
|
throw e;
|
||||||
|
@ -120,7 +120,7 @@ public class BOMFlagValidate extends SvrProcess {
|
||||||
while (rs.next())
|
while (rs.next())
|
||||||
{
|
{
|
||||||
StringBuilder msglog = new StringBuilder().append(rs.getString(1)).append(" not BOM with BOM lines");
|
StringBuilder msglog = new StringBuilder().append(rs.getString(1)).append(" not BOM with BOM lines");
|
||||||
addLog(0, null, null, msglog.toString(), MProduct.Table_ID, rs.getInt(2));
|
addBufferLog(0, null, null, msglog.toString(), MProduct.Table_ID, rs.getInt(2));
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class BOMValidate extends SvrProcess
|
||||||
while (rs.next ())
|
while (rs.next ())
|
||||||
{
|
{
|
||||||
String info = validateProduct(new MProduct(getCtx(), rs.getInt("M_Product_ID"), get_TrxName()));
|
String info = validateProduct(new MProduct(getCtx(), rs.getInt("M_Product_ID"), get_TrxName()));
|
||||||
addLog(0, null, null, info, MProduct.Table_ID, rs.getInt("M_Product_ID"));
|
addBufferLog(0, null, null, info, MProduct.Table_ID, rs.getInt("M_Product_ID"));
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -182,7 +182,7 @@ public class BOMVerify extends SvrProcess
|
||||||
if (p_fromButton)
|
if (p_fromButton)
|
||||||
addLog(0, null, null, product.getValue() + " recursively contains " + pp.getValue());
|
addLog(0, null, null, product.getValue() + " recursively contains " + pp.getValue());
|
||||||
else
|
else
|
||||||
addLog(0, null, null, product.getValue() + " recursively contains " + pp.getValue(), MProduct.Table_ID, product.getM_Product_ID());
|
addBufferLog(0, null, null, product.getValue() + " recursively contains " + pp.getValue(), MProduct.Table_ID, product.getM_Product_ID());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -200,7 +200,7 @@ public class BOMVerify extends SvrProcess
|
||||||
if (p_fromButton)
|
if (p_fromButton)
|
||||||
addLog(0, null, null, product.getValue() + " does not have lines");
|
addLog(0, null, null, product.getValue() + " does not have lines");
|
||||||
else
|
else
|
||||||
addLog(0, null, null, product.getValue() + " does not have lines", MProduct.Table_ID, product.getM_Product_ID());
|
addBufferLog(0, null, null, product.getValue() + " does not have lines", MProduct.Table_ID, product.getM_Product_ID());
|
||||||
}
|
}
|
||||||
|
|
||||||
checkedproducts.add(product);
|
checkedproducts.add(product);
|
||||||
|
|
|
@ -68,7 +68,7 @@ public class ConvertLead extends SvrProcess {
|
||||||
bp.setName(lead.getName());
|
bp.setName(lead.getName());
|
||||||
|
|
||||||
bp.saveEx();
|
bp.saveEx();
|
||||||
addLog(bp.getC_BPartner_ID(), null, null, "@C_BPartner_ID@ @Created@", MBPartner.Table_ID, bp.getC_BPartner_ID());
|
addBufferLog(bp.getC_BPartner_ID(), null, null, "@C_BPartner_ID@ @Created@", MBPartner.Table_ID, bp.getC_BPartner_ID());
|
||||||
|
|
||||||
lead.setC_BPartner_ID(bp.getC_BPartner_ID());
|
lead.setC_BPartner_ID(bp.getC_BPartner_ID());
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ public class ConvertLead extends SvrProcess {
|
||||||
|
|
||||||
op.saveEx();
|
op.saveEx();
|
||||||
|
|
||||||
addLog(op.getC_Opportunity_ID(), null, null, "@C_Opportunity_ID@ @Created@", MOpportunity.Table_ID, op.getC_Opportunity_ID());
|
addBufferLog(op.getC_Opportunity_ID(), null, null, "@C_Opportunity_ID@ @Created@", MOpportunity.Table_ID, op.getC_Opportunity_ID());
|
||||||
}
|
}
|
||||||
|
|
||||||
lead.setIsSalesLead(false);
|
lead.setIsSalesLead(false);
|
||||||
|
|
|
@ -338,7 +338,7 @@ public class CostUpdate extends SvrProcess
|
||||||
msg.append(m_docType.getName()).append(" ").append(inventoryDoc.getDocumentNo());
|
msg.append(m_docType.getName()).append(" ").append(inventoryDoc.getDocumentNo());
|
||||||
else
|
else
|
||||||
msg.append(m_docType.get_Translation(I_C_DocType.COLUMNNAME_Name)).append(" ").append(inventoryDoc.getDocumentNo());
|
msg.append(m_docType.get_Translation(I_C_DocType.COLUMNNAME_Name)).append(" ").append(inventoryDoc.getDocumentNo());
|
||||||
addLog(getAD_PInstance_ID(), null, null, msg.toString(), I_M_Inventory.Table_ID, inventoryDoc.getM_Inventory_ID());
|
addBufferLog(getAD_PInstance_ID(), null, null, msg.toString(), I_M_Inventory.Table_ID, inventoryDoc.getM_Inventory_ID());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,7 @@ public class ExpenseAPInvoice extends SvrProcess
|
||||||
throw new IllegalStateException("Cannot save Invoice");
|
throw new IllegalStateException("Cannot save Invoice");
|
||||||
//
|
//
|
||||||
m_noInvoices++;
|
m_noInvoices++;
|
||||||
addLog(invoice.get_ID(), invoice.getDateInvoiced(),
|
addBufferLog(invoice.get_ID(), invoice.getDateInvoiced(),
|
||||||
invoice.getGrandTotal(), invoice.getDocumentNo(), invoice.get_Table_ID(), invoice.getC_Invoice_ID());
|
invoice.getGrandTotal(), invoice.getDocumentNo(), invoice.get_Table_ID(), invoice.getC_Invoice_ID());
|
||||||
} // completeInvoice
|
} // completeInvoice
|
||||||
|
|
||||||
|
|
|
@ -282,7 +282,7 @@ public class ExpenseSOrder extends SvrProcess
|
||||||
if (!m_order.save())
|
if (!m_order.save())
|
||||||
throw new IllegalStateException("Cannot save Order");
|
throw new IllegalStateException("Cannot save Order");
|
||||||
m_noOrders++;
|
m_noOrders++;
|
||||||
addLog (m_order.get_ID(), m_order.getDateOrdered(), m_order.getGrandTotal(), m_order.getDocumentNo(), m_order.get_Table_ID(), m_order.getC_Order_ID());
|
addBufferLog (m_order.get_ID(), m_order.getDateOrdered(), m_order.getGrandTotal(), m_order.getDocumentNo(), m_order.get_Table_ID(), m_order.getC_Order_ID());
|
||||||
m_order = null;
|
m_order = null;
|
||||||
} // completeOrder
|
} // completeOrder
|
||||||
|
|
||||||
|
|
|
@ -582,7 +582,7 @@ public class InOutGenerate extends SvrProcess
|
||||||
}
|
}
|
||||||
m_shipment.saveEx();
|
m_shipment.saveEx();
|
||||||
String message = Msg.parseTranslation(getCtx(), "@ShipmentProcessed@ " + m_shipment.getDocumentNo());
|
String message = Msg.parseTranslation(getCtx(), "@ShipmentProcessed@ " + m_shipment.getDocumentNo());
|
||||||
addLog(m_shipment.getM_InOut_ID(), m_shipment.getMovementDate(), null, message, m_shipment.get_Table_ID(),m_shipment.getM_InOut_ID());
|
addBufferLog(m_shipment.getM_InOut_ID(), m_shipment.getMovementDate(), null, message, m_shipment.get_Table_ID(),m_shipment.getM_InOut_ID());
|
||||||
m_created++;
|
m_created++;
|
||||||
|
|
||||||
//reset storage cache as MInOut.completeIt will update m_storage
|
//reset storage cache as MInOut.completeIt will update m_storage
|
||||||
|
|
|
@ -167,7 +167,7 @@ public class InvoiceBatchProcess extends SvrProcess
|
||||||
m_invoice.saveEx();
|
m_invoice.saveEx();
|
||||||
|
|
||||||
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + m_invoice.getDocumentNo());
|
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + m_invoice.getDocumentNo());
|
||||||
addLog(0, m_invoice.getDateInvoiced(), m_invoice.getGrandTotal(), message, m_invoice.get_Table_ID(), m_invoice.getC_Invoice_ID());
|
addBufferLog(0, m_invoice.getDateInvoiced(), m_invoice.getGrandTotal(), message, m_invoice.get_Table_ID(), m_invoice.getC_Invoice_ID());
|
||||||
m_count++;
|
m_count++;
|
||||||
|
|
||||||
m_invoice = null;
|
m_invoice = null;
|
||||||
|
|
|
@ -271,7 +271,7 @@ public class InvoiceGenerate extends SvrProcess
|
||||||
if (completeOrder && !fullyDelivered)
|
if (completeOrder && !fullyDelivered)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("Failed CompleteOrder - " + oLine);
|
if (log.isLoggable(Level.FINE)) log.fine("Failed CompleteOrder - " + oLine);
|
||||||
addLog(0, null, null,"Failed CompleteOrder - " + oLine,oLine.get_Table_ID(),oLine.getC_OrderLine_ID()); // Elaine 2008/11/25
|
addBufferLog(0, null, null,"Failed CompleteOrder - " + oLine,oLine.get_Table_ID(),oLine.getC_OrderLine_ID()); // Elaine 2008/11/25
|
||||||
completeOrder = false;
|
completeOrder = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -291,7 +291,7 @@ public class InvoiceGenerate extends SvrProcess
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("Failed: " + order.getInvoiceRule()
|
if (log.isLoggable(Level.FINE)) log.fine("Failed: " + order.getInvoiceRule()
|
||||||
+ " - ToInvoice=" + toInvoice + " - " + oLine);
|
+ " - ToInvoice=" + toInvoice + " - " + oLine);
|
||||||
addLog(0, null, null,"Failed: " + order.getInvoiceRule()
|
addBufferLog(0, null, null,"Failed: " + order.getInvoiceRule()
|
||||||
+ " - ToInvoice=" + toInvoice + " - " + oLine,oLine.get_Table_ID(),oLine.getC_OrderLine_ID());
|
+ " - ToInvoice=" + toInvoice + " - " + oLine,oLine.get_Table_ID(),oLine.getC_OrderLine_ID());
|
||||||
}
|
}
|
||||||
} // for all order lines
|
} // for all order lines
|
||||||
|
@ -489,14 +489,14 @@ public class InvoiceGenerate extends SvrProcess
|
||||||
if (!m_invoice.processIt(p_docAction))
|
if (!m_invoice.processIt(p_docAction))
|
||||||
{
|
{
|
||||||
log.warning("completeInvoice - failed: " + m_invoice);
|
log.warning("completeInvoice - failed: " + m_invoice);
|
||||||
addLog(0, null, null,"completeInvoice - failed: " + m_invoice,m_invoice.get_Table_ID(),m_invoice.getC_Invoice_ID()); // Elaine 2008/11/25
|
addBufferLog(0, null, null,"completeInvoice - failed: " + m_invoice,m_invoice.get_Table_ID(),m_invoice.getC_Invoice_ID()); // Elaine 2008/11/25
|
||||||
throw new IllegalStateException("Invoice Process Failed: " + m_invoice + " - " + m_invoice.getProcessMsg());
|
throw new IllegalStateException("Invoice Process Failed: " + m_invoice + " - " + m_invoice.getProcessMsg());
|
||||||
|
|
||||||
}
|
}
|
||||||
m_invoice.saveEx();
|
m_invoice.saveEx();
|
||||||
|
|
||||||
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + m_invoice.getDocumentNo());
|
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + m_invoice.getDocumentNo());
|
||||||
addLog(m_invoice.getC_Invoice_ID(), m_invoice.getDateInvoiced(), null, message, m_invoice.get_Table_ID(), m_invoice.getC_Invoice_ID());
|
addBufferLog(m_invoice.getC_Invoice_ID(), m_invoice.getDateInvoiced(), null, message, m_invoice.get_Table_ID(), m_invoice.getC_Invoice_ID());
|
||||||
m_created++;
|
m_created++;
|
||||||
}
|
}
|
||||||
m_invoice = null;
|
m_invoice = null;
|
||||||
|
|
|
@ -210,7 +210,7 @@ public class OrderPOCreate extends SvrProcess
|
||||||
{
|
{
|
||||||
po = createPOForVendor(rs.getInt(1), so);
|
po = createPOForVendor(rs.getInt(1), so);
|
||||||
String message = Msg.parseTranslation(getCtx(), "@OrderCreated@ " + po.getDocumentNo());
|
String message = Msg.parseTranslation(getCtx(), "@OrderCreated@ " + po.getDocumentNo());
|
||||||
addLog(0, null, null, message, po.get_Table_ID(), po.getC_Order_ID());
|
addBufferLog (0, null, null, message, po.get_Table_ID(), po.getC_Order_ID());
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -150,6 +150,7 @@ public class RequestInvoice extends SvrProcess
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
log.log (Level.SEVERE, sql.toString(), e);
|
log.log (Level.SEVERE, sql.toString(), e);
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -180,7 +181,7 @@ public class RequestInvoice extends SvrProcess
|
||||||
}
|
}
|
||||||
m_invoice.saveEx();
|
m_invoice.saveEx();
|
||||||
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + m_invoice.getDocumentNo());
|
String message = Msg.parseTranslation(getCtx(), "@InvoiceProcessed@ " + m_invoice.getDocumentNo());
|
||||||
addLog(0, null, m_invoice.getGrandTotal(), message, m_invoice.get_Table_ID(), m_invoice.getC_Invoice_ID());
|
addBufferLog(0, null, m_invoice.getGrandTotal(), message, m_invoice.get_Table_ID(), m_invoice.getC_Invoice_ID());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_invoice = null;
|
m_invoice = null;
|
||||||
|
|
|
@ -382,7 +382,7 @@ public class RequisitionPOCreate extends SvrProcess
|
||||||
{
|
{
|
||||||
m_order.load(get_TrxName());
|
m_order.load(get_TrxName());
|
||||||
String message = Msg.parseTranslation(getCtx(), "@GeneratedPO@ " + m_order.getDocumentNo());
|
String message = Msg.parseTranslation(getCtx(), "@GeneratedPO@ " + m_order.getDocumentNo());
|
||||||
addLog(0, null, m_order.getGrandTotal(), message, m_order.get_Table_ID(), m_order.getC_Order_ID());
|
addBufferLog(0, null, m_order.getGrandTotal(), message, m_order.get_Table_ID(), m_order.getC_Order_ID());
|
||||||
}
|
}
|
||||||
m_order = null;
|
m_order = null;
|
||||||
m_orderLine = null;
|
m_orderLine = null;
|
||||||
|
|
|
@ -175,7 +175,7 @@ public class RfQCreatePO extends SvrProcess
|
||||||
order.setSalesRep_ID(rfq.getSalesRep_ID());
|
order.setSalesRep_ID(rfq.getSalesRep_ID());
|
||||||
order.saveEx();
|
order.saveEx();
|
||||||
noOrders++;
|
noOrders++;
|
||||||
addLog(0, null, null, order.getDocumentNo(), order.get_Table_ID(), order.getC_Order_ID());
|
addBufferLog(0, null, null, order.getDocumentNo(), order.get_Table_ID(), order.getC_Order_ID());
|
||||||
}
|
}
|
||||||
// For all Qtys
|
// For all Qtys
|
||||||
MRfQResponseLineQty[] qtys = line.getQtys(false);
|
MRfQResponseLineQty[] qtys = line.getQtys(false);
|
||||||
|
|
|
@ -138,7 +138,9 @@ public class SynchronizeTerminology extends SvrProcess
|
||||||
+" WHERE NOT EXISTS"
|
+" WHERE NOT EXISTS"
|
||||||
+" (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName))"
|
+" (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName))"
|
||||||
+" AND NOT EXISTS"
|
+" AND NOT EXISTS"
|
||||||
+" (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName)))";
|
+" (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName))"
|
||||||
|
+" AND NOT EXISTS"
|
||||||
|
+" (SELECT 1 FROM AD_INFOCOLUMN i WHERE UPPER(e.ColumnName)=UPPER(i.ColumnName)))";
|
||||||
no = DB.executeUpdate(sql, false, get_TrxName());
|
no = DB.executeUpdate(sql, false, get_TrxName());
|
||||||
if (log.isLoggable(Level.INFO)) log.info(" rows deleted: "+no);
|
if (log.isLoggable(Level.INFO)) log.info(" rows deleted: "+no);
|
||||||
trx.commit(true);
|
trx.commit(true);
|
||||||
|
@ -147,7 +149,9 @@ public class SynchronizeTerminology extends SvrProcess
|
||||||
+" WHERE AD_Element_ID >= 1000000 AND NOT EXISTS"
|
+" WHERE AD_Element_ID >= 1000000 AND NOT EXISTS"
|
||||||
+" (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName))"
|
+" (SELECT 1 FROM AD_COLUMN c WHERE UPPER(e.ColumnName)=UPPER(c.ColumnName))"
|
||||||
+" AND NOT EXISTS"
|
+" AND NOT EXISTS"
|
||||||
+" (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName))";
|
+" (SELECT 1 FROM AD_PROCESS_PARA p WHERE UPPER(e.ColumnName)=UPPER(p.ColumnName))"
|
||||||
|
+" AND NOT EXISTS"
|
||||||
|
+" (SELECT 1 FROM AD_INFOCOLUMN i WHERE UPPER(e.ColumnName)=UPPER(i.ColumnName))";
|
||||||
no = DB.executeUpdate(sql, false, get_TrxName());
|
no = DB.executeUpdate(sql, false, get_TrxName());
|
||||||
if (log.isLoggable(Level.INFO)) log.info(" rows deleted: "+no);
|
if (log.isLoggable(Level.INFO)) log.info(" rows deleted: "+no);
|
||||||
trx.commit(true);
|
trx.commit(true);
|
||||||
|
|
|
@ -16,9 +16,11 @@ package org.adempiere.impexp;
|
||||||
|
|
||||||
import static org.compiere.model.SystemIDs.REFERENCE_PAYMENTRULE;
|
import static org.compiere.model.SystemIDs.REFERENCE_PAYMENTRULE;
|
||||||
|
|
||||||
|
import java.io.BufferedWriter;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileWriter;
|
import java.io.FileOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.io.OutputStreamWriter;
|
||||||
import java.text.DecimalFormat;
|
import java.text.DecimalFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
@ -47,6 +49,7 @@ import org.compiere.util.DB;
|
||||||
import org.compiere.util.DisplayType;
|
import org.compiere.util.DisplayType;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
import org.compiere.util.Evaluator;
|
import org.compiere.util.Evaluator;
|
||||||
|
import org.compiere.util.Ini;
|
||||||
import org.compiere.util.Msg;
|
import org.compiere.util.Msg;
|
||||||
import org.compiere.util.Util;
|
import org.compiere.util.Util;
|
||||||
import org.supercsv.cellprocessor.FmtBool;
|
import org.supercsv.cellprocessor.FmtBool;
|
||||||
|
@ -76,7 +79,10 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
MTable table= null;
|
MTable table= null;
|
||||||
MTable tableDetail = null;
|
MTable tableDetail = null;
|
||||||
try {
|
try {
|
||||||
mapWriter = new CsvMapWriter(new FileWriter(file), CsvPreference.STANDARD_PREFERENCE);
|
FileOutputStream fileOut = new FileOutputStream (file);
|
||||||
|
OutputStreamWriter oStrW = new OutputStreamWriter(fileOut, Ini.getCharset());
|
||||||
|
BufferedWriter bw = new BufferedWriter(oStrW);
|
||||||
|
mapWriter = new CsvMapWriter(bw, CsvPreference.STANDARD_PREFERENCE);
|
||||||
String isValidTab = isValidTabToExport(gridTab);
|
String isValidTab = isValidTabToExport(gridTab);
|
||||||
if(isValidTab!=null){
|
if(isValidTab!=null){
|
||||||
throw new AdempiereException(isValidTab);
|
throw new AdempiereException(isValidTab);
|
||||||
|
|
|
@ -24,10 +24,12 @@ import java.text.ParseException;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import org.adempiere.exceptions.AdempiereException;
|
||||||
import org.compiere.model.Callout;
|
import org.compiere.model.Callout;
|
||||||
import org.compiere.model.X_AD_ImpFormat_Row;
|
import org.compiere.model.X_AD_ImpFormat_Row;
|
||||||
import org.compiere.util.CLogger;
|
import org.compiere.util.CLogger;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
|
import org.compiere.util.Util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Import Format Row with parsing capability
|
* Import Format Row with parsing capability
|
||||||
|
@ -390,7 +392,7 @@ public final class ImpFormatRow
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return date as YYYY-MM-DD HH24:MI:SS (JDBC Timestamp format w/o miliseconds)
|
* Return date as YYYY-MM-DD HH24:MI:SS (JDBC Timestamp format w/o milliseconds)
|
||||||
* @param info data
|
* @param info data
|
||||||
* @return date as JDBC format String
|
* @return date as JDBC format String
|
||||||
*/
|
*/
|
||||||
|
@ -400,6 +402,7 @@ public final class ImpFormatRow
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if (!Util.isEmpty(m_dataFormat))
|
||||||
m_dformat = new SimpleDateFormat(m_dataFormat);
|
m_dformat = new SimpleDateFormat(m_dataFormat);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
@ -418,13 +421,12 @@ public final class ImpFormatRow
|
||||||
}
|
}
|
||||||
catch (ParseException pe)
|
catch (ParseException pe)
|
||||||
{
|
{
|
||||||
log.log(Level.SEVERE, "ImpFormatRow.parseDate - " + info, pe);
|
String msg = pe.getLocalizedMessage() + ": Pattern[" + m_dformat.toPattern() + "] Data[" + info + "]";
|
||||||
|
throw new AdempiereException(msg);
|
||||||
}
|
}
|
||||||
if (ts == null)
|
|
||||||
ts = new Timestamp (System.currentTimeMillis());
|
|
||||||
//
|
//
|
||||||
String dateString = ts.toString();
|
String dateString = ts.toString();
|
||||||
return dateString.substring(0, dateString.indexOf('.')); // cut off miliseconds
|
return dateString.substring(0, dateString.indexOf('.')); // cut off milliseconds
|
||||||
} // parseNumber
|
} // parseNumber
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -22,6 +22,8 @@ import java.sql.PreparedStatement;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
@ -54,6 +56,26 @@ public abstract class SvrProcess implements ProcessCall
|
||||||
public static final String PROCESS_INFO_CTX_KEY = "ProcessInfo";
|
public static final String PROCESS_INFO_CTX_KEY = "ProcessInfo";
|
||||||
public static final String PROCESS_UI_CTX_KEY = "ProcessUI";
|
public static final String PROCESS_UI_CTX_KEY = "ProcessUI";
|
||||||
|
|
||||||
|
private List<ProcessInfoLog> listEntryLog;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add log to buffer, only process total success, flush buffer
|
||||||
|
* @param id
|
||||||
|
* @param date
|
||||||
|
* @param number
|
||||||
|
* @param msg
|
||||||
|
* @param tableId
|
||||||
|
* @param recordId
|
||||||
|
*/
|
||||||
|
public void addBufferLog(int id, Timestamp date, BigDecimal number, String msg, int tableId ,int recordId) {
|
||||||
|
ProcessInfoLog entryLog = new ProcessInfoLog(id, date, number, msg, tableId, recordId);
|
||||||
|
|
||||||
|
if (listEntryLog == null)
|
||||||
|
listEntryLog = new ArrayList<ProcessInfoLog>();
|
||||||
|
|
||||||
|
listEntryLog.add(entryLog);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Server Process.
|
* Server Process.
|
||||||
* Note that the class is initiated by startProcess.
|
* Note that the class is initiated by startProcess.
|
||||||
|
@ -192,6 +214,9 @@ public abstract class SvrProcess implements ProcessCall
|
||||||
if ("@Error@".equals(msg))
|
if ("@Error@".equals(msg))
|
||||||
success = false;
|
success = false;
|
||||||
|
|
||||||
|
if (success)
|
||||||
|
flushBufferLog();
|
||||||
|
|
||||||
// Parse Variables
|
// Parse Variables
|
||||||
msg = Msg.parseTranslation(m_ctx, msg);
|
msg = Msg.parseTranslation(m_ctx, msg);
|
||||||
m_pi.setSummary (msg, !success);
|
m_pi.setSummary (msg, !success);
|
||||||
|
@ -449,7 +474,7 @@ public abstract class SvrProcess implements ProcessCall
|
||||||
if (m_pi != null)
|
if (m_pi != null)
|
||||||
m_pi.addLog(id, date, number, msg,tableId,recordId);
|
m_pi.addLog(id, date, number, msg,tableId,recordId);
|
||||||
|
|
||||||
if (log.isLoggable(Level.INFO)) log.info(id + " - " + date + " - " + number + " - " + msg +" - "+tableId);
|
if (log.isLoggable(Level.INFO)) log.info(id + " - " + date + " - " + number + " - " + msg + " - " + tableId + " - " + recordId);
|
||||||
} // addLog
|
} // addLog
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -476,6 +501,17 @@ public abstract class SvrProcess implements ProcessCall
|
||||||
addLog (0, null, null, msg);
|
addLog (0, null, null, msg);
|
||||||
} // addLog
|
} // addLog
|
||||||
|
|
||||||
|
private void flushBufferLog () {
|
||||||
|
if (listEntryLog == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
for (ProcessInfoLog entryLog : listEntryLog) {
|
||||||
|
if (m_pi != null)
|
||||||
|
m_pi.addLog(entryLog);
|
||||||
|
if (log.isLoggable(Level.INFO)) log.info(entryLog.getP_ID() + " - " + entryLog.getP_Date() + " - " + entryLog.getP_Number() + " - " + entryLog.getP_Msg() + " - " + entryLog.getAD_Table_ID() + " - " + entryLog.getRecord_ID());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Execute function
|
* Execute function
|
||||||
* @param className class
|
* @param className class
|
||||||
|
|
|
@ -164,7 +164,7 @@ public class BankTransfer extends SvrProcess
|
||||||
throw new IllegalStateException("Payment Process Failed: " + paymentBankFrom + " - " + paymentBankFrom.getProcessMsg());
|
throw new IllegalStateException("Payment Process Failed: " + paymentBankFrom + " - " + paymentBankFrom.getProcessMsg());
|
||||||
}
|
}
|
||||||
paymentBankFrom.saveEx();
|
paymentBankFrom.saveEx();
|
||||||
addLog(paymentBankFrom.getC_Payment_ID(), paymentBankFrom.getDateTrx(),
|
addBufferLog(paymentBankFrom.getC_Payment_ID(), paymentBankFrom.getDateTrx(),
|
||||||
null, paymentBankFrom.getC_DocType().getName() + " " + paymentBankFrom.getDocumentNo(),
|
null, paymentBankFrom.getC_DocType().getName() + " " + paymentBankFrom.getDocumentNo(),
|
||||||
MPayment.Table_ID, paymentBankFrom.getC_Payment_ID());
|
MPayment.Table_ID, paymentBankFrom.getC_Payment_ID());
|
||||||
m_created++;
|
m_created++;
|
||||||
|
@ -190,7 +190,7 @@ public class BankTransfer extends SvrProcess
|
||||||
throw new IllegalStateException("Payment Process Failed: " + paymentBankTo + " - " + paymentBankTo.getProcessMsg());
|
throw new IllegalStateException("Payment Process Failed: " + paymentBankTo + " - " + paymentBankTo.getProcessMsg());
|
||||||
}
|
}
|
||||||
paymentBankTo.saveEx();
|
paymentBankTo.saveEx();
|
||||||
addLog(paymentBankTo.getC_Payment_ID(), paymentBankTo.getDateTrx(),
|
addBufferLog(paymentBankTo.getC_Payment_ID(), paymentBankTo.getDateTrx(),
|
||||||
null, paymentBankTo.getC_DocType().getName() + " " + paymentBankTo.getDocumentNo(),
|
null, paymentBankTo.getC_DocType().getName() + " " + paymentBankTo.getDocumentNo(),
|
||||||
MPayment.Table_ID, paymentBankTo.getC_Payment_ID());
|
MPayment.Table_ID, paymentBankTo.getC_Payment_ID());
|
||||||
m_created++;
|
m_created++;
|
||||||
|
|
|
@ -302,7 +302,7 @@ Import-Package: com.lowagie.text,
|
||||||
groovyjarjarasm.asm.signature,
|
groovyjarjarasm.asm.signature,
|
||||||
groovyjarjarasm.asm.tree,
|
groovyjarjarasm.asm.tree,
|
||||||
groovyjarjarcommonscli,
|
groovyjarjarcommonscli,
|
||||||
org.apache.batik;version="17.0.0",
|
org.apache.batik;version="1.7.0",
|
||||||
org.apache.batik.anim;version="1.7.0",
|
org.apache.batik.anim;version="1.7.0",
|
||||||
org.apache.batik.anim.timing;version="1.7.0",
|
org.apache.batik.anim.timing;version="1.7.0",
|
||||||
org.apache.batik.anim.values;version="1.7.0",
|
org.apache.batik.anim.values;version="1.7.0",
|
||||||
|
|
|
@ -47,6 +47,7 @@ import org.compiere.model.MUser;
|
||||||
import org.compiere.util.CLogger;
|
import org.compiere.util.CLogger;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
import org.compiere.util.Language;
|
import org.compiere.util.Language;
|
||||||
|
import org.compiere.util.Msg;
|
||||||
import org.zkforge.keylistener.Keylistener;
|
import org.zkforge.keylistener.Keylistener;
|
||||||
import org.zkoss.web.Attributes;
|
import org.zkoss.web.Attributes;
|
||||||
import org.zkoss.web.servlet.Servlets;
|
import org.zkoss.web.servlet.Servlets;
|
||||||
|
@ -197,6 +198,16 @@ public class AdempiereWebUI extends Window implements EventListener<Event>, IWeb
|
||||||
Env.verifyLanguage(ctx, language);
|
Env.verifyLanguage(ctx, language);
|
||||||
Env.setContext(ctx, Env.LANGUAGE, language.getAD_Language()); //Bug
|
Env.setContext(ctx, Env.LANGUAGE, language.getAD_Language()); //Bug
|
||||||
|
|
||||||
|
StringBuilder calendarMsgScript = new StringBuilder();
|
||||||
|
String monthMore = Msg.getMsg(ctx,"more");
|
||||||
|
String dayMore = Msg.getMsg(ctx,"more");
|
||||||
|
calendarMsgScript.append("function _overrideMsgCal() { msgcal.monthMORE = '+{0} ")
|
||||||
|
.append(monthMore).append("';");
|
||||||
|
calendarMsgScript.append("msgcal.dayMORE = '+{0} ")
|
||||||
|
.append(dayMore).append("'; }");
|
||||||
|
AuScript auscript = new AuScript(calendarMsgScript.toString());
|
||||||
|
Clients.response(auscript);
|
||||||
|
|
||||||
// Create adempiere Session - user id in ctx
|
// Create adempiere Session - user id in ctx
|
||||||
Session currSess = Executions.getCurrent().getDesktop().getSession();
|
Session currSess = Executions.getCurrent().getDesktop().getSession();
|
||||||
HttpSession httpSess = (HttpSession) currSess.getNativeSession();
|
HttpSession httpSess = (HttpSession) currSess.getNativeSession();
|
||||||
|
|
|
@ -401,8 +401,13 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
if (field.getColumnName().equalsIgnoreCase(query.getZoomColumnName()))
|
if (field.getColumnName().equalsIgnoreCase(query.getZoomColumnName()))
|
||||||
{
|
{
|
||||||
gridWindow.initTab(tabIndex);
|
gridWindow.initTab(tabIndex);
|
||||||
int parentId = DB.getSQLValue(null, "SELECT " + gTab.getLinkColumnName() + " FROM " + gTab.getTableName() + " WHERE " + query.getWhereClause());
|
int[] parentIds = DB.getIDsEx(null, "SELECT " + gTab.getLinkColumnName() + " FROM " + gTab.getTableName() + " WHERE " + query.getWhereClause());
|
||||||
if (parentId > 0)
|
if (parentIds.length > 0)
|
||||||
|
{
|
||||||
|
GridTab parentTab = null;
|
||||||
|
Map<Integer, MQuery>queryMap = new TreeMap<Integer, MQuery>();
|
||||||
|
|
||||||
|
for (int parentId : parentIds)
|
||||||
{
|
{
|
||||||
Map<Integer, Object[]>parentMap = new TreeMap<Integer, Object[]>();
|
Map<Integer, Object[]>parentMap = new TreeMap<Integer, Object[]>();
|
||||||
int index = tabIndex;
|
int index = tabIndex;
|
||||||
|
@ -414,6 +419,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
GridTab pTab = gridWindow.getTab(index);
|
GridTab pTab = gridWindow.getTab(index);
|
||||||
if (pTab.getTabLevel() < currentTab.getTabLevel())
|
if (pTab.getTabLevel() < currentTab.getTabLevel())
|
||||||
{
|
{
|
||||||
|
if (parentTab == null)
|
||||||
|
parentTab = pTab;
|
||||||
gridWindow.initTab(index);
|
gridWindow.initTab(index);
|
||||||
if (index > 0)
|
if (index > 0)
|
||||||
{
|
{
|
||||||
|
@ -444,36 +451,72 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
{
|
{
|
||||||
GridTab pTab = gridWindow.getTab(entry.getKey());
|
GridTab pTab = gridWindow.getTab(entry.getKey());
|
||||||
Object[] value = entry.getValue();
|
Object[] value = entry.getValue();
|
||||||
MQuery pquery = new MQuery(pTab.getAD_Table_ID());
|
MQuery pquery = queryMap.get(entry.getKey());
|
||||||
|
if (pquery == null)
|
||||||
|
{
|
||||||
|
pquery = new MQuery(pTab.getAD_Table_ID());
|
||||||
|
queryMap.put(entry.getKey(), pquery);
|
||||||
pquery.addRestriction((String)value[0], "=", value[1]);
|
pquery.addRestriction((String)value[0], "=", value[1]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pquery.addRestriction((String)value[0], "=", value[1], null, null, false, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (Map.Entry<Integer, MQuery> entry : queryMap.entrySet())
|
||||||
|
{
|
||||||
|
GridTab pTab = gridWindow.getTab(entry.getKey());
|
||||||
IADTabpanel tp = adTabbox.findADTabpanel(pTab);
|
IADTabpanel tp = adTabbox.findADTabpanel(pTab);
|
||||||
tp.createUI();
|
tp.createUI();
|
||||||
if (tp.getTabLevel() == 0)
|
if (tp.getTabLevel() == 0)
|
||||||
{
|
{
|
||||||
pTab.setQuery(pquery);
|
pTab.setQuery(entry.getValue());
|
||||||
tp.query();
|
tp.query();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
tp.query();
|
tp.query();
|
||||||
pTab.setQuery(pquery);
|
pTab.setQuery(entry.getValue());
|
||||||
tp.query();
|
tp.query();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MQuery targetQuery = new MQuery(gTab.getAD_Table_ID());
|
MQuery targetQuery = new MQuery(gTab.getAD_Table_ID());
|
||||||
targetQuery.addRestriction(gTab.getLinkColumnName(), "=", parentId);
|
targetQuery.addRestriction(gTab.getLinkColumnName(), "=", parentTab.getRecord_ID());
|
||||||
gTab.setQuery(targetQuery);
|
gTab.setQuery(targetQuery);
|
||||||
IADTabpanel gc = null;
|
IADTabpanel gc = null;
|
||||||
gc = adTabbox.findADTabpanel(gTab);
|
gc = adTabbox.findADTabpanel(gTab);
|
||||||
gc.createUI();
|
gc.createUI();
|
||||||
gc.query(false, 0, 0);
|
gc.query(false, 0, 0);
|
||||||
|
|
||||||
|
int zoomColumnIndex = -1;
|
||||||
GridTable table = gTab.getTableModel();
|
GridTable table = gTab.getTableModel();
|
||||||
|
for (int i = 0; i < table.getColumnCount(); i++)
|
||||||
|
{
|
||||||
|
if (table.getColumnName(i).equalsIgnoreCase(query.getZoomColumnName()))
|
||||||
|
{
|
||||||
|
zoomColumnIndex = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
int count = table.getRowCount();
|
int count = table.getRowCount();
|
||||||
for(int i = 0; i < count; i++)
|
for(int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
int id = table.getKeyID(i);
|
int id = -1;
|
||||||
|
if (zoomColumnIndex >= 0)
|
||||||
|
{
|
||||||
|
Object zoomValue = table.getValueAt(i, zoomColumnIndex);
|
||||||
|
if (zoomValue != null && zoomValue instanceof Number)
|
||||||
|
{
|
||||||
|
id = ((Number)zoomValue).intValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
id = table.getKeyID(i);
|
||||||
|
}
|
||||||
if (id == ((Integer)query.getZoomValue()).intValue())
|
if (id == ((Integer)query.getZoomValue()).intValue())
|
||||||
{
|
{
|
||||||
setActiveTab(gridWindow.getTabIndex(gTab), null);
|
setActiveTab(gridWindow.getTabIndex(gTab), null);
|
||||||
|
|
|
@ -37,6 +37,7 @@ import org.adempiere.webui.session.SessionManager;
|
||||||
import org.adempiere.webui.theme.ThemeManager;
|
import org.adempiere.webui.theme.ThemeManager;
|
||||||
import org.compiere.model.MSysConfig;
|
import org.compiere.model.MSysConfig;
|
||||||
import org.compiere.model.X_R_RequestType;
|
import org.compiere.model.X_R_RequestType;
|
||||||
|
import org.compiere.util.DisplayType;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
import org.compiere.util.Msg;
|
import org.compiere.util.Msg;
|
||||||
import org.compiere.util.Util;
|
import org.compiere.util.Util;
|
||||||
|
@ -52,7 +53,6 @@ import org.zkoss.calendar.event.CalendarsEvent;
|
||||||
import org.zkoss.calendar.impl.SimpleCalendarEvent;
|
import org.zkoss.calendar.impl.SimpleCalendarEvent;
|
||||||
import org.zkoss.calendar.impl.SimpleCalendarModel;
|
import org.zkoss.calendar.impl.SimpleCalendarModel;
|
||||||
import org.zkoss.image.AImage;
|
import org.zkoss.image.AImage;
|
||||||
import org.zkoss.util.Locales;
|
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
@ -410,7 +410,7 @@ public class CalendarWindow extends Window implements EventListener<Event>, ITab
|
||||||
private void updateDateLabel() {
|
private void updateDateLabel() {
|
||||||
Date b = calendars.getBeginDate();
|
Date b = calendars.getBeginDate();
|
||||||
Date e = calendars.getEndDate();
|
Date e = calendars.getEndDate();
|
||||||
SimpleDateFormat sdfV = new SimpleDateFormat("yyyy/MMM/dd", Locales.getCurrent());
|
SimpleDateFormat sdfV = DisplayType.getDateFormat();
|
||||||
sdfV.setTimeZone(calendars.getDefaultTimeZone());
|
sdfV.setTimeZone(calendars.getDefaultTimeZone());
|
||||||
lblDate.setValue(sdfV.format(b) + " - " + sdfV.format(e));
|
lblDate.setValue(sdfV.format(b) + " - " + sdfV.format(e));
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,7 @@ import org.compiere.model.PO;
|
||||||
import org.compiere.model.X_R_RequestType;
|
import org.compiere.model.X_R_RequestType;
|
||||||
import org.compiere.util.CLogger;
|
import org.compiere.util.CLogger;
|
||||||
import org.compiere.util.DB;
|
import org.compiere.util.DB;
|
||||||
|
import org.compiere.util.DisplayType;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
import org.compiere.util.Trx;
|
import org.compiere.util.Trx;
|
||||||
import org.compiere.util.TrxEventListener;
|
import org.compiere.util.TrxEventListener;
|
||||||
|
@ -49,7 +50,6 @@ import org.zkoss.calendar.Calendars;
|
||||||
import org.zkoss.calendar.api.CalendarEvent;
|
import org.zkoss.calendar.api.CalendarEvent;
|
||||||
import org.zkoss.calendar.event.CalendarsEvent;
|
import org.zkoss.calendar.event.CalendarsEvent;
|
||||||
import org.zkoss.calendar.impl.SimpleCalendarModel;
|
import org.zkoss.calendar.impl.SimpleCalendarModel;
|
||||||
import org.zkoss.util.Locales;
|
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Desktop;
|
import org.zkoss.zk.ui.Desktop;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
@ -397,7 +397,7 @@ public class DPCalendar extends DashboardPanel implements EventListener<Event>,
|
||||||
private void updateDateLabel() {
|
private void updateDateLabel() {
|
||||||
Date b = calendars.getBeginDate();
|
Date b = calendars.getBeginDate();
|
||||||
Date e = calendars.getEndDate();
|
Date e = calendars.getEndDate();
|
||||||
SimpleDateFormat sdfV = new SimpleDateFormat("yyyy/MMM/dd", Locales.getCurrent());
|
SimpleDateFormat sdfV = DisplayType.getDateFormat();
|
||||||
sdfV.setTimeZone(calendars.getDefaultTimeZone());
|
sdfV.setTimeZone(calendars.getDefaultTimeZone());
|
||||||
lblDate.setValue(sdfV.format(b) + " - " + sdfV.format(e));
|
lblDate.setValue(sdfV.format(b) + " - " + sdfV.format(e));
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -21,7 +21,7 @@
|
||||||
<style src="/theme/default/zul/calendar/calendar.css"/>
|
<style src="/theme/default/zul/calendar/calendar.css"/>
|
||||||
<borderlayout id="main">
|
<borderlayout id="main">
|
||||||
<center border="none">
|
<center border="none">
|
||||||
<calendars firstDayOfWeek="Monday" mold="month" id="cal">
|
<calendars firstDayOfWeek="Monday" mold="month" id="cal" xmlns:w="client" w:onBind="try{_overrideMsgCal(); var me=this; setTimeout(function(){me.onSize();},50); }catch(error){} ">
|
||||||
<toolbar sclass="calendar-toolbar">
|
<toolbar sclass="calendar-toolbar">
|
||||||
<div class="float-left">
|
<div class="float-left">
|
||||||
<hbox>
|
<hbox>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
var refresh = Util.cleanAmp(Msg.getMsg(Env.getCtx(),"Refresh"));
|
var refresh = Util.cleanAmp(Msg.getMsg(Env.getCtx(),"Refresh"));
|
||||||
]]></zscript>
|
]]></zscript>
|
||||||
<style src="/theme/default/zul/calendar/calendar.css"/>
|
<style src="/theme/default/zul/calendar/calendar.css"/>
|
||||||
<calendars firstDayOfWeek="Monday" mold="month" id="cal">
|
<calendars firstDayOfWeek="Monday" mold="month" id="cal" xmlns:w="client" w:onBind="try{_overrideMsgCal(); var me=this; setTimeout(function(){me.onSize();},50); }catch(error){} ">
|
||||||
<toolbar sclass="calendar-toolbar">
|
<toolbar sclass="calendar-toolbar">
|
||||||
<div class="float-left">
|
<div class="float-left">
|
||||||
<hbox>
|
<hbox>
|
||||||
|
|
|
@ -4,7 +4,8 @@ Bundle-Name: UI base
|
||||||
Bundle-SymbolicName: org.adempiere.ui;singleton:=true
|
Bundle-SymbolicName: org.adempiere.ui;singleton:=true
|
||||||
Bundle-Version: 2.0.0.qualifier
|
Bundle-Version: 2.0.0.qualifier
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||||
Require-Bundle: org.adempiere.base;bundle-version="2.0.0"
|
Require-Bundle: org.adempiere.base;bundle-version="2.0.0",
|
||||||
|
org.apache.xerces;bundle-version="2.9.0"
|
||||||
Export-Package: org.compiere.apps,
|
Export-Package: org.compiere.apps,
|
||||||
org.compiere.apps.form,
|
org.compiere.apps.form,
|
||||||
org.compiere.apps.wf,
|
org.compiere.apps.wf,
|
||||||
|
|
Loading…
Reference in New Issue