IDEMPIERE-1011 Improve usability of Table window
This commit is contained in:
parent
6c939f1c7e
commit
d2a6dae20b
|
@ -0,0 +1,260 @@
|
|||
-- IDEMPIERE-1011 Improve usability of Table window
|
||||
-- Jun 2, 2013 12:02:52 PM COT
|
||||
UPDATE AD_Column SET ReadOnlyLogic='@#UIClient@!swing',Updated=TO_DATE('2013-06-02 12:02:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=1179
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=160, NumLines=2,Updated=TO_DATE('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=133
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=240,Updated=TO_DATE('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200350
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=250,Updated=TO_DATE('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200348
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=260,Updated=TO_DATE('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200349
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=270,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=13425
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=280,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200837
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=290,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54402
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=300,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54401
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=310,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200838
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=320,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200834
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=330,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=13424
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=340,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=62468
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=350, AD_FieldGroup_ID=200004, IsDisplayed='Y', XPosition=1, NumLines=2,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53280
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=360, IsDisplayed='Y', XPosition=1, NumLines=2,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200836
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=370, NumLines=2,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200835
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=380,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=136
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=390,Updated=TO_DATE('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=139
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:18 PM COT
|
||||
UPDATE AD_Field SET SeqNo=150,Updated=TO_DATE('2013-06-02 12:14:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:18 PM COT
|
||||
UPDATE AD_Field SET SeqNo=160, AD_FieldGroup_ID=NULL, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-06-02 12:14:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=310
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=170,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2526
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=180, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=169
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=200, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=210,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=171
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=240,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=161
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=250,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=162
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=260,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=166
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=270,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2370
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=280, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=290,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10128
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=300, IsDisplayed='Y', XPosition=1, NumLines=2,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=160
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=310, NumLines=2,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4941
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=320, NumLines=2,Updated=TO_DATE('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50188
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:44 PM COT
|
||||
UPDATE AD_Column SET IsToolbarButton='Y',Updated=TO_DATE('2013-06-02 12:14:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=128
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=40, IsDisplayed='Y', XPosition=1,Updated=TO_DATE('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1345
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=50,Updated=TO_DATE('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=156
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=60,Updated=TO_DATE('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11264
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=130, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5121
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=140,Updated=TO_DATE('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=170
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=150,Updated=TO_DATE('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=172
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=160,Updated=TO_DATE('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=170,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=310
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=180,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2526
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=190,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=169
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=200,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200648
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=210,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=220,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=171
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=230,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2574
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=240,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2573
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=250,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=161
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=260,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=162
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=270,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=166
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=280, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2370
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=310, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=320,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4941
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=330,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50188
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=340,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=168
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=350,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=159
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=380, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56317
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=390, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=62467
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=400, AD_FieldGroup_ID=200015, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=167
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=410, AD_FieldGroup_ID=200015, IsDisplayed='Y', XPosition=1,Updated=TO_DATE('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=825
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 7:51:57 PM COT
|
||||
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2013-06-02 19:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=156
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 7:53:38 PM COT
|
||||
UPDATE AD_Column SET Callout='org.compiere.model.Callout_AD_Column.element',Updated=TO_DATE('2013-06-02 19:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2608
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201306021533_IDEMPIERE-1011.sql') FROM dual
|
||||
;
|
||||
|
|
@ -0,0 +1,260 @@
|
|||
-- IDEMPIERE-1011 Improve usability of Table window
|
||||
-- Jun 2, 2013 12:02:52 PM COT
|
||||
UPDATE AD_Column SET ReadOnlyLogic='@#UIClient@!swing',Updated=TO_TIMESTAMP('2013-06-02 12:02:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=1179
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=160, NumLines=2,Updated=TO_TIMESTAMP('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=133
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=240,Updated=TO_TIMESTAMP('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200350
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=250,Updated=TO_TIMESTAMP('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200348
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:10 PM COT
|
||||
UPDATE AD_Field SET SeqNo=260,Updated=TO_TIMESTAMP('2013-06-02 12:10:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200349
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=270,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=13425
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=280,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200837
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=290,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54402
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=300,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54401
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=310,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200838
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=320,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200834
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=330,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=13424
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=340,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=62468
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=350, AD_FieldGroup_ID=200004, IsDisplayed='Y', XPosition=1, NumLines=2,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53280
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=360, IsDisplayed='Y', XPosition=1, NumLines=2,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200836
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=370, NumLines=2,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200835
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=380,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=136
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:10:11 PM COT
|
||||
UPDATE AD_Field SET SeqNo=390,Updated=TO_TIMESTAMP('2013-06-02 12:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=139
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:18 PM COT
|
||||
UPDATE AD_Field SET SeqNo=150,Updated=TO_TIMESTAMP('2013-06-02 12:14:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:18 PM COT
|
||||
UPDATE AD_Field SET SeqNo=160, AD_FieldGroup_ID=NULL, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-06-02 12:14:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=310
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=170,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2526
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=180, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=169
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=200, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=210,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=171
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=240,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=161
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=250,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=162
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=260,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=166
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=270,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2370
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=280, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=290,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10128
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=300, IsDisplayed='Y', XPosition=1, NumLines=2,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=160
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=310, NumLines=2,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4941
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:19 PM COT
|
||||
UPDATE AD_Field SET SeqNo=320, NumLines=2,Updated=TO_TIMESTAMP('2013-06-02 12:14:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50188
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:14:44 PM COT
|
||||
UPDATE AD_Column SET IsToolbarButton='Y',Updated=TO_TIMESTAMP('2013-06-02 12:14:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=128
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=40, IsDisplayed='Y', XPosition=1,Updated=TO_TIMESTAMP('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1345
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=50,Updated=TO_TIMESTAMP('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=156
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=60,Updated=TO_TIMESTAMP('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=11264
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=130, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5121
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=140,Updated=TO_TIMESTAMP('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=170
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=150,Updated=TO_TIMESTAMP('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=172
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:54 PM COT
|
||||
UPDATE AD_Field SET SeqNo=160,Updated=TO_TIMESTAMP('2013-06-02 12:20:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=170,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=310
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=180,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2526
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=190,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=169
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=200,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200648
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=210,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=220,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=171
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=230,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2574
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=240,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2573
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=250,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=161
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=260,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=162
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=270,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=166
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=280, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2370
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=310, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=320,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4941
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=330,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50188
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=340,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=168
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=350,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=159
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=380, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56317
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=390, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=62467
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=400, AD_FieldGroup_ID=200015, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=167
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 12:20:55 PM COT
|
||||
UPDATE AD_Field SET SeqNo=410, AD_FieldGroup_ID=200015, IsDisplayed='Y', XPosition=1,Updated=TO_TIMESTAMP('2013-06-02 12:20:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=825
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 7:51:57 PM COT
|
||||
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2013-06-02 19:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=156
|
||||
;
|
||||
|
||||
-- Jun 2, 2013 7:53:38 PM COT
|
||||
UPDATE AD_Column SET Callout='org.compiere.model.Callout_AD_Column.element',Updated=TO_TIMESTAMP('2013-06-02 19:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2608
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201306021533_IDEMPIERE-1011.sql') FROM dual
|
||||
;
|
||||
|
|
@ -12,13 +12,20 @@
|
|||
*****************************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.adempiere.exceptions.DBException;
|
||||
import org.adempiere.model.GridTabWrapper;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.DisplayType;
|
||||
|
||||
/**
|
||||
* @author teo_sarca
|
||||
*
|
||||
* @author Carlos Ruiz - globalqss - IDEMPIERE-1011 Improve usability of Table window
|
||||
*/
|
||||
public class Callout_AD_Column extends CalloutEngine
|
||||
{
|
||||
|
@ -27,7 +34,110 @@ public class Callout_AD_Column extends CalloutEngine
|
|||
I_AD_Column column = GridTabWrapper.create(mTab, I_AD_Column.class);
|
||||
if (MColumn.isSuggestSelectionColumn(column.getColumnName(), true))
|
||||
column.setIsSelectionColumn(true);
|
||||
//
|
||||
|
||||
// IDEMPIERE-1011
|
||||
if (PO.getUUIDColumnName(column.getAD_Table().getTableName()).equals(column.getColumnName())) {
|
||||
// UUID column
|
||||
column.setAD_Reference_ID(DisplayType.String);
|
||||
column.setAD_Val_Rule_ID(0);
|
||||
column.setAD_Reference_Value_ID(0);
|
||||
column.setFieldLength(36);
|
||||
column.setDefaultValue(null);
|
||||
column.setMandatoryLogic(null);
|
||||
column.setReadOnlyLogic(null);
|
||||
column.setIsIdentifier(false);
|
||||
column.setIsUpdateable(false);
|
||||
column.setIsAlwaysUpdateable(false);
|
||||
column.setIsKey(true);
|
||||
} else if (column.getAD_Table().getTableName().concat("_ID").equals(column.getColumnName())) {
|
||||
// ID key column
|
||||
column.setAD_Reference_ID(DisplayType.ID);
|
||||
column.setAD_Val_Rule_ID(0);
|
||||
column.setAD_Reference_Value_ID(0);
|
||||
column.setFieldLength(22);
|
||||
column.setDefaultValue(null);
|
||||
column.setMandatoryLogic(null);
|
||||
column.setReadOnlyLogic(null);
|
||||
column.setIsIdentifier(false);
|
||||
column.setIsUpdateable(false);
|
||||
column.setIsAlwaysUpdateable(false);
|
||||
} else {
|
||||
// get defaults from most used case
|
||||
String sql = ""
|
||||
+ "SELECT AD_Reference_ID, "
|
||||
+ " AD_Val_Rule_ID, "
|
||||
+ " AD_Reference_Value_ID, "
|
||||
+ " FieldLength, "
|
||||
+ " DefaultValue, "
|
||||
+ " MandatoryLogic, "
|
||||
+ " ReadOnlyLogic, "
|
||||
+ " IsIdentifier, "
|
||||
+ " IsUpdateable, "
|
||||
+ " IsAlwaysUpdateable, "
|
||||
+ " COUNT(*) "
|
||||
+ "FROM AD_Column "
|
||||
+ "WHERE ColumnName = ? "
|
||||
+ "GROUP BY AD_Reference_ID, "
|
||||
+ " AD_Val_Rule_ID, "
|
||||
+ " AD_Reference_Value_ID, "
|
||||
+ " FieldLength, "
|
||||
+ " DefaultValue, "
|
||||
+ " MandatoryLogic, "
|
||||
+ " ReadOnlyLogic, "
|
||||
+ " IsIdentifier, "
|
||||
+ " IsUpdateable, "
|
||||
+ " IsAlwaysUpdateable "
|
||||
+ "ORDER BY COUNT(*) DESC ";
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
{
|
||||
pstmt = DB.prepareStatement(sql, null);
|
||||
pstmt.setString(1, column.getColumnName());
|
||||
rs = pstmt.executeQuery();
|
||||
if (rs.next()) {
|
||||
int ad_reference_id = rs.getInt(1);
|
||||
if (ad_reference_id == DisplayType.ID)
|
||||
ad_reference_id = DisplayType.TableDir;
|
||||
column.setAD_Reference_ID(ad_reference_id);
|
||||
column.setAD_Val_Rule_ID(rs.getInt(2));
|
||||
column.setAD_Reference_Value_ID(rs.getInt(3));
|
||||
column.setFieldLength(rs.getInt(4));
|
||||
column.setDefaultValue(rs.getString(5));
|
||||
column.setMandatoryLogic(rs.getString(6));
|
||||
column.setReadOnlyLogic(rs.getString(7));
|
||||
column.setIsIdentifier("Y".equals(rs.getString(8)));
|
||||
column.setIsUpdateable("Y".equals(rs.getString(9)));
|
||||
column.setIsAlwaysUpdateable("Y".equals(rs.getString(10)));
|
||||
}
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
throw new DBException(e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
DB.close(rs, pstmt);
|
||||
rs = null;
|
||||
pstmt = null;
|
||||
}
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
public String element (Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
|
||||
{
|
||||
// IDEMPIERE-1011
|
||||
I_AD_Column column = GridTabWrapper.create(mTab, I_AD_Column.class);
|
||||
if (column.getAD_Element_ID() > 0) {
|
||||
M_Element element = new M_Element(ctx, column.getAD_Element_ID(), null);
|
||||
column.setColumnName(element.getColumnName());
|
||||
column.setName(element.getName());
|
||||
column.setDescription(element.getDescription());
|
||||
column.setHelp(element.getHelp());
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue