REVERTING REVISION of [ FR 2432892 ] Re-org of migration directory
This commit is contained in:
parent
cca9e0c67c
commit
9ac73749e4
|
@ -0,0 +1,75 @@
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Package Version',
|
||||||
|
PrintName = 'Package Version'
|
||||||
|
wHERE AD_Element_ID = '50003';
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET Name = 'Package Version'
|
||||||
|
WHERE AD_Column_ID IN (50008, 50047, 50094);
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET Name = 'Package Version'
|
||||||
|
WHERE AD_Column_ID IN (50008, 50047, 50094);
|
||||||
|
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Update System Maintained Application Dictionary'
|
||||||
|
WHERE AD_Element_ID = 50032;
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET Name = 'Update System Maintained Application Dictionary',
|
||||||
|
DefaultValue = 'Y'
|
||||||
|
WHERE AD_Column_ID = 50169;
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET Name = 'Update System Maintained Application Dictionary'
|
||||||
|
WHERE AD_Column_ID = 50169;
|
||||||
|
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Package Directory',
|
||||||
|
Description = 'Package directory, default to AdempiereHome/packages'
|
||||||
|
WHERE AD_Element_ID = 50033;
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET Name = 'Package Directory',
|
||||||
|
Description = 'Package directory, default to AdempiereHome/packages'
|
||||||
|
WHERE AD_Column_ID = 50170;
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET Name = 'Package Directory',
|
||||||
|
Description = 'Package directory, default to AdempiereHome/packages'
|
||||||
|
WHERE AD_Column_ID = 50170;
|
||||||
|
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Package Source',
|
||||||
|
PrintName = 'Package Source',
|
||||||
|
Description = 'Fully qualified package source file name'
|
||||||
|
WHERE AD_Element_ID = 50035;
|
||||||
|
|
||||||
|
UPDATE AD_Column
|
||||||
|
SET Name = 'Package Source',
|
||||||
|
IsMandatory = 'Y',
|
||||||
|
AD_Reference_ID = 39,
|
||||||
|
Description = 'Fully qualified package source file name'
|
||||||
|
WHERE AD_Column_ID = 50172;
|
||||||
|
|
||||||
|
UPDATE AD_Field
|
||||||
|
SET Name = 'Package Source',
|
||||||
|
Description = 'Fully qualified package source file name'
|
||||||
|
WHERE AD_Column_ID = 50172;
|
||||||
|
|
||||||
|
UPDATE AD_Element
|
||||||
|
SET Name = 'Package Source Type',
|
||||||
|
Description = 'Type of package source - file, ftp, webservice etc'
|
||||||
|
WHERE AD_Element_ID = 50036;
|
||||||
|
|
||||||
|
UPDATE AD_Column
|
||||||
|
SET Name = 'Package Source Type',
|
||||||
|
Description = 'Type of package source - file, ftp, webservice etc'
|
||||||
|
WHERE AD_Column_ID = 50173;
|
||||||
|
|
||||||
|
UPDATE AD_Field
|
||||||
|
SET Name = 'Package Source Type',
|
||||||
|
Description = 'Type of package source - file, ftp, webservice etc'
|
||||||
|
WHERE AD_Column_ID = 50173;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,19 @@
|
||||||
|
--
|
||||||
|
-- [ 1757535 ] "Item is already on Bar" should be translated
|
||||||
|
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1757535&group_id=176962&atid=879335
|
||||||
|
--
|
||||||
|
INSERT INTO AD_Message (
|
||||||
|
AD_MESSAGE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,
|
||||||
|
VALUE,MSGTEXT,MSGTIP,
|
||||||
|
MSGTYPE,ENTITYTYPE
|
||||||
|
)
|
||||||
|
values (
|
||||||
|
53002,0,0,'Y',to_date('2007-07-13 17:33:55', 'yyyy-mm-dd hh24.mi.ss'),0,to_date('2007-07-13 17:36:55', 'yyyy-mm-dd hh24.mi.ss'),0,
|
||||||
|
'BookmarkExist','This Bookmark already exist','Selected Menu Item is already registered on Bookmarks Bar',
|
||||||
|
'E','A'
|
||||||
|
);
|
||||||
|
commit;
|
||||||
|
--
|
||||||
|
-- NOTE: Don't forget to run: check sequence, add missing translations !!!
|
||||||
|
--
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
--
|
||||||
|
-- BF [ 1763523 ] Translate errors from Cash Line
|
||||||
|
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1763523&group_id=176962&atid=879332
|
||||||
|
--
|
||||||
|
insert into AD_Message (
|
||||||
|
AD_MESSAGE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,
|
||||||
|
VALUE,MSGTEXT,MSGTIP,MSGTYPE,ENTITYTYPE)
|
||||||
|
values (
|
||||||
|
53003,0,0,'Y',to_date('30-07-2007','DD-MM-RRRR'),0,to_date('30-07-2007','DD-MM-RRRR'),0,
|
||||||
|
'CannotDeleteCashGenInvoice','Cannot delete line with generated Invoice',null,'E','D'
|
||||||
|
);
|
||||||
|
--
|
||||||
|
insert into AD_Message (
|
||||||
|
AD_MESSAGE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,
|
||||||
|
VALUE,MSGTEXT,MSGTIP,MSGTYPE,ENTITYTYPE)
|
||||||
|
values (
|
||||||
|
53004,0,0,'Y',to_date('30-07-2007','DD-MM-RRRR'),0,to_date('30-07-2007','DD-MM-RRRR'),0,
|
||||||
|
'CannotChangeCashGenInvoice','Cannot change line with generated Invoice',null,'E','D'
|
||||||
|
);
|
||||||
|
--
|
||||||
|
commit;
|
||||||
|
--
|
||||||
|
-- NOTE: don't forget to run add missing translations and sequence check
|
|
@ -0,0 +1,8 @@
|
||||||
|
DELETE FROM AD_Ref_List
|
||||||
|
WHERE AD_Ref_List_ID=638;
|
||||||
|
|
||||||
|
UPDATE AD_Ref_List
|
||||||
|
SET IsActive='N'
|
||||||
|
WHERE AD_Ref_List_ID IN (634,611);
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,13 @@
|
||||||
|
INSERT INTO AD_MESSAGE
|
||||||
|
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
VALUE, msgtext, msgtype, entitytype
|
||||||
|
)
|
||||||
|
VALUES (50018, 0, 0, 'Y',
|
||||||
|
TO_DATE ('08/02/2007 00:15:12', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('08/02/2007 00:15:12', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'CC', 'CC', 'M', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,360 @@
|
||||||
|
/* AD_Sequence_No */
|
||||||
|
|
||||||
|
/* Day */
|
||||||
|
ALTER TABLE AD_SEQUENCE_NO ADD DAY NVARCHAR2(2) DEFAULT '00' NOT NULL;
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53200, 0, 0, 'Y', TO_Date( '02/08/2007 10:49:28', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 10:49:28', 'MM/DD/YYYY HH:MI:SS'), 0, 'Day', 'D'
|
||||||
|
, 'Day', 'Day', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53200, 0, 0, 'Y', TO_Date( '02/08/2007 10:50:10', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 06:10:47', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Day', NULL
|
||||||
|
, NULL, 0, 'D', 'Day', 122, 10, NULL, NULL, 2, NULL, 'N', 'Y', 'Y', 'N', NULL, 'N'
|
||||||
|
, 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 53200
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* Month */
|
||||||
|
ALTER TABLE AD_SEQUENCE_NO ADD MONTH NVARCHAR2(2) DEFAULT '00' NOT NULL;
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53201, 0, 0, 'Y', TO_Date( '02/08/2007 10:50:55', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 10:50:55', 'MM/DD/YYYY HH:MI:SS'), 0, 'Month', 'D'
|
||||||
|
, 'Month', 'Month', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53201, 0, 0, 'Y', TO_Date( '02/08/2007 10:51:12', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 06:10:53', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Month', NULL
|
||||||
|
, NULL, 0, 'D', 'Month', 122, 10, NULL, NULL, 2, NULL, 'N', 'Y', 'Y', 'N', NULL, 'N'
|
||||||
|
, 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 53201
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE AD_Sequence_No DROP CONSTRAINT AD_SEQUENCE_NO_KEY;
|
||||||
|
|
||||||
|
DROP INDEX AD_SEQUENCE_NO_KEY;
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX AD_SEQUENCE_NO_KEY ON AD_SEQUENCE_NO
|
||||||
|
(AD_SEQUENCE_ID, CALENDARYEAR, MONTH, DAY);
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE_NO MODIFY (
|
||||||
|
CONSTRAINT AD_SEQUENCE_NO_KEY PRIMARY KEY (AD_SEQUENCE_ID, CALENDARYEAR, MONTH, DAY));
|
||||||
|
|
||||||
|
/* ================================================================================================= */
|
||||||
|
/* AD_Sequence */
|
||||||
|
|
||||||
|
/* DateTrx */
|
||||||
|
ALTER Table AD_Sequence ADD DateTrx DATE;
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53202, 0, 0, 'Y', TO_Date( '02/08/2007 10:35:41', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 10:40:27', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Transaction Date'
|
||||||
|
, 'Transaction Date', 'The Transaction Date indicates the date of the transaction.'
|
||||||
|
, 1, 'D', 'DateTrx', 115, 15, NULL, NULL, 7, '@#DATE@', 'N', 'N', 'N', 'Y', NULL, 'N'
|
||||||
|
, 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 1297, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* IsAddDate */
|
||||||
|
ALTER TABLE AD_SEQUENCE ADD IsAddDate CHAR(1) DEFAULT 'N' CHECK (IsAddDate IN ('Y','N'));
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53203, 0, 0, 'Y', TO_Date( '02/08/2007 02:11:37', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:15:05', 'MM/DD/YYYY HH:MI:SS'), 0, 'IsAddDate'
|
||||||
|
, 'D', 'Add Date', 'Add Date', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53203, 0, 0, 'Y', TO_Date( '02/08/2007 02:12:10', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:15:09', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Add Date'
|
||||||
|
, NULL, NULL, 1, 'D', 'IsAddDate', 115, 20, NULL, NULL, 1, '''N''', 'N', 'N', 'N'
|
||||||
|
, 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 53203
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* IsAddMonth */
|
||||||
|
ALTER TABLE AD_SEQUENCE ADD IsAddMonth CHAR(1) DEFAULT 'N' CHECK (IsAddMonth IN ('Y','N'));
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53204, 0, 0, 'Y', TO_Date( '02/08/2007 02:13:51', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:14:08', 'MM/DD/YYYY HH:MI:SS'), 0, 'IsAddMonth'
|
||||||
|
, 'D', 'Add Month', 'Add Month', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53204, 0, 0, 'Y', TO_Date( '02/08/2007 02:14:36', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:14:36', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Add Month'
|
||||||
|
, NULL, NULL, 1, 'D', 'IsAddMonth', 115, 20, NULL, NULL, 1, '''N''', 'N', 'N', 'N'
|
||||||
|
, 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 53204
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* IsAddYear */
|
||||||
|
ALTER TABLE AD_SEQUENCE ADD IsAddYear CHAR(1) DEFAULT 'N' CHECK (IsAddYear IN ('Y','N'));
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53205, 0, 0, 'Y', TO_Date( '02/08/2007 02:16:03', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:16:03', 'MM/DD/YYYY HH:MI:SS'), 0, 'IsAddYear'
|
||||||
|
, 'D', 'Add Year', 'Add Year', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53205, 0, 0, 'Y', TO_Date( '02/08/2007 02:16:26', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:16:26', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Add Year'
|
||||||
|
, NULL, NULL, 1, 'D', 'IsAddYear', 115, 20, NULL, NULL, 1, '''N''', 'N', 'N', 'N'
|
||||||
|
, 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 53205
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* IsRomanCharacter */
|
||||||
|
ALTER TABLE AD_SEQUENCE ADD IsRomanCharacter CHAR(1) DEFAULT 'N' CHECK (IsRomanCharacter IN ('Y','N'));
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53206, 0, 0, 'Y', TO_Date( '02/08/2007 02:17:42', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:17:42', 'MM/DD/YYYY HH:MI:SS'), 0, 'IsRomanCharacter'
|
||||||
|
, 'D', 'Use Roman Character', 'Use Roman Character', NULL, NULL, NULL, NULL, NULL
|
||||||
|
, NULL);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53206, 0, 0, 'Y', TO_Date( '02/08/2007 02:18:01', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:18:01', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Use Roman Character'
|
||||||
|
, NULL, NULL, 1, 'D', 'IsRomanCharacter', 115, 20, NULL, NULL, 1, '''N''', 'N', 'N'
|
||||||
|
, 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 53206
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* Separator */
|
||||||
|
ALTER TABLE AD_Sequence ADD Separator CHAR(1);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53207, 0, 0, 'Y', TO_Date( '02/08/2007 02:21:12', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:21:12', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Separator'
|
||||||
|
, NULL, NULL, 1, 'D', 'Separator', 115, 10, NULL, NULL, 1, NULL, 'N', 'N', 'N', 'Y'
|
||||||
|
, NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 565, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* DatePosition */
|
||||||
|
ALTER TABLE AD_Sequence ADD DatePosition CHAR(2);
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53208, 0, 0, 'Y', TO_Date( '02/08/2007 02:21:58', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:27:55', 'MM/DD/YYYY HH:MI:SS'), 0, 'DatePosition'
|
||||||
|
, 'D', 'Date Position', 'Date Position', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------------------------- */
|
||||||
|
/* Reference = SP Date Position */
|
||||||
|
INSERT INTO AD_REFERENCE ( AD_REFERENCE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, VALIDATIONTYPE, VFORMAT,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53200, 0, 0, 'Y', TO_Date( '02/08/2007 02:23:19', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:25:54', 'MM/DD/YYYY HH:MI:SS'), 0, 'SP Date Position'
|
||||||
|
, NULL, NULL, 'L', NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = After Prefix */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53200, 0, 0, 'Y', TO_Date( '02/08/2007 02:26:24', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:26:24', 'MM/DD/YYYY HH:MI:SS'), 0, 'AP', 'After Prefix'
|
||||||
|
, NULL, 53200, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = After Suffix */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53201, 0, 0, 'Y', TO_Date( '02/08/2007 02:26:38', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:26:38', 'MM/DD/YYYY HH:MI:SS'), 0, 'AS', 'After Suffix'
|
||||||
|
, NULL, 53200, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = Before Prefix */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53202, 0, 0, 'Y', TO_Date( '02/08/2007 02:27:04', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:27:04', 'MM/DD/YYYY HH:MI:SS'), 0, 'BP', 'Before Prefix'
|
||||||
|
, NULL, 53200, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = Before Suffix */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53203, 0, 0, 'Y', TO_Date( '02/08/2007 02:27:16', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:27:16', 'MM/DD/YYYY HH:MI:SS'), 0, 'BS', 'Before Suffix'
|
||||||
|
, NULL, 53200, NULL, NULL, 'D');
|
||||||
|
/* ------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53208, 0, 0, 'Y', TO_Date( '02/08/2007 02:27:36', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:28:21', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Date Position'
|
||||||
|
, NULL, NULL, 1, 'D', 'DatePosition', 115, 17, 53200
|
||||||
|
, NULL, 2, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N'
|
||||||
|
, 53208
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* DateFormat */
|
||||||
|
ALTER TABLE AD_Sequence ADD DateFormat CHAR(6);
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------------------------- */
|
||||||
|
/* Reference = SP Date Format */
|
||||||
|
INSERT INTO AD_REFERENCE ( AD_REFERENCE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, VALIDATIONTYPE, VFORMAT,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53201, 0, 0, 'Y', TO_Date( '02/08/2007 02:31:48', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:31:48', 'MM/DD/YYYY HH:MI:SS'), 0, 'SP Date Format'
|
||||||
|
, NULL, NULL, 'L', NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = MMddyy */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53204, 0, 0, 'Y', TO_Date( '02/08/2007 02:32:15', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:32:15', 'MM/DD/YYYY HH:MI:SS'), 0, 'MMddyy', 'MMddyy'
|
||||||
|
, NULL, 53201, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = ddMMyy */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53205, 0, 0, 'Y', TO_Date( '02/08/2007 02:32:22', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:32:22', 'MM/DD/YYYY HH:MI:SS'), 0, 'ddMMyy', 'ddMMyy'
|
||||||
|
, NULL, 53201, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = yyMMdd */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53206, 0, 0, 'Y', TO_Date( '02/08/2007 02:32:32', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:32:32', 'MM/DD/YYYY HH:MI:SS'), 0, 'yyMMdd', 'yyMMdd'
|
||||||
|
, NULL, 53201, NULL, NULL, 'D');
|
||||||
|
/* ------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53209, 0, 0, 'Y', TO_Date( '02/08/2007 02:33:06', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:33:06', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Date Format'
|
||||||
|
, NULL, NULL, 1, 'D', 'DateFormat', 115, 17, 53201
|
||||||
|
, NULL, 6, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2286, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
/* Reset */
|
||||||
|
ALTER TABLE AD_Sequence ADD Reset CHAR(1);
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT ( AD_ELEMENT_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, COLUMNNAME, ENTITYTYPE, NAME, PRINTNAME, DESCRIPTION, HELP, PO_NAME,
|
||||||
|
PO_PRINTNAME, PO_DESCRIPTION, PO_HELP ) VALUES (
|
||||||
|
53210, 0, 0, 'Y', TO_Date( '02/08/2007 02:45:18', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:45:18', 'MM/DD/YYYY HH:MI:SS'), 0, 'Reset', 'D'
|
||||||
|
, 'Reset', 'Reset', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------------------------- */
|
||||||
|
/* Reference = SP Reset */
|
||||||
|
INSERT INTO AD_REFERENCE ( AD_REFERENCE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, VALIDATIONTYPE, VFORMAT,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53202, 0, 0, 'Y', TO_Date( '02/08/2007 02:46:01', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:46:01', 'MM/DD/YYYY HH:MI:SS'), 0, 'SP Reset'
|
||||||
|
, NULL, NULL, 'L', NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = Every Day */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53207, 0, 0, 'Y', TO_Date( '02/08/2007 02:46:20', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:46:20', 'MM/DD/YYYY HH:MI:SS'), 0, 'd', 'Every Day'
|
||||||
|
, NULL, 53202, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = Every Month */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53208, 0, 0, 'Y', TO_Date( '02/08/2007 02:46:33', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:46:33', 'MM/DD/YYYY HH:MI:SS'), 0, 'M', 'Every Month'
|
||||||
|
, NULL, 53202, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
/* Reference List = Every Year */
|
||||||
|
INSERT INTO AD_REF_LIST ( AD_REF_LIST_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, AD_REFERENCE_ID, VALIDFROM, VALIDTO,
|
||||||
|
ENTITYTYPE ) VALUES (
|
||||||
|
53209, 0, 0, 'Y', TO_Date( '02/08/2007 02:46:40', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, 0, TO_Date( '02/08/2007 02:46:40', 'MM/DD/YYYY HH:MI:SS'), 0, 'y', 'Every Year'
|
||||||
|
, NULL, 53202, NULL, NULL, 'D');
|
||||||
|
/* ------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN ( AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, UPDATED,
|
||||||
|
CREATEDBY, UPDATEDBY, NAME, DESCRIPTION, HELP, VERSION, ENTITYTYPE, COLUMNNAME, AD_TABLE_ID,
|
||||||
|
AD_REFERENCE_ID, AD_REFERENCE_VALUE_ID, AD_VAL_RULE_ID, FIELDLENGTH, DEFAULTVALUE, ISKEY, ISPARENT,
|
||||||
|
ISMANDATORY, ISUPDATEABLE, READONLYLOGIC, ISIDENTIFIER, SEQNO, ISTRANSLATED, ISENCRYPTED, CALLOUT,
|
||||||
|
VFORMAT, VALUEMIN, VALUEMAX, ISSELECTIONCOLUMN, AD_ELEMENT_ID, AD_PROCESS_ID, ISSYNCDATABASE,
|
||||||
|
ISALWAYSUPDATEABLE, COLUMNSQL ) VALUES (
|
||||||
|
53210, 0, 0, 'Y', TO_Date( '02/08/2007 02:47:04', 'MM/DD/YYYY HH:MI:SS')
|
||||||
|
, TO_Date( '02/08/2007 02:47:04', 'MM/DD/YYYY HH:MI:SS'), 0, 0, 'Reset', NULL
|
||||||
|
, NULL, 1, 'D', 'Reset', 115, 17, 53202
|
||||||
|
, NULL, 1, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N'
|
||||||
|
, 53210
|
||||||
|
, NULL, 'N', 'N', NULL);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- NOTE: don't forget to run add missing translations and sequence check
|
|
@ -0,0 +1,9 @@
|
||||||
|
--
|
||||||
|
-- BF [ 1774758 ] No default Sales Representant in request window
|
||||||
|
--
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET DefaultValue = '@#AD_User_ID@'
|
||||||
|
WHERE DefaultValue = '@AD_User_ID@' AND AD_Column_ID = 5432;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,7 @@
|
||||||
|
update AD_Column
|
||||||
|
set isparent = 'N'
|
||||||
|
where AD_Column_ID in (13467, 13468);
|
||||||
|
|
||||||
|
update ad_tab
|
||||||
|
set ad_column_id = null
|
||||||
|
where AD_Tab_ID=701;
|
|
@ -0,0 +1,6 @@
|
||||||
|
UPDATE AD_VAL_RULE
|
||||||
|
SET code =
|
||||||
|
'(C_Order.DocStatus=''WP'' OR (C_Order.DocStatus=''CO'' AND EXISTS (SELECT * FROM C_DocType dt WHERE C_Order.C_DocType_ID=dt.C_DocType_ID AND (dt.DocSubTypeSO=''SO'' OR dt.DocBaseType=''POO'')) AND EXISTS (SELECT * FROM C_OrderLine ol WHERE C_Order.C_Order_ID=ol.C_Order_ID AND ol.QtyInvoiced<>ol.QtyOrdered)))'
|
||||||
|
WHERE ad_val_rule_id = 218;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,9 @@
|
||||||
|
ALTER TABLE I_INVOICE MODIFY(taxindicator NVARCHAR2(10));
|
||||||
|
|
||||||
|
ALTER TABLE I_ORDER MODIFY(taxindicator NVARCHAR2(10));
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET fieldlength = 10
|
||||||
|
WHERE ad_column_id IN (8991, 9186);
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,178 @@
|
||||||
|
-- [ 1789836 ] Add fields to Import Invoice - allow import charges
|
||||||
|
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1789836&group_id=176962&atid=879335
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD (projectvalue NVARCHAR2(40));
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD (activityvalue NVARCHAR2(40));
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD (chargename NVARCHAR2(60));
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD (c_charge_id NUMBER(10));
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME, printname
|
||||||
|
)
|
||||||
|
VALUES (53222, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'ActivityValue', 'U', 'ActivityValue', 'ActivityValue'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description, VERSION, entitytype,
|
||||||
|
columnname, ad_table_id, ad_reference_id, fieldlength, iskey,
|
||||||
|
isparent, ismandatory, isupdateable, isidentifier, istranslated,
|
||||||
|
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53241, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Project Key', 'Key of the Project', 0, 'U',
|
||||||
|
'ProjectValue', 598, 10, 40, 'N',
|
||||||
|
'N', 'N', 'Y', 'N', 'N',
|
||||||
|
'N', 'N', 2118, 'Y',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
HELP,
|
||||||
|
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||||
|
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53242, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Charge', 'Additional document charges',
|
||||||
|
'The Charge indicates a type of Charge (Handling, Shipping, Restocking)',
|
||||||
|
0, 'U', 'C_Charge_ID', 598, 19,
|
||||||
|
10, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 'N', 'N', 'N',
|
||||||
|
968, 'Y', 'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||||
|
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||||
|
isupdateable, isidentifier, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53243, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'ActivityValue', 0, 'U', 'ActivityValue', 598,
|
||||||
|
10, 40, 'N', 'N', 'N',
|
||||||
|
'Y', 'N', 'N', 'N',
|
||||||
|
'N', 53222, 'Y',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description, VERSION, entitytype, columnname,
|
||||||
|
ad_table_id, ad_reference_id, fieldlength, iskey, isparent,
|
||||||
|
ismandatory, isupdateable, isidentifier, istranslated,
|
||||||
|
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53244, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:46', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/04/2007 22:54:46', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Charge Name', 'Name of the Charge', 0, 'U', 'ChargeName',
|
||||||
|
598, 10, 60, 'N', 'N',
|
||||||
|
'N', 'Y', 'N', 'N',
|
||||||
|
'N', 'N', 2096, 'Y',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||||
|
isdisplayed, displaylength, isreadonly, seqno, sortno,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53251, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'ActivityValue', 'Y', 510, 53243,
|
||||||
|
'Y', 40, 'N', 498, 0,
|
||||||
|
'N', 'N', 'N', 'N', 'U'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description, iscentrallymaintained, ad_tab_id,
|
||||||
|
ad_column_id, ad_fieldgroup_id, isdisplayed, displaylength,
|
||||||
|
isreadonly, seqno, sortno, issameline, isheading, isfieldonly,
|
||||||
|
isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53252, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Project Key', 'Key of the Project', 'Y', 510,
|
||||||
|
53241, 104, 'Y', 40,
|
||||||
|
'N', 478, 0, 'N', 'N', 'N',
|
||||||
|
'N', 'U'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
HELP,
|
||||||
|
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||||
|
displaylength, isreadonly, seqno, sortno, issameline, isheading,
|
||||||
|
isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53253, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Charge', 'Additional document charges',
|
||||||
|
'The Charge indicates a type of Charge (Handling, Shipping, Restocking)',
|
||||||
|
'Y', 510, 53242, 'Y',
|
||||||
|
10, 'N', 392, 0, 'N', 'N',
|
||||||
|
'N', 'N', 'U'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description, iscentrallymaintained, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||||
|
sortno, issameline, isheading, isfieldonly, isencrypted,
|
||||||
|
entitytype
|
||||||
|
)
|
||||||
|
VALUES (53254, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/04/2007 22:57:16', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Charge Name', 'Name of the Charge', 'Y', 510,
|
||||||
|
53244, 'Y', 40, 'N', 394,
|
||||||
|
0, 'Y', 'N', 'N', 'N',
|
||||||
|
'U'
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,5 @@
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET ad_val_rule_id = 220
|
||||||
|
WHERE ad_column_id = 5354;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,172 @@
|
||||||
|
-- Migration Scripts for Posterita
|
||||||
|
-------------------------------------
|
||||||
|
-- SCRIPT STARTS HERE!
|
||||||
|
-------------------------------------
|
||||||
|
|
||||||
|
--- Table: U_WEB_PROPERTIES ---------
|
||||||
|
|
||||||
|
CREATE TABLE U_WEB_PROPERTIES
|
||||||
|
(
|
||||||
|
U_Web_Properties_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL ,
|
||||||
|
Created DATE DEFAULT SYSDATE NOT NULL ,
|
||||||
|
CreatedBy INTEGER NOT NULL ,
|
||||||
|
Updated DATE DEFAULT SYSDATE NOT NULL ,
|
||||||
|
UpdatedBy INTEGER NOT NULL ,
|
||||||
|
U_Key NVARCHAR2(240) NOT NULL ,
|
||||||
|
U_Value NVARCHAR2(240) NOT NULL ,
|
||||||
|
primary key(U_Web_Properties_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--- Table: U_RoleMenu -------------------------------------------------------
|
||||||
|
|
||||||
|
CREATE TABLE U_RoleMenu
|
||||||
|
(
|
||||||
|
U_RoleMenu_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL,
|
||||||
|
Created DATE DEFAULT SYSDATE NOT NULL,
|
||||||
|
CreatedBy INTEGER NOT NULL,
|
||||||
|
Updated DATE DEFAULT SYSDATE NOT NULL,
|
||||||
|
UpdatedBy INTEGER NOT NULL,
|
||||||
|
AD_Role_ID NUMBER(10,0) NOT NULL,
|
||||||
|
U_WebMenu_ID NUMBER(10,0) NOT NULL,
|
||||||
|
primary key(U_RoleMenu_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
|
||||||
|
--- Table: U_WebMenu -------------------------------------------------------
|
||||||
|
|
||||||
|
CREATE TABLE U_WebMenu
|
||||||
|
(
|
||||||
|
U_WEBMENU_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL ,
|
||||||
|
Created DATE DEFAULT SYSDATE NOT NULL,
|
||||||
|
CreatedBy NUMBER(10,0) NOT NULL ,
|
||||||
|
Updated DATE DEFAULT SYSDATE NOT NULL ,
|
||||||
|
UpdatedBy NUMBER(10,0) NOT NULL ,
|
||||||
|
Name NVARCHAR2(120) NOT NULL ,
|
||||||
|
MenuLink NVARCHAR2(510) NOT NULL ,
|
||||||
|
Module NVARCHAR2(120) NOT NULL ,
|
||||||
|
ParentMenu_ID NUMBER(10,0) ,
|
||||||
|
HasSubMenu CHAR(1) DEFAULT 'N' NOT NULL,
|
||||||
|
Description NVARCHAR2(200) ,
|
||||||
|
ImageLink NVARCHAR2(510) ,
|
||||||
|
Position VARCHAR(10) ,
|
||||||
|
Help NVARCHAR2(2000) ,
|
||||||
|
primary key(U_WEBMENU_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N')),
|
||||||
|
CHECK(HasSubMenu IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
--- Table: U_BlackListCheque-------------------------------------------------------
|
||||||
|
CREATE TABLE U_BlackListCheque
|
||||||
|
(
|
||||||
|
U_BlackListCheque_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL,
|
||||||
|
Created DATE DEFAULT SYSDATE NOT NULL ,
|
||||||
|
CreatedBy NUMBER(10,0) NOT NULL ,
|
||||||
|
Updated DATE DEFAULT SYSDATE NOT NULL ,
|
||||||
|
UpdatedBy NUMBER(10,0) NOT NULL ,
|
||||||
|
BankName NVARCHAR2(120) NOT NULL ,
|
||||||
|
ChequeNo NVARCHAR2(120) NOT NULL ,
|
||||||
|
primary key(U_BlackListCheque_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
|
||||||
|
--- Table: AD_PrintFormat --------------
|
||||||
|
|
||||||
|
ALTER TABLE AD_PrintFormat
|
||||||
|
ADD ClassName VARCHAR(240);
|
||||||
|
|
||||||
|
ALTER TABLE AD_PrintFormat
|
||||||
|
ADD Args VARCHAR(480);
|
||||||
|
|
||||||
|
|
||||||
|
--- Table: AD_User ------------------------
|
||||||
|
ALTER TABLE AD_User
|
||||||
|
ADD UserPIN NVARCHAR2(20);
|
||||||
|
|
||||||
|
ALTER TABLE AD_User
|
||||||
|
MODIFY UserPIN NVARCHAR2(20);
|
||||||
|
|
||||||
|
--- Table: AD_Role --------------------------
|
||||||
|
ALTER TABLE AD_Role
|
||||||
|
ADD UserDiscount NUMBER(22,2);
|
||||||
|
|
||||||
|
ALTER TABLE AD_Role
|
||||||
|
MODIFY UserDiscount NUMBER(22,2);
|
||||||
|
|
||||||
|
--- Table: C_Order --------------------------
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
ADD OrderType NVARCHAR2(510);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
MODIFY OrderType NVARCHAR2(510);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
ADD C_POS_ID NUMBER(10,0);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
MODIFY C_POS_ID NUMBER(10,0);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
ADD AmountTendered NUMBER(22,2);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
MODIFY AmountTendered NUMBER(22,2);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
ADD AmountRefunded NUMBER(22,2);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order
|
||||||
|
MODIFY AmountRefunded NUMBER(22,2);
|
||||||
|
|
||||||
|
--- Table: M_Product -------------------------
|
||||||
|
ALTER TABLE M_Product
|
||||||
|
MODIFY Value NVARCHAR2(510);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product
|
||||||
|
MODIFY Name NVARCHAR2(510);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product
|
||||||
|
ADD Group1 NVARCHAR2(255);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product
|
||||||
|
MODIFY Group1 NVARCHAR2(255);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product
|
||||||
|
ADD Group2 NVARCHAR2(255);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product
|
||||||
|
MODIFY Group2 NVARCHAR2(255);
|
||||||
|
|
||||||
|
--- Table: U_WebMenu --------------------------
|
||||||
|
ALTER TABLE U_WebMenu
|
||||||
|
ADD Category NVARCHAR2(120);
|
||||||
|
|
||||||
|
ALTER TABLE U_WebMenu
|
||||||
|
MODIFY Category NVARCHAR2(120);
|
||||||
|
|
||||||
|
ALTER TABLE U_WebMenu
|
||||||
|
ADD Sequence NUMBER(10,0);
|
||||||
|
|
||||||
|
ALTER TABLE U_WebMenu
|
||||||
|
MODIFY Sequence NUMBER(10,0);
|
||||||
|
|
||||||
|
--- Table: C_POS ---------------------------
|
||||||
|
|
||||||
|
ALTER TABLE C_POS
|
||||||
|
ADD CashDrawer VARCHAR(120);
|
||||||
|
|
||||||
|
ALTER TABLE C_POS
|
||||||
|
MODIFY CashDrawer NVARCHAR2(120);
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,166 @@
|
||||||
|
-- ad_Window Changes --
|
||||||
|
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52000, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Posterita Web Menu', 'To dynamically generate the menu links in posterita', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52001, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Posterita Role Menu', 'Depending on Which Role, Different set of Menus are generated and made available.', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52002, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Posterita Web Properties', 'Stores the message tags to be picked up from AD_MESSAGE ', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52003, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Posterita BlackListCheque', 'Black Listed Cheque', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
|
||||||
|
--- ad_Tab Changes ---
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52000, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Web Menu', 'To dynamically generate the menu links in posterita', NULL, 52003, 52000, 10, 0, 'N', 'N', 'N', 'N', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'Y', 'N');
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52001, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Role Menu', 'Depending on Which Role, Different set of Menus are generated and made available.', NULL, 52002, 52001, 10, 0, 'N', 'N', 'N', 'N', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'Y', 'N');
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52002, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Web Properties', 'Stores the message tags to be picked up from AD_MESSAGE ', NULL, 52001, 52002, 10, 0, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'N', 'N');
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52003, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'BlackListCheque', 'Black Listed Cheque', NULL, 52000, 52003, 10, 0, 'N', 'N', 'N', 'N', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'Y', 'N');
|
||||||
|
|
||||||
|
-- AD_Field Changes --
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52008, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Args', NULL, NULL, 'Y', 425, 52069, NULL, 'Y', NULL, 60, 'N', 210, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52009, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'ClassName', NULL, NULL, 'Y', 425, 52068, NULL, 'Y', NULL, 60, 'N', 200, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52010, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'UserPIN', NULL, NULL, 'Y', 118, 52066, NULL, 'Y', NULL, 20, 'N', 120, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52011, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'AmountRefunded', NULL, NULL, 'Y', 186, 52065, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52012, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'AmountTendered', NULL, NULL, 'Y', 186, 52064, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52013, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Terminal', NULL, NULL, 'Y', 186, 52070, NULL, 'N', NULL, 10, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52014, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'OrderType', NULL, NULL, 'Y', 186, 52063, NULL, 'Y', NULL, 510, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52015, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Group1', NULL, NULL, 'Y', 180, 52061, NULL, 'Y', NULL, 50, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52016, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Group2', NULL, NULL, 'Y', 180, 52062, NULL, 'Y', NULL, 50, 'N', NULL, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52017, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'CashDrawer', NULL, NULL, 'Y', 676, 52058, NULL, 'Y', NULL, 20, 'N', NULL, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52018, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'UserDiscount', NULL, NULL, 'Y', 119, 52067, NULL, 'Y', NULL, 22, 'N', 100, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52019, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52000, 52042, NULL, 'Y', NULL, 22, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52020, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52000, 52043, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52021, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Category', NULL, NULL, 'Y', 52000, 52060, NULL, 'Y', NULL, 120, 'N', 60, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52022, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 'Y', 52000, 52054, NULL, 'Y', NULL, 200, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52023, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'HasSubMenu', NULL, NULL, 'Y', 52000, 52053, NULL, 'Y', NULL, 1, 'N', 70, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52024, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Comment/Help', 'Comment or Hint', 'The Help field contains a hint, comment or help about the use of this item.', 'Y', 52000, 52057, NULL, 'Y', NULL, 2000, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52025, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'ImageLink', NULL, NULL, 'Y', 52000, 52055, NULL, 'Y', NULL, 510, 'N', 90, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52026, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52000, 52044, NULL, 'Y', NULL, 1, 'N', 80, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52027, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'MenuLink', NULL, NULL, 'Y', 52000, 52050, NULL, 'Y', NULL, 510, 'N', 100, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52028, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Module', NULL, NULL, 'Y', 52000, 52051, NULL, 'Y', NULL, 120, 'N', 110, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52029, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Name', 'Alphanumeric identifier of the entity', 'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', 'Y', 52000, 52049, NULL, 'Y', NULL, 120, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52030, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'ParentMenu_ID', NULL, NULL, 'Y', 52000, 52052, NULL, 'Y', NULL, 10, 'N', 120, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52031, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Position', NULL, NULL, 'Y', 52000, 52056, NULL, 'Y', NULL, 10, 'N', 130, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52032, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Sequence', NULL, NULL, 'Y', 52000, 52059, NULL, 'Y', NULL, 22, 'N', 140, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52033, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'U_WebMenu_ID', NULL, NULL, 'Y', 52000, 52041, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52034, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52001, 52032, NULL, 'Y', NULL, 22, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52035, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52001, 52033, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52036, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Role', 'Responsibility Role', 'The Role determines security and access a user who has this Role will have in the System.', 'Y', 52001, 52039, NULL, 'Y', NULL, 10, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52037, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52001, 52034, NULL, 'Y', NULL, 1, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52038, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'U_RoleMenu_ID', NULL, NULL, 'Y', 52001, 52031, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52039, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'U_WebMenu_ID', NULL, NULL, 'Y', 52001, 52040, NULL, 'Y', NULL, 10, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52040, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52002, 52022, NULL, 'Y', NULL, 22, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52041, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52002, 52023, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52042, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52002, 52024, NULL, 'Y', NULL, 1, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52043, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'U_Key', NULL, NULL, 'Y', 52002, 52029, NULL, 'Y', NULL, 240, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52044, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'U_Value', NULL, NULL, 'Y', 52002, 52030, NULL, 'Y', NULL, 240, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52045, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'U_Web_Properties_ID', NULL, NULL, 'Y', 52002, 52021, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52046, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52003, 52012, NULL, 'Y', NULL, 22, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52047, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52003, 52013, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52048, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'BankName', NULL, NULL, 'Y', 52003, 52019, NULL, 'Y', NULL, 120, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52049, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'ChequeNo', NULL, NULL, 'Y', 52003, 52020, NULL, 'Y', NULL, 120, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52050, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52003, 52014, NULL, 'Y', NULL, 1, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52051, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'U_BlackListCheque_ID', NULL, NULL, 'Y', 52003, 52011, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
|
||||||
|
-- AD_WindowAccess Changes --
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52000, 0, 0, 0, 'Y', sysdate, 0, sysdate, 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52001, 50001, 0, 0, 'Y', sysdate, 0, sysdate, 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52001, 103, 11, 0, 'Y', sysdate, 100, sysdate, 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52001, 102, 11, 0, 'Y', sysdate, 100, sysdate, 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52002, 103, 11, 0, 'Y', sysdate, 100, sysdate, 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52002, 50001, 0, 0, 'Y', sysdate, 0, sysdate, 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52002, 102, 11, 0, 'Y', sysdate, 100, sysdate, 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52003, 50001, 0, 0, 'Y', sysdate, 0, sysdate, 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52003, 103, 11, 0, 'Y', sysdate, 100, sysdate, 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52003, 102, 11, 0, 'Y', sysdate, 100, sysdate, 100, 'Y');
|
||||||
|
|
||||||
|
|
||||||
|
-- AD_Menu Changes --
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52002, 0, 0, 'Y', sysdate, 100, sysdate, 'Web Menu', 100, 'To dynamically generate the menu links in posterita', 'N', 'N', 'N', 'W', 52000, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52003, 0, 0, 'Y', sysdate, 100, sysdate, 'Role Menu', 100, NULL, 'N', 'N', 'N', 'W', 52001, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52004, 0, 0, 'Y', sysdate, 100, sysdate, 'Web Properties', 100, NULL, 'N', 'N', 'N', 'W', 52002, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52005, 0, 0, 'Y', sysdate, 100, sysdate, 'Black Listed Cheque', 100, NULL, 'N', 'N', 'N', 'W', 52003, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
-- AD_TREENODEMM Changes --
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52002, 0, 0, 'Y', sysdate, 0, sysdate, 0, 52001, 3);
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52003, 0, 0, 'Y', sysdate, 0, sysdate, 0, 52001, 2);
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52004, 0, 0, 'Y', sysdate, 0, sysdate, 0, 52001, 1);
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52005, 0, 0, 'Y', sysdate, 0, sysdate, 0, 52001, 0);
|
|
@ -0,0 +1,190 @@
|
||||||
|
--@author - fer_luck @ centuryono
|
||||||
|
--Add Detail column
|
||||||
|
--The fields are already in the databse. Just needs to update them
|
||||||
|
-- BEGIN;
|
||||||
|
|
||||||
|
UPDATE AD_FIELD SET seqno = seqno + 10 WHERE ad_tab_id = 107 AND seqno > 70;
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET ad_tab_id = 107, isdisplayed = 'Y', seqno = 80
|
||||||
|
WHERE ad_column_id = 8547;
|
||||||
|
|
||||||
|
--It's not physically in the database, so here we create it
|
||||||
|
ALTER TABLE AD_FIELD ADD included_tab_id NUMERIC(10);
|
||||||
|
|
||||||
|
--Modify the views
|
||||||
|
-- DROP VIEW ad_field_v;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_V
|
||||||
|
AS
|
||||||
|
SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
f.NAME, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat, c.DefaultValue, c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
|
||||||
|
c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fg.NAME AS FieldGroup, vr.Code AS ValidationCode, f.included_tab_id
|
||||||
|
FROM AD_FIELD f
|
||||||
|
INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_VAL_RULE vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
|
||||||
|
-- DROP VIEW ad_field_vt;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_VT
|
||||||
|
AS
|
||||||
|
SELECT trl.AD_LANGUAGE, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
trl.NAME, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat, c.DefaultValue, c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fgt.NAME AS FieldGroup, vr.Code AS ValidationCode, f.included_tab_id
|
||||||
|
FROM AD_FIELD f
|
||||||
|
INNER JOIN AD_FIELD_TRL trl ON (f.AD_Field_ID = trl.AD_Field_ID)
|
||||||
|
INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP_TRL fgt ON
|
||||||
|
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_LANGUAGE=fgt.AD_LANGUAGE)
|
||||||
|
LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_VAL_RULE vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
|
||||||
|
--Add the Grid Collapse and Tabbed item navigation
|
||||||
|
INSERT INTO AD_ELEMENT
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME, printname
|
||||||
|
)
|
||||||
|
VALUES (53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('07/18/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'FieldGroupType', 'D', 'Field Group Type', 'Field Group Type'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_REFERENCE
|
||||||
|
(ad_reference_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
NAME, description, help,
|
||||||
|
validationtype, entitytype)
|
||||||
|
VALUES (53000, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'AD_FieldGroup', 'Field Group Type', '',
|
||||||
|
'L', 'D');
|
||||||
|
|
||||||
|
INSERT INTO AD_REF_LIST
|
||||||
|
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
VALUE, NAME,
|
||||||
|
ad_reference_id, entitytype)
|
||||||
|
VALUES(53000, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100,
|
||||||
|
'T', 'Tab',
|
||||||
|
53000, 'D');
|
||||||
|
|
||||||
|
INSERT INTO AD_REF_LIST
|
||||||
|
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
VALUE, NAME,
|
||||||
|
ad_reference_id, entitytype)
|
||||||
|
VALUES(53001, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100,
|
||||||
|
'L', 'Label',
|
||||||
|
53000, 'D');
|
||||||
|
|
||||||
|
INSERT INTO AD_REF_LIST
|
||||||
|
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
VALUE, NAME,
|
||||||
|
ad_reference_id, entitytype)
|
||||||
|
VALUES(53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100,
|
||||||
|
'C', 'Collapse',
|
||||||
|
53000, 'D');
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
HELP,
|
||||||
|
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable, ad_reference_value_id
|
||||||
|
)
|
||||||
|
VALUES (53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Field Group Type', 'Field Group',
|
||||||
|
'Field Group.',
|
||||||
|
0, 'D', 'FieldGroupType', 414, 17,
|
||||||
|
10, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', NULL, 'N', 'N',
|
||||||
|
'N', 53002, 'Y',
|
||||||
|
'N', 53000
|
||||||
|
);
|
||||||
|
|
||||||
|
ALTER TABLE AD_FIELDGROUP ADD fieldgrouptype CHAR(1);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
HELP,
|
||||||
|
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||||
|
displaylength, isreadonly, seqno, sortno, issameline, isheading,
|
||||||
|
isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:23:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('07/18/2007 14:23:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Field Group Type', 'Field Group Type',
|
||||||
|
'The Field Group type',
|
||||||
|
'Y', 342, 53002, 'Y',
|
||||||
|
10, 'N', 60, 0, 'N', 'N',
|
||||||
|
'N', 'N', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
-- NOTE: Don't forget to run the three processes:
|
||||||
|
-- 1 - Add missing translations in the language screen
|
||||||
|
-- 2 - Synchronize terminology
|
||||||
|
-- 3 - Check sequences
|
|
@ -0,0 +1,25 @@
|
||||||
|
ALTER TABLE AD_UserQuery
|
||||||
|
ADD AD_Tab_ID NUMBER(10);
|
||||||
|
|
||||||
|
INSERT INTO AD_Column
|
||||||
|
(AD_Column_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created,
|
||||||
|
Updated, CreatedBy,
|
||||||
|
UpdatedBy, Name, Description, VERSION,
|
||||||
|
EntityType, ColumnName, AD_Table_ID, AD_Reference_ID,
|
||||||
|
FieldLength, IsKey, IsParent, IsMandatory, IsUpdateable,
|
||||||
|
IsIdentifier, SeqNo, IsTranslated, IsEncrypted,
|
||||||
|
isselectioncolumn, ad_element_id, callout, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53251, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Tab', 'Tab within a Window', 1,
|
||||||
|
'D', 'AD_Tab_ID', 814, 19,
|
||||||
|
10, 'N', 'N', 'Y', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 125, null, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,19 @@
|
||||||
|
INSERT INTO AD_Message
|
||||||
|
(AD_Message_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
Value, MsgText, MsgType
|
||||||
|
)
|
||||||
|
VALUES (53005, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/10/2007 14:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('10/10/2007 14:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'QueryName','Query Name','I'
|
||||||
|
);
|
||||||
|
|
||||||
|
UPDATE AD_Sequence
|
||||||
|
SET CurrentNextSys = (SELECT MAX (AD_Message_ID) + 1
|
||||||
|
FROM AD_Message
|
||||||
|
WHERE AD_message_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Message';
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,174 @@
|
||||||
|
ALTER TABLE AD_REF_LIST MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WF_NEXTCONDITION MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_VAL_RULE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE PA_MEASURECALC MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_MENU MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_INFOCOLUMN MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WF_NODENEXT MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WF_NODE_PARA MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_ELEMENT MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_TASK MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WORKBENCH MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_ENTITYTYPE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_REF_TABLE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_TAB MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_FIELD MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_PROCESS_PARA MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE PA_COLORSCHEMA MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_MODIFICATION MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_REPLICATIONSTRATEGY MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_REPLICATIONTABLE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_IMAGE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_FIELDGROUP MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_INFOWINDOW MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_TABLE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WF_NODE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WF_RESPONSIBLE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_FORM MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WINDOW MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_COLUMN MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WORKBENCHWINDOW MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_PROCESS MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_REPORTVIEW MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_REFERENCE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_MESSAGE MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
ALTER TABLE AD_WORKFLOW MODIFY entitytype VARCHAR2(40);
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET fieldlength = 40
|
||||||
|
WHERE columnname = 'EntityType'
|
||||||
|
AND ad_table_id IN (
|
||||||
|
SELECT ad_table_id
|
||||||
|
FROM AD_TABLE
|
||||||
|
WHERE tablename IN
|
||||||
|
('AD_Ref_List',
|
||||||
|
'AD_WF_NextCondition',
|
||||||
|
'AD_Val_Rule',
|
||||||
|
'PA_MeasureCalc',
|
||||||
|
'AD_Menu',
|
||||||
|
'AD_InfoColumn',
|
||||||
|
'AD_WF_NodeNext',
|
||||||
|
'AD_WF_Node_Para',
|
||||||
|
'AD_Element',
|
||||||
|
'AD_Task',
|
||||||
|
'AD_Workbench',
|
||||||
|
'AD_EntityType',
|
||||||
|
'AD_Ref_Table',
|
||||||
|
'AD_Tab',
|
||||||
|
'AD_Field',
|
||||||
|
'AD_Process_Para',
|
||||||
|
'PA_ColorSchema',
|
||||||
|
'AD_Modification',
|
||||||
|
'AD_ReplicationStrategy',
|
||||||
|
'AD_ReplicationTable',
|
||||||
|
'AD_Image',
|
||||||
|
'AD_FieldGroup',
|
||||||
|
'AD_InfoWindow',
|
||||||
|
'AD_Table',
|
||||||
|
'AD_WF_Node',
|
||||||
|
'AD_WF_Responsible',
|
||||||
|
'AD_Form',
|
||||||
|
'AD_Window',
|
||||||
|
'AD_Column',
|
||||||
|
'AD_WorkbenchWindow',
|
||||||
|
'AD_Process',
|
||||||
|
'AD_ReportView',
|
||||||
|
'AD_Reference',
|
||||||
|
'AD_Message',
|
||||||
|
'AD_Workflow'
|
||||||
|
));
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET displaylength = 20
|
||||||
|
WHERE ad_column_id IN (
|
||||||
|
SELECT ad_column_id
|
||||||
|
FROM AD_COLUMN
|
||||||
|
WHERE columnname = 'EntityType'
|
||||||
|
AND ad_table_id IN (
|
||||||
|
SELECT ad_table_id
|
||||||
|
FROM AD_TABLE
|
||||||
|
WHERE tablename IN
|
||||||
|
('AD_Ref_List',
|
||||||
|
'AD_WF_NextCondition',
|
||||||
|
'AD_Val_Rule',
|
||||||
|
'PA_MeasureCalc',
|
||||||
|
'AD_Menu',
|
||||||
|
'AD_InfoColumn',
|
||||||
|
'AD_WF_NodeNext',
|
||||||
|
'AD_WF_Node_Para',
|
||||||
|
'AD_Element',
|
||||||
|
'AD_Task',
|
||||||
|
'AD_Workbench',
|
||||||
|
'AD_EntityType',
|
||||||
|
'AD_Ref_Table',
|
||||||
|
'AD_Tab',
|
||||||
|
'AD_Field',
|
||||||
|
'AD_Process_Para',
|
||||||
|
'PA_ColorSchema',
|
||||||
|
'AD_Modification',
|
||||||
|
'AD_ReplicationStrategy',
|
||||||
|
'AD_ReplicationTable',
|
||||||
|
'AD_Image',
|
||||||
|
'AD_FieldGroup',
|
||||||
|
'AD_InfoWindow',
|
||||||
|
'AD_Table',
|
||||||
|
'AD_WF_Node',
|
||||||
|
'AD_WF_Responsible',
|
||||||
|
'AD_Form',
|
||||||
|
'AD_Window',
|
||||||
|
'AD_Column',
|
||||||
|
'AD_WorkbenchWindow',
|
||||||
|
'AD_Process',
|
||||||
|
'AD_ReportView',
|
||||||
|
'AD_Reference',
|
||||||
|
'AD_Message',
|
||||||
|
'AD_Workflow'
|
||||||
|
)));
|
||||||
|
|
||||||
|
-- hide classpath field that is not implemented
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET isdisplayed = 'N',
|
||||||
|
isactive = 'N'
|
||||||
|
WHERE ad_field_id = 13498;
|
||||||
|
|
||||||
|
-- hide the register extension button that is not implemented
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET isdisplayed = 'N',
|
||||||
|
isactive = 'N'
|
||||||
|
WHERE ad_field_id = 13507;
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,188 @@
|
||||||
|
CREATE TABLE AD_MODELVALIDATOR
|
||||||
|
( AD_CLIENT_ID NUMBER(10,0) DEFAULT 0 NOT NULL ,
|
||||||
|
AD_MODELVALIDATOR_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_ORG_ID NUMBER(10,0) DEFAULT 0 NOT NULL ,
|
||||||
|
CREATED DATE NOT NULL ,
|
||||||
|
CREATEDBY NUMBER(10,0) NOT NULL ,
|
||||||
|
UPDATED DATE NOT NULL ,
|
||||||
|
UPDATEDBY NUMBER(10,0) NOT NULL ,
|
||||||
|
ISACTIVE CHAR(1) NOT NULL ,
|
||||||
|
NAME NVARCHAR2(60) NOT NULL ,
|
||||||
|
DESCRIPTION NVARCHAR2(255),
|
||||||
|
HELP NVARCHAR2(2000),
|
||||||
|
ENTITYTYPE VARCHAR2(40 BYTE) NOT NULL ,
|
||||||
|
MODELVALIDATIONCLASS NVARCHAR2(255) NOT NULL ,
|
||||||
|
CHECK (IsActive IN ('Y','N')) ,
|
||||||
|
CONSTRAINT AD_MODELVALIDATOR_KEY PRIMARY KEY (AD_MODELVALIDATOR_ID)
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_Element
|
||||||
|
(AD_Element_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
ColumnName, EntityType, Name,
|
||||||
|
PrintName
|
||||||
|
)
|
||||||
|
VALUES (53225, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'AD_ModelValidator_ID', 'D', 'Model Validator',
|
||||||
|
'Model Validator'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_Element
|
||||||
|
(AD_Element_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
ColumnName, EntityType, Name,
|
||||||
|
PrintName
|
||||||
|
)
|
||||||
|
VALUES (53226, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'ModelValidationClass', 'D', 'Model Validation Class',
|
||||||
|
'Model Validation Class'
|
||||||
|
);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Table
|
||||||
|
Insert into AD_Table
|
||||||
|
(AD_TABLE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,TABLENAME,ISVIEW,ACCESSLEVEL,ENTITYTYPE,AD_WINDOW_ID,AD_VAL_RULE_ID,LOADSEQ,ISSECURITYENABLED,ISDELETEABLE,ISHIGHVOLUME,IMPORTTABLE,ISCHANGELOG,REPLICATIONTYPE,PO_WINDOW_ID,COPYCOLUMNSFROMTABLE)
|
||||||
|
values
|
||||||
|
(53014,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,'Model Validator','Global Model Validator',null,'AD_ModelValidator','N','4','D',null,null,0,'N','Y','N','N','N','L',null,'N');
|
||||||
|
|
||||||
|
-- INSERTING into AD_Column
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53252,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'D','AD_Client_ID',53014,19,null,null,10,'0','N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',102,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53253,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Model Validator',null,null,0,'D','AD_ModelValidator_ID',53014,13,null,null,10,null,'Y','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',53225,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53254,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'D','AD_Org_ID',53014,19,null,null,10,'0','N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',113,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53255,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Created','Date this record was created','The Created field indicates the date that this record was created.',0,'D','Created',53014,16,null,null,7,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',245,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53256,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Created By','User who created this records','The Created By field indicates the user who created this record.',0,'D','CreatedBy',53014,18,110,null,10,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',246,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53257,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',0,'D','Updated',53014,16,null,null,7,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',607,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53258,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',0,'D','UpdatedBy',53014,18,110,null,10,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',608,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53259,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Active','The record is active in the system','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.',0,'D','IsActive',53014,20,null,null,1,null,'N','N','Y','Y',null,'N',0,'N','N',null,null,null,null,'N',348,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53260,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Name','Alphanumeric identifier of the entity','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',0,'D','Name',53014,10,null,null,120,null,'N','N','Y','Y',null,'Y',1,'N','N',null,null,null,null,'N',469,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53261,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Description','Optional short description of the record','A description is limited to 255 characters.',0,'D','Description',53014,10,null,null,255,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',275,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53262,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',0,'D','Help',53014,10,null,null,2000,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',326,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53263,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Entity Type','Dictionary Entity Type; Determines ownership and synchronization','The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten. For customizations, copy the entity and select "User"!',0,'D','EntityType',53014,10,null,null,40,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',1682,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53264,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Model Validation Class',null,null,1,'D','ModelValidationClass',53014,10,null,null,255,null,'N','N','Y','Y',null,'N',0,'N','N',null,null,null,null,'N',53226,null,'N','N',null,null);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Window
|
||||||
|
Insert into AD_Window
|
||||||
|
(AD_WINDOW_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,WINDOWTYPE,ISSOTRX,ENTITYTYPE,PROCESSING,AD_IMAGE_ID,AD_COLOR_ID,ISDEFAULT,WINHEIGHT,WINWIDTH,ISBETAFUNCTIONALITY)
|
||||||
|
values
|
||||||
|
(53003,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,'Model Validator',null,null,'M','N','D','N',null,null,'N',0,0,'N');
|
||||||
|
|
||||||
|
-- INSERTING into AD_Tab
|
||||||
|
Insert into AD_Tab
|
||||||
|
(AD_TAB_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,AD_TABLE_ID,AD_WINDOW_ID,SEQNO,TABLEVEL,ISSINGLEROW,ISINFOTAB,ISTRANSLATIONTAB,ISREADONLY,AD_COLUMN_ID,HASTREE,WHERECLAUSE,ORDERBYCLAUSE,COMMITWARNING,AD_PROCESS_ID,PROCESSING,AD_IMAGE_ID,IMPORTFIELDS,AD_COLUMNSORTORDER_ID,AD_COLUMNSORTYESNO_ID,ISSORTTAB,ENTITYTYPE,INCLUDED_TAB_ID,READONLYLOGIC,DISPLAYLOGIC,ISINSERTRECORD,ISADVANCEDTAB)
|
||||||
|
values
|
||||||
|
(53014,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,'Model Validator',null,null,53014,53003,10,0,'N','N','N','N',null,'N',null,null,null,null,'N',null,'N',null,null,'N','D',null,null,null,'Y','N');
|
||||||
|
|
||||||
|
-- INSERTING into AD_Field
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53271, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 53014, 53252, NULL, 'Y', NULL, 10, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53272, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 53014, 53254, NULL, 'Y', NULL, 10, 'N', 20, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53273, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Entity Type', 'Dictionary Entity Type; Determines ownership and synchronization', 'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten. For customizations, copy the entity and select "User"!', 'Y', 53014, 53263, NULL, 'Y', NULL, 40, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53274, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Name', 'Alphanumeric identifier of the entity', 'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', 'Y', 53014, 53260, NULL, 'Y', NULL, 120, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53275, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 'Y', 53014, 53261, NULL, 'Y', NULL, 255, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53276, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Comment/Help', 'Comment or Hint', 'The Help field contains a hint, comment or help about the use of this item.', 'Y', 53014, 53262, NULL, 'Y', NULL, 2000, 'N', 60, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53277, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 53014, 53259, NULL, 'Y', NULL, 1, 'N', 70, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53278, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Model Validation Class', NULL, NULL, 'Y', 53014, 53264, NULL, 'Y', NULL, 255, 'N', 80, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53279, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Model Validator', NULL, NULL, 'Y', 53014, 53253, NULL, 'N', NULL, 10, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Menu
|
||||||
|
INSERT
|
||||||
|
INTO ad_menu(ad_menu_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, name, updatedby, description, issummary, issotrx, isreadonly, ACTION, ad_window_id, ad_workflow_id, ad_task_id, ad_process_id, ad_form_id, ad_workbench_id, entitytype)
|
||||||
|
VALUES(53012, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 'Model Validator', 100, NULL, 'N', 'N', 'N', 'W', 53003, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
-- INSERTING into AD_TreeNodeMM
|
||||||
|
INSERT
|
||||||
|
INTO ad_treenodemm(ad_tree_id, node_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, parent_id, seqno)
|
||||||
|
VALUES(10, 53012, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 0, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 0, 153, 9);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Sequence
|
||||||
|
INSERT
|
||||||
|
INTO ad_sequence(ad_sequence_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, vformat, isautosequence, incrementno, startno, currentnext, currentnextsys, isaudited, istableid, prefix, suffix, startnewyear)
|
||||||
|
VALUES(53012, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'AD_ModelValidator', 'Table AD_ModelValidator', NULL, 'Y', 1, 1000000, 1000000, 50000, 'N', 'Y', NULL, NULL, 'N');
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
-- This is just a sequence placeholder for a rejected migration script
|
|
@ -0,0 +1,94 @@
|
||||||
|
-- FR [ 1732786 ] DefaultValue on AD_Field
|
||||||
|
-- https://sourceforge.net/tracker/index.php?func=detail&aid=1732786&group_id=176962&atid=879335
|
||||||
|
--
|
||||||
|
--delete from AD_Column where AD_Column_ID=53265;
|
||||||
|
INSERT INTO AD_Column (AD_Org_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version,AD_Client_ID,AD_Column_ID)
|
||||||
|
VALUES (0,272,14,107,'DefaultValue',TO_DATE('2007-10-22 14:22:58','YYYY-MM-DD HH24:MI:SS'),0,'Default value hierarchy, separated by ;','D',2000,'The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.','Y','N','N','N','N','N','N','N','N','N','Y','Default Logic',0,TO_DATE('2007-10-22 14:22:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,53265);
|
||||||
|
--
|
||||||
|
--delete from AD_Field where AD_Field_ID=53280;
|
||||||
|
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,AD_Client_ID,UpdatedBy,SeqNo,AD_Field_ID)
|
||||||
|
VALUES (53265,0,107,TO_DATE('2007-10-22 14:30:33','YYYY-MM-DD HH24:MI:SS'),0,'Default value hierarchy, separated by ;',60,'D','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.','Y','Y','Y','N','N','N','N','N','Default Logic',TO_DATE('2007-10-22 14:30:33','YYYY-MM-DD HH24:MI:SS'),0,0,270,53280);
|
||||||
|
--
|
||||||
|
commit;
|
||||||
|
--
|
||||||
|
ALTER TABLE AD_Field ADD DefaultValue NVARCHAR2(2000);
|
||||||
|
--
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_V
|
||||||
|
(AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID, AD_COLUMN_ID,
|
||||||
|
NAME, DESCRIPTION, HELP, ISDISPLAYED, DISPLAYLOGIC,
|
||||||
|
DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE, ISHEADING,
|
||||||
|
ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE, COLUMNNAME,
|
||||||
|
COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE, ISKEY,
|
||||||
|
ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED, AD_REFERENCE_VALUE_ID,
|
||||||
|
CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID, ISALWAYSUPDATEABLE,
|
||||||
|
READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN, TABLENAME,
|
||||||
|
VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID)
|
||||||
|
AS
|
||||||
|
SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
f.Name, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) as DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
|
||||||
|
c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fg.Name AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID
|
||||||
|
FROM AD_Field f
|
||||||
|
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FieldGroup fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
--
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_VT
|
||||||
|
(AD_LANGUAGE, AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID,
|
||||||
|
AD_COLUMN_ID, NAME, DESCRIPTION, HELP, ISDISPLAYED,
|
||||||
|
DISPLAYLOGIC, DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE,
|
||||||
|
ISHEADING, ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE,
|
||||||
|
COLUMNNAME, COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE,
|
||||||
|
ISKEY, ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED,
|
||||||
|
AD_REFERENCE_VALUE_ID, CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID,
|
||||||
|
ISALWAYSUPDATEABLE, READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN,
|
||||||
|
TABLENAME, VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID)
|
||||||
|
AS
|
||||||
|
SELECT trl.AD_Language, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
trl.Name, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) as DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fgt.Name AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID
|
||||||
|
FROM AD_Field f
|
||||||
|
INNER JOIN AD_Field_Trl trl ON (f.AD_Field_ID = trl.AD_Field_ID)
|
||||||
|
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FieldGroup_Trl fgt ON
|
||||||
|
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_Language=fgt.AD_Language)
|
||||||
|
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
--
|
||||||
|
-- NOTE: Don't forget to run the three processes:
|
||||||
|
-- 1 - Add missing translations in the language screen
|
||||||
|
-- 2 - Synchronize terminology
|
||||||
|
-- 3 - Check sequences
|
|
@ -0,0 +1 @@
|
||||||
|
update C_Currency set CurSymbol='KR' where C_Currency_ID=285;
|
|
@ -0,0 +1,9 @@
|
||||||
|
UPDATE ad_column
|
||||||
|
SET defaultvalue = 'N'
|
||||||
|
WHERE ad_column_id = 50169;
|
||||||
|
|
||||||
|
UPDATE ad_column
|
||||||
|
SET ad_reference_id = 38
|
||||||
|
WHERE ad_column_id = 50170;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,19 @@
|
||||||
|
INSERT INTO AD_MESSAGE
|
||||||
|
(AD_Message_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
VALUE, MsgText, MsgType
|
||||||
|
)
|
||||||
|
VALUES (53006, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'OverUnderAmt','Over/Under Payment','I'
|
||||||
|
);
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET CurrentNextSys = (SELECT MAX (AD_Message_ID) + 1
|
||||||
|
FROM AD_MESSAGE
|
||||||
|
WHERE AD_message_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Message';
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,5 @@
|
||||||
|
UPDATE AD_LDAPPROCESSOR
|
||||||
|
SET isactive = 'N'
|
||||||
|
WHERE ad_ldapprocessor_id = 100;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,9 @@
|
||||||
|
UPDATE AD_WINDOW_TRL
|
||||||
|
SET HELP =
|
||||||
|
'La terminal de PDV define los datos por omisión y las funciones disponibles para las formas de PDV.'
|
||||||
|
WHERE ad_window_id = 338
|
||||||
|
AND HELP LIKE
|
||||||
|
'%La terminal de PDV define los datos por homición y las funciones disponibles para las formas de PDV.%'
|
||||||
|
AND AD_LANGUAGE LIKE 'es_%';
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,176 @@
|
||||||
|
SET DEFINE OFF;
|
||||||
|
|
||||||
|
INSERT INTO ad_element
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME,
|
||||||
|
printname
|
||||||
|
)
|
||||||
|
VALUES (53223, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'DunningGrace', 'D', 'Dunning Grace',
|
||||||
|
'Dunning Grace'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53246, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.', 1,
|
||||||
|
'D', 'DunningGrace', 291, 15,
|
||||||
|
7, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 53223, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype,
|
||||||
|
displaylogic
|
||||||
|
)
|
||||||
|
VALUES (53256, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.',
|
||||||
|
'Y', 260 ,223,
|
||||||
|
53246, 'Y', 14, 'N',
|
||||||
|
'N', 'N', 'N', 'N', 'D',
|
||||||
|
'@IsCustomer@=Y'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53247, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.', 1,
|
||||||
|
'D', 'DunningGrace', 318, 15,
|
||||||
|
7, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 53223, 'N',
|
||||||
|
'Y'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53257, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.',
|
||||||
|
'Y', 410 ,263,
|
||||||
|
53247, 'Y', 14, 'N',
|
||||||
|
'N', 'N', 'N', 'N', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||||
|
FROM ad_element
|
||||||
|
WHERE ad_element_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Element';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM ad_column
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Column';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM ad_field
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Field';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE C_BPartner ADD DunningGrace date NULL;
|
||||||
|
ALTER TABLE C_Invoice ADD DunningGrace date NULL;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW C_INVOICE_V AS
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, null AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType,
|
||||||
|
i.DunningGrace,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END AS ChargeAmt,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END AS TotalLines,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END AS GrandTotal,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
WHERE i.IsPayScheduleValid<>'Y'
|
||||||
|
UNION
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType,
|
||||||
|
i.DunningGrace,
|
||||||
|
null AS ChargeAmt,
|
||||||
|
null AS TotalLines,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID)
|
||||||
|
WHERE i.IsPayScheduleValid='Y'
|
||||||
|
AND ips.IsValid='Y';
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,183 @@
|
||||||
|
SET DEFINE OFF;
|
||||||
|
|
||||||
|
update AD_Column set IsAlwaysUpdateable='Y' where AD_Column_ID=12569;
|
||||||
|
update AD_Column set IsAlwaysUpdateable='Y' where AD_Column_ID=12566;
|
||||||
|
|
||||||
|
INSERT INTO ad_element
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME,
|
||||||
|
printname
|
||||||
|
)
|
||||||
|
VALUES (53224, 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28', 'YYYY-MM-DD'), 100,
|
||||||
|
TO_DATE ('2007-09-28', 'YYYY-MM-DD'), 100,
|
||||||
|
'PrintUnprocessedOnly', 'D', 'Print Unprocessed Entries Only',
|
||||||
|
'Print Unprocessed Entries Only'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para
|
||||||
|
(AD_Process_Para_ID, AD_Client_ID, AD_Org_ID, IsActive, Created,
|
||||||
|
CreatedBy, Updated, UpdatedBy, Name,
|
||||||
|
Description,
|
||||||
|
Help,
|
||||||
|
AD_Process_ID, SeqNo, AD_Reference_ID, AD_Reference_Value_ID,
|
||||||
|
AD_Val_Rule_ID, ColumnName, IsCentrallyMaintained, FieldLength,
|
||||||
|
IsMandatory, DefaultValue, IsRange, AD_Element_ID, EntityType
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(53011 , 0, 0, 'Y', TO_DATE ('2007-09-28', 'YYYY-MM-DD'),
|
||||||
|
100, TO_DATE ('2007-09-28', 'YYYY-MM-DD'), 100, 'Print Unprocessed Entries Only',
|
||||||
|
'Print the unprocessed (unprinted) entries of the dunning run only.',
|
||||||
|
'Print the unprocessed (unprinted) entries of the dunning run only. This allows you to reprint only certain dunning entries.',
|
||||||
|
312, 50, 20, NULL,
|
||||||
|
NULL, 'PrintUnprocessedOnly', 'N', 1,
|
||||||
|
'Y', 'Y', 'N', 53224, 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_VAL_RULE(
|
||||||
|
AD_VAL_RULE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
||||||
|
UPDATED,UPDATEDBY,
|
||||||
|
NAME,DESCRIPTION,
|
||||||
|
TYPE,CODE,ENTITYTYPE)
|
||||||
|
values(51003,0,0,'Y',to_date('2007-09-28','RRRR-MM-DD'),100,
|
||||||
|
to_date('2007-09-28','RRRR-MM-DD'),100,
|
||||||
|
'C_DunningRun Unprocessed','Unprocessed Dunning Runs',
|
||||||
|
'S','C_DunningRun.Processed=''N''','D');
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET AD_Val_Rule_ID=51003 WHERE AD_Process_Para_ID=578;
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53248, 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'),
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
100, 'Dunning Level', 'Dunning Level',
|
||||||
|
'Dunning Level', 1,
|
||||||
|
'D', 'C_DunningLevel_ID', 318, 19,
|
||||||
|
22, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 1075, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype,
|
||||||
|
displaylogic
|
||||||
|
)
|
||||||
|
VALUES (53258 , 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
'Dunning Level', 'Dunning Level',
|
||||||
|
'Dunning Level',
|
||||||
|
'Y', 420 ,263,
|
||||||
|
53248, 'Y', 14, 'Y',
|
||||||
|
'Y', 'N', 'N', 'N', 'D',
|
||||||
|
'@Processed@=Y'
|
||||||
|
);
|
||||||
|
|
||||||
|
ALTER TABLE C_Invoice ADD C_DunningLevel_ID NUMBER(10,0) NULL;
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53249, 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'),
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
100, 'Invoice Payment Schedule', 'Invoice Payment Schedule',
|
||||||
|
'Invoice Payment Schedule', 1,
|
||||||
|
'D', 'C_InvoicePaySchedule_ID', 524, 19,
|
||||||
|
22, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 1995, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53259 , 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
'Invoice Payment Schedule', 'Invoice Payment Schedule',
|
||||||
|
'Invoice Payment Schedule',
|
||||||
|
'Y', 65 ,635,
|
||||||
|
53249, 'Y', 26, 'Y',
|
||||||
|
'N', 'N', 'N', 'N', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
ALTER TABLE C_DunningRunLine ADD C_InvoicePaySchedule_ID NUMBER(10,0) NULL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_process_para_id) + 1
|
||||||
|
FROM AD_Process_Para
|
||||||
|
WHERE AD_Process_Para_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Process_Para';
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (AD_Val_Rule_id) + 1
|
||||||
|
FROM AD_Val_Rule
|
||||||
|
WHERE AD_Val_Rule_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Val_Rule';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||||
|
FROM ad_element
|
||||||
|
WHERE ad_element_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Element';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM ad_column
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Column';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM ad_field
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Field';
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
-- BF [ 1824260 ] TRUNC function not working like in Oracle
|
||||||
|
-- http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1824260&group_id=176962
|
||||||
|
--
|
||||||
|
-- Nothing to do for Oracle, this is just a sequence placeholder
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,133 @@
|
||||||
|
-- Revert 006_C1648920_EnhancedDocNum - incomplete contribution
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53200;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53200;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53201;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53201;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE_NO DROP CONSTRAINT ad_sequence_no_key;
|
||||||
|
|
||||||
|
DROP INDEX ad_sequence_no_key;
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX ad_sequence_no_key ON AD_SEQUENCE_NO
|
||||||
|
(ad_sequence_id, calendaryear);
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE_NO ADD (
|
||||||
|
CONSTRAINT ad_sequence_no_key
|
||||||
|
PRIMARY KEY
|
||||||
|
(ad_sequence_id, calendaryear));
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE_NO DROP COLUMN DAY;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE_NO DROP COLUMN MONTH;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN datetrx;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53202;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN isadddate;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53203;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53203;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN isaddmonth;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53204;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53204;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN isaddyear;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53205;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53205;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN isromancharacter;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53206;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53206;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN separator;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53207;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN dateposition;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53208;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53208;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53200;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53201;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53202;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53203;
|
||||||
|
|
||||||
|
DELETE FROM AD_REFERENCE
|
||||||
|
WHERE ad_reference_id = 53200;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN DATEFORMAT;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53204;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53205;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53206;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53209;
|
||||||
|
|
||||||
|
DELETE FROM AD_REFERENCE
|
||||||
|
WHERE ad_reference_id = 53201;
|
||||||
|
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53207;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53208;
|
||||||
|
|
||||||
|
DELETE FROM AD_REF_LIST
|
||||||
|
WHERE ad_ref_list_id = 53209;
|
||||||
|
|
||||||
|
DELETE FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id = 53210;
|
||||||
|
|
||||||
|
DELETE FROM AD_REFERENCE
|
||||||
|
WHERE ad_reference_id = 53202;
|
||||||
|
|
||||||
|
DELETE FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id = 53210;
|
||||||
|
|
||||||
|
ALTER TABLE AD_SEQUENCE DROP COLUMN RESET;
|
||||||
|
|
|
@ -0,0 +1,163 @@
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50000, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_WEBSITE',
|
||||||
|
'http://developer.adempiere.com/cgi-bin/get_ID',
|
||||||
|
'Website where the system sequences are found (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50001, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:09', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:45', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_USER', 'globalqss',
|
||||||
|
'User (sourceforge developer) to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50002, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:19', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_PASSWORD', 'password_inseguro',
|
||||||
|
'Password to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50003, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:38', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_COMMENTS',
|
||||||
|
'Default comment for updating dictionary',
|
||||||
|
'Comment to reserve the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50004, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_WEBSITE',
|
||||||
|
'http://developer.adempiere.com/cgi-bin/get_ID',
|
||||||
|
'Website where the system sequences are found (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50005, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_PROJECT', 'TestProject',
|
||||||
|
'Name of the project you are working on for development'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50006, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:09', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:45', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_USER', 'globalqss',
|
||||||
|
'User (sourceforge developer) to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50007, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:19', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_PASSWORD', 'password_inseguro',
|
||||||
|
'Password to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50008, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:38', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_COMMENTS',
|
||||||
|
'Default comment for updating dictionary',
|
||||||
|
'Comment to reserve the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50009, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_USE_CENTRALIZED_ID', 'Y',
|
||||||
|
'Flag to indicate if we use centralized ID approach or not'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50010, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_USE_CENTRALIZED_ID', 'N',
|
||||||
|
'Flag to indicate if we use centralized ID approach or not'
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,37 @@
|
||||||
|
-- Nov 11, 2007 1:54:50 AM COT
|
||||||
|
-- FR 1829798 - Easy generation of migration scripts
|
||||||
|
INSERT INTO AD_MESSAGE
|
||||||
|
(ad_client_id, ad_message_id, ad_org_id,
|
||||||
|
created, createdby,
|
||||||
|
entitytype, isactive, msgtext,
|
||||||
|
msgtip,
|
||||||
|
msgtype, updated,
|
||||||
|
updatedby, VALUE
|
||||||
|
)
|
||||||
|
VALUES (0, 53007, 0,
|
||||||
|
TO_DATE ('2007-11-11 01:54:49', 'YYYY-MM-DD HH24:MI:SS'), 100,
|
||||||
|
'D', 'Y', 'Log Migration Script',
|
||||||
|
'Log Migration Script - Save migration scripts file in %TEMP%/migration_script_*.sql',
|
||||||
|
'I', TO_DATE ('2007-11-11 01:54:49', 'YYYY-MM-DD HH24:MI:SS'),
|
||||||
|
100, 'LogMigrationScript'
|
||||||
|
)
|
||||||
|
/
|
||||||
|
-- Nov 11, 2007 1:54:50 AM COT
|
||||||
|
-- FR 1829798 - Easy generation of migration scripts
|
||||||
|
INSERT INTO AD_MESSAGE_TRL
|
||||||
|
(AD_LANGUAGE, ad_message_id, msgtext, msgtip, istranslated,
|
||||||
|
ad_client_id, ad_org_id, created, createdby, updated, updatedby)
|
||||||
|
SELECT l.AD_LANGUAGE, t.ad_message_id, t.msgtext, t.msgtip, 'N',
|
||||||
|
t.ad_client_id, t.ad_org_id, t.created, t.createdby, t.updated,
|
||||||
|
t.updatedby
|
||||||
|
FROM AD_LANGUAGE l, AD_MESSAGE t
|
||||||
|
WHERE l.isactive = 'Y'
|
||||||
|
AND l.issystemlanguage = 'Y'
|
||||||
|
AND l.isbaselanguage = 'N'
|
||||||
|
AND t.ad_message_id = 53007
|
||||||
|
AND EXISTS (
|
||||||
|
SELECT *
|
||||||
|
FROM AD_MESSAGE_TRL tt
|
||||||
|
WHERE tt.AD_LANGUAGE != l.AD_LANGUAGE
|
||||||
|
OR tt.ad_message_id != t.ad_message_id)
|
||||||
|
/
|
|
@ -0,0 +1,9 @@
|
||||||
|
UPDATE AD_TAB
|
||||||
|
SET isinfotab = 'N'
|
||||||
|
WHERE ad_tab_id = 684 -- Invoice (Customer) -> Allocation
|
||||||
|
OR ad_tab_id = 685 -- Invoice (Vendor) -> Allocation
|
||||||
|
OR ad_tab_id = 755 -- Payment -> Allocate
|
||||||
|
OR ad_tab_id = 686 -- Payment -> Allocations
|
||||||
|
;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,14 @@
|
||||||
|
-- Nov 15, 2007 9:19:15 PM COT
|
||||||
|
-- FR 1675372 - Add supplier/vendor to productinfo
|
||||||
|
INSERT INTO AD_MESSAGE (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,VALUE) VALUES (0,53008,0,TO_DATE('2007-11-15 21:19:10','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Vendor','I',TO_DATE('2007-11-15 21:19:10','YYYY-MM-DD HH24:MI:SS'),100,'Vendor')
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 15, 2007 9:19:15 PM COT
|
||||||
|
-- FR 1675372 - Add supplier/vendor to productinfo
|
||||||
|
INSERT INTO AD_MESSAGE_TRL (AD_LANGUAGE,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_MESSAGE t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53008 AND EXISTS (SELECT * FROM AD_MESSAGE_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
UPDATE AD_MESSAGE_TRL
|
||||||
|
SET msgtext = 'Proveedor'
|
||||||
|
WHERE ad_message_id = 53008 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
/
|
|
@ -0,0 +1,84 @@
|
||||||
|
-- [ 1823612 ] Product Info Screen Improvements
|
||||||
|
-- Author: fer_luck
|
||||||
|
-- Contributor: Kartsten Thiemann
|
||||||
|
-- Dictionary Additions
|
||||||
|
-- Feature Request: http://sourceforge.net/tracker/index.php?func=detail&aid=1823612&group_id=176962&atid=879335
|
||||||
|
--******************************************************--
|
||||||
|
-- NOTE: Don't forget to run the three processes: --
|
||||||
|
-- 1 - Add missing translations in the language screen --
|
||||||
|
-- 2 - Synchronize terminology --
|
||||||
|
-- 3 - Check sequences --
|
||||||
|
--******************************************************--
|
||||||
|
|
||||||
|
-- new message
|
||||||
|
INSERT INTO AD_MESSAGE(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype)
|
||||||
|
VALUES(53001, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), 100, TO_DATE('2007-07-26','RRRR-MM-DD'), 100, 'WarehouseStock', 'Item Availability in other Warehouses', NULL, 'M', 'D');
|
||||||
|
|
||||||
|
--add view to ad_table
|
||||||
|
INSERT INTO AD_TABLE (ad_table_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, NAME, description, help, tablename, isview, accesslevel, entitytype, ad_window_id, ad_val_rule_id, loadseq, issecurityenabled, isdeleteable, ishighvolume, importtable, ischangelog, replicationtype, po_window_id, copycolumnsfromtable)
|
||||||
|
VALUES(53011, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), 100, TO_DATE('2007-07-26','RRRR-MM-DD'), 100, 'Product Stock at Warehouses', NULL, NULL, 'M_Product_Stock_V', 'Y', '1', 'D', NULL, NULL, NULL, 'N', 'Y', 'N', 'N', 'N', 'L', NULL, NULL);
|
||||||
|
|
||||||
|
--add columns to view in ad_column
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53003, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 0, 'D', 'Description', 53011, 10, NULL, NULL, 255, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 275, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53004, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Product', 'Product, Service, Item', 'Identifies an item which is either purchased or sold in this organization.', 0, 'U', 'M_Product_ID', 53011, 30, NULL, NULL, 10, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 454, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53005, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Name', 'Alphanumeric identifier of the entity', 'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', 1, 'D', 'Name', 53011, 10, NULL, NULL, 60, NULL, 'N', 'N', 'Y', 'Y', NULL, 'Y', 1, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 469, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53006, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Available Quantity', 'Available Quantity (On Hand - Reserved)', 'Quantity available to promise = On Hand minus Reserved Quantity', 1, 'D', 'QtyAvailable', 53011, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'N', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2238, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53007, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'On Hand Quantity', 'On Hand Quantity', 'The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.', 1, 'D', 'QtyOnHand', 53011, 29, NULL, NULL, 22, NULL, 'N', 'N', 'Y', 'N', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 530, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53008, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Reserved Quantity', 'Reserved Quantity', 'The Reserved Quantity indicates the quantity of a product that is currently reserved.', 1, 'D', 'QtyReserved', 53011, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 532, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
|
||||||
|
--add view to ad_table
|
||||||
|
INSERT INTO AD_TABLE (ad_table_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, NAME, description, help, tablename, isview, accesslevel, entitytype, ad_window_id, ad_val_rule_id, loadseq, issecurityenabled, isdeleteable, ishighvolume, importtable, ischangelog, replicationtype, po_window_id, copycolumnsfromtable)
|
||||||
|
VALUES(53015, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), 100, TO_DATE('2007-07-26','RRRR-MM-DD'), 100, 'Product Substitute with Stock Info', NULL, NULL, 'M_Product_SubstituteRelated_V', 'Y', '1', 'D', NULL, NULL, NULL, 'N', 'Y', 'N', 'N', 'N', 'L', NULL, NULL);
|
||||||
|
|
||||||
|
--add columns to view in ad_column
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53023, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 0, 'D', 'Description', 53015, 10, NULL, NULL, 255, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 275, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53024, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Product', 'Product, Service, Item', 'Identifies an item which is either purchased or sold in this organization.', 0, 'U', 'M_Product_ID', 53015, 30, NULL, NULL, 10, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 454, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53025, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Standard Price', 'Standard Price', 'The Standard Price indicates the standard or normal price for a product on this price list', 1, 'D', 'PriceStd', 53015, 37, NULL, NULL, 60, NULL, 'N', 'N', 'Y', 'Y', NULL, 'Y', 1, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 957, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53026, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Available Quantity', 'Available Quantity (On Hand - Reserved)', 'Quantity available to promise = On Hand minus Reserved Quantity', 1, 'D', 'QtyAvailable', 53015, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'N', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2238, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53028, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'Reserved Quantity', 'Reserved Quantity', 'The Reserved Quantity indicates the quantity of a product that is currently reserved.', 1, 'D', 'QtyReserved', 53015, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 532, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53027, 0, 0, 'Y', TO_DATE('2007-07-26','RRRR-MM-DD'), TO_DATE('2007-07-26','RRRR-MM-DD'), 0, 0, 'On Hand Quantity', 'On Hand Quantity', 'The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.', 1, 'D', 'QtyOnHand', 53015, 29, NULL, NULL, 22, NULL, 'N', 'N', 'Y', 'N', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 530, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
|
||||||
|
--create views
|
||||||
|
CREATE OR REPLACE VIEW m_product_stock_v
|
||||||
|
AS
|
||||||
|
SELECT
|
||||||
|
ms.IsActive, ms.Created, ms.CreatedBy, ms.Updated, ms.UpdatedBy,
|
||||||
|
mp.VALUE, mp.help, (ms.qtyonhand - ms.qtyreserved) AS qtyavailable, ms.qtyonhand,
|
||||||
|
ms.qtyreserved, mp.description, mw.NAME AS warehouse, mw.m_warehouse_id, mw.ad_client_id,
|
||||||
|
mw.ad_org_id, mp.documentnote
|
||||||
|
FROM M_STORAGE ms
|
||||||
|
JOIN M_PRODUCT mp ON ms.m_product_id = mp.m_product_id
|
||||||
|
JOIN M_LOCATOR ml ON ms.m_locator_id = ml.m_locator_id
|
||||||
|
JOIN M_WAREHOUSE mw ON ml.m_warehouse_id = mw.m_warehouse_id
|
||||||
|
ORDER BY mw.NAME;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW M_Product_SubstituteRelated_V AS
|
||||||
|
SELECT s.AD_Client_ID, s.AD_Org_ID, s.IsActive, s.Created, s.CreatedBy, s.Updated, s.UpdatedBy, s.m_product_id, s.substitute_id, s.description, 'S' AS ROWTYPE, (ms.qtyonhand - ms.qtyreserved) AS qtyavailable, ms.qtyonhand, ms.qtyreserved, mpr.pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id
|
||||||
|
FROM M_SUBSTITUTE s
|
||||||
|
JOIN M_STORAGE ms ON ms.m_product_id = s.substitute_id
|
||||||
|
JOIN M_PRODUCT mp ON ms.m_product_id = mp.m_product_id
|
||||||
|
JOIN M_LOCATOR ml ON ms.m_locator_id = ml.m_locator_id
|
||||||
|
JOIN M_WAREHOUSE mw ON ml.m_warehouse_id = mw.m_warehouse_id
|
||||||
|
JOIN M_PRODUCTPRICE mpr ON ms.m_product_id = mpr.m_product_id
|
||||||
|
UNION
|
||||||
|
SELECT r.ad_client_id, r.ad_org_id, r.IsActive, r.Created, r.CreatedBy, r.Updated, r.UpdatedBy, r.m_product_id, r.relatedproduct_id, r.description, 'R' AS ROWTYPE, (ms.qtyonhand - ms.qtyreserved) AS qtyavailable, ms.qtyonhand, ms.qtyreserved, mpr.pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id
|
||||||
|
FROM M_RELATEDPRODUCT r
|
||||||
|
JOIN M_STORAGE ms ON ms.m_product_id = r.relatedproduct_id
|
||||||
|
JOIN M_PRODUCT mp ON ms.m_product_id = mp.m_product_id
|
||||||
|
JOIN M_LOCATOR ml ON ms.m_locator_id = ml.m_locator_id
|
||||||
|
JOIN M_WAREHOUSE mw ON ml.m_warehouse_id = mw.m_warehouse_id
|
||||||
|
JOIN M_PRODUCTPRICE mpr ON ms.m_product_id = mpr.m_product_id;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,9 @@
|
||||||
|
-- Fixed wrong reference id for the entitytype column in the 020 script.
|
||||||
|
|
||||||
|
UPDATE AD_Column
|
||||||
|
SET AD_Reference_ID = 18,
|
||||||
|
AD_Reference_Value_ID = 389
|
||||||
|
WHERE AD_Column_ID = 53263;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
|
@ -0,0 +1,123 @@
|
||||||
|
CREATE TABLE AD_Document_Action_Access (
|
||||||
|
AD_CLIENT_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
AD_ORG_ID NUMBER(10,0) NOT NULL ,
|
||||||
|
ISACTIVE CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ,
|
||||||
|
CREATED DATE DEFAULT SYSDATE NOT NULL ,
|
||||||
|
CREATEDBY NUMBER(10,0) NOT NULL ,
|
||||||
|
UPDATED DATE DEFAULT SYSDATE NOT NULL ,
|
||||||
|
UPDATEDBY NUMBER(10,0) NOT NULL ,
|
||||||
|
C_DocType_ID NUMBER(10,0) NOT NULL,
|
||||||
|
AD_Role_ID NUMBER(10,0) NOT NULL,
|
||||||
|
AD_Ref_List_ID NUMBER(10,0) NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
SET DEFINE OFF;
|
||||||
|
INSERT INTO AD_VAL_RULE(AD_VAL_RULE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,TYPE,CODE,ENTITYTYPE)VALUES(51002,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),100,TO_DATE('2007-08-27','RRRR-MM-DD'),100,'AD_Ref_List_ID (Document Actions)','all document actions','S','AD_Ref_List.AD_Reference_ID=135','D');
|
||||||
|
INSERT INTO AD_TABLE(AD_TABLE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,TABLENAME,ISVIEW,ACCESSLEVEL,ENTITYTYPE,AD_WINDOW_ID,AD_VAL_RULE_ID,LOADSEQ,ISSECURITYENABLED,ISDELETEABLE,ISHIGHVOLUME,IMPORTTABLE,ISCHANGELOG,REPLICATIONTYPE,PO_WINDOW_ID,COPYCOLUMNSFROMTABLE)VALUES(53012,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),100,TO_DATE('2007-08-27','RRRR-MM-DD'),100,'Document Action Access','Define access to document type / document action / role combinations.','Define access rules (add roles with access) for client/role/doctype/document action combinations. If no rules are defined for a client/doctype/doc action combination all roles can access the document action.','AD_Document_Action_Access','N','6','D',NULL,NULL,0,'N','Y','N','N','N','L',NULL,'N');
|
||||||
|
INSERT INTO AD_SEQUENCE(AD_SEQUENCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,VFORMAT,ISAUTOSEQUENCE,INCREMENTNO,STARTNO,CURRENTNEXT,CURRENTNEXTSYS,ISAUDITED,ISTABLEID,PREFIX,SUFFIX,STARTNEWYEAR)VALUES(53011,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),100,TO_DATE('2007-08-27','RRRR-MM-DD'),100,'AD_Document_Action_Access','Table AD_Document_Action_Access',NULL,'Y',1,1000000,1000001,50000,'N','Y',NULL,NULL,'N');
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53222,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'D','AD_Client_ID',53012,19,NULL,NULL,22,'@AD_Client_ID@','N','N','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',102,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53223,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'D','AD_Org_ID',53012,19,NULL,104,22,'@AD_Org_ID@','N','N','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',113,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53224,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Active','The record is active in the system','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. There are two reasons for de-activating and not deleting records: (1) The system requires the record for audit purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.',0,'D','IsActive',53012,20,NULL,NULL,1,NULL,'N','N','Y','Y',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',348,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53225,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Created','Date this record was created','The Created field indicates the date that this record was created.',0,'D','Created',53012,16,NULL,NULL,7,NULL,'N','N','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',245,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53226,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Created By','User who created this records','The Created By field indicates the user who created this record.',0,'D','CreatedBy',53012,18,110,NULL,22,NULL,'N','N','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',246,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53227,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',0,'D','Updated',53012,16,NULL,NULL,7,NULL,'N','N','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',607,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53228,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',0,'D','UpdatedBy',53012,18,110,NULL,22,NULL,'N','N','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',608,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53229,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Document Type','Document type or rules','The Document Type determines document sequence and processing rules',0,'D','C_DocType_ID',53012,19,NULL,NULL,22,NULL,'N','Y','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',196,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53230,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',0,'D','AD_Role_ID',53012,19,NULL,NULL,22,NULL,'N','Y','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',123,NULL,'N','N',NULL,NULL);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)VALUES(53231,0,0,'Y',TO_DATE('2007-08-27','RRRR-MM-DD'),TO_DATE('2007-08-27','RRRR-MM-DD'),100,100,'Reference List','Reference List based on Table',NULL,0,'D','AD_Ref_List_ID',53012,19,NULL,51002,22,NULL,'N','Y','Y','N',NULL,'N',NULL,'N','N',NULL,NULL,NULL,NULL,'N',119,NULL,'N','N',NULL,NULL);
|
||||||
|
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,AD_TABLE_ID,AD_WINDOW_ID,SEQNO,TABLEVEL,ISSINGLEROW,ISINFOTAB,ISTRANSLATIONTAB,ISREADONLY,AD_COLUMN_ID,HASTREE,WHERECLAUSE,ORDERBYCLAUSE,COMMITWARNING,AD_PROCESS_ID,PROCESSING,AD_IMAGE_ID,IMPORTFIELDS,AD_COLUMNSORTORDER_ID,AD_COLUMNSORTYESNO_ID,ISSORTTAB,ENTITYTYPE,INCLUDED_TAB_ID,READONLYLOGIC,DISPLAYLOGIC,ISINSERTRECORD,ISADVANCEDTAB)VALUES(53013,0,0,'Y',TO_DATE('2007-08-29','RRRR-MM-DD'),100,TO_DATE('2007-08-29','RRRR-MM-DD'),100,'Document Action Access','Define access to document type / document action / role combinations.','Define access to document type / document action / role combinations.',53012,111,90,1,'N','N','N','N',53230,'N',NULL,NULL,NULL,NULL,'N',NULL,'N',NULL,NULL,'N','D',NULL,NULL,NULL,'Y','N');
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)VALUES(53241,0,0,'Y',TO_DATE('2007-08-29','RRRR-MM-DD'),100,TO_DATE('2007-08-29','RRRR-MM-DD'),100,'Active','The record is active in the system','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. There are two reasons for de-activating and not deleting records: (1) The system requires the record for audit purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y',53013,53224,NULL,'Y',NULL,1,'N',50,NULL,'N','N','N','N','D',NULL,NULL,NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)VALUES(53242,0,0,'Y',TO_DATE('2007-08-29','RRRR-MM-DD'),100,TO_DATE('2007-08-29','RRRR-MM-DD'),100,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y',53013,53222,NULL,'Y',NULL,22,'N',10,NULL,'N','N','N','N','D',NULL,NULL,NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)VALUES(53244,0,0,'Y',TO_DATE('2007-08-29','RRRR-MM-DD'),100,TO_DATE('2007-08-29','RRRR-MM-DD'),100,'Document Type','Document type or rules','The Document Type determines document sequence and processing rules','Y',53013,53229,NULL,'Y',NULL,22,'N',30,NULL,'N','N','N','N','D',NULL,NULL,NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)VALUES(53245,0,0,'Y',TO_DATE('2007-08-29','RRRR-MM-DD'),100,TO_DATE('2007-08-29','RRRR-MM-DD'),100,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y',53013,53223,NULL,'Y',NULL,22,'N',20,NULL,'N','N','N','N','D',NULL,NULL,NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)VALUES(53246,0,0,'Y',TO_DATE('2007-08-29','RRRR-MM-DD'),100,TO_DATE('2007-08-29','RRRR-MM-DD'),100,'Reference List','Reference List based on Table','The Reference List field indicates a list of reference values from a database tables. Reference lists populate drop down list boxes in data entry screens','Y',53013,53231,NULL,'Y',NULL,22,'N',40,NULL,'N','N','N','N','D',NULL,NULL,NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)VALUES(53247,0,0,'Y',TO_DATE('2007-08-29','RRRR-MM-DD'),100,TO_DATE('2007-08-29','RRRR-MM-DD'),100,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.','Y',53013,53230,NULL,'N',NULL,22,'N',0,NULL,'N','N','N','N','D',NULL,NULL,NULL);
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Column';
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM AD_FIELD
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Field';
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Sequence';
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM AD_FIELD
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Tab';
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||||
|
FROM AD_MESSAGE
|
||||||
|
WHERE ad_message_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Table';
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||||
|
FROM AD_ELEMENT
|
||||||
|
WHERE ad_element_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Window';
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM AD_COLUMN
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Val_Rule';
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
DELETE FROM AD_Document_Action_Access;
|
||||||
|
|
||||||
|
INSERT INTO AD_DOCUMENT_ACTION_ACCESS (
|
||||||
|
AD_CLIENT_ID ,
|
||||||
|
AD_ORG_ID ,
|
||||||
|
ISACTIVE ,
|
||||||
|
CREATED ,
|
||||||
|
CREATEDBY ,
|
||||||
|
UPDATED ,
|
||||||
|
UPDATEDBY ,
|
||||||
|
C_DOCTYPE_ID ,
|
||||||
|
AD_ROLE_ID ,
|
||||||
|
AD_REF_LIST_ID
|
||||||
|
)
|
||||||
|
SELECT
|
||||||
|
client.AD_Client_ID,
|
||||||
|
0,
|
||||||
|
'Y',
|
||||||
|
SYSDATE,
|
||||||
|
0,
|
||||||
|
SYSDATE,
|
||||||
|
0,
|
||||||
|
doctype.C_DocType_ID,
|
||||||
|
rol.AD_Role_ID,
|
||||||
|
action.AD_Ref_List_ID
|
||||||
|
FROM AD_CLIENT client
|
||||||
|
INNER JOIN C_DOCTYPE doctype ON (doctype.AD_Client_ID=client.AD_Client_ID)
|
||||||
|
INNER JOIN AD_REF_LIST action ON (action.AD_Reference_ID=135)
|
||||||
|
INNER JOIN AD_ROLE rol ON (rol.AD_Client_ID=client.AD_Client_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,65 @@
|
||||||
|
-- Nov 27, 2007 11:00:14 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53227,0,'IsPostIfClearingEqual',TO_DATE('2007-11-27 23:00:10','YYYY-MM-DD HH24:MI:SS'),100,'This flag controls if Adempiere must post when clearing (transit) and final accounts are the same','D',NULL,'Y','Post if Clearing Equal','Post if Clearing Equal',TO_DATE('2007-11-27 23:00:10','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:16 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53227 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Column SET ColumnName='IsPostIfClearingEqual', Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL WHERE AD_Element_ID=53227
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Field SET Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53227) AND IsCentrallyMaintained='Y'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsPostIfClearingEqual', Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL, AD_Element_ID=53227 WHERE UPPER(ColumnName)='ISPOSTIFCLEARINGEQUAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsPostIfClearingEqual', Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL WHERE AD_Element_ID=53227 AND IsCentrallyMaintained='Y'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Post if Clearing Equal', Name='Post if Clearing Equal' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53227)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:46 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Post if Clearing Equal', Name='Post if Clearing Equal' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53227)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:01:30 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,53266,53227,0,20,265,'IsPostIfClearingEqual',TO_DATE('2007-11-27 23:01:29','YYYY-MM-DD HH24:MI:SS'),100,'Y','This flag controls if Adempiere must post when clearing (transit) and final accounts are the same','D',1,'Y','N','N','N','N','N','N','N','N','N','Y','Post if Clearing Equal',0,TO_DATE('2007-11-27 23:01:29','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:01:30 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=53266 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:01:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
ALTER TABLE C_AcctSchema ADD IsPostIfClearingEqual CHAR(1) DEFAULT 'Y' CHECK (IsPostIfClearingEqual IN ('Y','N'))
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:07:24 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53266,53281,0,199,TO_DATE('2007-11-27 23:07:22','YYYY-MM-DD HH24:MI:SS'),100,'This flag controls if Adempiere must post when clearing (transit) and final accounts are the same',1,'D','Y','Y','Y','N','N','N','N','Y','Post if Clearing Equal',270,TO_DATE('2007-11-27 23:07:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:07:24 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=53281 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
/
|
||||||
|
|
|
@ -0,0 +1,233 @@
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:51:24 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST SET NAME='PO Commitment & Reservation',Updated=TO_DATE('2007-12-01 01:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=785
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:51:24 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Compromisos Compra y Reservas', IsTranslated='Y' WHERE AD_Ref_List_ID=785 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST SET NAME='PO Commitment only',Updated=TO_DATE('2007-12-01 01:52:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=784
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Solamente Compromiso Compras', IsTranslated='Y' WHERE AD_Ref_List_ID=784 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:53:53 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,NAME,Updated,UpdatedBy,VALUE) VALUES (0,0,53223,359,TO_DATE('2007-12-01 01:53:45','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','PO/SO Commitment & Reservation',TO_DATE('2007-12-01 01:53:45','YYYY-MM-DD HH24:MI:SS'),100,'A')
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:53:53 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST_TRL (AD_LANGUAGE,AD_Ref_List_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Ref_List_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_REF_LIST t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53223 AND EXISTS (SELECT * FROM AD_REF_LIST_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Compromisos (ambos) y Reservas', IsTranslated='Y' WHERE AD_Ref_List_ID=53223 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:54:46 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,NAME,Updated,UpdatedBy,VALUE) VALUES (0,0,53224,359,TO_DATE('2007-12-01 01:54:31','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','SO Commitment only',TO_DATE('2007-12-01 01:54:31','YYYY-MM-DD HH24:MI:SS'),100,'S')
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:54:46 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST_TRL (AD_LANGUAGE,AD_Ref_List_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Ref_List_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_REF_LIST t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53224 AND EXISTS (SELECT * FROM AD_REF_LIST_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Solamente Compromiso Ventas', IsTranslated='Y' WHERE AD_Ref_List_ID=53224 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:55:44 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,NAME,Updated,UpdatedBy,VALUE) VALUES (0,0,53225,359,TO_DATE('2007-12-01 01:55:35','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','PO/SO Commitment',TO_DATE('2007-12-01 01:55:35','YYYY-MM-DD HH24:MI:SS'),100,'O')
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:55:44 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST_TRL (AD_LANGUAGE,AD_Ref_List_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Ref_List_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_REF_LIST t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53225 AND EXISTS (SELECT * FROM AD_REF_LIST_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Solamente Compromisos (ambos)', IsTranslated='Y' WHERE AD_Ref_List_ID=53225 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:58:18 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_ELEMENT (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,NAME,PrintName,Updated,UpdatedBy) VALUES (0,53228,0,'CommitmentOffsetSales_Acct',TO_DATE('2007-12-01 01:58:04','YYYY-MM-DD HH24:MI:SS'),100,'Budgetary Commitment Offset Account for Sales','D','The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.','Y','Commitment Offset Sales','Commitment Offset Sales',TO_DATE('2007-12-01 01:58:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:58:18 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_ELEMENT_TRL (AD_LANGUAGE,AD_Element_ID, Description,Help,NAME,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Element_ID, t.Description,t.Help,t.NAME,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_ELEMENT t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53228 AND EXISTS (SELECT * FROM AD_ELEMENT_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:59:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_COLUMN (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,NAME,Updated,UpdatedBy,VERSION) VALUES (0,53267,53228,0,25,266,'CommitmentOffsetSales_Acct',TO_DATE('2007-12-01 01:58:56','YYYY-MM-DD HH24:MI:SS'),100,'Budgetary Commitment Offset Account for Sales','D',10,'The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.','Y','N','N','N','N','N','N','N','N','N','Y','Commitment Offset Sales',TO_DATE('2007-12-01 01:58:56','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:59:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_COLUMN_TRL (AD_LANGUAGE,AD_Column_ID, NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Column_ID, t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_COLUMN t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=53267 AND EXISTS (SELECT * FROM AD_COLUMN_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:59:26 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
ALTER TABLE C_ACCTSCHEMA_GL ADD CommitmentOffsetSales_Acct NUMBER(10)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE C_ACCTSCHEMA_GL SET CommitmentOffsetSales_Acct = CommitmentOffset_Acct
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:00:11 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_COLUMN SET IsMandatory='Y',Updated=TO_DATE('2007-12-01 02:00:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53267
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:00:11 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_FIELD SET NAME='Commitment Offset Sales', Description='Budgetary Commitment Offset Account for Sales', Help='The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.' WHERE AD_Column_ID=53267 AND IsCentrallyMaintained='Y'
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:00:20 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
ALTER TABLE C_ACCTSCHEMA_GL MODIFY CommitmentOffsetSales_Acct NOT NULL
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:02:34 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_FIELD SET IsSameLine='N', SeqNo=160,Updated=TO_DATE('2007-12-01 02:02:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12375
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:03:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_FIELD (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,NAME,SeqNo,Updated,UpdatedBy) VALUES (0,53267,53282,0,200,TO_DATE('2007-12-01 02:02:56','YYYY-MM-DD HH24:MI:SS'),100,'Budgetary Commitment Offset Account for Sales',10,'D','The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.','Y','Y','Y','N','N','N','N','Y','Commitment Offset Sales',170,TO_DATE('2007-12-01 02:02:56','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:03:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_FIELD_TRL (AD_LANGUAGE,AD_Field_ID, Description,Help,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Field_ID, t.Description,t.Help,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_FIELD t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=53282 AND EXISTS (SELECT * FROM AD_FIELD_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO C_ELEMENTVALUE (AD_Client_ID,AD_Org_ID,AccountSign,AccountType,C_ElementValue_ID,C_Element_ID,Created,CreatedBy,IsActive,IsBankAccount,IsDocControlled,IsForeignCurrency,IsSummary,NAME,PostActual,PostBudget,PostEncumbrance,PostStatistical,Updated,UpdatedBy,VALUE) VALUES (11,0,'N','M',50000,105,TO_DATE('2007-12-01 02:55:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','N','N','SO Commitment','Y','Y','Y','Y',TO_DATE('2007-12-01 02:55:03','YYYY-MM-DD HH24:MI:SS'),100,'953')
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO C_ELEMENTVALUE_TRL (AD_LANGUAGE,C_ElementValue_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.C_ElementValue_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, C_ELEMENTVALUE t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_ElementValue_ID=50000 AND EXISTS (SELECT * FROM C_ELEMENTVALUE_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.C_ElementValue_ID!=t.C_ElementValue_ID)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_TREENODE (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SYSDATE, 0, SYSDATE, 0,t.AD_Tree_ID, 50000, 0, 999 FROM AD_TREE t WHERE t.AD_Client_ID=11 AND t.IsActive='Y' AND EXISTS (SELECT * FROM C_ELEMENT ae WHERE ae.C_Element_ID=105 AND t.AD_Tree_ID=ae.AD_Tree_ID) AND NOT EXISTS (SELECT * FROM AD_TREENODE e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=50000)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=0, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=506
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=1, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=584
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=2, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=624
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=3, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=632
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=4, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=429
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=5, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=449
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=6, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=783
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=7, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=704
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=8, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=716
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=9, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=728
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=10, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=731
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=11, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=734
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=0, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=735
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:09 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=1, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=736
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:09 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=2, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=50000
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:09 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=3, Updated=SYSDATE WHERE AD_Tree_ID=101 AND Node_ID=737
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO C_VALIDCOMBINATION (AD_Client_ID,AD_Org_ID,Account_ID,C_AcctSchema_ID,C_ValidCombination_ID,Combination,Created,CreatedBy,Description,IsActive,IsFullyQualified,Updated,UpdatedBy) VALUES (11,11,50000,101,50000,'HQ-953-_-_-_-_',TO_DATE('2007-12-01 02:55:54','YYYY-MM-DD HH24:MI:SS'),100,'HQ-SO Commitment-_-_-_-_','Y','Y',TO_DATE('2007-12-01 02:55:54','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
/
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:56:01 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE C_ACCTSCHEMA_GL SET CommitmentOffsetSales_Acct=50000,Updated=TO_DATE('2007-12-01 02:56:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101
|
||||||
|
/
|
||||||
|
|
||||||
|
COMMIT
|
||||||
|
/
|
|
@ -0,0 +1,4 @@
|
||||||
|
UPDATE AD_WINDOW
|
||||||
|
SET HELP =
|
||||||
|
'The User Window allows you to maintain User of the system. Users can log into the system and have access to functionality via one or more roles. A user can also be a business partner contact.'
|
||||||
|
WHERE ad_window_id = 108 AND HELP LIKE '%aprtner%';
|
|
@ -0,0 +1,6 @@
|
||||||
|
UPDATE AD_SYSTEM
|
||||||
|
SET releaseno = '331b',
|
||||||
|
VERSION = '2007-12-05'
|
||||||
|
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1 @@
|
||||||
|
-- placeholder - script is just for postgres
|
|
@ -0,0 +1,75 @@
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Package Version',
|
||||||
|
PrintName = 'Package Version'
|
||||||
|
wHERE AD_Element_ID = '50003';
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET Name = 'Package Version'
|
||||||
|
WHERE AD_Column_ID IN (50008, 50047, 50094);
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET Name = 'Package Version'
|
||||||
|
WHERE AD_Column_ID IN (50008, 50047, 50094);
|
||||||
|
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Update System Maintained Application Dictionary'
|
||||||
|
WHERE AD_Element_ID = 50032;
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET Name = 'Update System Maintained Application Dictionary',
|
||||||
|
DefaultValue = 'Y'
|
||||||
|
WHERE AD_Column_ID = 50169;
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET Name = 'Update System Maintained Application Dictionary'
|
||||||
|
WHERE AD_Column_ID = 50169;
|
||||||
|
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Package Directory',
|
||||||
|
Description = 'Package directory, default to AdempiereHome/packages'
|
||||||
|
WHERE AD_Element_ID = 50033;
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET Name = 'Package Directory',
|
||||||
|
Description = 'Package directory, default to AdempiereHome/packages'
|
||||||
|
WHERE AD_Column_ID = 50170;
|
||||||
|
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET Name = 'Package Directory',
|
||||||
|
Description = 'Package directory, default to AdempiereHome/packages'
|
||||||
|
WHERE AD_Column_ID = 50170;
|
||||||
|
|
||||||
|
UPDATE AD_ELEMENT
|
||||||
|
SET Name = 'Package Source',
|
||||||
|
PrintName = 'Package Source',
|
||||||
|
Description = 'Fully qualified package source file name'
|
||||||
|
WHERE AD_Element_ID = 50035;
|
||||||
|
|
||||||
|
UPDATE AD_Column
|
||||||
|
SET Name = 'Package Source',
|
||||||
|
IsMandatory = 'Y',
|
||||||
|
AD_Reference_ID = 39,
|
||||||
|
Description = 'Fully qualified package source file name'
|
||||||
|
WHERE AD_Column_ID = 50172;
|
||||||
|
|
||||||
|
UPDATE AD_Field
|
||||||
|
SET Name = 'Package Source',
|
||||||
|
Description = 'Fully qualified package source file name'
|
||||||
|
WHERE AD_Column_ID = 50172;
|
||||||
|
|
||||||
|
UPDATE AD_Element
|
||||||
|
SET Name = 'Package Source Type',
|
||||||
|
Description = 'Type of package source - file, ftp, webservice etc'
|
||||||
|
WHERE AD_Element_ID = 50036;
|
||||||
|
|
||||||
|
UPDATE AD_Column
|
||||||
|
SET Name = 'Package Source Type',
|
||||||
|
Description = 'Type of package source - file, ftp, webservice etc'
|
||||||
|
WHERE AD_Column_ID = 50173;
|
||||||
|
|
||||||
|
UPDATE AD_Field
|
||||||
|
SET Name = 'Package Source Type',
|
||||||
|
Description = 'Type of package source - file, ftp, webservice etc'
|
||||||
|
WHERE AD_Column_ID = 50173;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,19 @@
|
||||||
|
--
|
||||||
|
-- [ 1757535 ] "Item is already on Bar" should be translated
|
||||||
|
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1757535&group_id=176962&atid=879335
|
||||||
|
--
|
||||||
|
INSERT INTO AD_Message (
|
||||||
|
AD_MESSAGE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,
|
||||||
|
VALUE,MSGTEXT,MSGTIP,
|
||||||
|
MSGTYPE,ENTITYTYPE
|
||||||
|
)
|
||||||
|
values (
|
||||||
|
53002,0,0,'Y',to_date('2007-07-13 17:33:55', 'yyyy-mm-dd hh24.mi.ss'),0,to_date('2007-07-13 17:36:55', 'yyyy-mm-dd hh24.mi.ss'),0,
|
||||||
|
'BookmarkExist','This Bookmark already exist','Selected Menu Item is already registered on Bookmarks Bar',
|
||||||
|
'E','A'
|
||||||
|
);
|
||||||
|
commit;
|
||||||
|
--
|
||||||
|
-- NOTE: Don't forget to run: check sequence, add missing translations !!!
|
||||||
|
--
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
--
|
||||||
|
-- BF [ 1763523 ] Translate errors from Cash Line
|
||||||
|
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1763523&group_id=176962&atid=879332
|
||||||
|
--
|
||||||
|
insert into AD_Message (
|
||||||
|
AD_MESSAGE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,
|
||||||
|
VALUE,MSGTEXT,MSGTIP,MSGTYPE,ENTITYTYPE)
|
||||||
|
values (
|
||||||
|
53003,0,0,'Y',to_date('30-07-2007','DD-MM-RRRR'),0,to_date('30-07-2007','DD-MM-RRRR'),0,
|
||||||
|
'CannotDeleteCashGenInvoice','Cannot delete line with generated Invoice',null,'E','D'
|
||||||
|
);
|
||||||
|
--
|
||||||
|
insert into AD_Message (
|
||||||
|
AD_MESSAGE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,
|
||||||
|
VALUE,MSGTEXT,MSGTIP,MSGTYPE,ENTITYTYPE)
|
||||||
|
values (
|
||||||
|
53004,0,0,'Y',to_date('30-07-2007','DD-MM-RRRR'),0,to_date('30-07-2007','DD-MM-RRRR'),0,
|
||||||
|
'CannotChangeCashGenInvoice','Cannot change line with generated Invoice',null,'E','D'
|
||||||
|
);
|
||||||
|
--
|
||||||
|
commit;
|
||||||
|
--
|
||||||
|
-- NOTE: don't forget to run add missing translations and sequence check
|
|
@ -0,0 +1,8 @@
|
||||||
|
DELETE FROM AD_Ref_List
|
||||||
|
WHERE AD_Ref_List_ID=638;
|
||||||
|
|
||||||
|
UPDATE AD_Ref_List
|
||||||
|
SET IsActive='N'
|
||||||
|
WHERE AD_Ref_List_ID IN (634,611);
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,13 @@
|
||||||
|
INSERT INTO AD_MESSAGE
|
||||||
|
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
VALUE, msgtext, msgtype, entitytype
|
||||||
|
)
|
||||||
|
VALUES (50018, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('08/02/2007 00:15:12', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_TIMESTAMP ('08/02/2007 00:15:12', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'CC', 'CC', 'M', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,9 @@
|
||||||
|
--
|
||||||
|
-- BF [ 1774758 ] No default Sales Representant in request window
|
||||||
|
--
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET DefaultValue = '@#AD_User_ID@'
|
||||||
|
WHERE DefaultValue = '@AD_User_ID@' AND AD_Column_ID = 5432;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,7 @@
|
||||||
|
update AD_Column
|
||||||
|
set isparent = 'N'
|
||||||
|
where AD_Column_ID in (13467, 13468);
|
||||||
|
|
||||||
|
update ad_tab
|
||||||
|
set ad_column_id = null
|
||||||
|
where AD_Tab_ID=701;
|
|
@ -0,0 +1,6 @@
|
||||||
|
UPDATE AD_VAL_RULE
|
||||||
|
SET code =
|
||||||
|
'(C_Order.DocStatus=''WP'' OR (C_Order.DocStatus=''CO'' AND EXISTS (SELECT * FROM C_DocType dt WHERE C_Order.C_DocType_ID=dt.C_DocType_ID AND (dt.DocSubTypeSO=''SO'' OR dt.DocBaseType=''POO'')) AND EXISTS (SELECT * FROM C_OrderLine ol WHERE C_Order.C_Order_ID=ol.C_Order_ID AND ol.QtyInvoiced<>ol.QtyOrdered)))'
|
||||||
|
WHERE ad_val_rule_id = 218;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,9 @@
|
||||||
|
ALTER TABLE i_invoice ALTER COLUMN taxindicator TYPE varchar(10);
|
||||||
|
|
||||||
|
ALTER TABLE i_order ALTER COLUMN taxindicator TYPE varchar(10);
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET fieldlength = 10
|
||||||
|
WHERE ad_column_id IN (8991, 9186);
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,177 @@
|
||||||
|
-- [ 1789836 ] Add fields to Import Invoice - allow import charges
|
||||||
|
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1789836&group_id=176962&atid=879335
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD COLUMN projectvalue VARCHAR(40) NULL;
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD COLUMN activityvalue VARCHAR(40) NULL;
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD COLUMN chargename VARCHAR(60) NULL;
|
||||||
|
|
||||||
|
ALTER TABLE I_INVOICE ADD COLUMN c_charge_id NUMERIC(10,0) NULL;
|
||||||
|
|
||||||
|
INSERT INTO AD_ELEMENT
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME, printname
|
||||||
|
)
|
||||||
|
VALUES (53222, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'ActivityValue', 'U', 'ActivityValue', 'ActivityValue'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description, VERSION, entitytype,
|
||||||
|
columnname, ad_table_id, ad_reference_id, fieldlength, iskey,
|
||||||
|
isparent, ismandatory, isupdateable, isidentifier, istranslated,
|
||||||
|
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53241, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Project Key', 'Key of the Project', 0, 'U',
|
||||||
|
'ProjectValue', 598, 10, 40, 'N',
|
||||||
|
'N', 'N', 'Y', 'N', 'N',
|
||||||
|
'N', 'N', 2118, 'Y',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
HELP,
|
||||||
|
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||||
|
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53242, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Charge', 'Additional document charges',
|
||||||
|
'The Charge indicates a type of Charge (Handling, Shipping, Restocking)',
|
||||||
|
0, 'U', 'C_Charge_ID', 598, 19,
|
||||||
|
10, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 'N', 'N', 'N',
|
||||||
|
968, 'Y', 'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||||
|
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||||
|
isupdateable, isidentifier, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53243, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'ActivityValue', 0, 'U', 'ActivityValue', 598,
|
||||||
|
10, 40, 'N', 'N', 'N',
|
||||||
|
'Y', 'N', 'N', 'N',
|
||||||
|
'N', 53222, 'Y',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description, VERSION, entitytype, columnname,
|
||||||
|
ad_table_id, ad_reference_id, fieldlength, iskey, isparent,
|
||||||
|
ismandatory, isupdateable, isidentifier, istranslated,
|
||||||
|
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53244, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:46', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:46', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Charge Name', 'Name of the Charge', 0, 'U', 'ChargeName',
|
||||||
|
598, 10, 60, 'N', 'N',
|
||||||
|
'N', 'Y', 'N', 'N',
|
||||||
|
'N', 'N', 2096, 'Y',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||||
|
isdisplayed, displaylength, isreadonly, seqno, sortno,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53251, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'ActivityValue', 'Y', 510, 53243,
|
||||||
|
'Y', 40, 'N', 498, 0,
|
||||||
|
'N', 'N', 'N', 'N', 'U'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description, iscentrallymaintained, ad_tab_id,
|
||||||
|
ad_column_id, ad_fieldgroup_id, isdisplayed, displaylength,
|
||||||
|
isreadonly, seqno, sortno, issameline, isheading, isfieldonly,
|
||||||
|
isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53252, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Project Key', 'Key of the Project', 'Y', 510,
|
||||||
|
53241, 104, 'Y', 40,
|
||||||
|
'N', 478, 0, 'N', 'N', 'N',
|
||||||
|
'N', 'U'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
HELP,
|
||||||
|
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||||
|
displaylength, isreadonly, seqno, sortno, issameline, isheading,
|
||||||
|
isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53253, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Charge', 'Additional document charges',
|
||||||
|
'The Charge indicates a type of Charge (Handling, Shipping, Restocking)',
|
||||||
|
'Y', 510, 53242, 'Y',
|
||||||
|
10, 'N', 392, 0, 'N', 'N',
|
||||||
|
'N', 'N', 'U'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description, iscentrallymaintained, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||||
|
sortno, issameline, isheading, isfieldonly, isencrypted,
|
||||||
|
entitytype
|
||||||
|
)
|
||||||
|
VALUES (53254, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:54:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_TIMESTAMP ('09/04/2007 22:57:16', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Charge Name', 'Name of the Charge', 'Y', 510,
|
||||||
|
53244, 'Y', 40, 'N', 394,
|
||||||
|
0, 'Y', 'N', 'N', 'N',
|
||||||
|
'U'
|
||||||
|
);
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
UPDATE AD_COLUMN
|
||||||
|
SET ad_val_rule_id = 220
|
||||||
|
WHERE ad_column_id = 5354;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,7 @@
|
||||||
|
CREATE FUNCTION documentNo(p_MPC_MRP_ID numeric) RETURNS character varying
|
||||||
|
|
||||||
|
AS $$org.compiere.sqlj.Manufacturing.documentNo(int)$$
|
||||||
|
LANGUAGE java;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER FUNCTION adempiere.documentNo(p_MPC_MRP_ID numeric) OWNER TO postgres;
|
|
@ -0,0 +1,155 @@
|
||||||
|
-- Posterita SQL Scripts for PostgreSQL
|
||||||
|
---------------------------
|
||||||
|
-- SCRIPT STARTS HERE!
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
--- Table: U_WEB_PROPERTIES -------------------------------------------------------
|
||||||
|
CREATE TABLE U_WEB_PROPERTIES
|
||||||
|
(
|
||||||
|
U_Web_Properties_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL ,
|
||||||
|
Created TIMESTAMP DEFAULT NOW() NOT NULL ,
|
||||||
|
CreatedBy INTEGER NOT NULL ,
|
||||||
|
Updated TIMESTAMP DEFAULT NOW() NOT NULL ,
|
||||||
|
UpdatedBy INTEGER NOT NULL ,
|
||||||
|
U_Key VARCHAR(240) NOT NULL ,
|
||||||
|
U_Value VARCHAR(240) NOT NULL ,
|
||||||
|
primary key(U_Web_Properties_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
|
||||||
|
--- Table: U_RoleMenu -------------------------------------------------------
|
||||||
|
CREATE TABLE U_RoleMenu
|
||||||
|
(
|
||||||
|
U_RoleMenu_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL,
|
||||||
|
Created TIMESTAMP DEFAULT NOW() NOT NULL,
|
||||||
|
CreatedBy INTEGER NOT NULL,
|
||||||
|
Updated TIMESTAMP DEFAULT NOW() NOT NULL,
|
||||||
|
UpdatedBy INTEGER NOT NULL,
|
||||||
|
AD_Role_ID NUMERIC(10,0) NOT NULL,
|
||||||
|
U_WebMenu_ID NUMERIC(10,0) NOT NULL,
|
||||||
|
primary key(U_RoleMenu_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
|
||||||
|
--- Table: U_WebMenu -------------------------------------------------------
|
||||||
|
CREATE TABLE U_WebMenu
|
||||||
|
(
|
||||||
|
U_WebMenu_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL ,
|
||||||
|
Created TIMESTAMP DEFAULT NOW() NOT NULL,
|
||||||
|
CreatedBy NUMERIC(10,0) NOT NULL ,
|
||||||
|
Updated TIMESTAMP DEFAULT NOW() NOT NULL ,
|
||||||
|
UpdatedBy NUMERIC(10,0) NOT NULL ,
|
||||||
|
Name VARCHAR(120) NOT NULL ,
|
||||||
|
MenuLink VARCHAR(510) NOT NULL ,
|
||||||
|
Module VARCHAR(120) NOT NULL ,
|
||||||
|
ParentMenu_ID NUMERIC(10,0) ,
|
||||||
|
HasSubMenu CHAR(1) DEFAULT 'N' NOT NULL,
|
||||||
|
Description VARCHAR(200) ,
|
||||||
|
ImageLink VARCHAR(510) ,
|
||||||
|
Position VARCHAR(10) ,
|
||||||
|
Help VARCHAR(2000) ,
|
||||||
|
primary key(U_WebMenu_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N')),
|
||||||
|
CHECK(HasSubMenu IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
|
||||||
|
--- Table: U_BlackListCheque -------------------------------------------------------
|
||||||
|
CREATE TABLE U_BlackListCheque
|
||||||
|
(
|
||||||
|
U_BlackListCheque_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Client_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_Org_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
IsActive CHAR(1) DEFAULT 'Y' NOT NULL,
|
||||||
|
Created TIMESTAMP DEFAULT NOW() NOT NULL ,
|
||||||
|
CreatedBy NUMERIC(10,0) NOT NULL ,
|
||||||
|
Updated TIMESTAMP DEFAULT NOW() NOT NULL ,
|
||||||
|
UpdatedBy NUMERIC(10,0) NOT NULL ,
|
||||||
|
BankName VARCHAR(120) NOT NULL ,
|
||||||
|
ChequeNo VARCHAR(120) NOT NULL ,
|
||||||
|
primary key(U_BlackListCheque_ID),
|
||||||
|
CHECK(IsActive IN ('Y', 'N'))
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
--- Table: AD_PrintFormat -------------------------------------------------------------
|
||||||
|
|
||||||
|
ALTER TABLE AD_PrintFormat ADD COLUMN ClassName VARCHAR(240);
|
||||||
|
|
||||||
|
ALTER TABLE AD_PrintFormat ADD COLUMN Args VARCHAR(510);
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
--- Table: AD_User -------------------------------------------------------------
|
||||||
|
|
||||||
|
ALTER TABLE AD_User ADD COLUMN UserPIN VARCHAR(20);
|
||||||
|
|
||||||
|
ALTER TABLE AD_User ALTER COLUMN UserPIN TYPE VARCHAR(20);
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
--- Table: AD_Role -------------------------------------------------------------
|
||||||
|
|
||||||
|
ALTER TABLE AD_Role ADD COLUMN UserDiscount NUMERIC(22,2);
|
||||||
|
|
||||||
|
ALTER TABLE AD_Role ALTER COLUMN UserDiscount TYPE numeric(22,2);
|
||||||
|
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
--- Table: C_Order -------------------------------------------------------------
|
||||||
|
|
||||||
|
ALTER TABLE C_Order ADD COLUMN OrderType VARCHAR(510);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order ADD COLUMN C_POS_ID NUMERIC(10,0);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order ADD COLUMN AmountTendered NUMERIC(22,2);
|
||||||
|
|
||||||
|
ALTER TABLE C_Order ADD COLUMN AmountRefunded NUMERIC(22,2);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
--- Table: M_Product -----------------------------------------------------------
|
||||||
|
|
||||||
|
ALTER TABLE M_Product ADD COLUMN Group1 VARCHAR(255);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product ALTER COLUMN Group1 TYPE VARCHAR(255);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product ADD COLUMN Group2 VARCHAR(255);
|
||||||
|
|
||||||
|
ALTER TABLE M_Product ALTER COLUMN Group2 TYPE VARCHAR(255);
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
--- Table: U_WebMenu -------------------------------------------------------
|
||||||
|
ALTER TABLE U_WebMenu ADD COLUMN Category VARCHAR(120);
|
||||||
|
|
||||||
|
ALTER TABLE U_WebMenu ALTER COLUMN Category TYPE VARCHAR(120);
|
||||||
|
|
||||||
|
ALTER TABLE U_WebMenu ADD COLUMN Sequence NUMERIC(10,0);
|
||||||
|
|
||||||
|
ALTER TABLE U_WebMenu ALTER Sequence TYPE NUMERIC(10,0);
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
--- Table: C_POS ---------------------------------------------------------------
|
||||||
|
|
||||||
|
ALTER TABLE C_POS ADD COLUMN CashDrawer VARCHAR(120);
|
||||||
|
|
||||||
|
ALTER TABLE C_POS ALTER COLUMN CashDrawer TYPE VARCHAR(120);
|
||||||
|
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,165 @@
|
||||||
|
-- ad_Window Changes --
|
||||||
|
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52000, 0, 0, 'Y', now(), 100, now(), 100, 'Posterita Web Menu', 'To dynamically generate the menu links in posterita', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52001, 0, 0, 'Y', now(), 100, now(), 100, 'Posterita Role Menu', 'Depending on Which Role, Different set of Menus are generated and made available.', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52002, 0, 0, 'Y', now(), 100, now(), 100, 'Posterita Web Properties', 'Stores the message tags to be picked up from AD_MESSAGE ', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
INSERT INTO AD_WINDOW(AD_WINDOW_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, WINDOWTYPE, ISSOTRX, ENTITYTYPE, PROCESSING, AD_IMAGE_ID, AD_COLOR_ID, ISDEFAULT, WINHEIGHT, WINWIDTH, ISBETAFUNCTIONALITY)
|
||||||
|
VALUES(52003, 0, 0, 'Y', now(), 100, now(), 100, 'Posterita BlackListCheque', 'Black Listed Cheque', NULL, 'M', 'Y', 'D', 'N', NULL, NULL, 'N', 0, 0, 'N');
|
||||||
|
--- ad_Tab Changes ---
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52000, 0, 0, 'Y', now(), 100, now(), 100, 'Web Menu', 'To dynamically generate the menu links in posterita', NULL, 52003, 52000, 10, 0, 'N', 'N', 'N', 'N', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'Y', 'N');
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52001, 0, 0, 'Y', now(), 100, now(), 100, 'Role Menu', 'Depending on Which Role, Different set of Menus are generated and made available.', NULL, 52002, 52001, 10, 0, 'N', 'N', 'N', 'N', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'Y', 'N');
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52002, 0, 0, 'Y', now(), 100, now(), 100, 'Web Properties', 'Stores the message tags to be picked up from AD_MESSAGE ', NULL, 52001, 52002, 10, 0, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'N', 'N');
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, AD_TABLE_ID, AD_WINDOW_ID, SEQNO, TABLEVEL, ISSINGLEROW, ISINFOTAB, ISTRANSLATIONTAB, ISREADONLY, AD_COLUMN_ID, HASTREE, WHERECLAUSE, ORDERBYCLAUSE, COMMITWARNING, AD_PROCESS_ID, PROCESSING, AD_IMAGE_ID, IMPORTFIELDS, AD_COLUMNSORTORDER_ID, AD_COLUMNSORTYESNO_ID, ISSORTTAB, ENTITYTYPE, INCLUDED_TAB_ID, READONLYLOGIC, DISPLAYLOGIC, ISINSERTRECORD, ISADVANCEDTAB)
|
||||||
|
VALUES(52003, 0, 0, 'Y', now(), 100, now(), 100, 'BlackListCheque', 'Black Listed Cheque', NULL, 52000, 52003, 10, 0, 'N', 'N', 'N', 'N', NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, 'N', NULL, NULL, 'N', 'D', NULL, NULL, NULL, 'Y', 'N');
|
||||||
|
|
||||||
|
-- AD_Field Changes --
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52008, 0, 0, 'Y', now(), 100, now(), 100, 'Args', NULL, NULL, 'Y', 425, 52069, NULL, 'Y', NULL, 60, 'N', 210, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52009, 0, 0, 'Y', now(), 100, now(), 100, 'ClassName', NULL, NULL, 'Y', 425, 52068, NULL, 'Y', NULL, 60, 'N', 200, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52010, 0, 0, 'Y', now(), 100, now(), 100, 'UserPIN', NULL, NULL, 'Y', 118, 52066, NULL, 'Y', NULL, 20, 'N', 120, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52011, 0, 0, 'Y', now(), 100, now(), 100, 'AmountRefunded', NULL, NULL, 'Y', 186, 52065, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52012, 0, 0, 'Y', now(), 100, now(), 100, 'AmountTendered', NULL, NULL, 'Y', 186, 52064, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52013, 0, 0, 'Y', now(), 100, now(), 100, 'Terminal', NULL, NULL, 'Y', 186, 52070, NULL, 'N', NULL, 10, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52014, 0, 0, 'Y', now(), 100, now(), 100, 'OrderType', NULL, NULL, 'Y', 186, 52063, NULL, 'Y', NULL, 510, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52015, 0, 0, 'Y', now(), 100, now(), 100, 'Group1', NULL, NULL, 'Y', 180, 52061, NULL, 'Y', NULL, 50, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52016, 0, 0, 'Y', now(), 100, now(), 100, 'Group2', NULL, NULL, 'Y', 180, 52062, NULL, 'Y', NULL, 50, 'N', NULL, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52017, 0, 0, 'Y', now(), 100, now(), 100, 'CashDrawer', NULL, NULL, 'Y', 676, 52058, NULL, 'Y', NULL, 20, 'N', NULL, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52018, 0, 0, 'Y', now(), 100, now(), 100, 'UserDiscount', NULL, NULL, 'Y', 119, 52067, NULL, 'Y', NULL, 22, 'N', 100, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52019, 0, 0, 'Y', now(), 100, now(), 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52000, 52042, NULL, 'Y', NULL, 22, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52020, 0, 0, 'Y', now(), 100, now(), 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52000, 52043, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52021, 0, 0, 'Y', now(), 100, now(), 100, 'Category', NULL, NULL, 'Y', 52000, 52060, NULL, 'Y', NULL, 120, 'N', 60, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52022, 0, 0, 'Y', now(), 100, now(), 100, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 'Y', 52000, 52054, NULL, 'Y', NULL, 200, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52023, 0, 0, 'Y', now(), 100, now(), 100, 'HasSubMenu', NULL, NULL, 'Y', 52000, 52053, NULL, 'Y', NULL, 1, 'N', 70, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52024, 0, 0, 'Y', now(), 100, now(), 100, 'Comment/Help', 'Comment or Hint', 'The Help field contains a hint, comment or help about the use of this item.', 'Y', 52000, 52057, NULL, 'Y', NULL, 2000, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52025, 0, 0, 'Y', now(), 100, now(), 100, 'ImageLink', NULL, NULL, 'Y', 52000, 52055, NULL, 'Y', NULL, 510, 'N', 90, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52026, 0, 0, 'Y', now(), 100, now(), 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52000, 52044, NULL, 'Y', NULL, 1, 'N', 80, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52027, 0, 0, 'Y', now(), 100, now(), 100, 'MenuLink', NULL, NULL, 'Y', 52000, 52050, NULL, 'Y', NULL, 510, 'N', 100, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52028, 0, 0, 'Y', now(), 100, now(), 100, 'Module', NULL, NULL, 'Y', 52000, 52051, NULL, 'Y', NULL, 120, 'N', 110, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52029, 0, 0, 'Y', now(), 100, now(), 100, 'Name', 'Alphanumeric identifier of the entity', 'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', 'Y', 52000, 52049, NULL, 'Y', NULL, 120, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52030, 0, 0, 'Y', now(), 100, now(), 100, 'ParentMenu_ID', NULL, NULL, 'Y', 52000, 52052, NULL, 'Y', NULL, 10, 'N', 120, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52031, 0, 0, 'Y', now(), 100, now(), 100, 'Position', NULL, NULL, 'Y', 52000, 52056, NULL, 'Y', NULL, 10, 'N', 130, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52032, 0, 0, 'Y', now(), 100, now(), 100, 'Sequence', NULL, NULL, 'Y', 52000, 52059, NULL, 'Y', NULL, 22, 'N', 140, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52033, 0, 0, 'Y', now(), 100, now(), 100, 'U_WebMenu_ID', NULL, NULL, 'Y', 52000, 52041, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52034, 0, 0, 'Y', now(), 100, now(), 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52001, 52032, NULL, 'Y', NULL, 22, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52035, 0, 0, 'Y', now(), 100, now(), 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52001, 52033, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52036, 0, 0, 'Y', now(), 100, now(), 100, 'Role', 'Responsibility Role', 'The Role determines security and access a user who has this Role will have in the System.', 'Y', 52001, 52039, NULL, 'Y', NULL, 10, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52037, 0, 0, 'Y', now(), 100, now(), 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52001, 52034, NULL, 'Y', NULL, 1, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52038, 0, 0, 'Y', now(), 100, now(), 100, 'U_RoleMenu_ID', NULL, NULL, 'Y', 52001, 52031, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52039, 0, 0, 'Y', now(), 100, now(), 100, 'U_WebMenu_ID', NULL, NULL, 'Y', 52001, 52040, NULL, 'Y', NULL, 10, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52040, 0, 0, 'Y', now(), 100, now(), 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52002, 52022, NULL, 'Y', NULL, 22, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52041, 0, 0, 'Y', now(), 100, now(), 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52002, 52023, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52042, 0, 0, 'Y', now(), 100, now(), 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52002, 52024, NULL, 'Y', NULL, 1, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52043, 0, 0, 'Y', now(), 100, now(), 100, 'U_Key', NULL, NULL, 'Y', 52002, 52029, NULL, 'Y', NULL, 240, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52044, 0, 0, 'Y', now(), 100, now(), 100, 'U_Value', NULL, NULL, 'Y', 52002, 52030, NULL, 'Y', NULL, 240, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52045, 0, 0, 'Y', now(), 100, now(), 100, 'U_Web_Properties_ID', NULL, NULL, 'Y', 52002, 52021, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52046, 0, 0, 'Y', now(), 100, now(), 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 52003, 52012, NULL, 'Y', NULL, 22, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52047, 0, 0, 'Y', now(), 100, now(), 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 52003, 52013, NULL, 'Y', NULL, 22, 'N', 20, NULL, 'Y', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52048, 0, 0, 'Y', now(), 100, now(), 100, 'BankName', NULL, NULL, 'Y', 52003, 52019, NULL, 'Y', NULL, 120, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52049, 0, 0, 'Y', now(), 100, now(), 100, 'ChequeNo', NULL, NULL, 'Y', 52003, 52020, NULL, 'Y', NULL, 120, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52050, 0, 0, 'Y', now(), 100, now(), 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 52003, 52014, NULL, 'Y', NULL, 1, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, DESCRIPTION, HELP, ISCENTRALLYMAINTAINED, AD_TAB_ID, AD_COLUMN_ID, AD_FIELDGROUP_ID, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, ISREADONLY, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISENCRYPTED, ENTITYTYPE, OBSCURETYPE, AD_REFERENCE_ID, ISMANDATORY)
|
||||||
|
VALUES(52051, 0, 0, 'Y', now(), 100, now(), 100, 'U_BlackListCheque_ID', NULL, NULL, 'Y', 52003, 52011, NULL, 'N', NULL, 22, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||||
|
|
||||||
|
-- AD_WindowAccess Changes --
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52000, 0, 0, 0, 'Y', now(), 0, now(), 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52001, 50001, 0, 0, 'Y', now(), 0, now(), 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52001, 103, 11, 0, 'Y', now(), 100, now(), 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52001, 102, 11, 0, 'Y', now(), 100, now(), 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52002, 103, 11, 0, 'Y', now(), 100, now(), 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52002, 50001, 0, 0, 'Y', now(), 0, now(), 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52002, 102, 11, 0, 'Y', now(), 100, now(), 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52003, 50001, 0, 0, 'Y', now(), 0, now(), 0, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52003, 103, 11, 0, 'Y', now(), 100, now(), 100, 'Y');
|
||||||
|
INSERT INTO AD_WINDOW_ACCESS(AD_WINDOW_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
||||||
|
VALUES(52003, 102, 11, 0, 'Y', now(), 100, now(), 100, 'Y');
|
||||||
|
|
||||||
|
|
||||||
|
-- AD_Menu Changes --
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52002, 0, 0, 'Y', now(), 100, now(), 'Web Menu', 100, 'To dynamically generate the menu links in posterita', 'N', 'N', 'N', 'W', 52000, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52003, 0, 0, 'Y', now(), 100, now(), 'Role Menu', 100, NULL, 'N', 'N', 'N', 'W', 52001, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52004, 0, 0, 'Y', now(), 100, now(), 'Web Properties', 100, NULL, 'N', 'N', 'N', 'W', 52002, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
INSERT INTO AD_MENU(AD_MENU_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, NAME, UPDATEDBY, DESCRIPTION, ISSUMMARY, ISSOTRX, ISREADONLY, ACTION, AD_WINDOW_ID, AD_WORKFLOW_ID, AD_TASK_ID, AD_PROCESS_ID, AD_FORM_ID, AD_WORKBENCH_ID, ENTITYTYPE)
|
||||||
|
VALUES(52005, 0, 0, 'Y', now(), 100, now(), 'Black Listed Cheque', 100, NULL, 'N', 'N', 'N', 'W', 52003, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
-- AD_TREENODEMM Changes --
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52002, 0, 0, 'Y', now(), 0, now(), 0, 52001, 3);
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52003, 0, 0, 'Y', now(), 0, now(), 0, 52001, 2);
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52004, 0, 0, 'Y', now(), 0, now(), 0, 52001, 1);
|
||||||
|
INSERT INTO AD_TREENODEMM(AD_TREE_ID, NODE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, PARENT_ID, SEQNO)
|
||||||
|
VALUES(10, 52005, 0, 0, 'Y', now(), 0, now(), 0, 52001, 0);
|
|
@ -0,0 +1,204 @@
|
||||||
|
--@author - fer_luck @ centuryono
|
||||||
|
--Add Detail column
|
||||||
|
--The fields are already in the databse. Just needs to update them
|
||||||
|
BEGIN;
|
||||||
|
update ad_field set seqno = seqno + 10 where ad_tab_id = 107 and seqno > 70;
|
||||||
|
|
||||||
|
update ad_field
|
||||||
|
set ad_tab_id = 107, isdisplayed = 'Y', seqno = 80
|
||||||
|
where ad_column_id = 8547;
|
||||||
|
|
||||||
|
--It's not physically in the database, so here we create it
|
||||||
|
alter table ad_field add included_tab_id numeric(10);
|
||||||
|
|
||||||
|
--Modify the views
|
||||||
|
drop view ad_field_v;
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_V
|
||||||
|
(AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID, AD_COLUMN_ID,
|
||||||
|
NAME, DESCRIPTION, HELP, ISDISPLAYED, DISPLAYLOGIC,
|
||||||
|
DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE, ISHEADING,
|
||||||
|
ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE, COLUMNNAME,
|
||||||
|
COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE, ISKEY,
|
||||||
|
ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED, AD_REFERENCE_VALUE_ID,
|
||||||
|
CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID, ISALWAYSUPDATEABLE,
|
||||||
|
READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN, TABLENAME,
|
||||||
|
VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE)
|
||||||
|
AS
|
||||||
|
SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
f.Name, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat, c.DefaultValue, c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
|
||||||
|
c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fg.Name AS FieldGroup, vr.Code AS ValidationCode, f.included_tab_id
|
||||||
|
FROM AD_Field f
|
||||||
|
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FieldGroup fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
|
||||||
|
|
||||||
|
drop view ad_field_vt;
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_VT
|
||||||
|
(AD_LANGUAGE, AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID,
|
||||||
|
AD_COLUMN_ID, NAME, DESCRIPTION, HELP, ISDISPLAYED,
|
||||||
|
DISPLAYLOGIC, DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE,
|
||||||
|
ISHEADING, ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE,
|
||||||
|
COLUMNNAME, COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE,
|
||||||
|
ISKEY, ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED,
|
||||||
|
AD_REFERENCE_VALUE_ID, CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID,
|
||||||
|
ISALWAYSUPDATEABLE, READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN,
|
||||||
|
TABLENAME, VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE)
|
||||||
|
AS
|
||||||
|
SELECT trl.AD_Language, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
trl.Name, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat, c.DefaultValue, c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fgt.Name AS FieldGroup, vr.Code AS ValidationCode, f.included_tab_id
|
||||||
|
FROM AD_Field f
|
||||||
|
INNER JOIN AD_Field_Trl trl ON (f.AD_Field_ID = trl.AD_Field_ID)
|
||||||
|
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FieldGroup_Trl fgt ON
|
||||||
|
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_Language=fgt.AD_Language)
|
||||||
|
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
|
||||||
|
--Add the Grid Collapse and Tabbed item navigation
|
||||||
|
INSERT INTO AD_ELEMENT
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME, printname
|
||||||
|
)
|
||||||
|
VALUES (53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('07/18/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'FieldGroupType', 'D', 'Field Group Type', 'Field Group Type'
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into ad_reference
|
||||||
|
(ad_reference_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
name, description, help,
|
||||||
|
validationtype, entitytype)
|
||||||
|
VALUES (53000, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'AD_FieldGroup', 'Field Group Type', '',
|
||||||
|
'L', 'D');
|
||||||
|
|
||||||
|
insert into ad_ref_list
|
||||||
|
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
value, name,
|
||||||
|
ad_reference_id, entitytype)
|
||||||
|
VALUES(53000, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100,
|
||||||
|
'T', 'Tab',
|
||||||
|
53000, 'D');
|
||||||
|
insert into ad_ref_list
|
||||||
|
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
value, name,
|
||||||
|
ad_reference_id, entitytype)
|
||||||
|
VALUES(53001, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100,
|
||||||
|
'L', 'Label',
|
||||||
|
53000, 'D');
|
||||||
|
insert into ad_ref_list
|
||||||
|
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby,
|
||||||
|
value, name,
|
||||||
|
ad_reference_id, entitytype)
|
||||||
|
VALUES(53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100,
|
||||||
|
'C', 'Collapse',
|
||||||
|
53000, 'D');
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
HELP,
|
||||||
|
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable, ad_reference_value_id
|
||||||
|
)
|
||||||
|
VALUES (53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('07/18/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Field Group Type', 'Field Group',
|
||||||
|
'Field Group.',
|
||||||
|
0, 'D', 'FieldGroupType', 414, 17,
|
||||||
|
10, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', null, 'N', 'N',
|
||||||
|
'N', 53002, 'Y',
|
||||||
|
'N', 53000
|
||||||
|
);
|
||||||
|
|
||||||
|
ALTER TABLE ad_fieldgroup ADD fieldgrouptype char(1);
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
HELP,
|
||||||
|
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||||
|
displaylength, isreadonly, seqno, sortno, issameline, isheading,
|
||||||
|
isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53002, 0, 0, 'Y',
|
||||||
|
TO_DATE ('07/18/2007 14:23:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('07/18/2007 14:23:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Field Group Type', 'Field Group Type',
|
||||||
|
'The Field Group type',
|
||||||
|
'Y', 342, 53002, 'Y',
|
||||||
|
10, 'N', 60, 0, 'N', 'N',
|
||||||
|
'N', 'N', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
-- NOTE: Don't forget to run the three processes:
|
||||||
|
-- 1 - Add missing translations in the language screen
|
||||||
|
-- 2 - Synchronize terminology
|
||||||
|
-- 3 - Check sequences
|
|
@ -0,0 +1,25 @@
|
||||||
|
ALTER TABLE AD_UserQuery
|
||||||
|
ADD COLUMN AD_Tab_ID NUMERIC(10);
|
||||||
|
|
||||||
|
INSERT INTO AD_Column
|
||||||
|
(AD_Column_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created,
|
||||||
|
Updated, CreatedBy,
|
||||||
|
UpdatedBy, Name, Description, VERSION,
|
||||||
|
EntityType, ColumnName, AD_Table_ID, AD_Reference_ID,
|
||||||
|
FieldLength, IsKey, IsParent, IsMandatory, IsUpdateable,
|
||||||
|
IsIdentifier, SeqNo, IsTranslated, IsEncrypted,
|
||||||
|
isselectioncolumn, ad_element_id, callout, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53251, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/10/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Tab', 'Tab within a Window', 1,
|
||||||
|
'D', 'AD_Tab_ID', 814, 19,
|
||||||
|
10, 'N', 'N', 'Y', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 125, null, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,19 @@
|
||||||
|
INSERT INTO AD_Message
|
||||||
|
(AD_Message_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
Value, MsgText, MsgType
|
||||||
|
)
|
||||||
|
VALUES (53005, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/10/2007 14:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('10/10/2007 14:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'QueryName','Query Name','I'
|
||||||
|
);
|
||||||
|
|
||||||
|
UPDATE AD_Sequence
|
||||||
|
SET CurrentNextSys = (SELECT MAX (AD_Message_ID) + 1
|
||||||
|
FROM AD_Message
|
||||||
|
WHERE AD_message_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Message';
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,132 @@
|
||||||
|
ALTER TABLE PA_COLORSCHEMA ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_TABLE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WF_NEXTCONDITION ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_VAL_RULE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_REPLICATIONTABLE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WORKFLOW ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_IMAGE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_ENTITYTYPE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_INFOCOLUMN ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_REFERENCE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_REF_LIST ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_TAB ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WF_NODENEXT ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WORKBENCHWINDOW ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WF_NODE_PARA ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_PROCESS ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_MENU ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_REPLICATIONSTRATEGY ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WF_RESPONSIBLE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WORKBENCH ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_COLUMN ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WF_NODE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_TASK ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_REPORTVIEW ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_REF_TABLE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_WINDOW ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE PA_MEASURECALC ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_FORM ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_MODIFICATION ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_INFOWINDOW ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_FIELD ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_ELEMENT ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_FIELDGROUP ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_MESSAGE ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
ALTER TABLE AD_PROCESS_PARA ALTER COLUMN EntityType TYPE VARCHAR(40);
|
||||||
|
|
||||||
|
UPDATE AD_COLUMN SET FieldLength = 40 WHERE ColumnName = 'EntityType'
|
||||||
|
AND ad_table_id IN (
|
||||||
|
SELECT ad_table_id
|
||||||
|
FROM AD_TABLE
|
||||||
|
WHERE tablename IN
|
||||||
|
('AD_Ref_List',
|
||||||
|
'AD_WF_NextCondition',
|
||||||
|
'AD_Val_Rule',
|
||||||
|
'PA_MeasureCalc',
|
||||||
|
'AD_Menu',
|
||||||
|
'AD_InfoColumn',
|
||||||
|
'AD_WF_NodeNext',
|
||||||
|
'AD_WF_Node_Para',
|
||||||
|
'AD_Element',
|
||||||
|
'AD_Task',
|
||||||
|
'AD_Workbench',
|
||||||
|
'AD_EntityType',
|
||||||
|
'AD_Ref_Table',
|
||||||
|
'AD_Tab',
|
||||||
|
'AD_Field',
|
||||||
|
'AD_Process_Para',
|
||||||
|
'PA_ColorSchema',
|
||||||
|
'AD_Modification',
|
||||||
|
'AD_ReplicationStrategy',
|
||||||
|
'AD_ReplicationTable',
|
||||||
|
'AD_Image',
|
||||||
|
'AD_FieldGroup',
|
||||||
|
'AD_InfoWindow',
|
||||||
|
'AD_Table',
|
||||||
|
'AD_WF_Node',
|
||||||
|
'AD_WF_Responsible',
|
||||||
|
'AD_Form',
|
||||||
|
'AD_Window',
|
||||||
|
'AD_Column',
|
||||||
|
'AD_WorkbenchWindow',
|
||||||
|
'AD_Process',
|
||||||
|
'AD_ReportView',
|
||||||
|
'AD_Reference',
|
||||||
|
'AD_Message',
|
||||||
|
'AD_Workflow'
|
||||||
|
));
|
||||||
|
|
||||||
|
UPDATE AD_FIELD SET DisplayLength = 20 WHERE AD_Column_ID IN
|
||||||
|
(SELECT AD_Column_ID FROM AD_COLUMN WHERE ColumnName = 'EntityType'
|
||||||
|
AND ad_table_id IN (
|
||||||
|
SELECT ad_table_id
|
||||||
|
FROM AD_TABLE
|
||||||
|
WHERE tablename IN
|
||||||
|
('AD_Ref_List',
|
||||||
|
'AD_WF_NextCondition',
|
||||||
|
'AD_Val_Rule',
|
||||||
|
'PA_MeasureCalc',
|
||||||
|
'AD_Menu',
|
||||||
|
'AD_InfoColumn',
|
||||||
|
'AD_WF_NodeNext',
|
||||||
|
'AD_WF_Node_Para',
|
||||||
|
'AD_Element',
|
||||||
|
'AD_Task',
|
||||||
|
'AD_Workbench',
|
||||||
|
'AD_EntityType',
|
||||||
|
'AD_Ref_Table',
|
||||||
|
'AD_Tab',
|
||||||
|
'AD_Field',
|
||||||
|
'AD_Process_Para',
|
||||||
|
'PA_ColorSchema',
|
||||||
|
'AD_Modification',
|
||||||
|
'AD_ReplicationStrategy',
|
||||||
|
'AD_ReplicationTable',
|
||||||
|
'AD_Image',
|
||||||
|
'AD_FieldGroup',
|
||||||
|
'AD_InfoWindow',
|
||||||
|
'AD_Table',
|
||||||
|
'AD_WF_Node',
|
||||||
|
'AD_WF_Responsible',
|
||||||
|
'AD_Form',
|
||||||
|
'AD_Window',
|
||||||
|
'AD_Column',
|
||||||
|
'AD_WorkbenchWindow',
|
||||||
|
'AD_Process',
|
||||||
|
'AD_ReportView',
|
||||||
|
'AD_Reference',
|
||||||
|
'AD_Message',
|
||||||
|
'AD_Workflow'
|
||||||
|
)));
|
||||||
|
|
||||||
|
-- hide classpath field that is not implemented
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET isdisplayed = 'N', isactive = 'N'
|
||||||
|
WHERE ad_field_id = 13498;
|
||||||
|
|
||||||
|
-- hide the register extension buttion that is not implemented
|
||||||
|
UPDATE AD_FIELD
|
||||||
|
SET isdisplayed = 'N', isactive = 'N'
|
||||||
|
WHERE ad_field_id = 13507;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,191 @@
|
||||||
|
CREATE TABLE AD_MODELVALIDATOR
|
||||||
|
( AD_CLIENT_ID NUMERIC(10,0) DEFAULT 0 NOT NULL ,
|
||||||
|
AD_MODELVALIDATOR_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_ORG_ID NUMERIC(10,0) DEFAULT 0 NOT NULL ,
|
||||||
|
CREATED TIMESTAMP NOT NULL ,
|
||||||
|
CREATEDBY NUMERIC(10,0) NOT NULL ,
|
||||||
|
UPDATED DATE NOT NULL ,
|
||||||
|
UPDATEDBY NUMERIC(10,0) NOT NULL ,
|
||||||
|
ISACTIVE CHAR(1) NOT NULL ,
|
||||||
|
NAME VARCHAR(60) NOT NULL ,
|
||||||
|
DESCRIPTION VARCHAR(255),
|
||||||
|
HELP VARCHAR(2000),
|
||||||
|
ENTITYTYPE VARCHAR(40) NOT NULL ,
|
||||||
|
MODELVALIDATIONCLASS VARCHAR(255) NOT NULL ,
|
||||||
|
CHECK (IsActive IN ('Y','N')) ,
|
||||||
|
CONSTRAINT AD_MODELVALIDATOR_KEY PRIMARY KEY (AD_MODELVALIDATOR_ID)
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_Element
|
||||||
|
(AD_Element_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
ColumnName, EntityType, Name,
|
||||||
|
PrintName
|
||||||
|
)
|
||||||
|
VALUES (53225, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'AD_ModelValidator_ID', 'D', 'Model Validator',
|
||||||
|
'Model Validator'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_Element
|
||||||
|
(AD_Element_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
ColumnName, EntityType, Name,
|
||||||
|
PrintName
|
||||||
|
)
|
||||||
|
VALUES (53226, 0, 0, 'Y',
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('10/21/2007 18:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'ModelValidationClass', 'D', 'Model Validation Class',
|
||||||
|
'Model Validation Class'
|
||||||
|
);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Table
|
||||||
|
Insert into AD_Table
|
||||||
|
(AD_TABLE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,TABLENAME,ISVIEW,ACCESSLEVEL,ENTITYTYPE,AD_WINDOW_ID,AD_VAL_RULE_ID,LOADSEQ,ISSECURITYENABLED,ISDELETEABLE,ISHIGHVOLUME,IMPORTTABLE,ISCHANGELOG,REPLICATIONTYPE,PO_WINDOW_ID,COPYCOLUMNSFROMTABLE)
|
||||||
|
values
|
||||||
|
(53014,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,'Model Validator','Global Model Validator',null,'AD_ModelValidator','N','4','D',null,null,0,'N','Y','N','N','N','L',null,'N');
|
||||||
|
|
||||||
|
-- INSERTING into AD_Column
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53252,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'D','AD_Client_ID',53014,19,null,null,10,'0','N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',102,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53253,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Model Validator',null,null,0,'D','AD_ModelValidator_ID',53014,13,null,null,10,null,'Y','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',53225,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53254,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'D','AD_Org_ID',53014,19,null,null,10,'0','N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',113,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53255,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Created','Date this record was created','The Created field indicates the date that this record was created.',0,'D','Created',53014,16,null,null,7,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',245,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53256,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Created By','User who created this records','The Created By field indicates the user who created this record.',0,'D','CreatedBy',53014,18,110,null,10,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',246,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53257,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',0,'D','Updated',53014,16,null,null,7,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',607,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53258,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',0,'D','UpdatedBy',53014,18,110,null,10,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',608,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53259,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Active','The record is active in the system','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.',0,'D','IsActive',53014,20,null,null,1,null,'N','N','Y','Y',null,'N',0,'N','N',null,null,null,null,'N',348,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53260,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Name','Alphanumeric identifier of the entity','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',0,'D','Name',53014,10,null,null,120,null,'N','N','Y','Y',null,'Y',1,'N','N',null,null,null,null,'N',469,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53261,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Description','Optional short description of the record','A description is limited to 255 characters.',0,'D','Description',53014,10,null,null,255,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',275,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53262,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',0,'D','Help',53014,10,null,null,2000,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',326,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53263,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Entity Type','Dictionary Entity Type; Determines ownership and synchronization','The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
|
||||||
|
|
||||||
|
For customizations, copy the entity and select "User"!',0,'D','EntityType',53014,10,null,null,40,null,'N','N','Y','N',null,'N',0,'N','N',null,null,null,null,'N',1682,null,'N','N',null,null);
|
||||||
|
|
||||||
|
Insert into AD_Column
|
||||||
|
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)
|
||||||
|
values
|
||||||
|
(53264,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,100,'Model Validation Class',null,null,1,'D','ModelValidationClass',53014,10,null,null,255,null,'N','N','Y','Y',null,'N',0,'N','N',null,null,null,null,'N',53226,null,'N','N',null,null);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Window
|
||||||
|
Insert into AD_Window
|
||||||
|
(AD_WINDOW_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,WINDOWTYPE,ISSOTRX,ENTITYTYPE,PROCESSING,AD_IMAGE_ID,AD_COLOR_ID,ISDEFAULT,WINHEIGHT,WINWIDTH,ISBETAFUNCTIONALITY)
|
||||||
|
values
|
||||||
|
(53003,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,'Model Validator',null,null,'M','N','D','N',null,null,'N',0,0,'N');
|
||||||
|
|
||||||
|
-- INSERTING into AD_Tab
|
||||||
|
Insert into AD_Tab
|
||||||
|
(AD_TAB_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,AD_TABLE_ID,AD_WINDOW_ID,SEQNO,TABLEVEL,ISSINGLEROW,ISINFOTAB,ISTRANSLATIONTAB,ISREADONLY,AD_COLUMN_ID,HASTREE,WHERECLAUSE,ORDERBYCLAUSE,COMMITWARNING,AD_PROCESS_ID,PROCESSING,AD_IMAGE_ID,IMPORTFIELDS,AD_COLUMNSORTORDER_ID,AD_COLUMNSORTYESNO_ID,ISSORTTAB,ENTITYTYPE,INCLUDED_TAB_ID,READONLYLOGIC,DISPLAYLOGIC,ISINSERTRECORD,ISADVANCEDTAB)
|
||||||
|
values
|
||||||
|
(53014,0,0,'Y',TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'),100,'Model Validator',null,null,53014,53003,10,0,'N','N','N','N',null,'N',null,null,null,null,'N',null,'N',null,null,'N','D',null,null,null,'Y','N');
|
||||||
|
|
||||||
|
-- INSERTING into AD_Field
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53271, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Client', 'Client/Tenant for this installation.', 'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', 'Y', 53014, 53252, NULL, 'Y', NULL, 10, 'N', 10, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53272, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Organization', 'Organizational entity within client', 'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', 'Y', 53014, 53254, NULL, 'Y', NULL, 10, 'N', 20, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53273, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Entity Type', 'Dictionary Entity Type; Determines ownership and synchronization', 'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
|
||||||
|
|
||||||
|
For customizations, copy the entity and select "User"!', 'Y', 53014, 53263, NULL, 'Y', NULL, 40, 'N', 30, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53274, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Name', 'Alphanumeric identifier of the entity', 'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', 'Y', 53014, 53260, NULL, 'Y', NULL, 120, 'N', 40, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53275, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 'Y', 53014, 53261, NULL, 'Y', NULL, 255, 'N', 50, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53276, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Comment/Help', 'Comment or Hint', 'The Help field contains a hint, comment or help about the use of this item.', 'Y', 53014, 53262, NULL, 'Y', NULL, 2000, 'N', 60, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53277, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Active', 'The record is active in the system', 'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||||
|
There are two reasons for de-activating and not deleting records:
|
||||||
|
(1) The system requires the record for audit purposes.
|
||||||
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', 'Y', 53014, 53259, NULL, 'Y', NULL, 1, 'N', 70, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53278, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Model Validation Class', NULL, NULL, 'Y', 53014, 53264, NULL, 'Y', NULL, 255, 'N', 80, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
INSERT
|
||||||
|
INTO ad_field(ad_field_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, HELP, iscentrallymaintained, ad_tab_id, ad_column_id, ad_fieldgroup_id, isdisplayed, displaylogic, displaylength, isreadonly, seqno, sortno, issameline, isheading, isfieldonly, isencrypted, entitytype, obscuretype, ad_reference_id, ismandatory, included_tab_id)
|
||||||
|
VALUES(53279, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Model Validator', NULL, NULL, 'Y', 53014, 53253, NULL, 'N', NULL, 10, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Menu
|
||||||
|
INSERT
|
||||||
|
INTO ad_menu(ad_menu_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, name, updatedby, description, issummary, issotrx, isreadonly, ACTION, ad_window_id, ad_workflow_id, ad_task_id, ad_process_id, ad_form_id, ad_workbench_id, entitytype)
|
||||||
|
VALUES(53012, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 'Model Validator', 100, NULL, 'N', 'N', 'N', 'W', 53003, NULL, NULL, NULL, NULL, NULL, 'D');
|
||||||
|
|
||||||
|
-- INSERTING into AD_TreeNodeMM
|
||||||
|
INSERT
|
||||||
|
INTO ad_treenodemm(ad_tree_id, node_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, parent_id, seqno)
|
||||||
|
VALUES(10, 53012, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 0, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 0, 153, 9);
|
||||||
|
|
||||||
|
-- INSERTING into AD_Sequence
|
||||||
|
INSERT
|
||||||
|
INTO ad_sequence(ad_sequence_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, vformat, isautosequence, incrementno, startno, currentnext, currentnextsys, isaudited, istableid, prefix, suffix, startnewyear)
|
||||||
|
VALUES(53012, 0, 0, 'Y', TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE ('10/22/2007 09:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'AD_ModelValidator', 'Table AD_ModelValidator', NULL, 'Y', 1, 1000000, 1000000, 50000, 'N', 'Y', NULL, NULL, 'N');
|
|
@ -0,0 +1 @@
|
||||||
|
-- This is just a sequence placeholder for a rejected migration script
|
|
@ -0,0 +1,94 @@
|
||||||
|
-- FR [ 1732786 ] DefaultValue on AD_Field
|
||||||
|
-- https://sourceforge.net/tracker/index.php?func=detail&aid=1732786&group_id=176962&atid=879335
|
||||||
|
--
|
||||||
|
--delete from AD_Column where AD_Column_ID=53265;
|
||||||
|
INSERT INTO AD_Column (AD_Org_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version,AD_Client_ID,AD_Column_ID)
|
||||||
|
VALUES (0,272,14,107,'DefaultValue',TO_TIMESTAMP('2007-10-22 14:22:58','YYYY-MM-DD HH24:MI:SS'),0,'Default value hierarchy, separated by ;','D',2000,'The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.','Y','N','N','N','N','N','N','N','N','N','Y','Default Logic',0,TO_TIMESTAMP('2007-10-22 14:22:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,53265);
|
||||||
|
--
|
||||||
|
--delete from AD_Field where AD_Field_ID=53280;
|
||||||
|
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,AD_Client_ID,UpdatedBy,SeqNo,AD_Field_ID)
|
||||||
|
VALUES (53265,0,107,TO_TIMESTAMP('2007-10-22 14:30:33','YYYY-MM-DD HH24:MI:SS'),0,'Default value hierarchy, separated by ;',60,'D','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.','Y','Y','Y','N','N','N','N','N','Default Logic',TO_TIMESTAMP('2007-10-22 14:30:33','YYYY-MM-DD HH24:MI:SS'),0,0,270,53280);
|
||||||
|
--
|
||||||
|
commit;
|
||||||
|
--
|
||||||
|
ALTER TABLE AD_Field ADD DefaultValue VARCHAR(2000);
|
||||||
|
--
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_V
|
||||||
|
(AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID, AD_COLUMN_ID,
|
||||||
|
NAME, DESCRIPTION, HELP, ISDISPLAYED, DISPLAYLOGIC,
|
||||||
|
DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE, ISHEADING,
|
||||||
|
ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE, COLUMNNAME,
|
||||||
|
COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE, ISKEY,
|
||||||
|
ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED, AD_REFERENCE_VALUE_ID,
|
||||||
|
CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID, ISALWAYSUPDATEABLE,
|
||||||
|
READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN, TABLENAME,
|
||||||
|
VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID)
|
||||||
|
AS
|
||||||
|
SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
f.Name, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) as DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
|
||||||
|
c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fg.Name AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID
|
||||||
|
FROM AD_Field f
|
||||||
|
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FieldGroup fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
--
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_VT
|
||||||
|
(AD_LANGUAGE, AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID,
|
||||||
|
AD_COLUMN_ID, NAME, DESCRIPTION, HELP, ISDISPLAYED,
|
||||||
|
DISPLAYLOGIC, DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE,
|
||||||
|
ISHEADING, ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE,
|
||||||
|
COLUMNNAME, COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE,
|
||||||
|
ISKEY, ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED,
|
||||||
|
AD_REFERENCE_VALUE_ID, CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID,
|
||||||
|
ISALWAYSUPDATEABLE, READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN,
|
||||||
|
TABLENAME, VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID)
|
||||||
|
AS
|
||||||
|
SELECT trl.AD_Language, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
trl.Name, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) as DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fgt.Name AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID
|
||||||
|
FROM AD_Field f
|
||||||
|
INNER JOIN AD_Field_Trl trl ON (f.AD_Field_ID = trl.AD_Field_ID)
|
||||||
|
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FieldGroup_Trl fgt ON
|
||||||
|
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_Language=fgt.AD_Language)
|
||||||
|
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y';
|
||||||
|
--
|
||||||
|
-- NOTE: Don't forget to run the three processes:
|
||||||
|
-- 1 - Add missing translations in the language screen
|
||||||
|
-- 2 - Synchronize terminology
|
||||||
|
-- 3 - Check sequences
|
|
@ -0,0 +1 @@
|
||||||
|
update C_Currency set CurSymbol='KR' where C_Currency_ID=285;
|
|
@ -0,0 +1,9 @@
|
||||||
|
UPDATE ad_column
|
||||||
|
SET defaultvalue = 'N'
|
||||||
|
WHERE ad_column_id = 50169;
|
||||||
|
|
||||||
|
UPDATE ad_column
|
||||||
|
SET ad_reference_id = 38
|
||||||
|
WHERE ad_column_id = 50170;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,19 @@
|
||||||
|
INSERT INTO AD_MESSAGE
|
||||||
|
(AD_Message_ID, AD_Client_ID, AD_Org_ID, IsActive,
|
||||||
|
Created, CreatedBy,
|
||||||
|
Updated, UpdatedBy,
|
||||||
|
VALUE, MsgText, MsgType
|
||||||
|
)
|
||||||
|
VALUES (53006, 0, 0, 'Y',
|
||||||
|
TO_TIMESTAMP ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_TIMESTAMP ('10/26/2007 01:01:50', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'OverUnderAmt','Over/Under Payment','I'
|
||||||
|
);
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET CurrentNextSys = (SELECT MAX (AD_Message_ID) + 1
|
||||||
|
FROM AD_MESSAGE
|
||||||
|
WHERE AD_message_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Message';
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,5 @@
|
||||||
|
UPDATE AD_LDAPPROCESSOR
|
||||||
|
SET isactive = 'N'
|
||||||
|
WHERE ad_ldapprocessor_id = 100;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,9 @@
|
||||||
|
UPDATE AD_WINDOW_TRL
|
||||||
|
SET HELP =
|
||||||
|
'La terminal de PDV define los datos por omisión y las funciones disponibles para las formas de PDV.'
|
||||||
|
WHERE ad_window_id = 338
|
||||||
|
AND HELP LIKE
|
||||||
|
'%La terminal de PDV define los datos por homición y las funciones disponibles para las formas de PDV.%'
|
||||||
|
AND AD_LANGUAGE LIKE 'es_%';
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,222 @@
|
||||||
|
INSERT INTO ad_element
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME,
|
||||||
|
printname
|
||||||
|
)
|
||||||
|
VALUES (53223, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'DunningGrace', 'D', 'Dunning Grace',
|
||||||
|
'Dunning Grace'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53246, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.', 1,
|
||||||
|
'D', 'DunningGrace', 291, 15,
|
||||||
|
7, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 53223, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype,
|
||||||
|
displaylogic
|
||||||
|
)
|
||||||
|
VALUES (53256, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.',
|
||||||
|
'Y', 260 ,223,
|
||||||
|
53246, 'Y', 14, 'N',
|
||||||
|
'N', 'N', 'N', 'N', 'D',
|
||||||
|
'@IsCustomer@=Y'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53247, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.', 1,
|
||||||
|
'D', 'DunningGrace', 318, 15,
|
||||||
|
7, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 53223, 'N',
|
||||||
|
'Y'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53257, 0, 0, 'Y',
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
TO_DATE ('09/21/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
'Dunning Grace', 'Delay/block the dunning until this date is reached.',
|
||||||
|
'Delay/block the dunning until this date is reached.',
|
||||||
|
'Y', 410 ,263,
|
||||||
|
53247, 'Y', 14, 'N',
|
||||||
|
'N', 'N', 'N', 'N', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||||
|
FROM ad_element
|
||||||
|
WHERE ad_element_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Element';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM ad_column
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Column';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM ad_field
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Field';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE C_BPartner ADD DunningGrace date NULL;
|
||||||
|
ALTER TABLE C_Invoice ADD DunningGrace date NULL;
|
||||||
|
|
||||||
|
DROP VIEW c_invoiceline_v;
|
||||||
|
DROP VIEW rv_bpartneropen;
|
||||||
|
DROP VIEW c_invoice_v;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW C_INVOICE_V
|
||||||
|
AS
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, cast(null as numeric) AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType,i.DunningGrace,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END as numeric) AS ChargeAmt,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END as numeric) AS TotalLines,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END as numeric) AS GrandTotal,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END as numeric) AS Multiplier,
|
||||||
|
cast(CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS numeric) as MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
WHERE i.IsPayScheduleValid<>'Y'
|
||||||
|
UNION
|
||||||
|
SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
|
||||||
|
i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
|
||||||
|
i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
|
||||||
|
i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
|
||||||
|
i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
|
||||||
|
i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
|
||||||
|
i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
|
||||||
|
i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType, i.DunningGrace,
|
||||||
|
null AS ChargeAmt,
|
||||||
|
null AS TotalLines,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier,
|
||||||
|
CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP,
|
||||||
|
d.DocBaseType
|
||||||
|
FROM C_Invoice i
|
||||||
|
INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
|
||||||
|
INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID)
|
||||||
|
WHERE i.IsPayScheduleValid='Y'
|
||||||
|
AND ips.IsValid='Y';
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW C_INVOICELINE_V AS
|
||||||
|
SELECT il.AD_Client_ID, il.AD_Org_ID,
|
||||||
|
il.C_InvoiceLine_ID, i.C_Invoice_ID, i.SalesRep_ID,
|
||||||
|
i.C_BPartner_ID, il.M_Product_ID,
|
||||||
|
i.DocumentNo, i.DateInvoiced, i.DateAcct,
|
||||||
|
i.IsSOTrx, i.DocStatus,
|
||||||
|
ROUND(i.Multiplier*LineNetAmt, 2) AS LineNetAmt,
|
||||||
|
ROUND(i.Multiplier*PriceList*QtyInvoiced, 2) AS LineListAmt,
|
||||||
|
CASE WHEN COALESCE(il.PriceLimit, 0)=0 THEN ROUND(i.Multiplier*LineNetAmt,2) ELSE ROUND(i.Multiplier*il.PriceLimit*il.QtyInvoiced,2) END AS LineLimitAmt,
|
||||||
|
ROUND(i.Multiplier*il.PriceList*il.QtyInvoiced-il.LineNetAmt,2) AS LineDiscountAmt,
|
||||||
|
CASE WHEN COALESCE(il.PriceLimit,0)=0 THEN 0 ELSE ROUND(i.Multiplier*il.LineNetAmt-il.PriceLimit*il.QtyInvoiced,2) END AS LineOverLimitAmt,
|
||||||
|
il.QtyInvoiced, il.QtyEntered,
|
||||||
|
il.Line, il.C_OrderLine_ID, il.C_UOM_ID,
|
||||||
|
il.C_Campaign_ID, il.C_Project_ID, il.C_Activity_ID, il.C_ProjectPhase_ID, il.C_ProjectTask_ID
|
||||||
|
FROM C_Invoice_v i, C_InvoiceLine il
|
||||||
|
WHERE i.C_Invoice_ID=il.C_Invoice_ID;
|
||||||
|
|
||||||
|
--COMMENT ON TABLE C_INVOICELINE_V IS 'Invoice Line Summary for Reporting Views - Corrected for Credit Memos';
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW RV_BPARTNEROPEN
|
||||||
|
(AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY,
|
||||||
|
UPDATED, UPDATEDBY, C_BPARTNER_ID, C_CURRENCY_ID, AMT,
|
||||||
|
OPENAMT, DATEDOC, DAYSDUE, C_CAMPAIGN_ID, C_PROJECT_ID,
|
||||||
|
C_ACTIVITY_ID)
|
||||||
|
AS
|
||||||
|
SELECT i.AD_Client_ID,i.AD_Org_ID, i.IsActive, i.Created,i.CreatedBy,i.Updated,i.UpdatedBy,
|
||||||
|
i.C_BPartner_ID, i.C_Currency_ID,
|
||||||
|
i.GrandTotal*i.MultiplierAP AS Amt,
|
||||||
|
invoiceOpen (i.C_Invoice_ID, i.C_InvoicePaySchedule_ID)*i.MultiplierAP AS OpenAmt,
|
||||||
|
i.DateInvoiced AS DateDoc,
|
||||||
|
COALESCE(daysBetween(getdate(),ips.DueDate), paymentTermDueDays(C_PaymentTerm_ID,DateInvoiced,getdate())) AS DaysDue,
|
||||||
|
i.C_Campaign_ID, i.C_Project_ID, i.C_Activity_ID
|
||||||
|
FROM C_Invoice_v i
|
||||||
|
LEFT OUTER JOIN C_InvoicePaySchedule ips ON (i.C_InvoicePaySchedule_ID=ips.C_InvoicePaySchedule_ID)
|
||||||
|
WHERE i.IsPaid='N'
|
||||||
|
AND i.DocStatus IN ('CO','CL')
|
||||||
|
UNION
|
||||||
|
SELECT p.AD_Client_ID,p.AD_Org_ID, p.IsActive, p.Created,p.CreatedBy,p.Updated,p.UpdatedBy,
|
||||||
|
p.C_BPartner_ID, p.C_Currency_ID,
|
||||||
|
p.PayAmt*MultiplierAP*-1 AS Amt,
|
||||||
|
paymentAvailable(p.C_Payment_ID)*p.MultiplierAP*-1 AS OpenAmt,
|
||||||
|
p.DateTrx AS DateDoc,
|
||||||
|
null,
|
||||||
|
p.C_Campaign_ID, p.C_Project_ID, p.C_Activity_ID
|
||||||
|
FROM C_Payment_v p
|
||||||
|
WHERE p.IsAllocated='N' AND p.C_BPartner_ID IS NOT NULL;
|
|
@ -0,0 +1,179 @@
|
||||||
|
update AD_Column set IsAlwaysUpdateable='Y' where AD_Column_ID=12569;
|
||||||
|
update AD_Column set IsAlwaysUpdateable='Y' where AD_Column_ID=12566;
|
||||||
|
|
||||||
|
INSERT INTO ad_element
|
||||||
|
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
columnname, entitytype, NAME,
|
||||||
|
printname
|
||||||
|
)
|
||||||
|
VALUES (53224, 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28', 'YYYY-MM-DD'), 100,
|
||||||
|
TO_DATE ('2007-09-28', 'YYYY-MM-DD'), 100,
|
||||||
|
'PrintUnprocessedOnly', 'D', 'Print Unprocessed Entries Only',
|
||||||
|
'Print Unprocessed Entries Only'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para
|
||||||
|
(AD_Process_Para_ID, AD_Client_ID, AD_Org_ID, IsActive, Created,
|
||||||
|
CreatedBy, Updated, UpdatedBy, Name,
|
||||||
|
Description,
|
||||||
|
Help,
|
||||||
|
AD_Process_ID, SeqNo, AD_Reference_ID, AD_Reference_Value_ID,
|
||||||
|
AD_Val_Rule_ID, ColumnName, IsCentrallyMaintained, FieldLength,
|
||||||
|
IsMandatory, DefaultValue, IsRange, AD_Element_ID, EntityType
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(53011 , 0, 0, 'Y', TO_DATE ('2007-09-28', 'YYYY-MM-DD'),
|
||||||
|
100, TO_DATE ('2007-09-28', 'YYYY-MM-DD'), 100, 'Print Unprocessed Entries Only',
|
||||||
|
'Print the unprocessed (unprinted) entries of the dunning run only.',
|
||||||
|
'Print the unprocessed (unprinted) entries of the dunning run only. This allows you to reprint only certain dunning entries.',
|
||||||
|
312, 50, 20, NULL,
|
||||||
|
NULL, 'PrintUnprocessedOnly', 'N', 1,
|
||||||
|
'Y', 'Y', 'N', 53224, 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_VAL_RULE(
|
||||||
|
AD_VAL_RULE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
||||||
|
UPDATED,UPDATEDBY,
|
||||||
|
NAME,DESCRIPTION,
|
||||||
|
TYPE,CODE,ENTITYTYPE)
|
||||||
|
values(51003,0,0,'Y',to_date('2007-09-28','RRRR-MM-DD'),100,
|
||||||
|
to_date('2007-09-28','RRRR-MM-DD'),100,
|
||||||
|
'C_DunningRun Unprocessed','Unprocessed Dunning Runs',
|
||||||
|
'S','C_DunningRun.Processed=''N''','D');
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET AD_Val_Rule_ID=51003 WHERE AD_Process_Para_ID=578;
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53248, 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'),
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
100, 'Dunning Level', 'Dunning Level',
|
||||||
|
'Dunning Level', 1,
|
||||||
|
'D', 'C_DunningLevel_ID', 318, 19,
|
||||||
|
22, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 1075, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype,
|
||||||
|
displaylogic
|
||||||
|
)
|
||||||
|
VALUES (53258 , 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
'Dunning Level', 'Dunning Level',
|
||||||
|
'Dunning Level',
|
||||||
|
'Y', 420 ,263,
|
||||||
|
53248, 'Y', 14, 'Y',
|
||||||
|
'Y', 'N', 'N', 'N', 'D',
|
||||||
|
'@Processed@=Y'
|
||||||
|
);
|
||||||
|
|
||||||
|
ALTER TABLE C_Invoice ADD C_DunningLevel_ID NUMERIC(10) NULL;
|
||||||
|
|
||||||
|
INSERT INTO ad_column
|
||||||
|
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, NAME, description,
|
||||||
|
help, VERSION,
|
||||||
|
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||||
|
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||||
|
isidentifier, seqno, istranslated, isencrypted,
|
||||||
|
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||||
|
isalwaysupdateable
|
||||||
|
)
|
||||||
|
VALUES (53249, 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'),
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
100, 'Invoice Payment Schedule', 'Invoice Payment Schedule',
|
||||||
|
'Invoice Payment Schedule', 1,
|
||||||
|
'D', 'C_InvoicePaySchedule_ID', 524, 19,
|
||||||
|
22, 'N', 'N', 'N', 'Y',
|
||||||
|
'N', 0, 'N', 'N',
|
||||||
|
'N', 1995, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO ad_field
|
||||||
|
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||||
|
created, createdby,
|
||||||
|
updated, updatedby,
|
||||||
|
NAME, description,
|
||||||
|
help,
|
||||||
|
iscentrallymaintained, seqno, ad_tab_id,
|
||||||
|
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||||
|
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||||
|
)
|
||||||
|
VALUES (53259 , 0, 0, 'Y',
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
TO_DATE ('2007-09-28','RRRR-MM-DD'), 100,
|
||||||
|
'Invoice Payment Schedule', 'Invoice Payment Schedule',
|
||||||
|
'Invoice Payment Schedule',
|
||||||
|
'Y', 65 ,635,
|
||||||
|
53249, 'Y', 26, 'Y',
|
||||||
|
'N', 'N', 'N', 'N', 'D'
|
||||||
|
);
|
||||||
|
|
||||||
|
ALTER TABLE C_DunningRunLine ADD C_InvoicePaySchedule_ID NUMERIC(10) NULL;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_process_para_id) + 1
|
||||||
|
FROM AD_Process_Para
|
||||||
|
WHERE AD_Process_Para_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Process_Para';
|
||||||
|
|
||||||
|
UPDATE AD_SEQUENCE
|
||||||
|
SET currentnextsys = (SELECT MAX (AD_Val_Rule_id) + 1
|
||||||
|
FROM AD_Val_Rule
|
||||||
|
WHERE AD_Val_Rule_ID < 1000000)
|
||||||
|
WHERE NAME = 'AD_Val_Rule';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||||
|
FROM ad_element
|
||||||
|
WHERE ad_element_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Element';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM ad_column
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Column';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM ad_field
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Field';
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
-- BF [ 1824260 ] TRUNC function not working like in Oracle
|
||||||
|
-- http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1824260&group_id=176962
|
||||||
|
DROP VIEW c_invoice_candidate_v;
|
||||||
|
|
||||||
|
drop function trunc(datetime TIMESTAMP WITH TIME ZONE);
|
||||||
|
CREATE OR REPLACE FUNCTION trunc(datetime TIMESTAMP WITH TIME ZONE)
|
||||||
|
RETURNS TIMESTAMP WITH TIME ZONE AS $$
|
||||||
|
BEGIN
|
||||||
|
RETURN CAST(datetime AS DATE);
|
||||||
|
END;
|
||||||
|
$$ LANGUAGE plpgsql;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW c_invoice_candidate_v AS
|
||||||
|
SELECT o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id, sum((l.qtyordered - l.qtyinvoiced) * l.priceactual) AS totallines
|
||||||
|
FROM c_order o
|
||||||
|
JOIN c_orderline l ON o.c_order_id = l.c_order_id
|
||||||
|
JOIN c_bpartner bp ON o.c_bpartner_id = bp.c_bpartner_id
|
||||||
|
LEFT JOIN c_invoiceschedule si ON bp.c_invoiceschedule_id = si.c_invoiceschedule_id
|
||||||
|
WHERE (o.docstatus = ANY (ARRAY['CO'::bpchar, 'CL'::bpchar, 'IP'::bpchar])) AND (o.c_doctype_id IN ( SELECT c_doctype.c_doctype_id
|
||||||
|
FROM c_doctype
|
||||||
|
WHERE c_doctype.docbasetype = 'SOO'::bpchar AND (c_doctype.docsubtypeso <> ALL (ARRAY['ON'::bpchar, 'OB'::bpchar, 'WR'::bpchar])))) AND l.qtyordered <> l.qtyinvoiced AND (o.invoicerule = 'I'::bpchar OR o.invoicerule = 'O'::bpchar OR o.invoicerule = 'D'::bpchar AND l.qtyinvoiced <> l.qtydelivered OR o.invoicerule = 'S'::bpchar AND bp.c_invoiceschedule_id IS NULL OR o.invoicerule = 'S'::bpchar AND bp.c_invoiceschedule_id IS NOT NULL AND (si.invoicefrequency IS NULL OR si.invoicefrequency = 'D'::bpchar OR si.invoicefrequency = 'W'::bpchar OR si.invoicefrequency = 'T'::bpchar AND (trunc(o.dateordered::timestamp with time zone) <= (firstof(getdate(), 'MM'::character varying)::timestamp with time zone + si.invoicedaycutoff - 1) AND trunc(getdate()) >= (firstof(o.dateordered::timestamp with time zone, 'MM'::character varying)::timestamp with time zone + si.invoiceday - 1) OR trunc(o.dateordered::timestamp with time zone) <= (firstof(getdate(), 'MM'::character varying)::timestamp with time zone + si.invoicedaycutoff + 14) AND trunc(getdate()) >= (firstof(o.dateordered::timestamp with time zone, 'MM'::character varying)::timestamp with time zone + si.invoiceday + 14)) OR si.invoicefrequency = 'M'::bpchar AND trunc(o.dateordered::timestamp with time zone) <= (firstof(getdate(), 'MM'::character varying)::timestamp with time zone + si.invoicedaycutoff - 1) AND trunc(getdate()) >= (firstof(o.dateordered::timestamp with time zone, 'MM'::character varying)::timestamp with time zone + si.invoiceday - 1)))
|
||||||
|
GROUP BY o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id;
|
||||||
|
|
||||||
|
ALTER TABLE c_invoice_candidate_v OWNER TO adempiere;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FUNCTION trunc(datetime TIMESTAMP WITH TIME ZONE, format varchar)
|
||||||
|
RETURNS DATE AS $$
|
||||||
|
BEGIN
|
||||||
|
IF format = 'Q' THEN
|
||||||
|
RETURN CAST(DATE_Trunc('quarter',datetime) as DATE);
|
||||||
|
ELSIF format = 'Y' or format = 'YEAR' THEN
|
||||||
|
RETURN CAST(DATE_Trunc('year',datetime) as DATE);
|
||||||
|
ELSIF format = 'MM' or format = 'MONTH' THEN
|
||||||
|
RETURN CAST(DATE_Trunc('month',datetime) as DATE);
|
||||||
|
ELSIF format = 'DD' THEN
|
||||||
|
RETURN CAST(DATE_Trunc('day',datetime) as DATE);
|
||||||
|
ELSIF format = 'DY' THEN
|
||||||
|
RETURN CAST(DATE_Trunc('day',datetime) as DATE);
|
||||||
|
ELSE
|
||||||
|
RETURN CAST(datetime AS DATE);
|
||||||
|
END IF;
|
||||||
|
END;
|
||||||
|
$$ LANGUAGE plpgsql;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FUNCTION trunc(i INTERVAL)
|
||||||
|
RETURNS INTEGER AS $$
|
||||||
|
BEGIN
|
||||||
|
RETURN EXTRACT(DAY FROM i);
|
||||||
|
END;
|
||||||
|
$$ LANGUAGE plpgsql;
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,163 @@
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50000, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_WEBSITE',
|
||||||
|
'http://developer.adempiere.com/cgi-bin/get_ID',
|
||||||
|
'Website where the system sequences are found (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50001, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:09', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:45', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_USER', 'globalqss',
|
||||||
|
'User (sourceforge developer) to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50002, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:19', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_PASSWORD', 'password_inseguro',
|
||||||
|
'Password to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50003, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:38', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_COMMENTS',
|
||||||
|
'Default comment for updating dictionary',
|
||||||
|
'Comment to reserve the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50004, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_WEBSITE',
|
||||||
|
'http://developer.adempiere.com/cgi-bin/get_ID',
|
||||||
|
'Website where the system sequences are found (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50005, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_PROJECT', 'TestProject',
|
||||||
|
'Name of the project you are working on for development'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50006, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:09', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:45', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_USER', 'globalqss',
|
||||||
|
'User (sourceforge developer) to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50007, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:19', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_PASSWORD', 'password_inseguro',
|
||||||
|
'Password to get the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME,
|
||||||
|
VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50008, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:31:38', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:33:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_COMMENTS',
|
||||||
|
'Default comment for updating dictionary',
|
||||||
|
'Comment to reserve the system sequences (MSequence)'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50009, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'DICTIONARY_ID_USE_CENTRALIZED_ID', 'Y',
|
||||||
|
'Flag to indicate if we use centralized ID approach or not'
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AD_SYSCONFIG
|
||||||
|
(ad_sysconfig_id, ad_client_id, ad_org_id,
|
||||||
|
created,
|
||||||
|
updated, createdby,
|
||||||
|
updatedby, isactive, NAME, VALUE,
|
||||||
|
description
|
||||||
|
)
|
||||||
|
VALUES (50010, 0, 0,
|
||||||
|
TO_DATE ('10/13/2007 14:30:57', 'MM/DD/YYYY HH24:MI:SS'),
|
||||||
|
TO_DATE ('10/13/2007 14:32:17', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||||
|
100, 'Y', 'PROJECT_ID_USE_CENTRALIZED_ID', 'N',
|
||||||
|
'Flag to indicate if we use centralized ID approach or not'
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,9 @@
|
||||||
|
-- Nov 11, 2007 1:54:50 AM COT
|
||||||
|
-- FR 1829798 - Easy generation of migration scripts
|
||||||
|
INSERT INTO AD_MESSAGE (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,VALUE) VALUES (0,53007,0,TO_TIMESTAMP('2007-11-11 01:54:49','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Log Migration Script','Log Migration Script - Save migration scripts file in %TEMP%/migration_script_*.sql','I',TO_TIMESTAMP('2007-11-11 01:54:49','YYYY-MM-DD HH24:MI:SS'),100,'LogMigrationScript')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 11, 2007 1:54:50 AM COT
|
||||||
|
-- FR 1829798 - Easy generation of migration scripts
|
||||||
|
INSERT INTO AD_MESSAGE_TRL (AD_LANGUAGE,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_MESSAGE t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53007 AND EXISTS (SELECT * FROM AD_MESSAGE_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
|
@ -0,0 +1,9 @@
|
||||||
|
UPDATE AD_TAB
|
||||||
|
SET isinfotab = 'N'
|
||||||
|
WHERE ad_tab_id = 684 -- Invoice (Customer) -> Allocation
|
||||||
|
OR ad_tab_id = 685 -- Invoice (Vendor) -> Allocation
|
||||||
|
OR ad_tab_id = 755 -- Payment -> Allocate
|
||||||
|
OR ad_tab_id = 686 -- Payment -> Allocations
|
||||||
|
;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,14 @@
|
||||||
|
-- Nov 15, 2007 9:19:15 PM COT
|
||||||
|
-- FR 1675372 - Add supplier/vendor to productinfo
|
||||||
|
INSERT INTO AD_MESSAGE (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,VALUE) VALUES (0,53008,0,TO_TIMESTAMP('2007-11-15 21:19:10','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Vendor','I',TO_TIMESTAMP('2007-11-15 21:19:10','YYYY-MM-DD HH24:MI:SS'),100,'Vendor')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 15, 2007 9:19:15 PM COT
|
||||||
|
-- FR 1675372 - Add supplier/vendor to productinfo
|
||||||
|
INSERT INTO AD_MESSAGE_TRL (AD_LANGUAGE,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_MESSAGE t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53008 AND EXISTS (SELECT * FROM AD_MESSAGE_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_MESSAGE_TRL
|
||||||
|
SET msgtext = 'Proveedor'
|
||||||
|
WHERE ad_message_id = 53008 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
;
|
|
@ -0,0 +1,85 @@
|
||||||
|
-- [ 1823612 ] Product Info Screen Improvements
|
||||||
|
-- Author: fer_luck
|
||||||
|
-- Dictionary Additions
|
||||||
|
-- Feature Request: http://sourceforge.net/tracker/index.php?func=detail&aid=1823612&group_id=176962&atid=879335
|
||||||
|
--******************************************************--
|
||||||
|
-- NOTE: Don't forget to run the three processes: --
|
||||||
|
-- 1 - Add missing translations in the language screen --
|
||||||
|
-- 2 - Synchronize terminology --
|
||||||
|
-- 3 - Check sequences --
|
||||||
|
--******************************************************--
|
||||||
|
|
||||||
|
-- new message
|
||||||
|
BEGIN;
|
||||||
|
INSERT INTO AD_MESSAGE(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype)
|
||||||
|
VALUES(53001, 0, 0, 'Y', '2007-07-18 00:00:00.0', 100, '2007-07-18 00:00:00.0', 100, 'WarehouseStock', 'Item Availability in other Warehouses', NULL, 'M', 'D');
|
||||||
|
|
||||||
|
--add view to ad_table
|
||||||
|
INSERT INTO AD_TABLE (ad_table_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, NAME, description, help, tablename, isview, accesslevel, entitytype, ad_window_id, ad_val_rule_id, loadseq, issecurityenabled, isdeleteable, ishighvolume, importtable, ischangelog, replicationtype, po_window_id, copycolumnsfromtable)
|
||||||
|
VALUES(53011, 0, 0, 'Y', '2007-07-26 00:00:00.0', 100, '2007-07-26 00:00:00.0', 100, 'Product Stock at Warehouses', NULL, NULL, 'M_Product_Stock_V', 'Y', '1', 'D', NULL, NULL, NULL, 'N', 'Y', 'N', 'N', 'N', 'L', NULL, NULL);
|
||||||
|
|
||||||
|
--add columns to view in ad_column
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53003, 0, 0, 'Y', '2007-07-26 01:20:59.0', '2007-07-26 01:20:59.0', 0, 0, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 0, 'D', 'Description', 53011, 10, NULL, NULL, 255, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 275, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53004, 0, 0, 'Y', '2007-07-26 10:52:11.0', '2007-07-26 10:52:11.0', 0, 0, 'Product', 'Product, Service, Item', 'Identifies an item which is either purchased or sold in this organization.', 0, 'U', 'M_Product_ID', 53011, 30, NULL, NULL, 10, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 454, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53005, 0, 0, 'Y', '2007-07-26 15:01:05.0', '2007-07-26 00:00:00.0', 0, 0, 'Name', 'Alphanumeric identifier of the entity', 'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', 1, 'D', 'Name', 53011, 10, NULL, NULL, 60, NULL, 'N', 'N', 'Y', 'Y', NULL, 'Y', 1, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 469, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53006, 0, 0, 'Y', '2007-07-26 11:29:06.0', '2007-07-26 00:00:00.0', 0, 0, 'Available Quantity', 'Available Quantity (On Hand - Reserved)', 'Quantity available to promise = On Hand minus Reserved Quantity', 1, 'D', 'QtyAvailable', 53011, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'N', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2238, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53007, 0, 0, 'Y', '2007-07-26 00:00:00.0', '2007-07-26 00:00:00.0', 0, 0, 'On Hand Quantity', 'On Hand Quantity', 'The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.', 1, 'D', 'QtyOnHand', 53011, 29, NULL, NULL, 22, NULL, 'N', 'N', 'Y', 'N', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 530, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53008, 0, 0, 'Y', '2007-07-26 18:21:48.0', '2007-07-26 00:00:00.0', 0, 0, 'Reserved Quantity', 'Reserved Quantity', 'The Reserved Quantity indicates the quantity of a product that is currently reserved.', 1, 'D', 'QtyReserved', 53011, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 532, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
|
||||||
|
--add view to ad_table
|
||||||
|
INSERT INTO AD_TABLE (ad_table_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, NAME, description, help, tablename, isview, accesslevel, entitytype, ad_window_id, ad_val_rule_id, loadseq, issecurityenabled, isdeleteable, ishighvolume, importtable, ischangelog, replicationtype, po_window_id, copycolumnsfromtable)
|
||||||
|
VALUES(53015, 0, 0, 'Y', '2007-07-26 00:00:00.0', 100, '2007-07-26 00:00:00.0', 100, 'Product Substitute with Stock Info', NULL, NULL, 'M_Product_SubstituteRelated_V', 'Y', '1', 'D', NULL, NULL, NULL, 'N', 'Y', 'N', 'N', 'N', 'L', NULL, NULL);
|
||||||
|
|
||||||
|
--add columns to view in ad_column
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53023, 0, 0, 'Y', '2007-07-26 01:20:59.0', '2007-07-26 01:20:59.0', 0, 0, 'Description', 'Optional short description of the record', 'A description is limited to 255 characters.', 0, 'D', 'Description', 53015, 10, NULL, NULL, 255, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 275, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53024, 0, 0, 'Y', '2007-07-26 10:52:11.0', '2007-07-26 10:52:11.0', 0, 0, 'Product', 'Product, Service, Item', 'Identifies an item which is either purchased or sold in this organization.', 0, 'U', 'M_Product_ID', 53015, 30, NULL, NULL, 10, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 454, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53025, 0, 0, 'Y', '2007-07-26 15:01:05.0', '2007-07-26 00:00:00.0', 0, 0, 'Standard Price', 'Standard Price', 'The Standard Price indicates the standard or normal price for a product on this price list', 1, 'D', 'PriceStd', 53015, 37, NULL, NULL, 60, NULL, 'N', 'N', 'Y', 'Y', NULL, 'Y', 1, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 957, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53026, 0, 0, 'Y', '2007-07-26 11:29:06.0', '2007-07-26 00:00:00.0', 0, 0, 'Available Quantity', 'Available Quantity (On Hand - Reserved)', 'Quantity available to promise = On Hand minus Reserved Quantity', 1, 'D', 'QtyAvailable', 53015, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'N', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2238, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53028, 0, 0, 'Y', '2007-07-26 18:21:48.0', '2007-07-26 00:00:00.0', 0, 0, 'Reserved Quantity', 'Reserved Quantity', 'The Reserved Quantity indicates the quantity of a product that is currently reserved.', 1, 'D', 'QtyReserved', 53015, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 532, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, NAME, description, help, VERSION, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic)
|
||||||
|
VALUES(53027, 0, 0, 'Y', '2007-07-26 00:00:00.0', '2007-07-26 00:00:00.0', 0, 0, 'On Hand Quantity', 'On Hand Quantity', 'The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.', 1, 'D', 'QtyOnHand', 53015, 29, NULL, NULL, 22, NULL, 'N', 'N', 'Y', 'N', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 530, NULL, 'N', 'N', NULL, NULL);
|
||||||
|
|
||||||
|
--create views
|
||||||
|
CREATE OR REPLACE VIEW M_PRODUCT_STOCK_V
|
||||||
|
AS
|
||||||
|
SELECT
|
||||||
|
ms.IsActive, ms.Created, ms.CreatedBy, ms.Updated, ms.UpdatedBy,
|
||||||
|
mp.VALUE, mp.help, (ms.qtyonhand - ms.qtyreserved) AS qtyavailable, ms.qtyonhand,
|
||||||
|
ms.qtyreserved, mp.description, mw.NAME AS warehouse, mw.m_warehouse_id, mw.ad_client_id,
|
||||||
|
mw.ad_org_id, mp.documentnote
|
||||||
|
FROM M_STORAGE ms
|
||||||
|
JOIN M_PRODUCT mp ON ms.m_product_id = mp.m_product_id
|
||||||
|
JOIN M_LOCATOR ml ON ms.m_locator_id = ml.m_locator_id
|
||||||
|
JOIN M_WAREHOUSE mw ON ml.m_warehouse_id = mw.m_warehouse_id
|
||||||
|
ORDER BY mw.NAME;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW M_PRODUCT_SUBSTITUTERELATED_V AS
|
||||||
|
SELECT s.AD_Client_ID, s.AD_Org_ID, s.IsActive, s.Created, s.CreatedBy, s.Updated, s.UpdatedBy, s.m_product_id, s.substitute_id, s.description, 'S' AS ROWTYPE, (ms.qtyonhand - ms.qtyreserved) AS qtyavailable, ms.qtyonhand, ms.qtyreserved, mpr.pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id
|
||||||
|
FROM M_SUBSTITUTE s
|
||||||
|
JOIN M_STORAGE ms ON ms.m_product_id = s.substitute_id
|
||||||
|
JOIN M_PRODUCT mp ON ms.m_product_id = mp.m_product_id
|
||||||
|
JOIN M_LOCATOR ml ON ms.m_locator_id = ml.m_locator_id
|
||||||
|
JOIN M_WAREHOUSE mw ON ml.m_warehouse_id = mw.m_warehouse_id
|
||||||
|
JOIN M_PRODUCTPRICE mpr ON ms.m_product_id = mpr.m_product_id
|
||||||
|
UNION
|
||||||
|
SELECT r.ad_client_id, r.ad_org_id, r.IsActive, r.Created, r.CreatedBy, r.Updated, r.UpdatedBy, r.m_product_id, r.relatedproduct_id, r.description, 'R' AS ROWTYPE, (ms.qtyonhand - ms.qtyreserved) AS qtyavailable, ms.qtyonhand, ms.qtyreserved, mpr.pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id
|
||||||
|
FROM M_RELATEDPRODUCT r
|
||||||
|
JOIN M_STORAGE ms ON ms.m_product_id = r.relatedproduct_id
|
||||||
|
JOIN M_PRODUCT mp ON ms.m_product_id = mp.m_product_id
|
||||||
|
JOIN M_LOCATOR ml ON ms.m_locator_id = ml.m_locator_id
|
||||||
|
JOIN M_WAREHOUSE mw ON ml.m_warehouse_id = mw.m_warehouse_id
|
||||||
|
JOIN M_PRODUCTPRICE mpr ON ms.m_product_id = mpr.m_product_id;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,9 @@
|
||||||
|
-- Fixed wrong reference id for the entitytype column in the 020 script.
|
||||||
|
|
||||||
|
UPDATE AD_Column
|
||||||
|
SET AD_Reference_ID = 18,
|
||||||
|
AD_Reference_Value_ID = 389
|
||||||
|
WHERE AD_Column_ID = 53263;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
|
@ -0,0 +1,129 @@
|
||||||
|
|
||||||
|
CREATE TABLE AD_Document_Action_Access (
|
||||||
|
|
||||||
|
AD_CLIENT_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
AD_ORG_ID NUMERIC(10,0) NOT NULL ,
|
||||||
|
ISACTIVE CHAR(1) DEFAULT 'Y' NOT NULL ,
|
||||||
|
CREATED DATE DEFAULT now() NOT NULL ,
|
||||||
|
CREATEDBY NUMERIC(10,0) NOT NULL ,
|
||||||
|
UPDATED DATE DEFAULT now() NOT NULL ,
|
||||||
|
UPDATEDBY NUMERIC(10,0) NOT NULL ,
|
||||||
|
|
||||||
|
C_DocType_ID NUMERIC(10,0) NOT NULL,
|
||||||
|
AD_Role_ID NUMERIC(10,0) NOT NULL,
|
||||||
|
AD_Ref_List_ID NUMERIC(10,0) NOT NULL
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
INSERT INTO AD_VAL_RULE(AD_VAL_RULE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,TYPE,CODE,ENTITYTYPE)values(51002,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),100,to_date('2007-08-27','RRRR-MM-DD'),100,'AD_Ref_List_ID (Document Actions)','all document actions','S','AD_Ref_List.AD_Reference_ID=135','D');
|
||||||
|
INSERT INTO AD_TABLE(AD_TABLE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,TABLENAME,ISVIEW,ACCESSLEVEL,ENTITYTYPE,AD_WINDOW_ID,AD_VAL_RULE_ID,LOADSEQ,ISSECURITYENABLED,ISDELETEABLE,ISHIGHVOLUME,IMPORTTABLE,ISCHANGELOG,REPLICATIONTYPE,PO_WINDOW_ID,COPYCOLUMNSFROMTABLE)values(53012,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),100,to_date('2007-08-27','RRRR-MM-DD'),100,'Document Action Access','Define access to document type / document action / role combinations.','Define access rules (add roles with access) for client/role/doctype/document action combinations. If no rules are defined for a client/doctype/doc action combination all roles can access the document action.','AD_Document_Action_Access','N','6','D',null,null,0,'N','Y','N','N','N','L',null,'N');
|
||||||
|
INSERT INTO AD_SEQUENCE(AD_SEQUENCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,VFORMAT,ISAUTOSEQUENCE,INCREMENTNO,STARTNO,CURRENTNEXT,CURRENTNEXTSYS,ISAUDITED,ISTABLEID,PREFIX,SUFFIX,STARTNEWYEAR)values(53011,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),100,to_date('2007-08-27','RRRR-MM-DD'),100,'AD_Document_Action_Access','Table AD_Document_Action_Access',null,'Y',1,1000000,1000001,50000,'N','Y',null,null,'N');
|
||||||
|
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53222,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',0,'D','AD_Client_ID',53012,19,null,null,22,'@AD_Client_ID@','N','N','Y','N',null,'N',null,'N','N',null,null,null,null,'N',102,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53223,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',0,'D','AD_Org_ID',53012,19,null,104,22,'@AD_Org_ID@','N','N','Y','N',null,'N',null,'N','N',null,null,null,null,'N',113,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53224,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Active','The record is active in the system','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. There are two reasons for de-activating and not deleting records: (1) The system requires the record for audit purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.',0,'D','IsActive',53012,20,null,null,1,null,'N','N','Y','Y',null,'N',null,'N','N',null,null,null,null,'N',348,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53225,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Created','Date this record was created','The Created field indicates the date that this record was created.',0,'D','Created',53012,16,null,null,7,null,'N','N','Y','N',null,'N',null,'N','N',null,null,null,null,'N',245,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53226,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Created By','User who created this records','The Created By field indicates the user who created this record.',0,'D','CreatedBy',53012,18,110,null,22,null,'N','N','Y','N',null,'N',null,'N','N',null,null,null,null,'N',246,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53227,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',0,'D','Updated',53012,16,null,null,7,null,'N','N','Y','N',null,'N',null,'N','N',null,null,null,null,'N',607,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53228,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',0,'D','UpdatedBy',53012,18,110,null,22,null,'N','N','Y','N',null,'N',null,'N','N',null,null,null,null,'N',608,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53229,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Document Type','Document type or rules','The Document Type determines document sequence and processing rules',0,'D','C_DocType_ID',53012,19,null,null,22,null,'N','Y','Y','N',null,'N',null,'N','N',null,null,null,null,'N',196,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53230,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',0,'D','AD_Role_ID',53012,19,null,null,22,null,'N','Y','Y','N',null,'N',null,'N','N',null,null,null,null,'N',123,null,'N','N',null,null);
|
||||||
|
INSERT INTO AD_COLUMN(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC)values(53231,0,0,'Y',to_date('2007-08-27','RRRR-MM-DD'),to_date('2007-08-27','RRRR-MM-DD'),100,100,'Reference List','Reference List based on Table',null,0,'D','AD_Ref_List_ID',53012,19,null,51002,22,null,'N','Y','Y','N',null,'N',null,'N','N',null,null,null,null,'N',119,null,'N','N',null,null);
|
||||||
|
|
||||||
|
INSERT INTO AD_TAB(AD_TAB_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,AD_TABLE_ID,AD_WINDOW_ID,SEQNO,TABLEVEL,ISSINGLEROW,ISINFOTAB,ISTRANSLATIONTAB,ISREADONLY,AD_COLUMN_ID,HASTREE,WHERECLAUSE,ORDERBYCLAUSE,COMMITWARNING,AD_PROCESS_ID,PROCESSING,AD_IMAGE_ID,IMPORTFIELDS,AD_COLUMNSORTORDER_ID,AD_COLUMNSORTYESNO_ID,ISSORTTAB,ENTITYTYPE,INCLUDED_TAB_ID,READONLYLOGIC,DISPLAYLOGIC,ISINSERTRECORD,ISADVANCEDTAB)values(53013,0,0,'Y',to_date('2007-08-29','RRRR-MM-DD'),100,to_date('2007-08-29','RRRR-MM-DD'),100,'Document Action Access','Define access to document type / document action / role combinations.','Define access to document type / document action / role combinations.',53012,111,90,1,'N','N','N','N',53230,'N',null,null,null,null,'N',null,'N',null,null,'N','D',null,null,null,'Y','N');
|
||||||
|
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)values(53241,0,0,'Y',to_date('2007-08-29','RRRR-MM-DD'),100,to_date('2007-08-29','RRRR-MM-DD'),100,'Active','The record is active in the system','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. There are two reasons for de-activating and not deleting records: (1) The system requires the record for audit purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y',53013,53224,null,'Y',null,1,'N',50,null,'N','N','N','N','D',null,null,null);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)values(53242,0,0,'Y',to_date('2007-08-29','RRRR-MM-DD'),100,to_date('2007-08-29','RRRR-MM-DD'),100,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y',53013,53222,null,'Y',null,22,'N',10,null,'N','N','N','N','D',null,null,null);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)values(53244,0,0,'Y',to_date('2007-08-29','RRRR-MM-DD'),100,to_date('2007-08-29','RRRR-MM-DD'),100,'Document Type','Document type or rules','The Document Type determines document sequence and processing rules','Y',53013,53229,null,'Y',null,22,'N',30,null,'N','N','N','N','D',null,null,null);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)values(53245,0,0,'Y',to_date('2007-08-29','RRRR-MM-DD'),100,to_date('2007-08-29','RRRR-MM-DD'),100,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y',53013,53223,null,'Y',null,22,'N',20,null,'N','N','N','N','D',null,null,null);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)values(53246,0,0,'Y',to_date('2007-08-29','RRRR-MM-DD'),100,to_date('2007-08-29','RRRR-MM-DD'),100,'Reference List','Reference List based on Table','The Reference List field indicates a list of reference values from a database tables. Reference lists populate drop down list boxes in data entry screens','Y',53013,53231,null,'Y',null,22,'N',40,null,'N','N','N','N','D',null,null,null);
|
||||||
|
INSERT INTO AD_FIELD(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,ISMANDATORY)values(53247,0,0,'Y',to_date('2007-08-29','RRRR-MM-DD'),100,to_date('2007-08-29','RRRR-MM-DD'),100,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.','Y',53013,53230,null,'N',null,22,'N',0,null,'N','N','N','N','D',null,null,null);
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM ad_column
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Column';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM ad_field
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Field';
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM ad_column
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Sequence';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||||
|
FROM ad_field
|
||||||
|
WHERE ad_field_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Tab';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||||
|
FROM ad_message
|
||||||
|
WHERE ad_message_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Table';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||||
|
FROM ad_element
|
||||||
|
WHERE ad_element_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Window';
|
||||||
|
|
||||||
|
UPDATE ad_sequence
|
||||||
|
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||||
|
FROM ad_column
|
||||||
|
WHERE ad_column_id < 1000000)
|
||||||
|
WHERE NAME = 'AD_Val_Rule';
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
delete from AD_Document_Action_Access;
|
||||||
|
|
||||||
|
Insert into AD_Document_Action_Access (
|
||||||
|
AD_CLIENT_ID ,
|
||||||
|
AD_ORG_ID ,
|
||||||
|
ISACTIVE ,
|
||||||
|
CREATED ,
|
||||||
|
CREATEDBY ,
|
||||||
|
UPDATED ,
|
||||||
|
UPDATEDBY ,
|
||||||
|
C_DocType_ID ,
|
||||||
|
AD_Role_ID ,
|
||||||
|
AD_Ref_List_ID
|
||||||
|
)
|
||||||
|
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
client.AD_Client_ID,
|
||||||
|
0,
|
||||||
|
'Y',
|
||||||
|
now(),
|
||||||
|
0,
|
||||||
|
now(),
|
||||||
|
0,
|
||||||
|
doctype.C_DocType_ID,
|
||||||
|
rol.AD_Role_ID,
|
||||||
|
action.AD_Ref_List_ID
|
||||||
|
FROM AD_Client client
|
||||||
|
INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID)
|
||||||
|
INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135)
|
||||||
|
INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,65 @@
|
||||||
|
-- Nov 27, 2007 11:00:15 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53227,0,'IsPostIfClearingEqual',TO_TIMESTAMP('2007-11-27 23:00:10','YYYY-MM-DD HH24:MI:SS'),100,'This flag controls if Adempiere must post when clearing (transit) and final accounts are the same','D',NULL,'Y','Post if Clearing Equal','Post if Clearing Equal',TO_TIMESTAMP('2007-11-27 23:00:10','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:16 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53227 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Column SET ColumnName='IsPostIfClearingEqual', Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL WHERE AD_Element_ID=53227
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Field SET Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53227) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsPostIfClearingEqual', Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL, AD_Element_ID=53227 WHERE UPPER(ColumnName)='ISPOSTIFCLEARINGEQUAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='IsPostIfClearingEqual', Name='Post if Clearing Equal', Description='This flag controls if Adempiere must post when clearing (transit) and final accounts are the same', Help=NULL WHERE AD_Element_ID=53227 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Post if Clearing Equal', Name='Post if Clearing Equal' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53227)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:00:46 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
UPDATE AD_PrintFormatItem SET PrintName='Post if Clearing Equal', Name='Post if Clearing Equal' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53227)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:01:30 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,53266,53227,0,20,265,'IsPostIfClearingEqual',TO_TIMESTAMP('2007-11-27 23:01:29','YYYY-MM-DD HH24:MI:SS'),100,'Y','This flag controls if Adempiere must post when clearing (transit) and final accounts are the same','D',1,'Y','N','N','N','N','N','N','N','N','N','Y','Post if Clearing Equal',0,TO_TIMESTAMP('2007-11-27 23:01:29','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:01:30 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=53266 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:01:45 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
ALTER TABLE C_AcctSchema ADD COLUMN IsPostIfClearingEqual CHAR(1) DEFAULT 'Y' CHECK (IsPostIfClearingEqual IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:07:24 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53266,53281,0,199,TO_TIMESTAMP('2007-11-27 23:07:22','YYYY-MM-DD HH24:MI:SS'),100,'This flag controls if Adempiere must post when clearing (transit) and final accounts are the same',1,'D','Y','Y','Y','N','N','N','N','Y','Post if Clearing Equal',270,TO_TIMESTAMP('2007-11-27 23:07:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Nov 27, 2007 11:07:24 PM COT
|
||||||
|
-- FR 1840016 - Avoid usage of clearing accounts
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=53281 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,228 @@
|
||||||
|
-- Dec 1, 2007 1:51:24 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST SET NAME='PO Commitment & Reservation',Updated=TO_TIMESTAMP('2007-12-01 01:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=785
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:51:24 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Compromisos Compra y Reservas', IsTranslated='Y' WHERE AD_Ref_List_ID=785 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST SET NAME='PO Commitment only',Updated=TO_TIMESTAMP('2007-12-01 01:52:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=784
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Solamente Compromiso Compras', IsTranslated='Y' WHERE AD_Ref_List_ID=784 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:53:53 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,NAME,Updated,UpdatedBy,VALUE) VALUES (0,0,53223,359,TO_TIMESTAMP('2007-12-01 01:53:45','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','PO;SO Commitment & Reservation',TO_TIMESTAMP('2007-12-01 01:53:45','YYYY-MM-DD HH24:MI:SS'),100,'A')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:53:53 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST_TRL (AD_LANGUAGE,AD_Ref_List_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Ref_List_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_REF_LIST t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53223 AND EXISTS (SELECT * FROM AD_REF_LIST_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Compromisos (ambos) y Reservas', IsTranslated='Y' WHERE AD_Ref_List_ID=53223 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:54:46 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,NAME,Updated,UpdatedBy,VALUE) VALUES (0,0,53224,359,TO_TIMESTAMP('2007-12-01 01:54:31','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','SO Commitment only',TO_TIMESTAMP('2007-12-01 01:54:31','YYYY-MM-DD HH24:MI:SS'),100,'S')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:54:46 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST_TRL (AD_LANGUAGE,AD_Ref_List_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Ref_List_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_REF_LIST t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53224 AND EXISTS (SELECT * FROM AD_REF_LIST_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Solamente Compromiso Ventas', IsTranslated='Y' WHERE AD_Ref_List_ID=53224 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:55:44 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,NAME,Updated,UpdatedBy,VALUE) VALUES (0,0,53225,359,TO_TIMESTAMP('2007-12-01 01:55:35','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','PO;SO Commitment',TO_TIMESTAMP('2007-12-01 01:55:35','YYYY-MM-DD HH24:MI:SS'),100,'O')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:55:44 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_REF_LIST_TRL (AD_LANGUAGE,AD_Ref_List_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Ref_List_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_REF_LIST t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53225 AND EXISTS (SELECT * FROM AD_REF_LIST_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:52:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_REF_LIST_TRL SET NAME = 'Solamente Compromisos (ambos)', IsTranslated='Y' WHERE AD_Ref_List_ID=53225 AND AD_LANGUAGE LIKE 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:58:18 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_ELEMENT (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,NAME,PrintName,Updated,UpdatedBy) VALUES (0,53228,0,'CommitmentOffsetSales_Acct',TO_TIMESTAMP('2007-12-01 01:58:04','YYYY-MM-DD HH24:MI:SS'),100,'Budgetary Commitment Offset Account for Sales','D','The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.','Y','Commitment Offset Sales','Commitment Offset Sales',TO_TIMESTAMP('2007-12-01 01:58:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:58:18 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_ELEMENT_TRL (AD_LANGUAGE,AD_Element_ID, Description,Help,NAME,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Element_ID, t.Description,t.Help,t.NAME,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_ELEMENT t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53228 AND EXISTS (SELECT * FROM AD_ELEMENT_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:59:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_COLUMN (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,NAME,Updated,UpdatedBy,VERSION) VALUES (0,53267,53228,0,25,266,'CommitmentOffsetSales_Acct',TO_TIMESTAMP('2007-12-01 01:58:56','YYYY-MM-DD HH24:MI:SS'),100,'Budgetary Commitment Offset Account for Sales','D',10,'The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.','Y','N','N','N','N','N','N','N','N','N','Y','Commitment Offset Sales',TO_TIMESTAMP('2007-12-01 01:58:56','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:59:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_COLUMN_TRL (AD_LANGUAGE,AD_Column_ID, NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Column_ID, t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_COLUMN t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=53267 AND EXISTS (SELECT * FROM AD_COLUMN_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 1:59:26 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
ALTER TABLE C_ACCTSCHEMA_GL ADD COLUMN CommitmentOffsetSales_Acct NUMERIC(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE C_ACCTSCHEMA_GL SET CommitmentOffsetSales_Acct = CommitmentOffset_Acct
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:00:20 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
ALTER TABLE C_ACCTSCHEMA_GL ALTER COLUMN CommitmentOffsetSales_Acct SET NOT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:00:11 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_COLUMN SET IsMandatory='Y',Updated=TO_TIMESTAMP('2007-12-01 02:00:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:00:11 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_FIELD SET NAME='Commitment Offset Sales', Description='Budgetary Commitment Offset Account for Sales', Help='The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.' WHERE AD_Column_ID=53267 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:02:34 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_FIELD SET IsSameLine='N', SeqNo=160,Updated=TO_TIMESTAMP('2007-12-01 02:02:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12375
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:03:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_FIELD (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,NAME,SeqNo,Updated,UpdatedBy) VALUES (0,53267,53282,0,200,TO_TIMESTAMP('2007-12-01 02:02:56','YYYY-MM-DD HH24:MI:SS'),100,'Budgetary Commitment Offset Account for Sales',10,'D','The Commitment Offset Account is used for posting Commitments Sales and Reservations. It is usually an off-balance sheet and gain-and-loss account.','Y','Y','Y','N','N','N','N','Y','Commitment Offset Sales',170,TO_TIMESTAMP('2007-12-01 02:02:56','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:03:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_FIELD_TRL (AD_LANGUAGE,AD_Field_ID, Description,Help,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Field_ID, t.Description,t.Help,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_FIELD t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=53282 AND EXISTS (SELECT * FROM AD_FIELD_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO C_ELEMENTVALUE (AD_Client_ID,AD_Org_ID,AccountSign,AccountType,C_ElementValue_ID,C_Element_ID,Created,CreatedBy,IsActive,IsBankAccount,IsDocControlled,IsForeignCurrency,IsSummary,NAME,PostActual,PostBudget,PostEncumbrance,PostStatistical,Updated,UpdatedBy,VALUE) VALUES (11,0,'N','M',50000,105,TO_TIMESTAMP('2007-12-01 02:55:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','N','N','SO Commitment','Y','Y','Y','Y',TO_TIMESTAMP('2007-12-01 02:55:03','YYYY-MM-DD HH24:MI:SS'),100,'953')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO C_ELEMENTVALUE_TRL (AD_LANGUAGE,C_ElementValue_ID, Description,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.C_ElementValue_ID, t.Description,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, C_ELEMENTVALUE t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_ElementValue_ID=50000 AND EXISTS (SELECT * FROM C_ELEMENTVALUE_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.C_ElementValue_ID!=t.C_ElementValue_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:04 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO AD_TREENODE (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 50000, 0, 999 FROM AD_TREE t WHERE t.AD_Client_ID=11 AND t.IsActive='Y' AND EXISTS (SELECT * FROM C_ELEMENT ae WHERE ae.C_Element_ID=105 AND t.AD_Tree_ID=ae.AD_Tree_ID) AND NOT EXISTS (SELECT * FROM AD_TREENODE e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=50000)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=506
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=584
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=624
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=632
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=429
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=449
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=783
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=704
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=716
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=728
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=731
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=734
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:08 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=735
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:09 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=736
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:09 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:09 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE AD_TREENODE SET Parent_ID=734, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=737
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:55:54 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
INSERT INTO C_VALIDCOMBINATION (AD_Client_ID,AD_Org_ID,Account_ID,C_AcctSchema_ID,C_ValidCombination_ID,Combination,Created,CreatedBy,Description,IsActive,IsFullyQualified,Updated,UpdatedBy) VALUES (11,11,50000,101,50000,'HQ-953-_-_-_-_',TO_TIMESTAMP('2007-12-01 02:55:54','YYYY-MM-DD HH24:MI:SS'),100,'HQ-SO Commitment-_-_-_-_','Y','Y',TO_TIMESTAMP('2007-12-01 02:55:54','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 1, 2007 2:56:01 AM COT
|
||||||
|
-- FR 1814291 - Sales Commitment Offset
|
||||||
|
UPDATE C_ACCTSCHEMA_GL SET CommitmentOffsetSales_Acct=50000,Updated=TO_TIMESTAMP('2007-12-01 02:56:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101
|
||||||
|
;
|
|
@ -0,0 +1,4 @@
|
||||||
|
UPDATE AD_WINDOW
|
||||||
|
SET HELP =
|
||||||
|
'The User Window allows you to maintain User of the system. Users can log into the system and have access to functionality via one or more roles. A user can also be a business partner contact.'
|
||||||
|
WHERE ad_window_id = 108 AND HELP LIKE '%aprtner%';
|
|
@ -0,0 +1,6 @@
|
||||||
|
UPDATE AD_SYSTEM
|
||||||
|
SET releaseno = '331b',
|
||||||
|
VERSION = '2007-12-05'
|
||||||
|
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||||
|
|
||||||
|
COMMIT ;
|
|
@ -0,0 +1,32 @@
|
||||||
|
CREATE OR REPLACE FUNCTION "adempiere"."subtractdays" (in inter interval, in days numeric) RETURNS integer AS
|
||||||
|
$BODY$
|
||||||
|
BEGIN
|
||||||
|
RETURN ( EXTRACT( EPOCH FROM ( inter ) ) / 86400 ) - days;
|
||||||
|
END;
|
||||||
|
$BODY$
|
||||||
|
LANGUAGE 'plpgsql';
|
||||||
|
|
||||||
|
CREATE OPERATOR - (
|
||||||
|
PROCEDURE = subtractdays,
|
||||||
|
LEFTARG = interval,
|
||||||
|
RIGHTARG = numeric,
|
||||||
|
COMMUTATOR = -
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE FUNCTION "adempiere"."adddays" (in inter interval, in days numeric) RETURNS integer AS
|
||||||
|
$BODY$
|
||||||
|
BEGIN
|
||||||
|
RETURN ( EXTRACT( EPOCH FROM ( inter ) ) / 86400 ) + days;
|
||||||
|
END;
|
||||||
|
$BODY$
|
||||||
|
LANGUAGE 'plpgsql';
|
||||||
|
|
||||||
|
CREATE OPERATOR + (
|
||||||
|
PROCEDURE = adddays,
|
||||||
|
LEFTARG = interval,
|
||||||
|
RIGHTARG = numeric,
|
||||||
|
COMMUTATOR = -
|
||||||
|
);
|
||||||
|
|
||||||
|
ALTER OPERATOR adempiere.+ (interval, numeric) OWNER TO adempiere;
|
|
@ -0,0 +1,233 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
-- Dec 15, 2007 12:31:13 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,53270,1682,0,18,389,50009,'EntityType',TO_DATE('2007-12-15 12:31:11','YYYY-MM-DD HH24:MI:SS'),100,'U','Dictionary Entity Type; Determines ownership and synchronization','D',40,'The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
|
||||||
|
|
||||||
|
For customizations, copy the entity and select "User"!','Y','N','N','N','N','Y','N','N','N','N','Y','Entity Type','@EntityType@=D',0,TO_DATE('2007-12-15 12:31:11','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:31:13 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=53270 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:31:24 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
ALTER TABLE AD_SysConfig ADD EntityType VARCHAR2(40) DEFAULT 'U' NOT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:33:53 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53229,0,'ConfigurationLevel',TO_DATE('2007-12-15 12:33:52','YYYY-MM-DD HH24:MI:SS'),100,'Configuration Level for this parameter','D','Configuration Level for this parameter
|
||||||
|
S - just allowed system configuration
|
||||||
|
C - client configurable parameter
|
||||||
|
O - org configurable parameter','Y','Configuration Level','Configuration Level for this parameter',TO_DATE('2007-12-15 12:33:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:33:53 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53229 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:34:46 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53222,TO_DATE('2007-12-15 12:34:44','YYYY-MM-DD HH24:MI:SS'),100,'Configuration Level','D','Y','AD_SysConfig ConfigurationLevel',TO_DATE('2007-12-15 12:34:44','YYYY-MM-DD HH24:MI:SS'),100,'L')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:34:46 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53222 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:35:24 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53228,53222,TO_DATE('2007-12-15 12:35:20','YYYY-MM-DD HH24:MI:SS'),100,'Just allowed system configuration','D','Y','System',TO_DATE('2007-12-15 12:35:20','YYYY-MM-DD HH24:MI:SS'),100,'S')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:35:24 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53228 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:35:43 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53229,53222,TO_DATE('2007-12-15 12:35:42','YYYY-MM-DD HH24:MI:SS'),100,'Allowed system and client configuration','D','Y','Client',TO_DATE('2007-12-15 12:35:42','YYYY-MM-DD HH24:MI:SS'),100,'C')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:35:43 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53229 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:36:00 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53230,53222,TO_DATE('2007-12-15 12:36:00','YYYY-MM-DD HH24:MI:SS'),100,'Allowed system, client and organization configuration','D','Y','Organization',TO_DATE('2007-12-15 12:36:00','YYYY-MM-DD HH24:MI:SS'),100,'O')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:36:01 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53230 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:36:39 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,53271,53229,0,17,53222,50009,'ConfigurationLevel',TO_DATE('2007-12-15 12:36:38','YYYY-MM-DD HH24:MI:SS'),100,'S','Configuration Level for this parameter','D',1,'Configuration Level for this parameter
|
||||||
|
S - just allowed system configuration
|
||||||
|
C - client configurable parameter
|
||||||
|
O - org configurable parameter','Y','N','N','N','N','N','N','N','N','N','Y','Configuration Level',0,TO_DATE('2007-12-15 12:36:38','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:36:39 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=53271 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:36:53 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
ALTER TABLE AD_SysConfig ADD ConfigurationLevel CHAR(1) DEFAULT 'S'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:18 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53271,53285,0,50009,TO_DATE('2007-12-15 12:41:14','YYYY-MM-DD HH24:MI:SS'),100,'Configuration Level for this parameter',1,'D','Configuration Level for this parameter
|
||||||
|
S - just allowed system configuration
|
||||||
|
C - client configurable parameter
|
||||||
|
O - org configurable parameter','Y','Y','Y','N','N','N','N','N','Configuration Level',TO_DATE('2007-12-15 12:41:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:18 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=53285 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:25 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53270,53286,0,50009,TO_DATE('2007-12-15 12:41:18','YYYY-MM-DD HH24:MI:SS'),100,'Dictionary Entity Type; Determines ownership and synchronization',40,'D','The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
|
||||||
|
|
||||||
|
For customizations, copy the entity and select "User"!','Y','Y','Y','N','N','N','N','N','Entity Type',TO_DATE('2007-12-15 12:41:18','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:26 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=53286 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:38 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=50164
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:39 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=50163
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:39 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=50166
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:39 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53286
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:39 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:41:39 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=50161
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:42:07 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2007-12-15 12:42:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53286
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:42:18 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Field SET DisplayLength=20, IsSameLine='Y',Updated=TO_DATE('2007-12-15 12:42:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53285
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:49:08 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:49:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:49:16 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:49:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:49:26 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:49:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:49:33 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:49:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50010
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:49:42 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:49:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:49:49 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:49:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:49:58 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50001
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:50:06 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:50:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:50:14 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:50:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:50:29 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:50:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:50:51 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_SysConfig SET EntityType='D',Updated=TO_DATE('2007-12-15 12:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 12:51:28 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
UPDATE AD_Tab SET OrderByClause='Name',Updated=TO_DATE('2007-12-15 12:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 1:24:58 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53009,0,TO_DATE('2007-12-15 13:24:57','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','This is a system or client parameter, you can''t save it as organization parameter','E',TO_DATE('2007-12-15 13:24:57','YYYY-MM-DD HH24:MI:SS'),100,'Can''t Save Org Level')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 1:24:58 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53009 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 1:25:17 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53010,0,TO_DATE('2007-12-15 13:25:16','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','This is a system parameter, you can''t save it as client parameter','E',TO_DATE('2007-12-15 13:25:16','YYYY-MM-DD HH24:MI:SS'),100,'Can''t Save Client Level')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 15, 2007 1:25:17 PM COT
|
||||||
|
-- FR 1800371 System Configurator Enhancements
|
||||||
|
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53010 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
|
||||||
|
;
|
|
@ -0,0 +1,59 @@
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_V
|
||||||
|
AS
|
||||||
|
SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
f.NAME, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) AS DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
|
||||||
|
c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fg.NAME AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID, fg.FieldGroupType
|
||||||
|
FROM AD_FIELD f
|
||||||
|
INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_VAL_RULE vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW AD_FIELD_VT
|
||||||
|
AS
|
||||||
|
SELECT trl.AD_LANGUAGE, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||||
|
trl.NAME, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||||
|
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||||
|
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||||
|
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
|
||||||
|
COALESCE(f.DefaultValue, c.DefaultValue) AS DefaultValue,
|
||||||
|
c.IsKey, c.IsParent,
|
||||||
|
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||||
|
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||||
|
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||||
|
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||||
|
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
|
||||||
|
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||||
|
fgt.NAME AS FieldGroup, vr.Code AS ValidationCode,
|
||||||
|
f.Included_Tab_ID, fg.FieldGroupType
|
||||||
|
FROM AD_FIELD f
|
||||||
|
INNER JOIN AD_FIELD_TRL trl ON (f.AD_Field_ID = trl.AD_Field_ID)
|
||||||
|
INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||||
|
LEFT OUTER JOIN AD_FIELDGROUP_TRL fgt ON
|
||||||
|
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_LANGUAGE=fgt.AD_LANGUAGE)
|
||||||
|
LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||||
|
INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||||
|
INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||||
|
LEFT OUTER JOIN AD_VAL_RULE vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||||
|
WHERE f.IsActive = 'Y'
|
||||||
|
AND c.IsActive = 'Y'
|
||||||
|
;
|
|
@ -0,0 +1,207 @@
|
||||||
|
-- Dec 29, 2007 5:52:00 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Element (AD_Org_ID,AD_Element_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,AD_Client_ID,UpdatedBy) VALUES (0,53320,'IsOverwriteSeqOnComplete',TO_DATE('2007-12-29 17:51:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Overwrite Sequence on Complete','Overwrite Sequence on Complete',TO_DATE('2007-12-29 17:51:59','YYYY-MM-DD HH24:MI:SS'),0,100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:52:00 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53320 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET istranslated='Y', name = 'Sobreescribir Secuencia al Completar', printname = 'Sobreescribir Secuencia al Completar'
|
||||||
|
WHERE AD_Element_ID=53320 and ad_language like 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:53:26 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Element (AD_Org_ID,AD_Element_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,AD_Client_ID,UpdatedBy) VALUES (0,53321,'DefiniteSequence_ID',TO_DATE('2007-12-29 17:53:26','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Definite Sequence','Definite Sequence',TO_DATE('2007-12-29 17:53:26','YYYY-MM-DD HH24:MI:SS'),0,100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:53:26 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53321 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET istranslated='Y', name = 'Secuencia Definitiva', printname = 'Secuencia Definitiva'
|
||||||
|
WHERE AD_Element_ID=53321 and ad_language like 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:54:09 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Element (AD_Org_ID,AD_Element_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,AD_Client_ID,UpdatedBy) VALUES (0,53322,'IsOverwriteDateOnComplete',TO_DATE('2007-12-29 17:54:09','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Overwrite Date on Complete','Overwrite Date on Complete',TO_DATE('2007-12-29 17:54:09','YYYY-MM-DD HH24:MI:SS'),0,100)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:54:09 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53322 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET istranslated='Y', name = 'Sobreescribir Fecha al Completar', printname = 'Sobreescribir Fecha al Completar'
|
||||||
|
WHERE AD_Element_ID=53322 and ad_language like 'es_%'
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:55:55 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Column (AD_Org_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version,AD_Client_ID,AD_Column_ID) VALUES (0,53320,20,217,'IsOverwriteSeqOnComplete',TO_DATE('2007-12-29 17:55:55','YYYY-MM-DD HH24:MI:SS'),100,'N','D',1,'Y','N','N','N','N','N','N','N','N','N','Y','Overwrite Sequence on Complete',0,TO_DATE('2007-12-29 17:55:55','YYYY-MM-DD HH24:MI:SS'),100,1.00,0,54087)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:55:56 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54087 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:56:02 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
ALTER TABLE C_DocType ADD IsOverwriteSeqOnComplete CHAR(1) DEFAULT 'N' CHECK (IsOverwriteSeqOnComplete IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:57:54 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Column (AD_Org_ID,AD_Reference_Value_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version,AD_Client_ID,AD_Column_ID) VALUES (0,128,53321,18,217,'DefiniteSequence_ID',TO_DATE('2007-12-29 17:57:54','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','N','N','Y','Definite Sequence',TO_DATE('2007-12-29 17:57:54','YYYY-MM-DD HH24:MI:SS'),100,1,0,54088)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:57:54 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54088 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:58:04 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
ALTER TABLE C_DocType ADD DefiniteSequence_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:58:27 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Column (AD_Org_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version,AD_Client_ID,AD_Column_ID) VALUES (0,53322,20,217,'IsOverwriteDateOnComplete',TO_DATE('2007-12-29 17:58:26','YYYY-MM-DD HH24:MI:SS'),100,'N','D',1,'Y','N','N','N','N','N','N','N','N','N','Y','Overwrite Date on Complete',0,TO_DATE('2007-12-29 17:58:26','YYYY-MM-DD HH24:MI:SS'),100,1.00,0,54089)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:58:27 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54089 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 5:58:37 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
ALTER TABLE C_DocType ADD IsOverwriteDateOnComplete CHAR(1) DEFAULT 'N' CHECK (IsOverwriteDateOnComplete IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:14 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,AD_Client_ID,UpdatedBy,AD_Field_ID) VALUES (54088,0,167,TO_DATE('2007-12-29 18:00:13','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Definite Sequence',TO_DATE('2007-12-29 18:00:13','YYYY-MM-DD HH24:MI:SS'),0,100,54230)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:14 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54230 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:15 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,AD_Client_ID,UpdatedBy,AD_Field_ID) VALUES (54089,0,167,TO_DATE('2007-12-29 18:00:15','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Overwrite Date on Complete',TO_DATE('2007-12-29 18:00:15','YYYY-MM-DD HH24:MI:SS'),0,100,54232)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:15 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54232 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,AD_Client_ID,UpdatedBy,AD_Field_ID) VALUES (54087,0,167,TO_DATE('2007-12-29 18:00:15','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Overwrite Sequence on Complete',TO_DATE('2007-12-29 18:00:15','YYYY-MM-DD HH24:MI:SS'),0,100,54233)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54233 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:52 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=290,Updated=TO_DATE('2007-12-29 18:00:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:00:57 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y', SeqNo=300,Updated=TO_DATE('2007-12-29 18:00:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:01:04 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=310,Updated=TO_DATE('2007-12-29 18:01:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 6:01:31 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsOverwriteSeqOnComplete@=''Y''',Updated=TO_DATE('2007-12-29 18:01:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=54233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=54230
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=54232
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=10345
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=10346
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=10481
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=10480
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=10371
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=10528
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=10340
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=6567
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:16 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=3125
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:21:57 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsDocNoControlled@=''Y''',Updated=TO_DATE('2007-12-29 20:21:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54233
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dec 29, 2007 8:22:06 PM COT
|
||||||
|
-- 1860642 - Enhance document numbering
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsDocNoControlled@=''Y'' & @IsOverwriteSeqOnComplete@=''Y''',Updated=TO_DATE('2007-12-29 20:22:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54230
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,868 @@
|
||||||
|
-- Dec 31, 2007 4:26:33 PM COT
|
||||||
|
-- Create 2008 calendar for GardenWorld
|
||||||
|
INSERT INTO C_Year (AD_Client_ID,AD_Org_ID,C_Calendar_ID,C_Year_ID,Created,CreatedBy,FiscalYear,IsActive,Processing,Updated,UpdatedBy) VALUES (11,0,102,50001,TO_DATE('2007-12-31 16:26:29','YYYY-MM-DD HH24:MI:SS'),100,'2008','Y','N',TO_DATE('2007-12-31 16:26:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50012,50001,TO_DATE('2007-12-31 16:26:38','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-01-31','YYYY-MM-DD'),'Y','Jan-08',1,'S','N',TO_DATE('2008-01-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:26:38','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50276,50012,TO_DATE('2007-12-31 16:26:39','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:26:39','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50277,50012,TO_DATE('2007-12-31 16:26:40','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:26:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50278,50012,TO_DATE('2007-12-31 16:26:41','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:26:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50279,50012,TO_DATE('2007-12-31 16:26:42','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:26:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50280,50012,TO_DATE('2007-12-31 16:26:43','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:26:43','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50281,50012,TO_DATE('2007-12-31 16:26:44','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:26:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50282,50012,TO_DATE('2007-12-31 16:26:45','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:26:45','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50283,50012,TO_DATE('2007-12-31 16:26:46','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:26:46','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50284,50012,TO_DATE('2007-12-31 16:26:46','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:26:46','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50285,50012,TO_DATE('2007-12-31 16:26:47','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:26:47','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50286,50012,TO_DATE('2007-12-31 16:26:48','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:26:48','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50287,50012,TO_DATE('2007-12-31 16:26:49','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:26:49','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50288,50012,TO_DATE('2007-12-31 16:26:50','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:26:50','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50289,50012,TO_DATE('2007-12-31 16:26:51','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:26:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50290,50012,TO_DATE('2007-12-31 16:26:52','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:26:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50291,50012,TO_DATE('2007-12-31 16:26:54','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:26:54','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50292,50012,TO_DATE('2007-12-31 16:26:55','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:26:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50293,50012,TO_DATE('2007-12-31 16:26:57','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:26:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50294,50012,TO_DATE('2007-12-31 16:26:59','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:26:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50295,50012,TO_DATE('2007-12-31 16:27:01','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:27:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50296,50012,TO_DATE('2007-12-31 16:27:02','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:27:02','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50297,50012,TO_DATE('2007-12-31 16:27:04','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:27:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50298,50012,TO_DATE('2007-12-31 16:27:06','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:27:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50013,50001,TO_DATE('2007-12-31 16:27:08','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-02-29','YYYY-MM-DD'),'Y','Feb-08',2,'S','N',TO_DATE('2008-02-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:27:08','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50299,50013,TO_DATE('2007-12-31 16:27:10','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:27:10','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50300,50013,TO_DATE('2007-12-31 16:27:11','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:27:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50301,50013,TO_DATE('2007-12-31 16:27:13','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:27:13','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50302,50013,TO_DATE('2007-12-31 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:27:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50303,50013,TO_DATE('2007-12-31 16:27:21','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:27:21','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50304,50013,TO_DATE('2007-12-31 16:27:24','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:27:24','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50305,50013,TO_DATE('2007-12-31 16:27:26','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:27:26','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50306,50013,TO_DATE('2007-12-31 16:27:28','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:27:28','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50307,50013,TO_DATE('2007-12-31 16:27:31','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:27:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50308,50013,TO_DATE('2007-12-31 16:27:33','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:27:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50309,50013,TO_DATE('2007-12-31 16:27:35','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:27:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50310,50013,TO_DATE('2007-12-31 16:27:37','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:27:37','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50311,50013,TO_DATE('2007-12-31 16:27:40','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:27:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50312,50013,TO_DATE('2007-12-31 16:27:42','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:27:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50313,50013,TO_DATE('2007-12-31 16:27:43','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:27:43','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50314,50013,TO_DATE('2007-12-31 16:27:44','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:27:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50315,50013,TO_DATE('2007-12-31 16:27:45','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:27:45','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50316,50013,TO_DATE('2007-12-31 16:27:46','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:27:46','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50317,50013,TO_DATE('2007-12-31 16:27:48','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:27:48','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50318,50013,TO_DATE('2007-12-31 16:27:48','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:27:48','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50319,50013,TO_DATE('2007-12-31 16:27:49','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:27:49','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50320,50013,TO_DATE('2007-12-31 16:27:50','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:27:50','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50321,50013,TO_DATE('2007-12-31 16:27:51','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:27:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50014,50001,TO_DATE('2007-12-31 16:27:52','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-03-31','YYYY-MM-DD'),'Y','Mar-08',3,'S','N',TO_DATE('2008-03-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:27:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50322,50014,TO_DATE('2007-12-31 16:27:53','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:27:53','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50323,50014,TO_DATE('2007-12-31 16:27:59','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:27:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50324,50014,TO_DATE('2007-12-31 16:28:00','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:28:00','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50325,50014,TO_DATE('2007-12-31 16:28:01','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:28:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50326,50014,TO_DATE('2007-12-31 16:28:01','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:28:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50327,50014,TO_DATE('2007-12-31 16:28:02','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:28:02','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50328,50014,TO_DATE('2007-12-31 16:28:02','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:28:02','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50329,50014,TO_DATE('2007-12-31 16:28:03','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:28:03','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50330,50014,TO_DATE('2007-12-31 16:28:03','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:28:03','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50331,50014,TO_DATE('2007-12-31 16:28:04','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:28:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50332,50014,TO_DATE('2007-12-31 16:28:04','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:28:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50333,50014,TO_DATE('2007-12-31 16:28:04','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:28:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50334,50014,TO_DATE('2007-12-31 16:28:05','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:28:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50335,50014,TO_DATE('2007-12-31 16:28:05','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:28:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50336,50014,TO_DATE('2007-12-31 16:28:06','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:28:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50337,50014,TO_DATE('2007-12-31 16:28:06','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:28:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50338,50014,TO_DATE('2007-12-31 16:28:07','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:28:07','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50339,50014,TO_DATE('2007-12-31 16:28:07','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:28:07','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50340,50014,TO_DATE('2007-12-31 16:28:08','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:28:08','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50341,50014,TO_DATE('2007-12-31 16:28:08','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:28:08','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50342,50014,TO_DATE('2007-12-31 16:28:09','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:28:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50343,50014,TO_DATE('2007-12-31 16:28:09','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:28:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50344,50014,TO_DATE('2007-12-31 16:28:09','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:28:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50015,50001,TO_DATE('2007-12-31 16:28:10','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-04-30','YYYY-MM-DD'),'Y','Apr-08',4,'S','N',TO_DATE('2008-04-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:28:10','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50345,50015,TO_DATE('2007-12-31 16:28:10','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:28:10','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50346,50015,TO_DATE('2007-12-31 16:28:11','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:28:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50347,50015,TO_DATE('2007-12-31 16:28:11','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:28:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50348,50015,TO_DATE('2007-12-31 16:28:12','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:28:12','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50349,50015,TO_DATE('2007-12-31 16:28:12','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:28:12','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50350,50015,TO_DATE('2007-12-31 16:28:13','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:28:13','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50351,50015,TO_DATE('2007-12-31 16:28:14','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:28:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50352,50015,TO_DATE('2007-12-31 16:28:14','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:28:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50353,50015,TO_DATE('2007-12-31 16:28:15','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:28:15','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50354,50015,TO_DATE('2007-12-31 16:28:15','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:28:15','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50355,50015,TO_DATE('2007-12-31 16:28:16','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:28:16','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50356,50015,TO_DATE('2007-12-31 16:28:16','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:28:16','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50357,50015,TO_DATE('2007-12-31 16:28:17','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:28:17','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50358,50015,TO_DATE('2007-12-31 16:28:17','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:28:17','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50359,50015,TO_DATE('2007-12-31 16:28:18','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:28:18','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50360,50015,TO_DATE('2007-12-31 16:28:18','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:28:18','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50361,50015,TO_DATE('2007-12-31 16:28:18','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:28:18','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50362,50015,TO_DATE('2007-12-31 16:28:19','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:28:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50363,50015,TO_DATE('2007-12-31 16:28:19','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:28:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50364,50015,TO_DATE('2007-12-31 16:28:20','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:28:20','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50365,50015,TO_DATE('2007-12-31 16:28:20','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:28:20','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50366,50015,TO_DATE('2007-12-31 16:28:21','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:28:21','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50367,50015,TO_DATE('2007-12-31 16:28:21','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:28:21','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50016,50001,TO_DATE('2007-12-31 16:28:22','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-05-31','YYYY-MM-DD'),'Y','May-08',5,'S','N',TO_DATE('2008-05-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:28:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50368,50016,TO_DATE('2007-12-31 16:28:22','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:28:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50369,50016,TO_DATE('2007-12-31 16:28:23','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:28:23','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50370,50016,TO_DATE('2007-12-31 16:28:23','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:28:23','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50371,50016,TO_DATE('2007-12-31 16:28:24','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:28:24','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50372,50016,TO_DATE('2007-12-31 16:28:24','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:28:24','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50373,50016,TO_DATE('2007-12-31 16:28:25','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:28:25','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50374,50016,TO_DATE('2007-12-31 16:28:25','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:28:25','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50375,50016,TO_DATE('2007-12-31 16:28:25','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:28:25','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50376,50016,TO_DATE('2007-12-31 16:28:26','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:28:26','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50377,50016,TO_DATE('2007-12-31 16:28:26','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:28:26','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50378,50016,TO_DATE('2007-12-31 16:28:27','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:28:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50379,50016,TO_DATE('2007-12-31 16:28:27','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:28:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50380,50016,TO_DATE('2007-12-31 16:28:28','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:28:28','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50381,50016,TO_DATE('2007-12-31 16:28:28','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:28:28','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50382,50016,TO_DATE('2007-12-31 16:28:29','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:28:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50383,50016,TO_DATE('2007-12-31 16:28:29','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:28:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50384,50016,TO_DATE('2007-12-31 16:28:29','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:28:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50385,50016,TO_DATE('2007-12-31 16:28:30','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:28:30','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50386,50016,TO_DATE('2007-12-31 16:28:30','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:28:30','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50387,50016,TO_DATE('2007-12-31 16:28:31','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:28:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50388,50016,TO_DATE('2007-12-31 16:28:31','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:28:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50389,50016,TO_DATE('2007-12-31 16:28:32','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:28:32','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50390,50016,TO_DATE('2007-12-31 16:28:33','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:28:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50017,50001,TO_DATE('2007-12-31 16:28:33','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-06-30','YYYY-MM-DD'),'Y','Jun-08',6,'S','N',TO_DATE('2008-06-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:28:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50391,50017,TO_DATE('2007-12-31 16:28:33','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:28:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50392,50017,TO_DATE('2007-12-31 16:28:34','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:28:34','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50393,50017,TO_DATE('2007-12-31 16:28:35','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:28:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50394,50017,TO_DATE('2007-12-31 16:28:35','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:28:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50395,50017,TO_DATE('2007-12-31 16:28:36','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:28:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50396,50017,TO_DATE('2007-12-31 16:28:36','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:28:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50397,50017,TO_DATE('2007-12-31 16:28:37','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:28:37','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50398,50017,TO_DATE('2007-12-31 16:28:37','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:28:37','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50399,50017,TO_DATE('2007-12-31 16:28:38','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:28:38','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50400,50017,TO_DATE('2007-12-31 16:28:38','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:28:38','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50401,50017,TO_DATE('2007-12-31 16:28:39','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:28:39','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50402,50017,TO_DATE('2007-12-31 16:28:39','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:28:39','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50403,50017,TO_DATE('2007-12-31 16:28:40','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:28:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50404,50017,TO_DATE('2007-12-31 16:28:41','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:28:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50405,50017,TO_DATE('2007-12-31 16:28:41','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:28:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50406,50017,TO_DATE('2007-12-31 16:28:42','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:28:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50407,50017,TO_DATE('2007-12-31 16:28:42','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:28:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50408,50017,TO_DATE('2007-12-31 16:28:42','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:28:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50409,50017,TO_DATE('2007-12-31 16:28:43','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:28:43','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50410,50017,TO_DATE('2007-12-31 16:28:43','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:28:43','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50411,50017,TO_DATE('2007-12-31 16:28:44','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:28:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50412,50017,TO_DATE('2007-12-31 16:28:44','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:28:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50413,50017,TO_DATE('2007-12-31 16:28:45','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:28:45','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50018,50001,TO_DATE('2007-12-31 16:28:46','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-07-31','YYYY-MM-DD'),'Y','Jul-08',7,'S','N',TO_DATE('2008-07-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:28:46','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50414,50018,TO_DATE('2007-12-31 16:28:46','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:28:46','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50415,50018,TO_DATE('2007-12-31 16:28:47','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:28:47','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50416,50018,TO_DATE('2007-12-31 16:28:47','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:28:47','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50417,50018,TO_DATE('2007-12-31 16:28:47','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:28:47','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50418,50018,TO_DATE('2007-12-31 16:28:48','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:28:48','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50419,50018,TO_DATE('2007-12-31 16:28:48','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:28:48','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50420,50018,TO_DATE('2007-12-31 16:28:49','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:28:49','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50421,50018,TO_DATE('2007-12-31 16:28:49','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:28:49','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50422,50018,TO_DATE('2007-12-31 16:28:50','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:28:50','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50423,50018,TO_DATE('2007-12-31 16:28:51','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:28:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50424,50018,TO_DATE('2007-12-31 16:28:52','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:28:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50425,50018,TO_DATE('2007-12-31 16:28:52','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:28:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50426,50018,TO_DATE('2007-12-31 16:28:53','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:28:53','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50427,50018,TO_DATE('2007-12-31 16:28:53','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:28:53','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50428,50018,TO_DATE('2007-12-31 16:28:54','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:28:54','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50429,50018,TO_DATE('2007-12-31 16:28:54','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:28:54','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50430,50018,TO_DATE('2007-12-31 16:28:55','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:28:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50431,50018,TO_DATE('2007-12-31 16:28:55','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:28:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50432,50018,TO_DATE('2007-12-31 16:28:55','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:28:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50433,50018,TO_DATE('2007-12-31 16:28:56','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:28:56','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50434,50018,TO_DATE('2007-12-31 16:28:56','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:28:56','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50435,50018,TO_DATE('2007-12-31 16:28:57','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:28:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50436,50018,TO_DATE('2007-12-31 16:28:57','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:28:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50019,50001,TO_DATE('2007-12-31 16:28:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-08-31','YYYY-MM-DD'),'Y','Aug-08',8,'S','N',TO_DATE('2008-08-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:28:58','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50437,50019,TO_DATE('2007-12-31 16:28:58','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:28:58','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50438,50019,TO_DATE('2007-12-31 16:28:58','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:28:58','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50439,50019,TO_DATE('2007-12-31 16:28:59','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:28:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50440,50019,TO_DATE('2007-12-31 16:28:59','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:28:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50441,50019,TO_DATE('2007-12-31 16:29:00','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:29:00','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50442,50019,TO_DATE('2007-12-31 16:29:00','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:29:00','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50443,50019,TO_DATE('2007-12-31 16:29:01','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:29:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50444,50019,TO_DATE('2007-12-31 16:29:01','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:29:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50445,50019,TO_DATE('2007-12-31 16:29:02','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:29:02','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50446,50019,TO_DATE('2007-12-31 16:29:02','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:29:02','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50447,50019,TO_DATE('2007-12-31 16:29:03','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:29:03','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50448,50019,TO_DATE('2007-12-31 16:29:03','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:29:03','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50449,50019,TO_DATE('2007-12-31 16:29:03','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:29:03','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50450,50019,TO_DATE('2007-12-31 16:29:04','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:29:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50451,50019,TO_DATE('2007-12-31 16:29:04','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:29:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50452,50019,TO_DATE('2007-12-31 16:29:05','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:29:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50453,50019,TO_DATE('2007-12-31 16:29:05','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:29:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50454,50019,TO_DATE('2007-12-31 16:29:06','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:29:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50455,50019,TO_DATE('2007-12-31 16:29:09','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:29:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50456,50019,TO_DATE('2007-12-31 16:29:10','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:29:10','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50457,50019,TO_DATE('2007-12-31 16:29:11','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:29:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50458,50019,TO_DATE('2007-12-31 16:29:11','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:29:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50459,50019,TO_DATE('2007-12-31 16:29:12','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:29:12','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50020,50001,TO_DATE('2007-12-31 16:29:12','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-09-30','YYYY-MM-DD'),'Y','Sep-08',9,'S','N',TO_DATE('2008-09-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:29:12','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50460,50020,TO_DATE('2007-12-31 16:29:13','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:29:13','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50461,50020,TO_DATE('2007-12-31 16:29:14','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:29:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50462,50020,TO_DATE('2007-12-31 16:29:15','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:29:15','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50463,50020,TO_DATE('2007-12-31 16:29:15','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:29:15','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50464,50020,TO_DATE('2007-12-31 16:29:16','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:29:16','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50465,50020,TO_DATE('2007-12-31 16:29:16','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:29:16','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50466,50020,TO_DATE('2007-12-31 16:29:16','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:29:16','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50467,50020,TO_DATE('2007-12-31 16:29:17','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:29:17','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50468,50020,TO_DATE('2007-12-31 16:29:17','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:29:17','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50469,50020,TO_DATE('2007-12-31 16:29:18','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:29:18','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50470,50020,TO_DATE('2007-12-31 16:29:18','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:29:18','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50471,50020,TO_DATE('2007-12-31 16:29:19','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:29:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50472,50020,TO_DATE('2007-12-31 16:29:20','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:29:20','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50473,50020,TO_DATE('2007-12-31 16:29:20','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:29:20','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50474,50020,TO_DATE('2007-12-31 16:29:21','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:29:21','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50475,50020,TO_DATE('2007-12-31 16:29:21','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:29:21','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50476,50020,TO_DATE('2007-12-31 16:29:22','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:29:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50477,50020,TO_DATE('2007-12-31 16:29:22','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:29:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50478,50020,TO_DATE('2007-12-31 16:29:22','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:29:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50479,50020,TO_DATE('2007-12-31 16:29:23','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:29:23','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50480,50020,TO_DATE('2007-12-31 16:29:23','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:29:23','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50481,50020,TO_DATE('2007-12-31 16:29:24','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:29:24','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50482,50020,TO_DATE('2007-12-31 16:29:24','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:29:24','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50021,50001,TO_DATE('2007-12-31 16:29:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-10-31','YYYY-MM-DD'),'Y','Oct-08',10,'S','N',TO_DATE('2008-10-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:29:25','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50483,50021,TO_DATE('2007-12-31 16:29:25','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:29:25','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50484,50021,TO_DATE('2007-12-31 16:29:26','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:29:26','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50485,50021,TO_DATE('2007-12-31 16:29:26','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:29:26','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50486,50021,TO_DATE('2007-12-31 16:29:26','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:29:26','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50487,50021,TO_DATE('2007-12-31 16:29:27','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:29:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50488,50021,TO_DATE('2007-12-31 16:29:27','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:29:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50489,50021,TO_DATE('2007-12-31 16:29:28','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:29:28','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50490,50021,TO_DATE('2007-12-31 16:29:28','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:29:28','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50491,50021,TO_DATE('2007-12-31 16:29:29','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:29:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50492,50021,TO_DATE('2007-12-31 16:29:30','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:29:30','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50493,50021,TO_DATE('2007-12-31 16:29:30','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:29:30','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50494,50021,TO_DATE('2007-12-31 16:29:31','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:29:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50495,50021,TO_DATE('2007-12-31 16:29:31','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:29:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50496,50021,TO_DATE('2007-12-31 16:29:32','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:29:32','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50497,50021,TO_DATE('2007-12-31 16:29:32','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:29:32','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50498,50021,TO_DATE('2007-12-31 16:29:33','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:29:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50499,50021,TO_DATE('2007-12-31 16:29:33','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:29:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50500,50021,TO_DATE('2007-12-31 16:29:34','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:29:34','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50501,50021,TO_DATE('2007-12-31 16:29:34','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:29:34','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50502,50021,TO_DATE('2007-12-31 16:29:35','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:29:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50503,50021,TO_DATE('2007-12-31 16:29:35','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:29:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50504,50021,TO_DATE('2007-12-31 16:29:36','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:29:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50505,50021,TO_DATE('2007-12-31 16:29:36','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:29:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50022,50001,TO_DATE('2007-12-31 16:29:37','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-11-30','YYYY-MM-DD'),'Y','Nov-08',11,'S','N',TO_DATE('2008-11-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:29:37','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50506,50022,TO_DATE('2007-12-31 16:29:37','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:29:37','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50507,50022,TO_DATE('2007-12-31 16:29:38','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:29:38','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50508,50022,TO_DATE('2007-12-31 16:29:38','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:29:38','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50509,50022,TO_DATE('2007-12-31 16:29:39','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:29:39','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50510,50022,TO_DATE('2007-12-31 16:29:39','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:29:39','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50511,50022,TO_DATE('2007-12-31 16:29:39','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:29:39','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50512,50022,TO_DATE('2007-12-31 16:29:40','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:29:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50513,50022,TO_DATE('2007-12-31 16:29:40','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:29:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50514,50022,TO_DATE('2007-12-31 16:29:41','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:29:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50515,50022,TO_DATE('2007-12-31 16:29:41','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:29:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50516,50022,TO_DATE('2007-12-31 16:29:42','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:29:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50517,50022,TO_DATE('2007-12-31 16:29:42','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:29:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50518,50022,TO_DATE('2007-12-31 16:29:43','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:29:43','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50519,50022,TO_DATE('2007-12-31 16:29:43','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:29:43','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50520,50022,TO_DATE('2007-12-31 16:29:44','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:29:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50521,50022,TO_DATE('2007-12-31 16:29:44','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:29:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50522,50022,TO_DATE('2007-12-31 16:29:44','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:29:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50523,50022,TO_DATE('2007-12-31 16:29:45','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:29:45','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50524,50022,TO_DATE('2007-12-31 16:29:46','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:29:46','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50525,50022,TO_DATE('2007-12-31 16:29:47','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:29:47','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50526,50022,TO_DATE('2007-12-31 16:29:48','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:29:48','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50527,50022,TO_DATE('2007-12-31 16:29:49','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:29:49','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50528,50022,TO_DATE('2007-12-31 16:29:50','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:29:50','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_Period (AD_Client_ID,AD_Org_ID,C_Period_ID,C_Year_ID,Created,CreatedBy,EndDate,IsActive,Name,PeriodNo,PeriodType,Processing,StartDate,Updated,UpdatedBy) VALUES (11,0,50023,50001,TO_DATE('2007-12-31 16:29:50','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2008-12-31','YYYY-MM-DD'),'Y','Dec-08',12,'S','N',TO_DATE('2008-12-01','YYYY-MM-DD'),TO_DATE('2007-12-31 16:29:50','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50529,50023,TO_DATE('2007-12-31 16:29:51','YYYY-MM-DD HH24:MI:SS'),100,'APC','Y','N','N','N',TO_DATE('2007-12-31 16:29:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50530,50023,TO_DATE('2007-12-31 16:29:53','YYYY-MM-DD HH24:MI:SS'),100,'API','Y','N','N','N',TO_DATE('2007-12-31 16:29:53','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50531,50023,TO_DATE('2007-12-31 16:29:53','YYYY-MM-DD HH24:MI:SS'),100,'APP','Y','N','N','N',TO_DATE('2007-12-31 16:29:53','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50532,50023,TO_DATE('2007-12-31 16:29:54','YYYY-MM-DD HH24:MI:SS'),100,'ARC','Y','N','N','N',TO_DATE('2007-12-31 16:29:54','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50533,50023,TO_DATE('2007-12-31 16:29:55','YYYY-MM-DD HH24:MI:SS'),100,'ARI','Y','N','N','N',TO_DATE('2007-12-31 16:29:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50534,50023,TO_DATE('2007-12-31 16:29:55','YYYY-MM-DD HH24:MI:SS'),100,'ARF','Y','N','N','N',TO_DATE('2007-12-31 16:29:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50535,50023,TO_DATE('2007-12-31 16:29:59','YYYY-MM-DD HH24:MI:SS'),100,'ARR','Y','N','N','N',TO_DATE('2007-12-31 16:29:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50536,50023,TO_DATE('2007-12-31 16:30:02','YYYY-MM-DD HH24:MI:SS'),100,'CMB','Y','N','N','N',TO_DATE('2007-12-31 16:30:02','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50537,50023,TO_DATE('2007-12-31 16:30:03','YYYY-MM-DD HH24:MI:SS'),100,'CMC','Y','N','N','N',TO_DATE('2007-12-31 16:30:03','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50538,50023,TO_DATE('2007-12-31 16:30:03','YYYY-MM-DD HH24:MI:SS'),100,'GLD','Y','N','N','N',TO_DATE('2007-12-31 16:30:03','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50539,50023,TO_DATE('2007-12-31 16:30:04','YYYY-MM-DD HH24:MI:SS'),100,'GLJ','Y','N','N','N',TO_DATE('2007-12-31 16:30:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50540,50023,TO_DATE('2007-12-31 16:30:04','YYYY-MM-DD HH24:MI:SS'),100,'MMR','Y','N','N','N',TO_DATE('2007-12-31 16:30:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50541,50023,TO_DATE('2007-12-31 16:30:05','YYYY-MM-DD HH24:MI:SS'),100,'MMS','Y','N','N','N',TO_DATE('2007-12-31 16:30:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50542,50023,TO_DATE('2007-12-31 16:30:06','YYYY-MM-DD HH24:MI:SS'),100,'MXI','Y','N','N','N',TO_DATE('2007-12-31 16:30:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50543,50023,TO_DATE('2007-12-31 16:30:06','YYYY-MM-DD HH24:MI:SS'),100,'MXP','Y','N','N','N',TO_DATE('2007-12-31 16:30:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50544,50023,TO_DATE('2007-12-31 16:30:08','YYYY-MM-DD HH24:MI:SS'),100,'MMM','Y','N','N','N',TO_DATE('2007-12-31 16:30:08','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50545,50023,TO_DATE('2007-12-31 16:30:09','YYYY-MM-DD HH24:MI:SS'),100,'MMI','Y','N','N','N',TO_DATE('2007-12-31 16:30:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50546,50023,TO_DATE('2007-12-31 16:30:09','YYYY-MM-DD HH24:MI:SS'),100,'MMP','Y','N','N','N',TO_DATE('2007-12-31 16:30:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50547,50023,TO_DATE('2007-12-31 16:30:10','YYYY-MM-DD HH24:MI:SS'),100,'SOO','Y','N','N','N',TO_DATE('2007-12-31 16:30:10','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50548,50023,TO_DATE('2007-12-31 16:30:11','YYYY-MM-DD HH24:MI:SS'),100,'CMA','Y','N','N','N',TO_DATE('2007-12-31 16:30:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50549,50023,TO_DATE('2007-12-31 16:30:11','YYYY-MM-DD HH24:MI:SS'),100,'PJI','Y','N','N','N',TO_DATE('2007-12-31 16:30:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50550,50023,TO_DATE('2007-12-31 16:30:12','YYYY-MM-DD HH24:MI:SS'),100,'POO','Y','N','N','N',TO_DATE('2007-12-31 16:30:12','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO C_PeriodControl (AD_Client_ID,AD_Org_ID,C_PeriodControl_ID,C_Period_ID,Created,CreatedBy,DocBaseType,IsActive,PeriodAction,PeriodStatus,Processing,Updated,UpdatedBy) VALUES (11,0,50551,50023,TO_DATE('2007-12-31 16:30:12','YYYY-MM-DD HH24:MI:SS'),100,'POR','Y','N','N','N',TO_DATE('2007-12-31 16:30:12','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- Jan 3, 2008 6:21:50 PM COT
|
||||||
|
-- 1863640 - Window View Allocation is showing Post button
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@Processed@=Y & @#ShowAcct@=Y',Updated=TO_DATE('2008-01-03 18:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10430
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
-- Jan 3, 2008 6:15:05 PM COT
|
||||||
|
-- Beautify window [ 1782412 ] Add Document Action Access Functionality
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53247
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53244
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53246
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53241
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2008-01-03 18:15:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53242
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLength=20, IsSameLine='Y',Updated=TO_DATE('2008-01-03 18:15:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53245
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2008-01-03 18:16:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53247
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2008-01-03 18:16:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53244
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2008-01-03 18:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53246
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
-- [ 1866222 ] Wrong default dictionary entry for C_CashBook.C_Currency_ID
|
||||||
|
UPDATE AD_COLUMN SET defaultvalue = NULL
|
||||||
|
WHERE ad_column_id = 5521;
|
|
@ -0,0 +1,198 @@
|
||||||
|
-- Jan 7, 2008 9:37:36 PM COT
|
||||||
|
-- 1866483 - Jasper on Financial Reports
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,54091,50064,0,18,400,445,'JasperProcess_ID',TO_DATE('2008-01-07 21:37:34','YYYY-MM-DD HH24:MI:SS'),100,'The Jasper Process used by the printengine if any process defined','D',22,'Y','N','N','N','N','N','N','N','N','N','Y','Jasper Process',0,TO_DATE('2008-01-07 21:37:34','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54091 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE PA_Report ADD JasperProcess_ID NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53323,0,'JasperProcessing',TO_DATE('2008-01-07 21:40:17','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Jasper Process Now','Jasper Process Now',TO_DATE('2008-01-07 21:40:17','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53323 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53063,'3','org.compiere.report.FinReportJasper',TO_DATE('2008-01-07 21:41:49','YYYY-MM-DD HH24:MI:SS'),100,'Create Financial Report (Jasper)','D','The default period is the current period. You can optionally enter other restrictions. You can select an alternative Reporting Hierarchy.','Y','N','N','N','N','Create Report (Jasper)','Y',0,0,TO_DATE('2008-01-07 21:41:49','YYYY-MM-DD HH24:MI:SS'),100,'FinReportJasper')
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53063 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53063,0,TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53063,102,TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53063,103,TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53063,50001,TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-01-07 21:41:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,54092,53323,0,53063,28,445,'JasperProcessing',TO_DATE('2008-01-07 21:42:27','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Jasper Process Now',0,TO_DATE('2008-01-07 21:42:27','YYYY-MM-DD HH24:MI:SS'),100,1)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54092 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2008-01-07 21:43:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54092
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Jasper Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=54092 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE PA_Report ADD JasperProcessing CHAR(1)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,206,0,53063,53114,18,275,217,'C_Period_ID',TO_DATE('2008-01-07 21:44:40','YYYY-MM-DD HH24:MI:SS'),100,'Period of the Calendar','D',0,'The Period indicates an exclusive range of dates for a calendar.','Y','Y','N','N','Period',10,TO_DATE('2008-01-07 21:44:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53114 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,479,0,53063,53115,18,322,'Org_ID',TO_DATE('2008-01-07 21:45:09','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','D',0,'An organization is a unit of your client or legal entity - examples are store, department.','Y','Y','N','N','Organization',20,TO_DATE('2008-01-07 21:45:09','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53115 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,187,0,53063,53116,19,'C_BPartner_ID',TO_DATE('2008-01-07 21:45:39','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','D',0,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','N','N','Business Partner ',30,TO_DATE('2008-01-07 21:45:39','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53116 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53063,53117,19,'M_Product_ID',TO_DATE('2008-01-07 21:46:05','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','D',0,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',40,TO_DATE('2008-01-07 21:46:05','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53117 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,208,0,53063,53118,19,'C_Project_ID',TO_DATE('2008-01-07 21:47:04','YYYY-MM-DD HH24:MI:SS'),100,'Financial Project','D',0,'A Project allows you to track and control internal or external activities.','Y','Y','N','N','Project',50,TO_DATE('2008-01-07 21:47:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53118 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1005,0,53063,53119,19,'C_Activity_ID',TO_DATE('2008-01-07 21:47:41','YYYY-MM-DD HH24:MI:SS'),100,'Business Activity','D',0,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','N','N','Activity',60,TO_DATE('2008-01-07 21:47:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53119 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,210,0,53063,53120,19,'C_SalesRegion_ID',TO_DATE('2008-01-07 21:48:11','YYYY-MM-DD HH24:MI:SS'),100,'Sales coverage region','D',0,'The Sales Region indicates a specific area of sales coverage.','Y','Y','N','N','Sales Region',70,TO_DATE('2008-01-07 21:48:11','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53120 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,550,0,53063,53121,19,'C_Campaign_ID',TO_DATE('2008-01-07 21:48:35','YYYY-MM-DD HH24:MI:SS'),100,'Marketing Campaign','D',0,'The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.','Y','Y','N','N','Campaign',80,TO_DATE('2008-01-07 21:48:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53121 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53063,53122,20,'DetailsSourceFirst',TO_DATE('2008-01-07 21:49:04','YYYY-MM-DD HH24:MI:SS'),100,'Details and Sources are printed before the Line','D',0,'Y','Y','N','N','Details/Source First',90,TO_DATE('2008-01-07 21:49:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53122 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2344,0,53063,53123,20,'UpdateBalances',TO_DATE('2008-01-07 21:49:52','YYYY-MM-DD HH24:MI:SS'),100,'Y','Update Accounting Balances first (not required for subsequent runs)','D',0,'Y','Y','Y','N','Update Balances',100,TO_DATE('2008-01-07 21:49:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53123 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2868,0,53063,53124,19,'PA_Hierarchy_ID',TO_DATE('2008-01-07 21:50:22','YYYY-MM-DD HH24:MI:SS'),100,'Optional Reporting Hierarchy - If not selected the default hierarchy trees are used.','D',0,'Reporting Hierarchy allows you to select different Hierarchies/Trees for the report.
|
||||||
|
Accounting Segments like Organization, Account, Product may have several hierarchies to accomodate different views on the business.','Y','Y','N','N','Reporting Hierarchy',110,TO_DATE('2008-01-07 21:50:22','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53124 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54091,54234,0,372,TO_DATE('2008-01-07 21:51:00','YYYY-MM-DD HH24:MI:SS'),100,'The Jasper Process used by the printengine if any process defined',22,'D','Y','Y','Y','N','N','N','N','N','Jasper Process',TO_DATE('2008-01-07 21:51:00','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54234 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54092,54235,0,372,TO_DATE('2008-01-07 21:51:02','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Jasper Process Now',TO_DATE('2008-01-07 21:51:02','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54235 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4731
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=4732
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=4733
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=6263
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=6264
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=4739
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=4734
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=4738
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=4735
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=4736
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=54234
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=6265
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@JasperProcess_ID@=0',Updated=TO_DATE('2008-01-07 21:52:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4737
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@JasperProcess_ID@>0',Updated=TO_DATE('2008-01-07 21:53:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET DisplayLength=23,Updated=TO_DATE('2008-01-07 21:55:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Create Report (Jasper)',Updated=TO_DATE('2008-01-07 21:55:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Description='Create Financial Report (Jasper)',Updated=TO_DATE('2008-01-07 21:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Help='The default period is the current period. You can optionally enter other restrictions. You can select an alternative Reporting Hierarchy.',Updated=TO_DATE('2008-01-07 21:55:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET AD_FieldGroup_ID=114,Updated=TO_DATE('2008-01-07 21:55:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54235
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
-- Jan 8, 2008 7:04:17 PM COT
|
||||||
|
-- [ 1851188 ] Missing ModelValidator must fail client to start
|
||||||
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53324,0,'IsFailOnMissingModelValidator',TO_DATE('2008-01-08 19:04:14','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D',NULL,'Y','Fail on Missing Model Validator','Fail on Missing Model Validator',TO_DATE('2008-01-08 19:04:14','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53324 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,54093,53324,0,20,531,'IsFailOnMissingModelValidator',TO_DATE('2008-01-08 19:04:46','YYYY-MM-DD HH24:MI:SS'),0,'Y','D',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Fail on Missing Model Validator',0,TO_DATE('2008-01-08 19:04:46','YYYY-MM-DD HH24:MI:SS'),0,1.000000000000)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54093 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE AD_System ADD IsFailOnMissingModelValidator CHAR(1) DEFAULT 'Y' CHECK (IsFailOnMissingModelValidator IN ('Y','N')) NOT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54093,54236,0,440,TO_DATE('2008-01-08 19:08:25','YYYY-MM-DD HH24:MI:SS'),0,1,'D','Y','Y','Y','N','N','N','N','N','Fail on Missing Model Validator',235,0,TO_DATE('2008-01-08 19:08:25','YYYY-MM-DD HH24:MI:SS'),0)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54236 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
-- Jan 8, 2008 8:30:01 PM COT
|
||||||
|
-- 1853645 - Priority for model validator
|
||||||
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,54094,566,0,11,53014,'SeqNo',TO_DATE('2008-01-08 20:29:58','YYYY-MM-DD HH24:MI:SS'),100,'Method of ordering records; lowest number comes first','D',22,'The Sequence indicates the order of records','Y','N','N','N','N','N','N','N','N','N','Y','Sequence',0,TO_DATE('2008-01-08 20:29:58','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54094 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE AD_ModelValidator ADD SeqNo NUMBER(10)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54094,54237,0,53014,TO_DATE('2008-01-08 20:30:35','YYYY-MM-DD HH24:MI:SS'),100,'Method of ordering records; lowest number comes first',22,'D','The Sequence indicates the order of records','Y','Y','Y','N','N','N','N','N','Sequence',TO_DATE('2008-01-08 20:30:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||||
|
;
|
||||||
|
|
||||||
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54237 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53278
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54237
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53277
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-01-08 20:31:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53272
|
||||||
|
;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,2 @@
|
||||||
|
-- [ 1871741 ] Collapse grid as default
|
||||||
|
UPDATE AD_FieldGroup SET FieldGroupType = 'C' WHERE FieldGroupType IS NULL;
|
|
@ -0,0 +1,623 @@
|
||||||
|
-- Jan 15, 2008 12:26:33 AM COT
|
||||||
|
-- FR 1871740 - Menu reorg for new windows
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=225
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=261
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=148
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=529
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=397
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=531
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=530
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=532
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53084
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=225
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=261
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=148
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=529
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=397
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=531
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=530
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=532
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53084
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=460
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=301
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=129
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=543
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=407
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=406
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=335
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=436
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=507
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=195
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=194
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=445
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=472
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=448
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=449
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=492
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=491
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=419
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu SET Name='Web POS',Updated=TO_DATE('2008-01-15 00:28:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window SET Name='Web POS BlackListCheque',Updated=TO_DATE('2008-01-15 00:29:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu SET Description='Black Listed Cheque', IsActive='Y', Name='Web POS BlackListCheque',Updated=TO_DATE('2008-01-15 00:29:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52005
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52005
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window SET Name='Web POS Properties',Updated=TO_DATE('2008-01-15 00:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu SET Description='Stores the message tags to be picked up from AD_MESSAGE ', IsActive='Y', Name='Web POS Properties',Updated=TO_DATE('2008-01-15 00:29:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52004
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52004
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window SET Name='Web POS Role Menu',Updated=TO_DATE('2008-01-15 00:29:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu SET Description='Depending on Which Role, Different set of Menus are generated and made available.', IsActive='Y', Name='Web POS Role Menu',Updated=TO_DATE('2008-01-15 00:29:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window SET Name='Web POS Menu',Updated=TO_DATE('2008-01-15 00:30:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52000
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52000
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu SET Description='To dynamically generate the menu links in posterita', IsActive='Y', Name='Web POS Menu',Updated=TO_DATE('2008-01-15 00:30:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window SET Description='To dynamically generate the menu links in web POS',Updated=TO_DATE('2008-01-15 00:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=52000
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=52000
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu SET Description='To dynamically generate the menu links in web POS', IsActive='Y', Name='Web POS Menu',Updated=TO_DATE('2008-01-15 00:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=52040
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=52043
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=52044
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=52042
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table SET Name='Black List Cheque',Updated=TO_DATE('2008-01-15 00:36:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52000
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52000
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Black List Cheque', PrintName='Black List Cheque',Updated=TO_DATE('2008-01-15 00:36:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='U_BlackListCheque_ID', Name='Black List Cheque', Description=NULL, Help=NULL WHERE AD_Element_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Black List Cheque', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52001) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_BlackListCheque_ID', Name='Black List Cheque', Description=NULL, Help=NULL, AD_Element_ID=52001 WHERE UPPER(ColumnName)='U_BLACKLISTCHEQUE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_BlackListCheque_ID', Name='Black List Cheque', Description=NULL, Help=NULL WHERE AD_Element_ID=52001 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Black List Cheque', Name='Black List Cheque' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52001)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Black List Cheque', Name='Black List Cheque' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52001)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Role Menu', PrintName='Role Menu',Updated=TO_DATE('2008-01-15 00:36:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52007
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52007
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='U_RoleMenu_ID', Name='Role Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52007
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Role Menu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52007) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_RoleMenu_ID', Name='Role Menu', Description=NULL, Help=NULL, AD_Element_ID=52007 WHERE UPPER(ColumnName)='U_ROLEMENU_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_RoleMenu_ID', Name='Role Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52007 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Role Menu', Name='Role Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52007)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Role Menu', Name='Role Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52007)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table SET Name='Role Menu',Updated=TO_DATE('2008-01-15 00:36:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Web Menu', PrintName='Web Menu',Updated=TO_DATE('2008-01-15 00:37:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52008
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52008
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='U_WebMenu_ID', Name='Web Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52008
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Web Menu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52008) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_WebMenu_ID', Name='Web Menu', Description=NULL, Help=NULL, AD_Element_ID=52008 WHERE UPPER(ColumnName)='U_WEBMENU_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_WebMenu_ID', Name='Web Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52008 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Web Menu', Name='Web Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52008)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Web Menu', Name='Web Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52008)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table SET Name='Web Menu',Updated=TO_DATE('2008-01-15 00:37:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Parent Menu', PrintName='Parent Menu',Updated=TO_DATE('2008-01-15 00:37:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52011
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52011
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='ParentMenu_ID', Name='Parent Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52011
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Parent Menu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52011) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ParentMenu_ID', Name='Parent Menu', Description=NULL, Help=NULL, AD_Element_ID=52011 WHERE UPPER(ColumnName)='PARENTMENU_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ParentMenu_ID', Name='Parent Menu', Description=NULL, Help=NULL WHERE AD_Element_ID=52011 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Parent Menu', Name='Parent Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52011)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Parent Menu', Name='Parent Menu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52011)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Has SubMenu', PrintName='Has SubMenu',Updated=TO_DATE('2008-01-15 00:38:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52012
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52012
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='HasSubMenu', Name='Has SubMenu', Description=NULL, Help=NULL WHERE AD_Element_ID=52012
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Has SubMenu', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52012) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='HasSubMenu', Name='Has SubMenu', Description=NULL, Help=NULL, AD_Element_ID=52012 WHERE UPPER(ColumnName)='HASSUBMENU' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='HasSubMenu', Name='Has SubMenu', Description=NULL, Help=NULL WHERE AD_Element_ID=52012 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Has SubMenu', Name='Has SubMenu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52012)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Has SubMenu', Name='Has SubMenu' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52012)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Image Link', PrintName='Image Link',Updated=TO_DATE('2008-01-15 00:38:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52013
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52013
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='ImageLink', Name='Image Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52013
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Image Link', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52013) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ImageLink', Name='Image Link', Description=NULL, Help=NULL, AD_Element_ID=52013 WHERE UPPER(ColumnName)='IMAGELINK' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ImageLink', Name='Image Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52013 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Image Link', Name='Image Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52013)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Image Link', Name='Image Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52013)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Menu Link', PrintName='Menu Link',Updated=TO_DATE('2008-01-15 00:38:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52009
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52009
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='MenuLink', Name='Menu Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52009
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Menu Link', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52009) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='MenuLink', Name='Menu Link', Description=NULL, Help=NULL, AD_Element_ID=52009 WHERE UPPER(ColumnName)='MENULINK' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='MenuLink', Name='Menu Link', Description=NULL, Help=NULL WHERE AD_Element_ID=52009 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Menu Link', Name='Menu Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52009)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Menu Link', Name='Menu Link' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52009)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Bank Name', PrintName='Bank Name',Updated=TO_DATE('2008-01-15 00:38:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='BankName', Name='Bank Name', Description=NULL, Help=NULL WHERE AD_Element_ID=52002
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Bank Name', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52002) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='BankName', Name='Bank Name', Description=NULL, Help=NULL, AD_Element_ID=52002 WHERE UPPER(ColumnName)='BANKNAME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='BankName', Name='Bank Name', Description=NULL, Help=NULL WHERE AD_Element_ID=52002 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Bank Name', Name='Bank Name' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52002)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Bank Name', Name='Bank Name' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52002)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Cheque No', PrintName='Cheque No',Updated=TO_DATE('2008-01-15 00:39:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='ChequeNo', Name='Cheque No', Description=NULL, Help=NULL WHERE AD_Element_ID=52003
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Cheque No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52003) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ChequeNo', Name='Cheque No', Description=NULL, Help=NULL, AD_Element_ID=52003 WHERE UPPER(ColumnName)='CHEQUENO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='ChequeNo', Name='Cheque No', Description=NULL, Help=NULL WHERE AD_Element_ID=52003 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Cheque No', Name='Cheque No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52003)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Cheque No', Name='Cheque No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52003)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Key', PrintName='Key',Updated=TO_DATE('2008-01-15 00:39:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52005
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52005
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='U_Key', Name='Key', Description=NULL, Help=NULL WHERE AD_Element_ID=52005
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Key', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52005) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_Key', Name='Key', Description=NULL, Help=NULL, AD_Element_ID=52005 WHERE UPPER(ColumnName)='U_KEY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_Key', Name='Key', Description=NULL, Help=NULL WHERE AD_Element_ID=52005 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Key', Name='Key' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52005)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Key', Name='Key' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52005)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Value', PrintName='Value',Updated=TO_DATE('2008-01-15 00:39:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52006
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52006
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='U_Value', Name='Value', Description=NULL, Help=NULL WHERE AD_Element_ID=52006
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52006) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_Value', Name='Value', Description=NULL, Help=NULL, AD_Element_ID=52006 WHERE UPPER(ColumnName)='U_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_Value', Name='Value', Description=NULL, Help=NULL WHERE AD_Element_ID=52006 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Value', Name='Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52006)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Value', Name='Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52006)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element SET Name='Web Properties', PrintName='Web Properties',Updated=TO_DATE('2008-01-15 00:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52004
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52004
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Column SET ColumnName='U_Web_Properties_ID', Name='Web Properties', Description=NULL, Help=NULL WHERE AD_Element_ID=52004
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Field SET Name='Web Properties', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=52004) AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_Web_Properties_ID', Name='Web Properties', Description=NULL, Help=NULL, AD_Element_ID=52004 WHERE UPPER(ColumnName)='U_WEB_PROPERTIES_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Process_Para SET ColumnName='U_Web_Properties_ID', Name='Web Properties', Description=NULL, Help=NULL WHERE AD_Element_ID=52004 AND IsCentrallyMaintained='Y'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Web Properties', Name='Web Properties' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52004)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_PrintFormatItem pi SET PrintName='Web Properties', Name='Web Properties' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=52004)
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table SET Name='Web Properties',Updated=TO_DATE('2008-01-15 00:40:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=52001
|
||||||
|
;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue