[ FR 2432892 ] Re-org of migration directory
This commit is contained in:
parent
7a75e02680
commit
c911714949
|
@ -1,19 +0,0 @@
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
|
||||||
createdby, updated, updatedby, VALUE,
|
|
||||||
msgtext, msgtip, msgtype, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50007, 0, 0, 'Y', TO_DATE ('12-02-2007', 'DD-MM-RRRR'),
|
|
||||||
0, TO_DATE ('12-02-2007', 'DD-MM-RRRR'), 0, 'Charset',
|
|
||||||
'Charset', 'Charset used for import / export', 'I', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
|
||||||
FROM ad_message
|
|
||||||
WHERE ad_message_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Message';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,18 +0,0 @@
|
||||||
INSERT INTO ad_message_trl
|
|
||||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
|
||||||
istranslated)
|
|
||||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
|
||||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
|
||||||
'N'
|
|
||||||
FROM ad_message m, ad_language lang
|
|
||||||
WHERE m.ad_message_id = 50007
|
|
||||||
AND lang.issystemlanguage = 'Y'
|
|
||||||
AND lang.isbaselanguage = 'N'
|
|
||||||
AND NOT EXISTS (
|
|
||||||
SELECT *
|
|
||||||
FROM ad_message_trl m2
|
|
||||||
WHERE m2.ad_message_id = m.ad_message_id
|
|
||||||
AND m2.ad_language = lang.ad_language);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,127 +0,0 @@
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50040, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'CopyColumnsFromTable', 'D', 'Copy Columns From Table',
|
|
||||||
'Copy Columns From Table'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process
|
|
||||||
(ad_process_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
VALUE, NAME,
|
|
||||||
description,
|
|
||||||
accesslevel, entitytype, isreport, isdirectprint, classname,
|
|
||||||
statistic_count, statistic_seconds, isbetafunctionality,
|
|
||||||
isserverprocess, showhelp
|
|
||||||
)
|
|
||||||
VALUES (50011, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:35:07', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:35:48', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'AD_Table_CopyColumnsFromTable', 'Copy Columns from Table',
|
|
||||||
'Create Dictionary Columns for a Table taking another as base',
|
|
||||||
'4', 'D', 'N', 'N', 'org.compiere.process.CopyColumnsFromTable',
|
|
||||||
2, 6, 'N',
|
|
||||||
'N', 'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
ad_element_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50005, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:39:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:43:06', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Table', 'Database Table information',
|
|
||||||
'The Database Table provides the information of the table definition',
|
|
||||||
50011, 10, 19, 'AD_Table_ID',
|
|
||||||
'Y', 0, 'Y', 'N',
|
|
||||||
126, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, ad_process_id, issyncdatabase,
|
|
||||||
isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (50183, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:46:03', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/13/2007 23:46:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Copy Columns from Table', 'Copy Columns from Table', 1,
|
|
||||||
'D', 'CopyColumnsFromTable', 100, 28,
|
|
||||||
1, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50040, 50011, 'N',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50157, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:56:24', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:56:24', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Copy Columns from Table', 'Copy Columns from Table', 'Y', 100,
|
|
||||||
50183, 'Y', 1, '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_process_id) + 1
|
|
||||||
FROM ad_process
|
|
||||||
WHERE ad_process_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Process';
|
|
||||||
|
|
||||||
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_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 ;
|
|
||||||
|
|
||||||
ALTER TABLE ad_table ADD copycolumnsfromtable VARCHAR(1);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,69 +0,0 @@
|
||||||
INSERT INTO ad_element_trl
|
|
||||||
(ad_element_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, printname, istranslated
|
|
||||||
)
|
|
||||||
VALUES (50040, 'es_MX', 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:31:53', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Copia Columnas desde Tabla', 'Copia Columnas desde Tabla', 'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_trl
|
|
||||||
(ad_process_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME,
|
|
||||||
description,
|
|
||||||
istranslated
|
|
||||||
)
|
|
||||||
VALUES (50011, 'es_MX', 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:35:07', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:35:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Copiar Columnas desde Tabla',
|
|
||||||
'Crear columnas del diccionario para una tabla tomando otra como base',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para_trl
|
|
||||||
(ad_process_para_id, ad_language, ad_client_id, ad_org_id,
|
|
||||||
isactive, created,
|
|
||||||
createdby, updated,
|
|
||||||
updatedby, NAME, description,
|
|
||||||
HELP,
|
|
||||||
istranslated
|
|
||||||
)
|
|
||||||
VALUES (50005, 'es_MX', 0, 0,
|
|
||||||
'Y', TO_DATE ('02/13/2007 23:39:09', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
100, TO_DATE ('02/13/2007 23:43:32', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
100, 'Tabla', 'Información de tabla de la base de datos',
|
|
||||||
'La tabla de la base de datos provee información sobre definición de la tabla',
|
|
||||||
'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_column_trl
|
|
||||||
(ad_column_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, istranslated
|
|
||||||
)
|
|
||||||
VALUES (50183, 'es_MX', 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:46:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:46:22', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Copiar Columnas de Tabla', 'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_field_trl
|
|
||||||
(ad_field_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, istranslated
|
|
||||||
)
|
|
||||||
VALUES (50157, 'es_MX', 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/13/2007 23:56:24', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/13/2007 23:57:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Copiar Columnas desde Tabla', 'Copiar Columnas desde Tabla', 'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,13 +0,0 @@
|
||||||
UPDATE ad_process
|
|
||||||
SET classname = 'org.adempiere.pipo.PackRoll'
|
|
||||||
WHERE classname = 'org.compiere.PackOut.PackRoll';
|
|
||||||
|
|
||||||
UPDATE ad_process
|
|
||||||
SET classname = 'org.adempiere.pipo.PackOut'
|
|
||||||
WHERE classname = 'org.compiere.PackOut.PackOut';
|
|
||||||
|
|
||||||
UPDATE ad_process
|
|
||||||
SET classname = 'org.adempiere.pipo.PackIn'
|
|
||||||
WHERE classname = 'org.compiere.PackOut.IntPackIn';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,48 +0,0 @@
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
|
||||||
createdby, updated, updatedby, VALUE,
|
|
||||||
msgtext, msgtip, msgtype, entitytype
|
|
||||||
)
|
|
||||||
values (
|
|
||||||
50008,0,0,'Y',to_date('26-02-2007','DD-MM-RRRR'),
|
|
||||||
0,to_date('26-02-2007','DD-MM-RRRR'),0,'ImplementationVendor',
|
|
||||||
'Implementation Vendor',null,'I','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 (
|
|
||||||
50009,0,0,'Y',to_date('26-02-2007','DD-MM-RRRR'),
|
|
||||||
0,to_date('26-02-2007','DD-MM-RRRR'),0,'ImplementationVersion',
|
|
||||||
'Implementation Version',null,'I','D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message_trl
|
|
||||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
|
||||||
istranslated)
|
|
||||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
|
||||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
|
||||||
'N'
|
|
||||||
FROM ad_message m, ad_language lang
|
|
||||||
WHERE m.ad_message_id in (50008, 50009)
|
|
||||||
AND lang.issystemlanguage = 'Y'
|
|
||||||
AND lang.isbaselanguage = 'N'
|
|
||||||
AND NOT EXISTS (
|
|
||||||
SELECT *
|
|
||||||
FROM ad_message_trl m2
|
|
||||||
WHERE m2.ad_message_id = m.ad_message_id
|
|
||||||
AND m2.ad_language = lang.ad_language);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
|
||||||
FROM ad_message
|
|
||||||
WHERE ad_message_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Message';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,248 +0,0 @@
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50041, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'StoreAttachmentsOnFileSystem', 'D', 'Store Attachments On File System',
|
|
||||||
'Store Attachments On File System'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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 (50184, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Store Attachments On File System', 'Store Attachments On File System', 1,
|
|
||||||
'D', 'StoreAttachmentsOnFileSystem', 112, 20,
|
|
||||||
1, 'N', 'N', 'Y', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50041, 'org.compiere.model.CalloutClient.storeAttachmentOnFileSystem', 'N',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_field
|
|
||||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, iscentrallymaintained, seqno, ad_tab_id,
|
|
||||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50158, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Store Attachments On File System', 'Store Attachments On File System', 'Y', 220, 145,
|
|
||||||
50184, 'Y', 1, 'N',
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50042, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'WindowsAttachmentPath', 'D', 'Windows Attachment Path',
|
|
||||||
'Windows Attachment Path'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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 (50185, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Windows Attachment Path', 'Windows Attachment Path - If you change this value make sure to copy the attachments to the new path!',
|
|
||||||
'Path of the Adempiere attachments in the file system. If you change this value make sure to copy the attachments to the new path!', 1,
|
|
||||||
'D', 'WindowsAttachmentPath', 112, 10,
|
|
||||||
255, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50042, '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 (50159, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Windows Attachment Path', 'Windows Attachment Path',
|
|
||||||
'If you change this value make sure to copy the attachments to the new path!',
|
|
||||||
'Y', 230, 145,
|
|
||||||
50185, 'Y', 1, 'N',
|
|
||||||
'N', 'N', 'N', 'N', 'D','@StoreAttachmentsOnFileSystem@=''Y'''
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50043, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'UnixAttachmentPath', 'D', 'Unix Attachment Path',
|
|
||||||
'Unix Attachment Path'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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 (50186, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Unix Attachment Path', 'Unix Attachment Path - If you change this value make sure to copy the attachments to the new path!',
|
|
||||||
'Path of the Adempiere attachments in the file system. If you change this value make sure to copy the attachments to the new path!', 1,
|
|
||||||
'D', 'UnixAttachmentPath', 112, 10,
|
|
||||||
255, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50043, '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 (50160, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Unix Attachment Path', 'Unix Attachment Path',
|
|
||||||
'If you change this value make sure to copy the attachments to the new path!',
|
|
||||||
'Y', 240 ,145,
|
|
||||||
50186, 'Y', 1, 'N',
|
|
||||||
'Y', 'N', 'N', 'N', 'D','@StoreAttachmentsOnFileSystem@=''Y'''
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
value, msgtext, msgtype
|
|
||||||
)
|
|
||||||
VALUES (50010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'StoreAttachmentWarning',
|
|
||||||
'If you change the attachment storage method, the old attachments are no longer available to your client.','I'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
value, msgtext, msgtype
|
|
||||||
)
|
|
||||||
VALUES (50011, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'AttachmentPathWarning','Make sure to copy the attachments to the new path!','I'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message_trl
|
|
||||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
|
||||||
istranslated)
|
|
||||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
|
||||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
|
||||||
'N'
|
|
||||||
FROM ad_message m, ad_language lang
|
|
||||||
WHERE m.ad_message_id in (50010, 50011)
|
|
||||||
AND lang.issystemlanguage = 'Y'
|
|
||||||
AND lang.isbaselanguage = 'N'
|
|
||||||
AND NOT EXISTS (
|
|
||||||
SELECT *
|
|
||||||
FROM ad_message_trl m2
|
|
||||||
WHERE m2.ad_message_id = m.ad_message_id
|
|
||||||
AND m2.ad_language = lang.ad_language);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
||||||
|
|
||||||
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';
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
|
||||||
FROM ad_message
|
|
||||||
WHERE ad_message_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Message';
|
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE ad_client ADD StoreAttachmentsOnFilesystem CHAR(1) DEFAULT 'N' NOT NULL;
|
|
||||||
ALTER TABLE ad_client ADD WindowsAttachmentPath VARCHAR(255);
|
|
||||||
ALTER TABLE ad_client ADD UnixAttachmentPath VARCHAR(255);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,97 +0,0 @@
|
||||||
DROP TABLE tire_storage;
|
|
||||||
|
|
||||||
DELETE FROM ad_treenodemm
|
|
||||||
WHERE node_id = 226;
|
|
||||||
|
|
||||||
DELETE FROM ad_menu_trl
|
|
||||||
WHERE ad_menu_id = 226;
|
|
||||||
|
|
||||||
DELETE FROM ad_menu
|
|
||||||
WHERE ad_menu_id = 226;
|
|
||||||
|
|
||||||
DELETE FROM ad_field_trl
|
|
||||||
WHERE ad_field_id IN (SELECT ad_field_id
|
|
||||||
FROM ad_field
|
|
||||||
WHERE ad_tab_id = 318);
|
|
||||||
|
|
||||||
DELETE FROM ad_field
|
|
||||||
WHERE ad_tab_id = 318;
|
|
||||||
|
|
||||||
DELETE FROM ad_tab_trl
|
|
||||||
WHERE ad_tab_id = 318;
|
|
||||||
|
|
||||||
DELETE FROM ad_tab
|
|
||||||
WHERE ad_tab_id = 318;
|
|
||||||
|
|
||||||
DELETE FROM ad_window_access
|
|
||||||
WHERE ad_window_id = 190;
|
|
||||||
|
|
||||||
DELETE FROM ad_window_trl
|
|
||||||
WHERE ad_window_id = 190;
|
|
||||||
|
|
||||||
DELETE FROM ad_window
|
|
||||||
WHERE ad_window_id = 190;
|
|
||||||
|
|
||||||
DELETE FROM ad_process_trl
|
|
||||||
WHERE ad_process_id = 160;
|
|
||||||
|
|
||||||
DELETE FROM ad_process
|
|
||||||
WHERE ad_process_id = 160;
|
|
||||||
|
|
||||||
DELETE FROM ad_reportview
|
|
||||||
WHERE ad_reportview_id = 121;
|
|
||||||
|
|
||||||
DELETE FROM ad_column_trl
|
|
||||||
WHERE ad_column_id IN (SELECT ad_column_id
|
|
||||||
FROM ad_column
|
|
||||||
WHERE ad_table_id = 384);
|
|
||||||
|
|
||||||
DELETE FROM ad_column
|
|
||||||
WHERE ad_table_id = 384;
|
|
||||||
|
|
||||||
DELETE FROM ad_table_trl
|
|
||||||
WHERE ad_table_id = 384;
|
|
||||||
|
|
||||||
DELETE FROM ad_table
|
|
||||||
WHERE ad_table_id = 384;
|
|
||||||
|
|
||||||
DELETE FROM ad_element_trl
|
|
||||||
WHERE ad_element_id IN
|
|
||||||
(1527,
|
|
||||||
1325,
|
|
||||||
1333,
|
|
||||||
1339,
|
|
||||||
1330,
|
|
||||||
1340,
|
|
||||||
1331,
|
|
||||||
1337,
|
|
||||||
1335,
|
|
||||||
1327,
|
|
||||||
1336,
|
|
||||||
1332,
|
|
||||||
1334,
|
|
||||||
1328,
|
|
||||||
1338
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
DELETE FROM ad_element
|
|
||||||
WHERE ad_element_id IN
|
|
||||||
(1527,
|
|
||||||
1325,
|
|
||||||
1333,
|
|
||||||
1339,
|
|
||||||
1330,
|
|
||||||
1340,
|
|
||||||
1331,
|
|
||||||
1337,
|
|
||||||
1335,
|
|
||||||
1327,
|
|
||||||
1336,
|
|
||||||
1332,
|
|
||||||
1334,
|
|
||||||
1328,
|
|
||||||
1338
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,566 +0,0 @@
|
||||||
|
|
||||||
CREATE TABLE ad_sysconfig
|
|
||||||
(
|
|
||||||
ad_sysconfig_id NUMERIC(10) NOT NULL,
|
|
||||||
ad_client_id NUMERIC(10) NOT NULL,
|
|
||||||
ad_org_id NUMERIC(10) NOT NULL,
|
|
||||||
created TIMESTAMP NOT NULL,
|
|
||||||
updated TIMESTAMP NOT NULL,
|
|
||||||
createdby NUMERIC(10) NOT NULL,
|
|
||||||
updatedby NUMERIC(10) NOT NULL,
|
|
||||||
isactive CHAR(1) DEFAULT 'Y' NOT NULL,
|
|
||||||
NAME VARCHAR(50) NOT NULL,
|
|
||||||
VALUE VARCHAR(255) NOT NULL,
|
|
||||||
description VARCHAR(255)
|
|
||||||
);
|
|
||||||
|
|
||||||
ALTER TABLE ad_sysconfig ADD
|
|
||||||
CHECK (isactive IN ('Y','N'));
|
|
||||||
|
|
||||||
ALTER TABLE ad_sysconfig ADD
|
|
||||||
CONSTRAINT ad_sysconfig_key PRIMARY KEY (ad_sysconfig_id);
|
|
||||||
|
|
||||||
INSERT INTO ad_window
|
|
||||||
(ad_window_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, windowtype, issotrx, entitytype, processing, isdefault,
|
|
||||||
winheight, winwidth, isbetafunctionality
|
|
||||||
)
|
|
||||||
VALUES (50006, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'System Configurator', 'M', 'Y', 'D', 'N', 'N',
|
|
||||||
0, 0, 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_window_access
|
|
||||||
(ad_window_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
isreadwrite
|
|
||||||
)
|
|
||||||
VALUES (50006, 102, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 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 (50006, 50001, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 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 (50006, 0, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 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 (50006, 103, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_table
|
|
||||||
(ad_table_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, tablename, isview, accesslevel, entitytype, ad_window_id,
|
|
||||||
loadseq, issecurityenabled, isdeleteable, ishighvolume,
|
|
||||||
importtable, ischangelog, replicationtype, copycolumnsfromtable
|
|
||||||
)
|
|
||||||
VALUES (50009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:41:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'System Configurator', 'AD_SysConfig', 'N', '6', 'D', 50006,
|
|
||||||
0, 'N', 'Y', 'Y',
|
|
||||||
'N', 'N', 'L', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_sequence
|
|
||||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, isautosequence, incrementno, startno,
|
|
||||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
|
||||||
)
|
|
||||||
VALUES (50009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:41:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'AD_SysConfig', 'Table AD_SysConfig', 'Y', 1, 1000000,
|
|
||||||
1000000, 50000, 'N', 'Y', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50044, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'AD_SysConfig_ID', 'D', 'System Configurator',
|
|
||||||
'System Configurator'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (50187, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:27', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:06', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'System Configurator', 0, 'D', 'AD_SysConfig_ID', 50009,
|
|
||||||
13, 10, 'Y', 'N', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
'N', 50044, 'N',
|
|
||||||
'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 (50188, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:42:05', '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', 50009, 19,
|
|
||||||
10, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
102, 'N', '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 (50189, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:42:08', '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', 50009, 19,
|
|
||||||
10, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
113, 'N', '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 (50190, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:21', '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', 50009, 16,
|
|
||||||
7, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
245, 'N', '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 (50191, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:40', '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', 50009, 16,
|
|
||||||
7, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
607, 'N', '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, fieldlength, iskey, isparent,
|
|
||||||
ismandatory, isupdateable, isidentifier, istranslated,
|
|
||||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
|
||||||
isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (50192, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:25', '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', 50009, 18,
|
|
||||||
110, 10, 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 'N', 246, 'N',
|
|
||||||
'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, seqno, istranslated, isencrypted,
|
|
||||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
|
||||||
isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (50195, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:38', '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', 50009, 10,
|
|
||||||
100, 'N', 'N', 'Y', 'Y',
|
|
||||||
'Y', 1, 'N', 'N',
|
|
||||||
'N', 469, 'N',
|
|
||||||
'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, fieldlength, iskey, isparent,
|
|
||||||
ismandatory, isupdateable, isidentifier, istranslated,
|
|
||||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
|
||||||
isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (50193, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:41', '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', 50009, 18,
|
|
||||||
110, 10, 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 'N', 608, 'N',
|
|
||||||
'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 (50194, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:36', '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', 50009, 20,
|
|
||||||
1, 'N', 'N', 'Y', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
348, 'N', '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 (50196, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:30', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Search Key',
|
|
||||||
'Search key for the record in the format required - must be unique',
|
|
||||||
'A search key allows you a fast method of finding a particular record.
|
|
||||||
|
|
||||||
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).',
|
|
||||||
0, 'D', 'Value', 50009, 10,
|
|
||||||
255, 'N', 'N', 'Y', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
620, 'N', '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 (50197, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:41:30', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 01:43:33', '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', 50009, 10, 255, 'N',
|
|
||||||
'N', 'N', 'Y', 'N', 'N',
|
|
||||||
'N', 'N', 275, 'N',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_tab
|
|
||||||
(ad_tab_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_table_id, ad_window_id, seqno, tablevel, issinglerow,
|
|
||||||
isinfotab, istranslationtab, isreadonly, hastree, processing,
|
|
||||||
importfields, issorttab, entitytype, isinsertrecord,
|
|
||||||
isadvancedtab
|
|
||||||
)
|
|
||||||
VALUES (50009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:45:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:45:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'System Configurator', 50009, 50006, 10, 0, 'N',
|
|
||||||
'N', 'N', 'N', 'N', 'N',
|
|
||||||
'N', 'N', 'D', '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, isdisplayed,
|
|
||||||
displaylength, isreadonly, seqno, issameline, isheading,
|
|
||||||
isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50162, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:01', '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', 50009, 50188, 'Y',
|
|
||||||
10, 'N', 10, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, issameline, isheading,
|
|
||||||
isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50161, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:01', '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', 50009, 50194, 'Y',
|
|
||||||
1, 'N', 60, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, issameline, isheading,
|
|
||||||
isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50166, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Search Key',
|
|
||||||
'Search key for the record in the format required - must be unique',
|
|
||||||
'A search key allows you a fast method of finding a particular record.
|
|
||||||
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).',
|
|
||||||
'Y', 50009, 50196, 'Y',
|
|
||||||
255, 'N', 30, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50163, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Description', 'Optional short description of the record',
|
|
||||||
'A description is limited to 255 characters.', 'Y', 50009,
|
|
||||||
50197, 'Y', 255, 'N', 50,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, issameline, isheading,
|
|
||||||
isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50165, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:29', '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', 50009, 50189, 'Y',
|
|
||||||
10, 'N', 20, 'Y', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, issameline, isheading,
|
|
||||||
isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50164, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', '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', 50009, 50195, 'Y',
|
|
||||||
100, 'N', 40, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, issameline,
|
|
||||||
isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50167, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'System Configurator', 'Y', 50009, 50187,
|
|
||||||
'N', 10, 'N', 0, 'N',
|
|
||||||
'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_menu
|
|
||||||
(ad_menu_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated,
|
|
||||||
NAME, updatedby, issummary, issotrx, isreadonly, action,
|
|
||||||
ad_window_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50008, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:54', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 01:46:54', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
'System Configurator', 100, 'N', 'N', 'N', 'W',
|
|
||||||
50006, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, 50008, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 01:46:53', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
|
||||||
TO_DATE ('02/28/2007 01:47:50', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
|
||||||
161, 17
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
||||||
|
|
|
@ -1,590 +0,0 @@
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_account CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_asset CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_bpartner CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_cashjournal CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_inout CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_invoice CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_order CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_payment CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_product CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_resource CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
ALTER TABLE ad_role ADD
|
|
||||||
allow_info_schedule CHAR(1) DEFAULT 'Y';
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50045, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:24:32', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Account', 'D', 'Allow Info Account',
|
|
||||||
'Allow Info Account'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50047, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:29:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_BPartner', 'D', 'Allow Info BPartner',
|
|
||||||
'Allow Info BPartner'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME, printname
|
|
||||||
)
|
|
||||||
VALUES (50046, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:27:15', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Asset', 'D', 'Allow Info Asset', 'Allow Info Asset'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME, printname
|
|
||||||
)
|
|
||||||
VALUES (50051, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:31:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Order', 'D', 'Allow Info Order', 'Allow Info Order'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50052, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:32:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Payment', 'D', 'Allow Info Payment',
|
|
||||||
'Allow Info Payment'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50053, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:32:15', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Product', 'D', 'Allow Info Product',
|
|
||||||
'Allow Info Product'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50054, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:32:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Resource', 'D', 'Allow Info Resource',
|
|
||||||
'Allow Info Resource'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50055, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:32:46', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Schedule', 'D', 'Allow Info Schedule',
|
|
||||||
'Allow Info Schedule'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME, printname
|
|
||||||
)
|
|
||||||
VALUES (50049, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:31:13', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_InOut', 'D', 'Allow Info InOut', 'Allow Info InOut'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50048, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:30:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_CashJournal', 'D', 'Allow Info CashJournal',
|
|
||||||
'Allow Info CashJournal'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50050, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow_Info_Invoice', 'D', 'Allow Info Invoice',
|
|
||||||
'Allow Info Invoice'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (50198, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:26:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Account', 0, 'D', 'Allow_Info_Account', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50045, 'N',
|
|
||||||
'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 (50200, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:30:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info BPartner', 0, 'D', 'Allow_Info_BPartner', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50047, 'N',
|
|
||||||
'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 (50199, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:28:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Asset', 0, 'D', 'Allow_Info_Asset', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50046, 'N',
|
|
||||||
'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 (50204, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Order', 0, 'D', 'Allow_Info_Order', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50051, 'N',
|
|
||||||
'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 (50205, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:21', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Payment', 0, 'D', 'Allow_Info_Payment', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50052, 'N',
|
|
||||||
'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 (50206, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:22', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Product', 0, 'D', 'Allow_Info_Product', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50053, 'N',
|
|
||||||
'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 (50207, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:26', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Resource', 0, 'D', 'Allow_Info_Resource', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50054, 'N',
|
|
||||||
'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 (50208, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:27', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Schedule', 0, 'D', 'Allow_Info_Schedule', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50055, 'N',
|
|
||||||
'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 (50202, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:16', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info InOut', 0, 'D', 'Allow_Info_InOut', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50049, 'N',
|
|
||||||
'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 (50201, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:14', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info CashJournal', 0, 'D', 'Allow_Info_CashJournal',
|
|
||||||
156, 20, 1, 'N', 'N',
|
|
||||||
'N', 'Y', 'N', 'N',
|
|
||||||
'N', 'N', 50048, 'N',
|
|
||||||
'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 (50203, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/28/2007 02:33:19', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Allow Info Invoice', 0, 'D', 'Allow_Info_Invoice', 156,
|
|
||||||
20, 1, 'N', 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 50050, 'N',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_fieldgroup
|
|
||||||
(ad_fieldgroup_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50000, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:35:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:35:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info In Role', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50168, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:37:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Account', 'Y', 119, 50198,
|
|
||||||
50000, 'Y', 1, 'N', 270,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50170, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:35:31', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info BPartner', 'Y', 119, 50200,
|
|
||||||
50000, 'Y', 1, 'N', 290,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50169, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:37:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Asset', 'Y', 119, 50199,
|
|
||||||
50000, 'Y', 1, 'N', 280,
|
|
||||||
'Y', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50174, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:37:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Order', 'Y', 119, 50204,
|
|
||||||
50000, 'Y', 1, 'N', 330,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50175, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:35:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Payment', 'Y', 119, 50205,
|
|
||||||
50000, 'Y', 1, 'N', 340,
|
|
||||||
'Y', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50176, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:36:06', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Product', 'Y', 119, 50206,
|
|
||||||
50000, 'Y', 1, 'N', 350,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50177, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:37:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Resource', 'Y', 119, 50207,
|
|
||||||
50000, 'Y', 1, 'N', 360,
|
|
||||||
'Y', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50178, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:36:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Schedule', 'Y', 119, 50208,
|
|
||||||
50000, 'Y', 1, 'N', 370,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50172, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:37:42', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info InOut', 'Y', 119, 50202,
|
|
||||||
50000, 'Y', 1, 'N', 310,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50171, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:37:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info CashJournal', 'Y', 119, 50201,
|
|
||||||
50000, 'Y', 1, 'N', 300,
|
|
||||||
'Y', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50173, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:35:34', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Allow Info Invoice', 'Y', 119, 50203,
|
|
||||||
50000, 'Y', 1, 'N', 320,
|
|
||||||
'Y', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,323 +0,0 @@
|
||||||
INSERT INTO ad_process
|
|
||||||
(ad_process_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
VALUE, NAME, accesslevel, entitytype,
|
|
||||||
isreport, isdirectprint, classname, statistic_count,
|
|
||||||
statistic_seconds, isbetafunctionality, isserverprocess, showhelp
|
|
||||||
)
|
|
||||||
VALUES (50012, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Request EMail Processor', 'Request EMail Processor', '3', 'D',
|
|
||||||
'N', 'N', 'org.compiere.process.RequestEMailProcessor', 0,
|
|
||||||
0, 'N', 'N', 'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_access
|
|
||||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
isreadwrite
|
|
||||||
)
|
|
||||||
VALUES (50012, 0, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_access
|
|
||||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
isreadwrite
|
|
||||||
)
|
|
||||||
VALUES (50012, 50001, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_access
|
|
||||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
isreadwrite
|
|
||||||
)
|
|
||||||
VALUES (50012, 103, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_access
|
|
||||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
isreadwrite
|
|
||||||
)
|
|
||||||
VALUES (50012, 102, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50006, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:59:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:11:16', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'IMAP Host', 50012, 10, 10, 'p_IMAPHost',
|
|
||||||
'Y', 60, 'Y', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50007, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:59:22', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:11:32', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'IMAP User', 50012, 20, 10, 'p_IMAPUser',
|
|
||||||
'Y', 60, 'Y', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50008, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 02:59:34', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:11:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'IMAP Password', 50012, 30, 10, 'p_IMAPPwd',
|
|
||||||
'Y', 60, 'Y', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:00:31', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:11:48', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Request Folder', 50012, 40, 10, 'p_RequestFolder',
|
|
||||||
'Y', 60, 'Y', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:01:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:11:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Inbox Folder', 50012, 50, 10, 'p_InboxFolder',
|
|
||||||
'Y', 60, 'Y', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50011, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:01:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:12:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Error Folder', 50012, 60, 10, 'p_ErrorFolder',
|
|
||||||
'Y', 60, 'Y', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50012, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:02:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:12:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Business Partner', 'Identifies a Business Partner',
|
|
||||||
'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson',
|
|
||||||
50012, 70, 30, 'C_BPartner_ID',
|
|
||||||
'Y', 10, 'N', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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_val_rule_id,
|
|
||||||
columnname, iscentrallymaintained, fieldlength, ismandatory,
|
|
||||||
isrange, defaultvalue, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50013, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:02:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:12:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'User/Contact',
|
|
||||||
'User within the system - Internal or Business Partner Contact',
|
|
||||||
'The User identifies a unique user in the system. This could be an internal user or a business partner contact',
|
|
||||||
50012, 80, 19, 123,
|
|
||||||
'AD_User_ID', 'Y', 10, 'N',
|
|
||||||
'N', '-1', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
defaultvalue, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50014, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:03:31', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:12:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Role', 'Responsibility Role',
|
|
||||||
'The Role determines security and access a user who has this Role will have in the System.',
|
|
||||||
50012, 90, 19, 'AD_Role_ID',
|
|
||||||
'Y', 10, 'N', 'N',
|
|
||||||
'-1', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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,
|
|
||||||
columnname, iscentrallymaintained, fieldlength, ismandatory,
|
|
||||||
isrange, defaultvalue, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50015, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:03:54', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:12:35', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Sales Representative', 'Sales Representative or Company Agent',
|
|
||||||
'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.',
|
|
||||||
50012, 100, 18, 286,
|
|
||||||
'SalesRep_ID', 'Y', 10, 'N',
|
|
||||||
'N', '@AD_User_ID@', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50016, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:06:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:12:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Request Type', 'Type of request (e.g. Inquiry, Complaint, ..)',
|
|
||||||
'Request Types are used for processing and categorizing requests. Options are Account Inquiry, Warranty Issue, etc.',
|
|
||||||
50012, 110, 19, 'R_RequestType_ID',
|
|
||||||
'Y', 10, 'N', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, ad_process_id,
|
|
||||||
seqno, ad_reference_id, ad_reference_value_id, columnname,
|
|
||||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
|
||||||
entitytype
|
|
||||||
)
|
|
||||||
VALUES (50017, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:09:52', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:12:58', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'User Importance', 'Priority of the issue for the User', 50012,
|
|
||||||
120, 17, 154, 'p_DefaultPriority',
|
|
||||||
'Y', 1, 'N', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_process_para
|
|
||||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, ad_process_id, seqno, ad_reference_id,
|
|
||||||
ad_reference_value_id, columnname, iscentrallymaintained,
|
|
||||||
fieldlength, ismandatory, isrange, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50018, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:10:19', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:13:05', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Confidentiality', 'Type of Confidentiality', 50012, 130, 17,
|
|
||||||
340, 'p_DefaultConfidentiality', 'Y',
|
|
||||||
1, 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_menu
|
|
||||||
(ad_menu_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated,
|
|
||||||
NAME, updatedby, issummary, issotrx, isreadonly, action,
|
|
||||||
ad_process_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:14:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 03:14:03', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
'Request EMail Processor', 100, 'N', 'N', 'N', 'P',
|
|
||||||
50012, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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, 50009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 03:14:02', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
|
||||||
TO_DATE ('02/28/2007 03:14:10', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
|
||||||
456, 5
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,115 +0,0 @@
|
||||||
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
|
|
||||||
(50063,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_ErrorFolder','D','Error Folder','Error Folder',null,null,
|
|
||||||
null,null,null,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
|
|
||||||
(50062,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_RequestFolder','D','Request Folder','Request Folder',null,null,
|
|
||||||
null,null,null,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
|
|
||||||
(50061,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_DefaultPriority','D','User Importance','User Importance','Priority of the issue for the User',null,null,
|
|
||||||
null,null,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
|
|
||||||
(50060,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_IMAPHost','D','IMAP Host','IMAP Host',null,null,
|
|
||||||
null,null,null,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
|
|
||||||
(50059,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_IMAPPwd','D','IMAP Password','IMAP Password',null,null,
|
|
||||||
null,null,null,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
|
|
||||||
(50058,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_IMAPUser','D','IMAP User','IMAP User',null,null,
|
|
||||||
null,null,null,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 (
|
|
||||||
50057,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_DefaultConfidentiality','D','Confidentiality','Confidentiality','Type of Confidentiality',null,null,
|
|
||||||
null,null,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
|
|
||||||
(50056,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
|
||||||
'p_InboxFolder','D','Inbox Folder','Inbox Folder',null,null,
|
|
||||||
null,null,null,null
|
|
||||||
);
|
|
||||||
|
|
||||||
commit;
|
|
||||||
|
|
||||||
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_process_id) + 1
|
|
||||||
FROM ad_process
|
|
||||||
WHERE ad_process_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Process';
|
|
||||||
|
|
||||||
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_menu_id) + 1
|
|
||||||
FROM ad_menu
|
|
||||||
WHERE ad_menu_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Menu';
|
|
||||||
|
|
||||||
commit;
|
|
|
@ -1,106 +0,0 @@
|
||||||
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
|
|
||||||
(50064,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,
|
|
||||||
to_date('27.02.07','DD.MM.RR'),0,'JasperProcess_ID','D',
|
|
||||||
'Jasper Process','Jasper Process',
|
|
||||||
'The Jasper Process used by the printengine if any process defined'
|
|
||||||
,null,null,null,null,null);
|
|
||||||
|
|
||||||
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
|
|
||||||
(270,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
|
||||||
0,'AD_Process Jasper Reports',null,'S','AD_Process.JasperReport IS NOT NULL','D');
|
|
||||||
|
|
||||||
UPDATE AD_VAL_RULE
|
|
||||||
SET CODE = 'AD_Process.IsReport=''Y'' AND AD_Process.JasperReport IS NULL'
|
|
||||||
WHERE NAME = 'AD_Process Reports';
|
|
||||||
|
|
||||||
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
|
|
||||||
(400,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
|
||||||
0,'AD_Process_JasperReports',null,null,'T',null,'D');
|
|
||||||
|
|
||||||
Insert into AD_REF_TABLE
|
|
||||||
(AD_REFERENCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
|
||||||
UPDATED,UPDATEDBY,AD_TABLE_ID,AD_KEY,AD_DISPLAY,ISVALUEDISPLAYED,
|
|
||||||
WHERECLAUSE,ORDERBYCLAUSE,ENTITYTYPE)
|
|
||||||
values
|
|
||||||
(400,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
|
||||||
0,284,2801,2809,'N','AD_Process.JasperReport IS NOT 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
|
|
||||||
(50209,0,0,'Y',to_date('27.02.07','DD.MM.RR'),to_date('27.02.07','DD.MM.RR'),0,
|
|
||||||
0,'Jasper Process','The Jasper Process used by the printengine if any process defined',
|
|
||||||
null,1,'D','JasperProcess_ID',493,18,400,null,22,null,'N','N','N','Y',null,'N',0,'N',
|
|
||||||
'N',null,null,null,null,'N',50064,null,'N','N',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
|
|
||||||
(50179,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
|
||||||
0,'Jasper Process','The Jasper Process used by the printengine if any process defined',
|
|
||||||
null,'Y',425,50209,null,'Y',null,14,'N',195,0,'N','N','N','N','D',null,null,null);
|
|
||||||
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
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_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_reference_id) + 1
|
|
||||||
FROM ad_reference
|
|
||||||
WHERE ad_reference_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Reference';
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_reference_id) + 1
|
|
||||||
FROM ad_ref_table
|
|
||||||
WHERE ad_reference_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Ref_Table';
|
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
ALTER TABLE AD_PrintFormat ADD JasperProcess_ID NUMERIC(10);
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,6 +0,0 @@
|
||||||
UPDATE ad_system
|
|
||||||
SET releaseno = '315',
|
|
||||||
version = '2007-02-28'
|
|
||||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,5 +0,0 @@
|
||||||
UPDATE ad_entitytype
|
|
||||||
SET NAME = 'Applications'
|
|
||||||
WHERE entitytype = 'A';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,87 +0,0 @@
|
||||||
INSERT INTO ad_sequence
|
|
||||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME,
|
|
||||||
description, isautosequence, incrementno, startno,
|
|
||||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
|
||||||
)
|
|
||||||
VALUES (50014, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'DocumentNo_R_InterestArea',
|
|
||||||
'DocumentNo/Value for Table R_InterestArea', 'Y', 1, 1000000,
|
|
||||||
1000000, 50000, 'N', 'N', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_sequence
|
|
||||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME,
|
|
||||||
description, isautosequence, incrementno, startno,
|
|
||||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
|
||||||
)
|
|
||||||
VALUES (50013, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'DocumentNo_AD_SysConfig',
|
|
||||||
'DocumentNo/Value for Table AD_SysConfig', 'Y', 1, 1000000,
|
|
||||||
1000000, 50000, 'N', 'N', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_sequence
|
|
||||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME,
|
|
||||||
description, isautosequence, incrementno, startno,
|
|
||||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
|
||||||
)
|
|
||||||
VALUES (50012, 11, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'DocumentNo_AD_SysConfig',
|
|
||||||
'DocumentNo/Value for Table AD_SysConfig', 'Y', 1, 1000000,
|
|
||||||
1000000, 50000, 'N', 'N', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_sequence
|
|
||||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, isautosequence,
|
|
||||||
incrementno, startno, currentnext, currentnextsys, isaudited,
|
|
||||||
istableid, startnewyear
|
|
||||||
)
|
|
||||||
VALUES (50011, 11, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'DocumentNo_AD_User', 'DocumentNo/Value for Table AD_User', 'Y',
|
|
||||||
1, 1000000, 1000000, 50000, 'N',
|
|
||||||
'N', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_sequence
|
|
||||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME,
|
|
||||||
description, isautosequence, incrementno, startno,
|
|
||||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
|
||||||
)
|
|
||||||
VALUES (50010, 11, 0, 'Y',
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'DocumentNo_R_InterestArea',
|
|
||||||
'DocumentNo/Value for Table R_InterestArea', 'Y', 1, 1000000,
|
|
||||||
1000000, 50000, 'N', 'N', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_sequence_id) + 1
|
|
||||||
FROM ad_sequence
|
|
||||||
WHERE ad_sequence_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Sequence';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,9 +0,0 @@
|
||||||
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
|
|
||||||
(50040,0,0,'Y',to_date('02.03.07','DD.MM.RR'),0,to_date('02.03.07','DD.MM.RR'),
|
|
||||||
0,'S','Run silently - Take Defaults',null,50007,null,null,'D');
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,5 +0,0 @@
|
||||||
UPDATE ad_column
|
|
||||||
SET iskey = 'N'
|
|
||||||
WHERE ad_column_id = 203;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,2 +0,0 @@
|
||||||
UPDATE AD_Reference SET Name='C_Invoice InvoiceCollectionType' WHERE AD_Reference_ID=394;
|
|
||||||
commit;
|
|
|
@ -1,105 +0,0 @@
|
||||||
UPDATE ad_message_trl
|
|
||||||
SET msgtext = 'de'
|
|
||||||
WHERE ad_message_id = 620 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_process_trl
|
|
||||||
SET NAME = 'Crear Columnas desde BD'
|
|
||||||
WHERE ad_process_id = 173 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_field_trl
|
|
||||||
SET NAME = 'Crear Columnas desde BD'
|
|
||||||
WHERE ad_field_id = 5126 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_menu_trl
|
|
||||||
SET NAME = 'Factura de solicitud'
|
|
||||||
WHERE ad_menu_id = 535 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_element_trl
|
|
||||||
SET NAME = 'Dirección',
|
|
||||||
printname = 'Dirección',
|
|
||||||
description =
|
|
||||||
'Dirección de la Tarjeta de Crédito o el Poseedor de la cuenta'
|
|
||||||
WHERE ad_element_id = 1356 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_column_trl
|
|
||||||
SET NAME = 'Dirección'
|
|
||||||
WHERE ad_column_id = 5234 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_field_trl
|
|
||||||
SET NAME = 'Dirección',
|
|
||||||
description =
|
|
||||||
'Dirección de la Tarjeta de Crédito o el Poseedor de la cuenta'
|
|
||||||
WHERE ad_field_id = 4102 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_element_trl
|
|
||||||
SET NAME = 'Descripción del Contacto',
|
|
||||||
printname = 'Descripción del Contacto'
|
|
||||||
WHERE ad_element_id = 1907 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_field_trl
|
|
||||||
SET NAME = 'Descripción del Contacto'
|
|
||||||
WHERE ad_field_id = 5946 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_workflow_trl
|
|
||||||
SET NAME = 'Configuración de Replicación',
|
|
||||||
istranslated = 'Y',
|
|
||||||
description = 'Configuración de replicación de datos',
|
|
||||||
HELP =
|
|
||||||
'La replicación de datos le permite sincronizar datos de instancias remotas con una oficina central. Todas las acciones son inicializadas desde la oficina central.<p>
|
|
||||||
<b>Sistema Central:</b><br>
|
|
||||||
- configurar el sistema con todas las organizaciones, roles, etc.<br>
|
|
||||||
- correr la migración para asegurar que todo esté actualizado<br>
|
|
||||||
- exportar el sistema central
|
|
||||||
<p>
|
|
||||||
<b>Sistema Remoto:</b>
|
|
||||||
- instalar la versión exacta como en el sistema central<br>
|
|
||||||
- importar datos del sistema central en las localizaciones remotas
|
|
||||||
<p>
|
|
||||||
<b>Sistema Central:</b>
|
|
||||||
- Definir Replicación por cada Remoto<br>
|
|
||||||
- Asegurarse que el rango de IDs es único por remoto - de lo contrario se perderán transacciones!<br>
|
|
||||||
- Inicialmente empezar la corrida de replicación para fijar el Remoto
|
|
||||||
<p>
|
|
||||||
** Ingresar Transacciones **
|
|
||||||
<p>
|
|
||||||
<b>Sistema Central:</b><br>
|
|
||||||
- Empezar la corrida de replicación cuando se requiera'
|
|
||||||
WHERE ad_workflow_id = 109 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_menu_trl
|
|
||||||
SET NAME = 'Configuración de Replicación'
|
|
||||||
WHERE ad_menu_id = 395 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_wf_node_trl
|
|
||||||
SET HELP =
|
|
||||||
'Los usuarios pueden registrarse en el sistema y tener acceso a la funcionalidad via uno o más roles. Esto permite al usuario ser tratado como representante de ventas en el sistema.'
|
|
||||||
WHERE ad_wf_node_id = 140 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_menu_trl
|
|
||||||
SET NAME = 'Algoritmo Conciliación'
|
|
||||||
WHERE ad_menu_id = 437 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_window_trl
|
|
||||||
SET NAME = 'Algoritmo Conciliación'
|
|
||||||
WHERE ad_window_id = 302 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_element_trl
|
|
||||||
SET NAME = 'Contacto del menú',
|
|
||||||
printname = 'Contacto del menú'
|
|
||||||
WHERE ad_element_id = 2743 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_field_trl
|
|
||||||
SET NAME = 'Contacto del menú'
|
|
||||||
WHERE ad_field_id = 11559 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_menu_trl
|
|
||||||
SET NAME = 'País, Región y Ciudad',
|
|
||||||
description = 'Mantener países, regiones y ciudades'
|
|
||||||
WHERE ad_menu_id = 109 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
UPDATE ad_window_trl
|
|
||||||
SET NAME = 'País, Región y Ciudad',
|
|
||||||
description = 'Mantener países, regiones y ciudades'
|
|
||||||
WHERE ad_window_id = 122 AND ad_language = 'es_MX';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,32 +0,0 @@
|
||||||
CREATE OR REPLACE VIEW RV_STORAGE
|
|
||||||
(AD_CLIENT_ID, AD_ORG_ID, M_PRODUCT_ID, VALUE, NAME,
|
|
||||||
DESCRIPTION, UPC, SKU, C_UOM_ID, M_PRODUCT_CATEGORY_ID,
|
|
||||||
CLASSIFICATION, WEIGHT, VOLUME, VERSIONNO, GUARANTEEDAYS,
|
|
||||||
GUARANTEEDAYSMIN, M_LOCATOR_ID, M_WAREHOUSE_ID, X, Y,
|
|
||||||
Z, QTYONHAND, QTYRESERVED, QTYAVAILABLE, QTYORDERED,
|
|
||||||
DATELASTINVENTORY, M_ATTRIBUTESETINSTANCE_ID, M_ATTRIBUTESET_ID, SERNO, LOT,
|
|
||||||
M_LOT_ID, GUARANTEEDATE, SHELFLIFEDAYS, GOODFORDAYS, SHELFLIFEREMAININGPCT)
|
|
||||||
AS
|
|
||||||
SELECT s.AD_Client_ID, s.AD_Org_ID,
|
|
||||||
-- Product
|
|
||||||
s.M_Product_ID,p.Value,p.Name,p.Description,p.UPC,p.SKU,
|
|
||||||
p.C_UOM_ID,p.M_Product_Category_ID,p.Classification, p.Weight,p.Volume,p.VersionNo,
|
|
||||||
p.GuaranteeDays,p.GuaranteeDaysMin,
|
|
||||||
-- Locator
|
|
||||||
s.M_Locator_ID, l.M_Warehouse_ID, l.X, l.Y, l.Z,
|
|
||||||
-- Storage
|
|
||||||
s.QtyOnHand, s.QtyReserved, s.QtyOnHand-s.QtyReserved AS QtyAvailable,
|
|
||||||
s.QtyOrdered, s.DateLastInventory,
|
|
||||||
-- Instance
|
|
||||||
s.M_AttributeSetInstance_ID, asi.M_AttributeSet_ID, asi.SerNo, asi.Lot, asi.M_Lot_ID,
|
|
||||||
asi.GuaranteeDate, -- see PAttributeInstance.java
|
|
||||||
daysBetween(asi.GuaranteeDate,getdate()) AS ShelfLifeDays,
|
|
||||||
daysBetween(asi.GuaranteeDate,getdate())-p.GuaranteeDaysMin AS GoodForDays,
|
|
||||||
CASE WHEN COALESCE(p.GuaranteeDays,0)>0 THEN ROUND((daysBetween(asi.GuaranteeDate,getdate())/p.GuaranteeDays)*100,0) ELSE NULL END AS ShelfLifeRemainingPct
|
|
||||||
FROM M_Storage s
|
|
||||||
INNER JOIN M_Locator l ON (s.M_Locator_ID=l.M_Locator_ID)
|
|
||||||
INNER JOIN M_Product p ON (s.M_Product_ID=p.M_Product_ID)
|
|
||||||
LEFT OUTER JOIN M_AttributeSetInstance asi ON (s.M_AttributeSetInstance_ID=asi.M_AttributeSetInstance_ID);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
UPDATE AD_WINDOW
|
|
||||||
SET winheight = NULL,
|
|
||||||
winwidth = NULL
|
|
||||||
WHERE ad_window_id = 123;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +0,0 @@
|
||||||
UPDATE AD_SYSTEM
|
|
||||||
SET releaseno = '316',
|
|
||||||
VERSION = '2007-04-01'
|
|
||||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,148 +0,0 @@
|
||||||
-- ADD C_AcctSchema.IsAllowNegativePosting - postgres script
|
|
||||||
|
|
||||||
ALTER TABLE C_ACCTSCHEMA ADD COLUMN IsAllowNegativePosting CHAR(1) DEFAULT 'Y' CHECK (IsAllowNegativePosting IN ('Y','N'));
|
|
||||||
|
|
||||||
INSERT INTO AD_ELEMENT
|
|
||||||
(ad_org_id, ad_element_id, columnname,
|
|
||||||
created,
|
|
||||||
createdby, description, entitytype, isactive,
|
|
||||||
NAME, printname,
|
|
||||||
updated,
|
|
||||||
ad_client_id, updatedby
|
|
||||||
)
|
|
||||||
VALUES (0, 50065, 'IsAllowNegativePosting',
|
|
||||||
TO_TIMESTAMP ('2007-04-03 18:17:38', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
100, 'Allow to post negative accounting values', 'D', 'Y',
|
|
||||||
'Allow Negative Posting', 'Allow Negative Posting',
|
|
||||||
TO_TIMESTAMP ('2007-04-03 18:17:38', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
0, 100
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO AD_COLUMN
|
|
||||||
(ad_org_id, ad_element_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, ad_client_id, ad_column_id
|
|
||||||
)
|
|
||||||
VALUES (0, 50065, 20, 265,
|
|
||||||
'IsAllowNegativePosting',
|
|
||||||
TO_TIMESTAMP ('2007-04-03 18:20:00', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
100, 'Y', 'Allow to post negative accounting values', 'D', 1,
|
|
||||||
'Y', 'N', 'N', 'N', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
'N', 'Y', 'Allow Negative Posting', 0,
|
|
||||||
TO_TIMESTAMP ('2007-04-03 18:20:00', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
100, 0, 0, 50210
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO AD_FIELD
|
|
||||||
(ad_column_id, ad_org_id, ad_tab_id,
|
|
||||||
created,
|
|
||||||
createdby, description, displaylength, entitytype, isactive,
|
|
||||||
iscentrallymaintained, isdisplayed, isencrypted, isfieldonly,
|
|
||||||
isheading, isreadonly, issameline, NAME,
|
|
||||||
updated,
|
|
||||||
ad_client_id, updatedby, ad_field_id
|
|
||||||
)
|
|
||||||
VALUES (50210, 0, 199,
|
|
||||||
TO_TIMESTAMP ('2007-04-03 18:25:16', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
100, 'Allow to post negative accounting values', 1, 'D', 'Y',
|
|
||||||
'Y', 'Y', 'N', 'N',
|
|
||||||
'N', 'N', 'N', 'Allow Negative Posting',
|
|
||||||
TO_TIMESTAMP ('2007-04-03 18:25:16', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
0, 100, 50180
|
|
||||||
);
|
|
||||||
|
|
||||||
UPDATE AD_FIELD
|
|
||||||
SET seqno = 260,
|
|
||||||
updated = TO_TIMESTAMP ('2007-04-03 18:26:28', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
updatedby = 100
|
|
||||||
WHERE ad_field_id = 12522;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD
|
|
||||||
SET issameline = 'Y',
|
|
||||||
seqno = 250,
|
|
||||||
updated = TO_TIMESTAMP ('2007-04-03 18:31:50', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
updatedby = 100
|
|
||||||
WHERE ad_field_id = 50180;
|
|
||||||
|
|
||||||
-- update sequences
|
|
||||||
|
|
||||||
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';
|
|
||||||
|
|
||||||
-- insert translation tables
|
|
||||||
|
|
||||||
INSERT INTO AD_ELEMENT_TRL
|
|
||||||
(ad_element_id, AD_LANGUAGE, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby, updated, updatedby, NAME, printname,
|
|
||||||
description, HELP, po_name, po_printname, po_description,
|
|
||||||
po_help, istranslated)
|
|
||||||
SELECT e.ad_element_id, l.AD_LANGUAGE, e.ad_client_id, e.ad_org_id,
|
|
||||||
e.isactive, e.created, e.createdby, e.updated, e.updatedby, e.NAME,
|
|
||||||
e.printname, e.description, e.HELP, e.po_name, e.po_printname,
|
|
||||||
e.po_description, e.po_help, 'N'
|
|
||||||
FROM AD_ELEMENT e, AD_LANGUAGE l
|
|
||||||
WHERE e.ad_element_id = 50065
|
|
||||||
AND l.issystemlanguage = 'Y'
|
|
||||||
AND l.isbaselanguage = 'N'
|
|
||||||
AND NOT EXISTS (
|
|
||||||
SELECT 1
|
|
||||||
FROM AD_ELEMENT_TRL et
|
|
||||||
WHERE et.ad_element_id = e.ad_element_id
|
|
||||||
AND et.AD_LANGUAGE = l.AD_LANGUAGE);
|
|
||||||
|
|
||||||
INSERT INTO AD_COLUMN_TRL
|
|
||||||
(ad_column_id, AD_LANGUAGE, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby, updated, updatedby, NAME, istranslated)
|
|
||||||
SELECT c.ad_column_id, l.AD_LANGUAGE, c.ad_client_id, c.ad_org_id,
|
|
||||||
c.isactive, c.created, c.createdby, c.updated, c.updatedby, c.NAME,
|
|
||||||
'N'
|
|
||||||
FROM AD_COLUMN c, AD_LANGUAGE l
|
|
||||||
WHERE c.ad_column_id = 50210
|
|
||||||
AND l.issystemlanguage = 'Y'
|
|
||||||
AND l.isbaselanguage = 'N'
|
|
||||||
AND NOT EXISTS (
|
|
||||||
SELECT 1
|
|
||||||
FROM AD_COLUMN_TRL ct
|
|
||||||
WHERE ct.ad_column_id = c.ad_column_id
|
|
||||||
AND ct.AD_LANGUAGE = l.AD_LANGUAGE);
|
|
||||||
|
|
||||||
INSERT INTO AD_FIELD_TRL
|
|
||||||
(ad_field_id, AD_LANGUAGE, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby, updated, updatedby, NAME, description, HELP,
|
|
||||||
istranslated)
|
|
||||||
SELECT f.ad_field_id, l.AD_LANGUAGE, f.ad_client_id, f.ad_org_id,
|
|
||||||
f.isactive, f.created, f.createdby, f.updated, f.updatedby, f.NAME,
|
|
||||||
f.description, f.HELP, 'N'
|
|
||||||
FROM AD_FIELD f, AD_LANGUAGE l
|
|
||||||
WHERE f.ad_field_id = 50180
|
|
||||||
AND l.issystemlanguage = 'Y'
|
|
||||||
AND l.isbaselanguage = 'N'
|
|
||||||
AND NOT EXISTS (
|
|
||||||
SELECT 1
|
|
||||||
FROM AD_FIELD_TRL ft
|
|
||||||
WHERE ft.ad_field_id = f.ad_field_id
|
|
||||||
AND ft.AD_LANGUAGE = l.AD_LANGUAGE);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,4 +0,0 @@
|
||||||
-- Fix I_Product.X12DE355 FieldLength:
|
|
||||||
ALTER TABLE i_product ALTER x12de355 TYPE character varying(4);
|
|
||||||
UPDATE AD_Column SET FieldLength=4 WHERE AD_Column_ID=7862;
|
|
||||||
COMMIT;
|
|
|
@ -1,52 +0,0 @@
|
||||||
ALTER TABLE C_CHARGE_ACCT DROP CONSTRAINT CCHRAGE_CCHARGEACCT;
|
|
||||||
ALTER TABLE C_CHARGE_ACCT ADD CONSTRAINT CCHRAGE_CCHARGEACCT
|
|
||||||
FOREIGN KEY (C_CHARGE_ID) REFERENCES C_CHARGE(C_CHARGE_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
|
|
||||||
ALTER TABLE A_ASSET_ACCT DROP CONSTRAINT AASSET_AASSETACCT;
|
|
||||||
ALTER TABLE A_ASSET_ACCT ADD CONSTRAINT AASSET_AASSETACCT
|
|
||||||
FOREIGN KEY (A_ASSET_ID) REFERENCES A_ASSET(A_ASSET_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
|
|
||||||
ALTER TABLE A_ASSET_GROUP_ACCT DROP CONSTRAINT AASSETGROUP_AASSETGROUPACCT;
|
|
||||||
ALTER TABLE A_ASSET_GROUP_ACCT ADD CONSTRAINT AASSETGROUP_AASSETGROUPACCT
|
|
||||||
FOREIGN KEY (A_ASSET_GROUP_ID) REFERENCES A_ASSET_GROUP (A_ASSET_GROUP_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
|
|
||||||
ALTER TABLE C_BANKACCOUNT_ACCT DROP CONSTRAINT CBANKACCOUNT_CBANKACCTACCT;
|
|
||||||
ALTER TABLE C_BANKACCOUNT_ACCT ADD CONSTRAINT CBANKACCOUNT_CBANKACCTACCT
|
|
||||||
FOREIGN KEY (C_BANKACCOUNT_ID) REFERENCES C_BANKACCOUNT (C_BANKACCOUNT_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
|
|
||||||
ALTER TABLE C_BP_GROUP_ACCT DROP CONSTRAINT CBPGROUP_CBPGROUPACCT;
|
|
||||||
ALTER TABLE C_BP_GROUP_ACCT ADD CONSTRAINT CBPGROUP_CBPGROUPACCT
|
|
||||||
FOREIGN KEY (C_BP_GROUP_ID) REFERENCES C_BP_GROUP (C_BP_GROUP_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
|
|
||||||
ALTER TABLE C_INTERORG_ACCT DROP CONSTRAINT ADORG_CINTERORGACCT;
|
|
||||||
ALTER TABLE C_INTERORG_ACCT ADD CONSTRAINT ADORG_CINTERORGACCT
|
|
||||||
FOREIGN KEY (AD_ORG_ID) REFERENCES AD_ORG (AD_ORG_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
ALTER TABLE C_INTERORG_ACCT DROP CONSTRAINT ADORGTO_CINTERORGACCT;
|
|
||||||
ALTER TABLE C_INTERORG_ACCT ADD CONSTRAINT ADORGTO_CINTERORGACCT
|
|
||||||
FOREIGN KEY (AD_ORGTO_ID) REFERENCES AD_ORG (AD_ORG_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
|
|
||||||
ALTER TABLE C_CURRENCY_ACCT DROP CONSTRAINT CACCTSCHEMA_CCURRENCYACCT;
|
|
||||||
ALTER TABLE C_CURRENCY_ACCT ADD CONSTRAINT CACCTSCHEMA_CCURRENCYACCT
|
|
||||||
FOREIGN KEY (C_ACCTSCHEMA_ID) REFERENCES C_ACCTSCHEMA (C_ACCTSCHEMA_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
||||||
|
|
||||||
ALTER TABLE C_CURRENCY_ACCT DROP CONSTRAINT CCURRENCY_CCURRENCYACCT;
|
|
||||||
ALTER TABLE C_CURRENCY_ACCT ADD CONSTRAINT CCURRENCY_CCURRENCYACCT
|
|
||||||
FOREIGN KEY (C_CURRENCY_ID) REFERENCES C_CURRENCY (C_CURRENCY_ID)
|
|
||||||
ON DELETE CASCADE
|
|
||||||
DEFERRABLE INITIALLY DEFERRED;
|
|
|
@ -1,5 +0,0 @@
|
||||||
UPDATE AD_FIELD
|
|
||||||
SET issameline = 'N'
|
|
||||||
WHERE ad_field_id = 2204;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,7 +0,0 @@
|
||||||
UPDATE AD_COLUMN
|
|
||||||
SET ad_reference_value_id = 182,
|
|
||||||
updated = TO_TIMESTAMP ('2007-04-22 23:11:58', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
updatedby = 100
|
|
||||||
WHERE ad_column_id = 7968;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,102 +0,0 @@
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50070, 0, 0, 'Y',
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'M_Product_Category_Parent_ID', 'D', 'Parent Product Category',
|
|
||||||
'Parent Product Category'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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,
|
|
||||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
|
||||||
isidentifier, seqno, istranslated, isencrypted,
|
|
||||||
isselectioncolumn, ad_element_id, callout, issyncdatabase,
|
|
||||||
isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (50211, 0, 0, 'Y',
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Parent Product Category', 'Parent Product Category', 'The parent product category is used to build a category tree.', 1,
|
|
||||||
'D', 'M_Product_Category_Parent_ID', 209, 18,
|
|
||||||
163,
|
|
||||||
22, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50070, 'org.compiere.model.CalloutProductCategory.testForLoop', 'N',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO ad_field
|
|
||||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
name, description, iscentrallymaintained, seqno, ad_tab_id,
|
|
||||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50181, 0, 0, 'Y',
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Parent Product Category', 'Parent Product Category', 'Y', 60, 189,
|
|
||||||
50211, 'Y', 22, 'N',
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
value, msgtext, msgtype
|
|
||||||
)
|
|
||||||
VALUES (50014, 0, 0, 'Y',
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'ProductCategoryLoopDetected',
|
|
||||||
'A loop in the product category tree has been detected - the old value will be restored','E'
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
||||||
|
|
||||||
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';
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
|
||||||
FROM ad_message
|
|
||||||
WHERE ad_message_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Message';
|
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE M_Product_Category ADD M_Product_Category_Parent_ID NUMERIC(10);
|
|
||||||
ALTER TABLE M_Product_Category ADD CONSTRAINT MProductCat_ParentCat FOREIGN KEY (M_Product_Category_Parent_ID)
|
|
||||||
REFERENCES M_Product_Category (M_Product_Category_ID);
|
|
||||||
UPDATE AD_Column SET IsSelectionColumn='Y' WHERE AD_Column_ID=2012;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,32 +0,0 @@
|
||||||
-- juddm BugFix:(Country Changes)
|
|
||||||
|
|
||||||
--add Serbian currency
|
|
||||||
INSERT INTO C_CURRENCY
|
|
||||||
(C_CURRENCY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISO_CODE,
|
|
||||||
CURSYMBOL, DESCRIPTION, STDPRECISION, COSTINGPRECISION, ISEURO, ISEMUMEMBER)
|
|
||||||
VALUES(347, 0, 0, 'Y', TO_TIMESTAMP('2003-08-06','YYYY-MM-DD'),0, TO_TIMESTAMP('2000-01-02','YYYY-MM-DD'), 0, 'RSD',
|
|
||||||
'RSD', 'Serbian Dinar', 2, 4, 'N', 'N');
|
|
||||||
|
|
||||||
-- add country Serbia
|
|
||||||
INSERT INTO C_COUNTRY
|
|
||||||
(C_COUNTRY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
|
|
||||||
NAME, DESCRIPTION, COUNTRYCODE, HASREGION, DISPLAYSEQUENCE, HASPOSTAL_ADD, C_CURRENCY_ID,
|
|
||||||
ISADDRESSLINESREVERSE, ISADDRESSLINESLOCALREVERSE)
|
|
||||||
VALUES (349, 0, 0, 'Y', TO_TIMESTAMP('2003-03-09', 'YYYY-MM-DD'), 0, TO_TIMESTAMP('2000-01-02','YYYY-MM-DD'), 0,
|
|
||||||
'Serbia', 'Serbia', 'RS', 'N', '@C@, @P@', 'N', 347, 'N', 'N');
|
|
||||||
|
|
||||||
-- add country Montenegro
|
|
||||||
INSERT INTO C_COUNTRY
|
|
||||||
(C_COUNTRY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
|
|
||||||
NAME, DESCRIPTION, COUNTRYCODE, HASREGION, DISPLAYSEQUENCE, HASPOSTAL_ADD, C_CURRENCY_ID,
|
|
||||||
ISADDRESSLINESREVERSE, ISADDRESSLINESLOCALREVERSE)
|
|
||||||
VALUES (350, 0, 0, 'Y', TO_TIMESTAMP('2003-03-09','YYYY-MM-DD'), 0, TO_TIMESTAMP('2000-01-02','YYYY-MM-DD'), 0,
|
|
||||||
'Montenegro', 'Montenegro', 'ME', 'N', '@C@, @P@', 'N', 102, 'N', 'N');
|
|
||||||
|
|
||||||
-- deactivate Yugoslavia
|
|
||||||
UPDATE C_COUNTRY SET ISACTIVE = 'N' WHERE C_COUNTRY_ID=346;
|
|
||||||
|
|
||||||
-- deactivate Yugoslavia currency
|
|
||||||
UPDATE C_CURRENCY SET ISACTIVE = 'N' WHERE C_CURRENCY_ID = 314;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,79 +0,0 @@
|
||||||
ALTER TABLE AD_PACKAGE_EXP_DETAIL ADD ad_val_rule_id NUMERIC(10);
|
|
||||||
|
|
||||||
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 (50212, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'),
|
|
||||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
|
||||||
100, 'Dynamic Validation', 'Dynamic Validation Rule',
|
|
||||||
'These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',
|
|
||||||
0, 'D', 'AD_Val_Rule_ID', 50006, 18,
|
|
||||||
22, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 139, 'N',
|
|
||||||
'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, isdisplayed,
|
|
||||||
displaylogic, displaylength, isreadonly, seqno, issameline,
|
|
||||||
isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50182, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
|
||||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
|
||||||
'Dynamic Validation', 'Dynamic Validation Rule',
|
|
||||||
'These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',
|
|
||||||
'Y', 50006, 50212, 'Y',
|
|
||||||
'@Type@=''V''', 22, 'N', 245, 'N',
|
|
||||||
'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO AD_REF_LIST
|
|
||||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
VALUE, NAME, ad_reference_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50041, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
|
||||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
|
||||||
'V', 'Dynamic Validation Rule', 50004, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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_ref_list_id) + 1
|
|
||||||
FROM AD_REF_LIST
|
|
||||||
WHERE ad_ref_list_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Ref_List';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,20 +0,0 @@
|
||||||
-- Bug Fix
|
|
||||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1707995&group_id=176962&atid=879332
|
|
||||||
|
|
||||||
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(271, 0, 0, 'Y', TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100, TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100, 'M_PriceList is SO/PO', 'Limits the Sales & Purchase Order window to the correct price lsits',
|
|
||||||
'S', '(M_PriceList.IsSOPriceList = ''Y'' AND ''@IsSOTrx@''=''Y'') OR (M_PriceList.IsSOPriceList = ''N'' AND ''@IsSOTrx@''=''N'')', 'D');
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN set ad_val_rule_id = 271 where ad_column_id = 2204;
|
|
||||||
|
|
||||||
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
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';
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,18 +0,0 @@
|
||||||
-- Feature Request - Allow rounding up of price list (schema) to nearest 5 or 9 unit of currency
|
|
||||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1708139&group_id=176962&atid=879335
|
|
||||||
|
|
||||||
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 (50042, 0, 0, 'Y', TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'),100, TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
|
||||||
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,NULL,NULL,'D');
|
|
||||||
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
UPDATE AD_SEQUENCE
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
|
||||||
FROM AD_REF_LIST
|
|
||||||
WHERE ad_ref_list_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Ref_List';
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,8 +0,0 @@
|
||||||
-- equivalent cleaner code
|
|
||||||
|
|
||||||
UPDATE AD_VAL_RULE
|
|
||||||
SET code = 'M_PriceList.IsSOPriceList = ''@IsSOTrx@'''
|
|
||||||
WHERE ad_val_rule_id = 271;
|
|
||||||
|
|
||||||
COMMIT;
|
|
||||||
|
|
|
@ -1,111 +0,0 @@
|
||||||
create or replace function altercolumn(tablename name, columnname name, datatype name,
|
|
||||||
nullclause varchar, defaultclause varchar) returns void as $$
|
|
||||||
declare
|
|
||||||
command text;
|
|
||||||
viewtext text[];
|
|
||||||
viewname name[];
|
|
||||||
dropviews name[];
|
|
||||||
i int;
|
|
||||||
j int;
|
|
||||||
v record;
|
|
||||||
sqltype text;
|
|
||||||
sqltype_short text;
|
|
||||||
typename name;
|
|
||||||
begin
|
|
||||||
if datatype is not null then
|
|
||||||
select pg_type.typname, format_type(pg_type.oid, pg_attribute.atttypmod)
|
|
||||||
into typename, sqltype
|
|
||||||
from pg_class, pg_attribute, pg_type
|
|
||||||
where relname = lower(tablename)
|
|
||||||
and relkind = 'r'
|
|
||||||
and pg_class.oid = pg_attribute.attrelid
|
|
||||||
and attname = lower(columnname)
|
|
||||||
and atttypid = pg_type.oid;
|
|
||||||
sqltype_short := sqltype;
|
|
||||||
if typename = 'numeric' then
|
|
||||||
sqltype_short := replace(sqltype, ',0', '');
|
|
||||||
elsif strpos(sqltype,'character varying') = 1 then
|
|
||||||
sqltype_short := replace(sqltype, 'character varying', 'varchar');
|
|
||||||
elsif sqltype = 'timestamp without time zone' then
|
|
||||||
sqltype_short := 'timestamp';
|
|
||||||
end if;
|
|
||||||
if lower(datatype) <> sqltype and lower(datatype) <> sqltype_short then
|
|
||||||
i := 0;
|
|
||||||
for v in select a.relname, a.oid
|
|
||||||
from pg_class a, pg_depend b, pg_depend c, pg_class d, pg_attribute e
|
|
||||||
where a.oid = b.refobjid
|
|
||||||
and b.objid = c.objid
|
|
||||||
and b.refobjid <> c.refobjid
|
|
||||||
and b.deptype = 'n'
|
|
||||||
and c.refobjid = d.oid
|
|
||||||
and d.relname = lower(tablename)
|
|
||||||
and d.relkind = 'r'
|
|
||||||
and d.oid = e.attrelid
|
|
||||||
and e.attname = lower(columnname)
|
|
||||||
and c.refobjsubid = e.attnum
|
|
||||||
and a.relkind = 'v'
|
|
||||||
loop
|
|
||||||
i := i + 1;
|
|
||||||
viewtext[i] := pg_get_viewdef(v.oid);
|
|
||||||
viewname[i] := v.relname;
|
|
||||||
end loop;
|
|
||||||
if i > 0 then
|
|
||||||
begin
|
|
||||||
for j in 1 .. i loop
|
|
||||||
command := 'drop view ' || viewname[j];
|
|
||||||
execute command;
|
|
||||||
dropviews[j] := viewname[j];
|
|
||||||
end loop;
|
|
||||||
exception
|
|
||||||
when others then
|
|
||||||
i := array_upper(dropviews, 1);
|
|
||||||
if i > 0 then
|
|
||||||
for j in 1 .. i loop
|
|
||||||
command := 'create or replace view ' || dropviews[j] || ' as ' || viewtext[j];
|
|
||||||
execute command;
|
|
||||||
end loop;
|
|
||||||
end if;
|
|
||||||
raise exception 'Failed to recreate dependent view';
|
|
||||||
end;
|
|
||||||
end if;
|
|
||||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' type ' || lower(datatype);
|
|
||||||
execute command;
|
|
||||||
i := array_upper(dropviews, 1);
|
|
||||||
if i > 0 then
|
|
||||||
for j in 1 .. i loop
|
|
||||||
command := 'create or replace view ' || dropviews[j] || ' as ' || viewtext[j];
|
|
||||||
execute command;
|
|
||||||
end loop;
|
|
||||||
end if;
|
|
||||||
end if;
|
|
||||||
end if;
|
|
||||||
|
|
||||||
if defaultclause is not null then
|
|
||||||
if lower(defaultclause) = 'null' then
|
|
||||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' drop default ';
|
|
||||||
else
|
|
||||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' set default ''' || defaultclause || '''';
|
|
||||||
end if;
|
|
||||||
execute command;
|
|
||||||
end if;
|
|
||||||
|
|
||||||
if nullclause is not null then
|
|
||||||
if lower(nullclause) = 'not null' then
|
|
||||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' set not null';
|
|
||||||
execute command;
|
|
||||||
elsif lower(nullclause) = 'null' then
|
|
||||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' drop not null';
|
|
||||||
execute command;
|
|
||||||
end if;
|
|
||||||
end if;
|
|
||||||
end;
|
|
||||||
$$ language plpgsql;
|
|
||||||
|
|
||||||
create table t_alter_column
|
|
||||||
( tablename name, columnname name, datatype name, nullclause varchar(10), defaultclause varchar(200));
|
|
||||||
|
|
||||||
create rule alter_column_rule as on insert to t_alter_column
|
|
||||||
do instead select altercolumn(new.tablename, new.columnname, new.datatype, new.nullclause,
|
|
||||||
new.defaultclause);
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
UPDATE AD_SYSTEM
|
|
||||||
SET releaseno = '320',
|
|
||||||
VERSION = '2007-05-01'
|
|
||||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,43 +0,0 @@
|
||||||
--Enable Brazil in country Table
|
|
||||||
UPDATE c_country SET hasregion = 'Y', regionname = 'Estado' WHERE c_country_id = 139;
|
|
||||||
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
--Add Brazilian States
|
|
||||||
INSERT INTO c_region VALUES (441, 0, 0, 'Y', '2007-04-30 16:40:42', 0, '2007-04-30 16:40:42', 0, 'AC', 'Acre', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (442, 0, 0, 'Y', '2007-04-30 16:40:57', 0, '2007-04-30 16:40:57', 0, 'AL', 'Alagoas', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (443, 0, 0, 'Y', '2007-04-30 16:41:06', 0, '2007-04-30 16:41:06', 0, 'AP', 'Amapá', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (444, 0, 0, 'Y', '2007-04-30 16:41:19', 0, '2007-04-30 16:41:19', 0, 'AM', 'Amazonas', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (445, 0, 0, 'Y', '2007-04-30 16:41:29', 0, '2007-04-30 16:41:29', 0, 'BA', 'Bahia', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (446, 0, 0, 'Y', '2007-04-30 16:41:49', 0, '2007-04-30 16:41:49', 0, 'CE', 'Ceará°', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (447, 0, 0, 'Y', '2007-04-30 16:42:04', 0, '2007-04-30 16:42:04', 0, 'DF', 'Distrito Federal', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (448, 0, 0, 'Y', '2007-04-30 16:42:19', 0, '2007-04-30 16:42:19', 0, 'ES', 'Espírito Santo', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (449, 0, 0, 'Y', '2007-04-30 16:42:34', 0, '2007-04-30 16:42:34', 0, 'GO', 'Goiás', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (450, 0, 0, 'Y', '2007-04-30 16:42:40', 0, '2007-04-30 16:42:40', 0, 'MA', 'Maranhão', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (451, 0, 0, 'Y', '2007-04-30 16:42:49', 0, '2007-04-30 16:42:49', 0, 'MT', 'Mato Grosso', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (452, 0, 0, 'Y', '2007-04-30 16:43:00', 0, '2007-04-30 16:43:00', 0, 'MS', 'Mato Grosso do Sul', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (453, 0, 0, 'Y', '2007-04-30 16:43:11', 0, '2007-04-30 16:43:11', 0, 'MG', 'Minas Gerais', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (454, 0, 0, 'Y', '2007-04-30 16:43:21', 0, '2007-04-30 16:43:21', 0, 'PA', 'Pará', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (455, 0, 0, 'Y', '2007-04-30 16:43:31', 0, '2007-04-30 16:43:31', 0, 'PB', 'Paraíba', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (456, 0, 0, 'Y', '2007-04-30 16:43:40', 0, '2007-04-30 16:43:40', 0, 'PR', 'Paraná', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (457, 0, 0, 'Y', '2007-04-30 16:43:53', 0, '2007-04-30 16:43:53', 0, 'PE', 'Pernambuco', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (458, 0, 0, 'Y', '2007-04-30 16:44:03', 0, '2007-04-30 16:44:03', 0, 'PI', 'Piauí', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (459, 0, 0, 'Y', '2007-04-30 16:44:30', 0, '2007-04-30 16:44:30', 0, 'RJ', 'Rio de Janeiro', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (460, 0, 0, 'Y', '2007-04-30 16:44:43', 0, '2007-04-30 16:44:43', 0, 'RN', 'Rio Grande do Norte', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (461, 0, 0, 'Y', '2007-04-30 16:44:59', 0, '2007-04-30 16:44:59', 0, 'RS', 'Rio Grande do Sul', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (462, 0, 0, 'Y', '2007-04-30 16:45:07', 0, '2007-04-30 16:45:07', 0, 'RO', 'Rondônia', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (463, 0, 0, 'Y', '2007-04-30 16:45:20', 0, '2007-04-30 16:45:20', 0, 'RR', 'Roraima', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (464, 0, 0, 'Y', '2007-04-30 16:45:30', 0, '2007-04-30 16:45:30', 0, 'SC', 'Santa Catarina', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (465, 0, 0, 'Y', '2007-04-30 16:45:40', 0, '2007-04-30 16:45:40', 0, 'SP', 'Sõo Paulo', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (466, 0, 0, 'Y', '2007-04-30 16:45:53', 0, '2007-04-30 16:45:53', 0, 'SE', 'Sergipe', 139, 'N');
|
|
||||||
INSERT INTO c_region VALUES (467, 0, 0, 'Y', '2007-04-30 16:46:03', 0, '2007-04-30 16:46:03', 0, 'TO', 'Tocantins', 139, 'N');
|
|
||||||
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
UPDATE AD_SEQUENCE
|
|
||||||
SET currentnextsys = (SELECT MAX (c_region_id) + 1
|
|
||||||
FROM C_REGION
|
|
||||||
WHERE c_region_id < 1000000)
|
|
||||||
WHERE NAME = 'C_Region';
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,31 +0,0 @@
|
||||||
-- Feature Request
|
|
||||||
-- juddm - add the ability to specific a shipment date (instead of current date) to the shipment generation process
|
|
||||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1714090&group_id=176962&atid=879335
|
|
||||||
|
|
||||||
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, isrange, ad_element_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50019, 0, 0, 'Y', TO_TIMESTAMP ('2007-03-03', 'YYYY-MM-DD'),
|
|
||||||
100, TO_TIMESTAMP ('2007-03-03', 'YYYY-MM-DD'), 100,
|
|
||||||
'Shipment Date', 'Date printed on shipment',
|
|
||||||
'The Shipment Date indicates the date printed on the shipment.',
|
|
||||||
118, 15, 15, NULL,
|
|
||||||
NULL, 'MovementDate', 'N', 0,
|
|
||||||
'Y', 'N', 1037, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,8 +0,0 @@
|
||||||
UPDATE AD_PROCESS_PARA
|
|
||||||
SET defaultvalue = NULL,
|
|
||||||
ismandatory = 'N',
|
|
||||||
updated = TO_TIMESTAMP ('2007-05-07 20:55:59', 'YYYY-MM-DD HH24:MI:SS'),
|
|
||||||
updatedby = 100
|
|
||||||
WHERE ad_process_para_id = 50019;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,75 +0,0 @@
|
||||||
ALTER TABLE AD_PACKAGE_EXP_DETAIL ADD ad_message_id NUMERIC(10,0);
|
|
||||||
|
|
||||||
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 (50213, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Message', 'System Message',
|
|
||||||
'Information and Error messages', 0, 'D', 'AD_Message_ID',
|
|
||||||
50006, 19, 22, 'N', 'N',
|
|
||||||
'N', 'Y', 'N', 0, 'N',
|
|
||||||
'N', 'N', 1752, 'N',
|
|
||||||
'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, isdisplayed,
|
|
||||||
displaylogic, displaylength, isreadonly, seqno, issameline,
|
|
||||||
isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50183, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:51:35', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:52:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Message', 'System Message', 'Information and Error messages',
|
|
||||||
'Y', 50006, 50213, 'Y',
|
|
||||||
'@Type@=''MSG''', 22, 'N', 246, 'N',
|
|
||||||
'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO AD_REF_LIST
|
|
||||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
VALUE, NAME, ad_reference_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50043, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'MSG', 'Message', 50004, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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_ref_list_id) + 1
|
|
||||||
FROM AD_REF_LIST
|
|
||||||
WHERE ad_ref_list_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Ref_List';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,248 +0,0 @@
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50071, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'StoreArchiveOnFileSystem', 'D', 'Store Archive On File System',
|
|
||||||
'Store Archive On File System'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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 (50214, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Store Archive On File System', 'Store Archive On File System', 1,
|
|
||||||
'D', 'StoreArchiveOnFileSystem', 112, 20,
|
|
||||||
1, 'N', 'N', 'Y', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50071, 'org.compiere.model.CalloutClient.storeArchiveOnFileSystem', 'N',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_field
|
|
||||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, iscentrallymaintained, seqno, ad_tab_id,
|
|
||||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
|
||||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50184, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Store Archive On File System', 'Store Archive On File System', 'Y', 250, 145,
|
|
||||||
50214, 'Y', 1, 'N',
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50072, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'WindowsArchivePath', 'D', 'Windows Archive Path',
|
|
||||||
'Windows Archive Path'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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 (50215, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Windows Archive Path', 'Windows Archive Path - If you change this value make sure to copy the archive entries to the new path!',
|
|
||||||
'Path of the adempiere archive entries in the file system. If you change this value make sure to copy the archive entries to the new path!', 1,
|
|
||||||
'D', 'WindowsArchivePath', 112, 10,
|
|
||||||
255, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50072, '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 (50185, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Windows Archive Path', 'Windows Archive Path',
|
|
||||||
'If you change this value make sure to copy the archive entries to the new path!',
|
|
||||||
'Y', 260, 145,
|
|
||||||
50215, 'Y', 1, 'N',
|
|
||||||
'N', 'N', 'N', 'N', 'D','@StoreArchiveOnFileSystem@=''Y'''
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50073, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'UnixArchivePath', 'D', 'Unix Archive Path',
|
|
||||||
'Unix Archive Path'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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 (50216, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Unix Archive Path', 'Unix Archive Path - If you change this value make sure to copy the archive entries to the new path!',
|
|
||||||
'Path of the adempiere archive entries in the file system. If you change this value make sure to copy the archive entries to the new path!', 1,
|
|
||||||
'D', 'UnixArchivePath', 112, 10,
|
|
||||||
255, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50073, '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 (50186, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Unix Archive Path', 'Unix Archive Path',
|
|
||||||
'If you change this value make sure to copy the archive entries to the new path!',
|
|
||||||
'Y', 270 ,145,
|
|
||||||
50216, 'Y', 1, 'N',
|
|
||||||
'Y', 'N', 'N', 'N', 'D','@StoreArchiveOnFileSystem@=''Y'''
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
value, msgtext, msgtype
|
|
||||||
)
|
|
||||||
VALUES (50015, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'StoreArchiveWarning',
|
|
||||||
'If you change the archive storage method, the old archive entries are no longer available to your client.','I'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
value, msgtext, msgtype
|
|
||||||
)
|
|
||||||
VALUES (50016, 0, 0, 'Y',
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'ArchivePathWarning','Make sure to copy the archive entries to the new path!','I'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO ad_message_trl
|
|
||||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
|
||||||
istranslated)
|
|
||||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
|
||||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
|
||||||
'N'
|
|
||||||
FROM ad_message m, ad_language lang
|
|
||||||
WHERE m.ad_message_id in (50015, 50016)
|
|
||||||
AND lang.issystemlanguage = 'Y'
|
|
||||||
AND lang.isbaselanguage = 'N'
|
|
||||||
AND NOT EXISTS (
|
|
||||||
SELECT *
|
|
||||||
FROM ad_message_trl m2
|
|
||||||
WHERE m2.ad_message_id = m.ad_message_id
|
|
||||||
AND m2.ad_language = lang.ad_language);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
||||||
|
|
||||||
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';
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
|
||||||
FROM ad_message
|
|
||||||
WHERE ad_message_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Message';
|
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE ad_client ADD StoreArchiveOnFilesystem CHAR(1) DEFAULT 'N' NOT NULL;
|
|
||||||
ALTER TABLE ad_client ADD WindowsArchivePath VARCHAR(255);
|
|
||||||
ALTER TABLE ad_client ADD UnixArchivePath VARCHAR(255);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,75 +0,0 @@
|
||||||
ALTER TABLE AD_PACKAGE_EXP_DETAIL ADD ad_printformat_id NUMERIC(10,0);
|
|
||||||
|
|
||||||
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 (50217, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('05/25/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_TIMESTAMP ('05/25/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Print Format', 'Data Print Format',
|
|
||||||
'The print format determines how data is rendered for print.', 0, 'D', 'AD_PrintFormat_ID',
|
|
||||||
50006, 19, 22, 'N', 'N',
|
|
||||||
'N', 'Y', 'N', 0, 'N',
|
|
||||||
'N', 'N', 1790, 'N',
|
|
||||||
'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, isdisplayed,
|
|
||||||
displaylogic, displaylength, isreadonly, seqno, issameline,
|
|
||||||
isheading, isfieldonly, isencrypted, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50187, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('05/25/2007 19:51:35', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_TIMESTAMP ('05/25/2007 19:52:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'PrintFormat', 'Print Format', 'Print Format',
|
|
||||||
'Y', 50006, 50217, 'Y',
|
|
||||||
'@Type@=''PFT''', 22, 'N', 246, 'N',
|
|
||||||
'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO AD_REF_LIST
|
|
||||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
VALUE, NAME, ad_reference_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50044, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'PFT', 'PrintFormat', 50004, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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_ref_list_id) + 1
|
|
||||||
FROM AD_REF_LIST
|
|
||||||
WHERE ad_ref_list_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Ref_List';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,162 +0,0 @@
|
||||||
INSERT INTO ad_element
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (50074, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'MandatoryLogic', 'D', 'Mandatory Logic',
|
|
||||||
'Mandatory Logic'
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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 (50218, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Mandatory Logic', 'Logic to determine if field is mandatory (applies only when field is not mandatory in general)',
|
|
||||||
'Logic to determine if field is mandatory (applies only when field is not mandatory in general).
|
|
||||||
format := {expression} [{logic} {expression}]<br>
|
|
||||||
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
|
|
||||||
logic := {|}|{&}<br>
|
|
||||||
context := any global or window context <br>
|
|
||||||
value := strings or numbers<br>
|
|
||||||
logic operators := AND or OR with the previous result from left to right <br>
|
|
||||||
operand := eq{=}, gt{>}, le{<}, not{~^!} <br>
|
|
||||||
Examples: <br>
|
|
||||||
@AD_Table_ID@=14 | @Language@!GERGER <br>
|
|
||||||
@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
|
|
||||||
@Name@>J<br>
|
|
||||||
Strings may be in single quotes (optional)', 1,
|
|
||||||
'D', 'MandatoryLogic', 101, 14,
|
|
||||||
2000, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 0, 'N', 'N',
|
|
||||||
'N', 50074, '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 (50188, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Mandatory Logic', 'Logic to determine if field is mandatory (applies only when field is not mandatory in general)',
|
|
||||||
'Logic to determine if field is mandatory (applies only when field is not mandatory in general).
|
|
||||||
format := {expression} [{logic} {expression}]<br>
|
|
||||||
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
|
|
||||||
logic := {|}|{&}<br>
|
|
||||||
context := any global or window context <br>
|
|
||||||
value := strings or numbers<br>
|
|
||||||
logic operators := AND or OR with the previous result from left to right <br>
|
|
||||||
operand := eq{=}, gt{>}, le{<}, not{~^!} <br>
|
|
||||||
Examples: <br>
|
|
||||||
@AD_Table_ID@=14 | @Language@!GERGER <br>
|
|
||||||
@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
|
|
||||||
@Name@>J<br>
|
|
||||||
Strings may be in single quotes (optional)',
|
|
||||||
'Y', 275 ,101,
|
|
||||||
50218, 'Y', 60, '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 ad_column ADD MandatoryLogic character varying(2000);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DROP VIEW IF EXISTS 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
|
|
||||||
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 IF EXISTS 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
|
|
||||||
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';
|
|
||||||
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,21 +0,0 @@
|
||||||
INSERT INTO ad_message
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
value, msgtext, msgtype
|
|
||||||
)
|
|
||||||
VALUES (50017, 0, 0, 'Y',
|
|
||||||
TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'PrintPreview','Print preview','I'
|
|
||||||
);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
||||||
|
|
||||||
UPDATE ad_sequence
|
|
||||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
|
||||||
FROM ad_message
|
|
||||||
WHERE ad_message_id < 1000000)
|
|
||||||
WHERE NAME = 'AD_Message';
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,9 +0,0 @@
|
||||||
UPDATE AD_COLUMN
|
|
||||||
SET istranslated = 'N'
|
|
||||||
WHERE ad_column_id = 7604;
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN
|
|
||||||
SET istranslated = 'Y'
|
|
||||||
WHERE ad_column_id = 6256;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,62 +0,0 @@
|
||||||
---
|
|
||||||
-- Feature 1741222 - Add Post code lookup infrastructure
|
|
||||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1741222&group_id=176962&atid=879335
|
|
||||||
--
|
|
||||||
|
|
||||||
--- Modify C_COUNTRY Table
|
|
||||||
ALTER TABLE C_COUNTRY ADD
|
|
||||||
IsPostcodeLookup CHAR(1) DEFAULT 'N' NOT NULL;
|
|
||||||
ALTER TABLE C_COUNTRY ADD
|
|
||||||
LookupClassname VARCHAR(255) DEFAULT NULL NULL;
|
|
||||||
ALTER TABLE C_COUNTRY ADD
|
|
||||||
LookupClientID VARCHAR(50) DEFAULT NULL NULL;
|
|
||||||
ALTER TABLE C_COUNTRY ADD
|
|
||||||
LookupPassword VARCHAR(50) DEFAULT NULL NULL;
|
|
||||||
ALTER TABLE C_COUNTRY ADD
|
|
||||||
LookupUrl VARCHAR(100) DEFAULT NULL NULL;
|
|
||||||
|
|
||||||
-- Add Postcode Constraint
|
|
||||||
ALTER TABLE C_COUNTRY ADD CHECK (IsPostcodeLookup IN ('Y','N'));
|
|
||||||
|
|
||||||
-- Insert Element Definitions
|
|
||||||
|
|
||||||
INSERT INTO ad_element VALUES (51000, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:09:22', 100, 'IsPostcodeLookup', 'D', 'IsPostcodeLookup', 'IsPostcodeLookup', NULL, NULL, NULL, NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_element VALUES (51001, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:09:54', 100, 'LookupClassName', 'D', 'LookupClassName', 'LookupClassName', NULL, NULL, NULL, NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_element VALUES (51002, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:10:06', 100, 'LookupClientID', 'D', 'LookupClientID', 'LookupClientID', NULL, NULL, NULL, NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_element VALUES (51003, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:10:19', 100, 'LookupUrl', 'D', 'LookupUrl', 'LookupUrl', NULL, NULL, NULL, NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_element VALUES (51004, 0, 0, 'Y', '2007-06-22 02:03:37', 100, '2007-06-22 02:04:31', 100, 'LookupPassword', 'D', 'LookupPassword', 'LookupPassword', NULL, NULL, NULL, NULL, NULL, NULL);
|
|
||||||
|
|
||||||
-- Insert Column Definitions
|
|
||||||
INSERT INTO ad_column VALUES (51000, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:14:47', 100, 100, 'IsPostcodeLookup', NULL, NULL, 0, 'D', 'IsPostcodeLookup', 170, 20, NULL, NULL, 1, 'N', 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51000, NULL, 'N', 'N', NULL, NULL);
|
|
||||||
INSERT INTO ad_column VALUES (51001, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:04:48', 100, 100, 'LookupClassName', NULL, NULL, 0, 'D', 'LookupClassName', 170, 10, NULL, NULL, 255, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51001, NULL, 'N', 'N', NULL, NULL);
|
|
||||||
INSERT INTO ad_column VALUES (51002, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:04:48', 100, 100, 'LookupClientID', NULL, NULL, 0, 'D', 'LookupClientID', 170, 10, NULL, NULL, 50, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51002, NULL, 'N', 'N', NULL, NULL);
|
|
||||||
INSERT INTO ad_column VALUES (51003, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:04:48', 100, 100, 'LookupUrl', NULL, NULL, 0, 'D', 'LookupUrl', 170, 10, NULL, NULL, 100, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51003, NULL, 'N', 'N', NULL, NULL);
|
|
||||||
INSERT INTO ad_column VALUES (51004, 0, 0, 'Y', '2007-06-22 02:03:37', '2007-06-22 02:05:17', 100, 100, 'LookupPassword', NULL, NULL, 0, 'D', 'LookupPassword', 170, 10, NULL, NULL, 50, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51004, NULL, 'N', 'N', NULL, NULL);
|
|
||||||
|
|
||||||
-- Insert Field Definitions
|
|
||||||
INSERT INTO ad_field VALUES (51000, 0, 0, 'Y', '2007-06-19 23:17:05', 100, '2007-06-19 23:17:05', 100, 'IsPostcodeLookup', NULL, NULL, 'Y', 135, 51000, NULL, 'Y', NULL, 1, 'N', 220, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_field VALUES (51001, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-20 09:10:31', 100, 'LookupClassName', NULL, NULL, 'Y', 135, 51001, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 255, 'N', 260, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_field VALUES (51002, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-20 09:10:17', 100, 'LookupClientID', NULL, NULL, 'Y', 135, 51002, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 50, 'N', 240, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_field VALUES (51003, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-20 09:10:12', 100, 'LookupUrl', NULL, NULL, 'Y', 135, 51003, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 100, 'N', 230, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
|
||||||
INSERT INTO ad_field VALUES (51004, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-22 02:07:11', 100, 'LookupPassword', NULL, NULL, 'Y', 135, 51004, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 50, 'N', 250, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
|
||||||
|
|
||||||
-- Update Sequences
|
|
||||||
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;
|
|
|
@ -1,24 +0,0 @@
|
||||||
|
|
||||||
---
|
|
||||||
-- FEATURE: 1741222 - Add Post code lookup infrastructure
|
|
||||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1741222&group_id=176962&atid=879335
|
|
||||||
-- Update additional fields per Carlos request
|
|
||||||
|
|
||||||
-- Update Element Definitions
|
|
||||||
UPDATE ad_element SET description = 'Does this country have a post code web service', help = 'Enable the IsPostcodeLookup if you wish to configure a post code lookup web service' WHERE ad_element_id = 51000;
|
|
||||||
UPDATE ad_element SET description = 'The class name of the postcode lookup plugin', help = 'Enter the class name of the post code lookup plugin for your postcode web service provider' WHERE ad_element_id = 51001;
|
|
||||||
UPDATE ad_element SET description = 'The ClientID or Login submitted to the Lookup URL', help ='Enter the ClientID or Login for your account provided by the post code web service provider' WHERE ad_element_id = 51002;
|
|
||||||
UPDATE ad_element SET description = 'The password submitted to the Lookup URL', help = 'Enter the password for your account provided by the post code web service provider' WHERE ad_element_id = 51004;
|
|
||||||
UPDATE ad_element SET description = 'The URL of the web service that the plugin connects to in order to retrieve postcode data', help = 'Enter the URL of the web service that the plugin connects to in order to retrieve postcode data' WHERE ad_element_id = 51003;
|
|
||||||
|
|
||||||
-- Update Column Definitions
|
|
||||||
UPDATE ad_column SET description = 'Does this country have a post code web service', help = 'Enable the IsPostcodeLookup if you wish to configure a post code lookup web service' WHERE ad_column_id = 51000;
|
|
||||||
UPDATE ad_column SET description = 'The class name of the postcode lookup plugin', help = 'Enter the class name of the post code lookup plugin for your postcode web service provider' WHERE ad_column_id = 51001;
|
|
||||||
UPDATE ad_column SET description = 'The ClientID or Login submitted to the Lookup URL', help = 'Enter the ClientID or Login for your account provided by the post code web service provider' WHERE ad_column_id = 51002;
|
|
||||||
UPDATE ad_column SET description = 'The password submitted to the Lookup URL', help = 'Enter the password for your account provided by the post code web service provider' WHERE ad_column_id = 51004;
|
|
||||||
UPDATE ad_column SET description = 'The URL of the web service that the plugin connects to in order to retrieve postcode data', help = 'Enter the URL of the web service that the plugin connects to in order to retrieve postcode data' WHERE ad_column_id = 51003;
|
|
||||||
|
|
||||||
-- Update Field Definitions
|
|
||||||
UPDATE ad_field SET seqno = 225 WHERE ad_field_id = 51000;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,726 +0,0 @@
|
||||||
-- create new table
|
|
||||||
|
|
||||||
CREATE TABLE PA_DASHBOARDCONTENT
|
|
||||||
(
|
|
||||||
pa_dashboardcontent_id NUMERIC(10) NOT NULL,
|
|
||||||
ad_client_id NUMERIC(10) NOT NULL,
|
|
||||||
ad_org_id NUMERIC(10) NOT NULL,
|
|
||||||
created TIMESTAMP NOT NULL,
|
|
||||||
createdby NUMERIC(10) NOT NULL,
|
|
||||||
updated TIMESTAMP NOT NULL,
|
|
||||||
updatedby NUMERIC(10) NOT NULL,
|
|
||||||
isactive CHAR(1) NOT NULL,
|
|
||||||
NAME VARCHAR(120) NOT NULL,
|
|
||||||
ad_window_id NUMERIC(10),
|
|
||||||
description VARCHAR(255),
|
|
||||||
html TEXT,
|
|
||||||
line NUMERIC,
|
|
||||||
pa_goal_id NUMERIC(10),
|
|
||||||
CHECK (isactive IN ('Y','N')),
|
|
||||||
CONSTRAINT pa_dashboardcontent_key
|
|
||||||
PRIMARY KEY
|
|
||||||
(pa_dashboardcontent_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
-- dictionary additions
|
|
||||||
|
|
||||||
-- new table
|
|
||||||
|
|
||||||
INSERT INTO AD_TABLE
|
|
||||||
(ad_table_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, tablename, isview, accesslevel, entitytype,
|
|
||||||
issecurityenabled, isdeleteable, ishighvolume, importtable,
|
|
||||||
ischangelog, replicationtype
|
|
||||||
)
|
|
||||||
VALUES (50010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:22:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Dashboard Content', 'PA_DashboardContent', 'N', '1', 'D',
|
|
||||||
'N', 'Y', 'N', 'N',
|
|
||||||
'N', 'L'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new sequence
|
|
||||||
|
|
||||||
INSERT INTO AD_SEQUENCE
|
|
||||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, description, isautosequence, incrementno,
|
|
||||||
startno, currentnext, currentnextsys, isaudited, istableid,
|
|
||||||
startnewyear
|
|
||||||
)
|
|
||||||
VALUES (50015, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:22:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'PA_DashboardContent', 'Table PA_DashboardContent', 'Y', 1,
|
|
||||||
1000000, 1000000, 50000, 'N', 'Y',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new elements
|
|
||||||
|
|
||||||
INSERT INTO AD_ELEMENT
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME, printname
|
|
||||||
)
|
|
||||||
VALUES (51005, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'HTML', 'D', 'HTML', 'HTML'
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO AD_ELEMENT
|
|
||||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
columnname, entitytype, NAME,
|
|
||||||
printname
|
|
||||||
)
|
|
||||||
VALUES (51006, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:07', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:07', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'PA_DashboardContent_ID', 'D', 'PA_DashboardContent_ID',
|
|
||||||
'PA_DashboardContent_ID'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new columns
|
|
||||||
|
|
||||||
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 (51005, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:51', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:22:51', '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', 50010, 10,
|
|
||||||
120, 'N', 'N', 'Y', 'Y',
|
|
||||||
'Y', 1, 'N', 'N',
|
|
||||||
'N', 469, '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 (51006, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:53', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:22:53', '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', 50010, 19,
|
|
||||||
10, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
113, '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 (51007, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:54', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:22:54', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Window', 'Data entry or display window',
|
|
||||||
'The Window field identifies a unique Window in the system.', 0,
|
|
||||||
'D', 'AD_Window_ID', 50010, 19,
|
|
||||||
22, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
143, '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 (51008, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:55', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:22:55', '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', 50010, 16,
|
|
||||||
7, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
245, '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,
|
|
||||||
ad_reference_value_id, fieldlength, iskey, isparent,
|
|
||||||
ismandatory, isupdateable, isidentifier, istranslated,
|
|
||||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
|
||||||
isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (51009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:57', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:22:57', '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', 50010, 18,
|
|
||||||
110, 10, 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 'N', 246, '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 (51010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:22:59', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:22:59', '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', 50010, 10, 255, 'N',
|
|
||||||
'N', 'N', 'Y', 'N', 'N',
|
|
||||||
'N', 'N', 275, '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,
|
|
||||||
ad_reference_value_id, fieldlength, iskey, isparent,
|
|
||||||
ismandatory, isupdateable, isidentifier, istranslated,
|
|
||||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
|
||||||
isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (51011, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:00', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23: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', 50010, 18,
|
|
||||||
110, 10, 'N', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 'N', 608, '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, iskey, isparent, ismandatory, isupdateable,
|
|
||||||
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
|
||||||
ad_element_id, issyncdatabase, isalwaysupdateable
|
|
||||||
)
|
|
||||||
VALUES (51012, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'HTML', 0, 'D', 'HTML', 50010,
|
|
||||||
36, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
51005, '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 (51013, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:03', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23:03', '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', 50010, 20,
|
|
||||||
1, 'N', 'N', 'Y', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
348, '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 (51014, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:04', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23:04', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Line No', 'Unique line for this document',
|
|
||||||
'Indicates the unique line for a document. It will also control the display order of the lines within a document.',
|
|
||||||
0, 'D', 'Line', 50010, 22,
|
|
||||||
22, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
439, '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 (51015, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:05', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23:05', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'Goal', 'Performance Goal',
|
|
||||||
'The Performance Goal indicates what this users performance will be measured against.',
|
|
||||||
0, 'D', 'PA_Goal_ID', 50010, 19,
|
|
||||||
22, 'N', 'N', 'N', 'Y',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
1594, '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 (51016, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:06', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23:06', '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', 50010, 16,
|
|
||||||
7, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
607, '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 (51017, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:07', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23:07', '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', 50010, 19,
|
|
||||||
10, 'N', 'N', 'Y', 'N',
|
|
||||||
'N', 'N', 'N', 'N',
|
|
||||||
102, '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 (51018, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:07', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
TO_DATE ('07/09/2007 14:23:07', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
100, 'PA_DashboardContent_ID', 0, 'D', 'PA_DashboardContent_ID',
|
|
||||||
50010, 13, 10, 'Y', 'N',
|
|
||||||
'Y', 'N', 'N', 'N',
|
|
||||||
'N', 'N', 51006, 'Y',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new window
|
|
||||||
|
|
||||||
INSERT INTO AD_WINDOW
|
|
||||||
(ad_window_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, windowtype, issotrx, entitytype, processing, isdefault,
|
|
||||||
isbetafunctionality
|
|
||||||
)
|
|
||||||
VALUES (50007, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:12', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Dashboard Content Edit', 'M', 'Y', 'D', 'N', 'N',
|
|
||||||
'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new menu
|
|
||||||
|
|
||||||
INSERT INTO AD_MENU
|
|
||||||
(ad_menu_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated,
|
|
||||||
NAME, updatedby, issummary, issotrx, isreadonly, action,
|
|
||||||
ad_window_id, entitytype
|
|
||||||
)
|
|
||||||
VALUES (50010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:30', 'MM/DD/YYYY HH24:MI:SS'),
|
|
||||||
'Dashboard Content Edit', 100, 'N', 'N', 'N', 'W',
|
|
||||||
50007, 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new menu in tree
|
|
||||||
|
|
||||||
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, 50010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:35', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
|
||||||
TO_DATE ('07/09/2007 14:23:35', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
|
||||||
175, 0
|
|
||||||
);
|
|
||||||
|
|
||||||
-- access to new window
|
|
||||||
|
|
||||||
INSERT INTO AD_WINDOW_ACCESS
|
|
||||||
(ad_window_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
isreadwrite
|
|
||||||
)
|
|
||||||
VALUES (50007, 0, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 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 (50007, 102, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 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 (50007, 103, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 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 (50007, 50001, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Y'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new tab
|
|
||||||
|
|
||||||
INSERT INTO AD_TAB
|
|
||||||
(ad_tab_id, ad_client_id, ad_org_id, isactive,
|
|
||||||
created, createdby,
|
|
||||||
updated, updatedby,
|
|
||||||
NAME, ad_table_id, ad_window_id, seqno, tablevel, issinglerow,
|
|
||||||
isinfotab, istranslationtab, isreadonly, hastree, processing,
|
|
||||||
issorttab, entitytype, isinsertrecord, isadvancedtab
|
|
||||||
)
|
|
||||||
VALUES (50010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:15', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Edit', 50010, 50007, 10, 0, 'Y',
|
|
||||||
'N', 'N', 'N', 'N', 'N',
|
|
||||||
'N', 'D', 'Y', 'N'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- new fields
|
|
||||||
|
|
||||||
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 (51005, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:17', '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', 50010, 51017, 'Y',
|
|
||||||
10, 'N', 10, 0, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51006, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:10', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:18', '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', 50010, 51006, 'Y',
|
|
||||||
10, 'N', 20, 0, 'Y', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51007, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:10', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:20', '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', 50010, 51005, 'Y',
|
|
||||||
120, 'N', 30, 0, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51008, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:10', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:22', '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', 50010, 51013, 'Y',
|
|
||||||
1, 'N', 40, 0, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51009, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:10', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:23', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Line No', 'Unique line for this document',
|
|
||||||
'Indicates the unique line for a document. It will also control the display order of the lines within a document.',
|
|
||||||
'Y', 50010, 51014, 'Y',
|
|
||||||
22, 'N', 50, 0, 'Y', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51010, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:24', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Description', 'Optional short description of the record',
|
|
||||||
'A description is limited to 255 characters.', 'Y', 50010,
|
|
||||||
51010, 'Y', 255, 'N', 60,
|
|
||||||
0, 'N', 'N', 'N', 'N',
|
|
||||||
'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51011, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:26', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'HTML', 'Y', 50010, 51012,
|
|
||||||
'Y', 0, 'N', 70, 0,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51012, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:27', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Goal', 'Performance Goal',
|
|
||||||
'The Performance Goal indicates what this users performance will be measured against.',
|
|
||||||
'Y', 50010, 51015, 'Y',
|
|
||||||
22, 'N', 80, 0, 'N', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51013, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Window', 'Data entry or display window',
|
|
||||||
'The Window field identifies a unique Window in the system.',
|
|
||||||
'Y', 50010, 51007, 'Y',
|
|
||||||
22, 'N', 90, 0, 'Y', 'N',
|
|
||||||
'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
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 (51014, 0, 0, 'Y',
|
|
||||||
TO_DATE ('07/09/2007 14:23:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
TO_DATE ('07/09/2007 14:23:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
|
||||||
'Dashboard Content', 'Y', 50010, 51018,
|
|
||||||
'N', 10, 'N', 0, 0,
|
|
||||||
'N', 'N', 'N', 'N', 'D'
|
|
||||||
);
|
|
||||||
|
|
||||||
-- assign window to new table
|
|
||||||
|
|
||||||
UPDATE AD_TABLE
|
|
||||||
SET ad_window_id = 50007
|
|
||||||
WHERE ad_table_id = 50010;
|
|
||||||
|
|
||||||
|
|
||||||
-- NOTE: Don't forget to run the three processes:
|
|
||||||
-- 1 - Add missing translations
|
|
||||||
-- 2 - Synchronize terminology
|
|
||||||
-- 3 - Check sequences
|
|
||||||
COMMIT ;
|
|
|
@ -1,17 +0,0 @@
|
||||||
-- Please review before apply
|
|
||||||
-- if you have any of this columns REALLY encrypted you must not apply this patch:
|
|
||||||
-- AD_USER.EMailUserPW
|
|
||||||
-- AD_USER.Password
|
|
||||||
-- C_PAYMENTPROCESSOR.Password
|
|
||||||
-- C_PAYMENTPROCESSOR.ProxyPassword
|
|
||||||
|
|
||||||
-- defining columns non encrypted by default as discussed here
|
|
||||||
-- [ 1722235 ] ENCRYPTION FOR PASSWORD wrongly MANAGED
|
|
||||||
-- https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1722235&group_id=176962
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN
|
|
||||||
SET isencrypted = 'N',
|
|
||||||
updated = TO_DATE ('07/10/2007 00:00:01', 'MM/DD/YYYY HH24:MI:SS')
|
|
||||||
WHERE ad_column_id IN (417, 5059, 5065, 7794);
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,6 +0,0 @@
|
||||||
UPDATE AD_SYSTEM
|
|
||||||
SET releaseno = '330',
|
|
||||||
VERSION = '2007-07-13'
|
|
||||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
|
||||||
|
|
||||||
COMMIT ;
|
|
|
@ -1,287 +0,0 @@
|
||||||
-- Element change
|
|
||||||
|
|
||||||
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
|
|
||||||
(52000,0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'InOut_ID', 'D', 'Shipment/Receipt', 'Shipment/Receipt', 'MaterialShipment Document', 'The Material Shipment / Receipt ', 'Receipt', 'Receipt', 'Material Receipt Document', 'The Material Shipment / Receipt ');
|
|
||||||
|
|
||||||
|
|
||||||
-- Rule
|
|
||||||
|
|
||||||
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
|
|
||||||
(52000, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'M_InOutShipment/Receipt', NULL, 'S', 'M_InOut.MovementType IN (''C-'', ''V+'') AND M_InOut.DocStatus IN (''CO'', ''CL'')', '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
|
|
||||||
(52001, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'M_InOutShipment/Receipt (RMA)', NULL, 'S', 'M_InOutLine.M_InOut_ID=@InOut_ID@', 'D');
|
|
||||||
|
|
||||||
|
|
||||||
-- Processes
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS
|
|
||||||
(AD_PROCESS_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, HELP, ACCESSLEVEL, ENTITYTYPE, PROCEDURENAME, ISREPORT, ISDIRECTPRINT, AD_REPORTVIEW_ID, CLASSNAME, STATISTIC_COUNT,STATISTIC_SECONDS, AD_PRINTFORMAT_ID, WORKFLOWVALUE, AD_WORKFLOW_ID, ISBETAFUNCTIONALITY, ISSERVERPROCESS, SHOWHELP, JASPERREPORT)
|
|
||||||
VALUES
|
|
||||||
(52000, 0,0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'M_RMA_CreateOrder', 'Create Order From RMA', 'Creates an order based on this RMA Document. The RMA should be correct and completed.', 'Generate Order from RMA will create an order based on this RMA document.', '3', 'D', NULL, 'N', 'N', NULL, 'org.adempiere.process.RMACreateOrder', 0, 0, NULL, NULL, NULL, 'N', 'N', 'Y', NULL);
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52000, 0, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52000, 102, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52000, 103, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS
|
|
||||||
(AD_PROCESS_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, HELP, ACCESSLEVEL, ENTITYTYPE, PROCEDURENAME, ISREPORT, ISDIRECTPRINT, AD_REPORTVIEW_ID, CLASSNAME, STATISTIC_COUNT,STATISTIC_SECONDS, AD_PRINTFORMAT_ID, WORKFLOWVALUE, AD_WORKFLOW_ID, ISBETAFUNCTIONALITY, ISSERVERPROCESS, SHOWHELP, JASPERREPORT)
|
|
||||||
VALUES
|
|
||||||
(52001, 0,0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'M_InOut_GenerateRMA (Manual)', 'Generate Shipments for Vendor RMA', 'Generate Shipments from open vendor RMA based on selection.', NULL, '3', 'D', NULL, 'N', 'N', NULL, 'org.adempiere.process.InOutGenerateRMA', 0, 0, NULL, NULL, NULL, 'N', 'N', 'Y', NULL);
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52001, 0, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52001, 102, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52001, 103, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS
|
|
||||||
(AD_PROCESS_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, VALUE, NAME, DESCRIPTION, HELP, ACCESSLEVEL, ENTITYTYPE, PROCEDURENAME, ISREPORT, ISDIRECTPRINT, AD_REPORTVIEW_ID, CLASSNAME, STATISTIC_COUNT,STATISTIC_SECONDS, AD_PRINTFORMAT_ID, WORKFLOWVALUE, AD_WORKFLOW_ID, ISBETAFUNCTIONALITY, ISSERVERPROCESS, SHOWHELP, JASPERREPORT)
|
|
||||||
VALUES
|
|
||||||
(52002, 0,0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'C_Invoice_GenerateRMA (Manual)', 'Generate Invoices for Vendor RMA', 'Generate Invoices from open vendor RMA based on selection.', NULL, '3', 'D', NULL, 'N', 'N', NULL, 'org.adempiere.process.InvoiceGenerateRMA', 0, 0, NULL, NULL, NULL, 'N', 'N', 'Y', NULL);
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52002, 0, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52002, 102, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
INSERT INTO AD_PROCESS_ACCESS
|
|
||||||
(AD_PROCESS_ID, AD_ROLE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISREADWRITE)
|
|
||||||
VALUES
|
|
||||||
(52002, 103, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Y');
|
|
||||||
|
|
||||||
|
|
||||||
-- Column Addition
|
|
||||||
|
|
||||||
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
|
|
||||||
(52000, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'Sales Transaction', 'This is a Sales Transaction', 'The Sales Transaction checkbox indicates if this item is a Sales Transaction.', 1, 'D', 'IsSOTrx', 661, 20, NULL, NULL, 1, '@IsSOTrx@', 'N', 'N', 'Y', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 1106, NULL, 'N', 'N', 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
|
|
||||||
(52001, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'Amount', 'Amount', 'Amount', 1, 'D', 'Amt', 660, 12, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', '@M_InOutLine_ID@!0', 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 160, NULL, 'N', 'N', 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
|
|
||||||
(52002, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'Charge', 'Additional document charges', 'The Charge indicates a type of Charge (Handling, Shipping, Restocking)', 1, 'D', 'C_Charge_ID', 660, 19, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 968, NULL, 'N', 'N', 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
|
|
||||||
(52003, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'Line Amount', 'Line Extended Amount (Quantity * Actual Price) without Freight and Charges','Indicates the extended line amount based on the quantity and the actual price. Any additional charges or freight are not included. The Amount may or may not include tax. If the price list is inclusive tax, the line amount is the same as the line total.', 1, 'D', 'LineNetAmt', 660, 12, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 441, NULL, 'N', 'N', 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
|
|
||||||
(52004, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'Line No', 'Unique line for this document', 'Indicates the unique line for a document. It will also control the display order of the lines within a document.', 1, 'D', 'Line', 660, 11, NULL, NULL, 22, '@SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_RMALine WHERE M_RMA_ID=@M_RMA_ID@', 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 439, NULL, 'N', 'N', 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
|
|
||||||
(52005, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'Delivered Quantity', 'Delivered Quantity', 'The Delivered Quantity indicates the quantity of a product that has been delivered.', 1, 'D', 'QtyDelivered', 660, 29, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 528, NULL, 'N', 'N', 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
|
|
||||||
(52006, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'Generate To', 'Generate To', NULL, 0, 'D', 'GenerateTo', 661, 28, NULL, NULL, 1, NULL, 'N','N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 1491, 52000, 'N', 'N', 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
|
|
||||||
(52007, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'RMA', 'Return Material Authorization', 'A Return Material Authorization may be required to accept returns and to create Credit Memos', 1, 'D', 'M_RMA_ID', 318, 19, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2412, NULL, 'N', 'N', 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
|
|
||||||
(52008, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'RMA Line', 'Return Material Authorization Line', 'Detail information about the returned goods', 1, 'D', 'M_RMALine_ID', 333, 19, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2413, NULL, 'N', 'N', 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
|
|
||||||
(52009, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'RMA', 'Return Material Authorization', 'A Return Material Authorization may be required to accept returns and to create Credit Memos', 1, 'D', 'M_RMA_ID', 319, 19, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2412, NULL, 'N', 'N', 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
|
|
||||||
(52010, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 100, 'RMA Line', 'Return Material Authorization Line', 'Detail information about the returned goods', 0, 'D', 'M_RMALine_ID', 320, 19, NULL, NULL, 22, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 2413, NULL, 'N', 'N', NULL);
|
|
||||||
|
|
||||||
|
|
||||||
-- Field addition
|
|
||||||
|
|
||||||
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
|
|
||||||
(52000, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Create Order From RMA', 'Creates an order based on the RMA document', NULL, 'Y', 628, 52006, NULL, 'Y', '@Processed@=''Y'' & @C_Order_ID@=0 & @DocStatus@=''CO''', 1, 'N', 160, 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
|
|
||||||
(52001, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Amount', 'Amount', 'Amount', 'Y', 629, 52001, NULL, 'Y', NULL, 22, 'N', 100, 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
|
|
||||||
(52002, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Charge', 'Additional document charges', 'The Charge indicates a type of Charge (Handling, Shipping, Restocking)', 'Y', 629, 52002, NULL, 'Y', NULL, 22, 'N', 80, 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
|
|
||||||
(52003, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Delivered Quantity', 'Delivered Quantity', 'The Delivered Quantity indicates the quantity of a product that has been delivered.', 'Y', 629, 52005, NULL, 'N', NULL, 22, 'N', 0, 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
|
|
||||||
(52004, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Line Amount', 'Line Extended Amount (Quantity * Actual Price) without Freight and Charges', 'Indicates the extended line amount based on the quantity and the actual price. Any additional charges or freight are not included. The Amount may or may not include tax. If the price list is inclusive tax, the line amount is the same as the line total.', 'Y', 629, 52003, NULL, 'Y', NULL, 22, 'Y', 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
|
|
||||||
(52005, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Line No', 'Unique line for this document', 'Indicates the unique line for a document. It will also control the display order of the lines within a document.', 'Y', 629, 52004, NULL, 'Y', NULL, 22, 'N', 40, 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(52007, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Sales Transaction', 'This is a Sales Transaction', 'The Sales Transaction checkbox indicates if this item is a Sales Transaction.', 'Y', 628, 52000, NULL, 'N', NULL, 1, 'N', NULL, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
|
||||||
|
|
||||||
-- Update Field
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=(SeqNo + 10) WHERE AD_Tab_ID=296 AND SeqNo > 40;
|
|
||||||
|
|
||||||
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(52006, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'RMA', 'Return Material Authorization', 'A Return Material Authorization may be required to accept returns and to create Credit Memos', 'Y', 296, 52009, NULL, 'Y', '@M_RMA_ID@!0', 26, 'Y', 50, 0, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
|
||||||
|
|
||||||
|
|
||||||
-- Garden World RMA Fix
|
|
||||||
|
|
||||||
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(52000, 11, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, 'Vendor Return Material', NULL, NULL, 'Y', 1, 990000, 990000, 900, 'N', 'N', NULL, 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(52001, 11, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, 'MM Vendor Return', 'MM Vendor Return', NULL, 'Y', 1, 590000, 590000, 59000, 'N', 'N', NULL, NULL, 'N');
|
|
||||||
|
|
||||||
INSERT INTO C_DOCTYPE(c_doctype_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, NAME, printname, description, docbasetype, issotrx, docsubtypeso, hasproforma, c_doctypeproforma_id, c_doctypeshipment_id, c_doctypeinvoice_id, isdocnocontrolled, docnosequence_id, gl_category_id, hascharges, documentnote, isdefault, documentcopies, ad_printformat_id, isdefaultcounterdoc, isshipconfirm, ispickqaconfirm, isintransit, issplitwhendifference, c_doctypedifference_id, iscreatecounter, isindexed)
|
|
||||||
VALUES(151, 11, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'MM Vendor Return', 'Vendor Return Material', NULL, 'MMS', 'Y', NULL, 'N', NULL, NULL, NULL, 'Y', 52001, 111, 'N', NULL, 'Y', 1, NULL, 'N', 'N', 'N', 'N', 'N', NULL, 'Y', 'Y');
|
|
||||||
|
|
||||||
INSERT INTO C_DOCTYPE(c_doctype_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, NAME, printname, description, docbasetype, issotrx, docsubtypeso, hasproforma, c_doctypeproforma_id, c_doctypeshipment_id, c_doctypeinvoice_id, isdocnocontrolled, docnosequence_id, gl_category_id, hascharges, documentnote, isdefault, documentcopies, ad_printformat_id, isdefaultcounterdoc, isshipconfirm, ispickqaconfirm, isintransit, issplitwhendifference, c_doctypedifference_id, iscreatecounter, isindexed)
|
|
||||||
VALUES(150, 11, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'Vendor Return Material', 'Vendor Return Material Authorization', NULL, 'POO', 'N', 'RM', 'N', NULL, 151, 124, 'Y', 52000, 111, 'N', NULL, 'N', 1, NULL, 'N', 'N', 'N', 'N', 'N', NULL, 'Y', 'Y');
|
|
||||||
|
|
||||||
-- Message Addition
|
|
||||||
|
|
||||||
INSERT INTO AD_MESSAGE
|
|
||||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype)
|
|
||||||
VALUES(52000, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'OrderOrRMA', 'Either Order or RMA can be process on this document.', 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(52001, 0, 0, 'Y', TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, TO_DATE('07/05/2007 17:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, 'VendorRMA', 'Vendor RMA', NULL, 'I', 'D');
|
|
||||||
|
|
||||||
-- Misc AD Updates
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET ColumnName='InOut_ID' WHERE AD_Column_ID=10842;
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET AD_Element_ID=52000 WHERE AD_Column_ID=10842;
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET AD_Reference_Value_ID=337 WHERE AD_Column_ID=10842;
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET AD_Val_Rule_ID=52000 WHERE AD_Column_ID=10842;
|
|
||||||
|
|
||||||
UPDATE AD_TAB SET WhereClause='MovementType IN (''C+'', ''V+'')' WHERE AD_Tab_ID=296;
|
|
||||||
|
|
||||||
UPDATE AD_TAB SET WhereClause='MovementType IN (''C-'', ''V-'')' WHERE AD_Tab_ID=257;
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET IsMandatory='N' WHERE AD_Column_ID=10829;
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET AD_Val_Rule_ID=52001 WHERE AD_Column_ID=10829;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=60, IsSameLine='N' WHERE AD_Field_ID=9310;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=20, IsSameLine='Y' WHERE AD_Field_ID=9311;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=70, IsSameLine='N' WHERE AD_Field_ID=9312;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=0, IsSameLine='N' WHERE AD_Field_ID=9313;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=30, IsSameLine='N' WHERE AD_Field_ID=9314;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=50, IsSameLine='N' WHERE AD_Field_ID=9315;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=90, IsSameLine='N' WHERE AD_Field_ID=9316;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=10, IsSameLine='N' WHERE AD_Field_ID=9317;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=0, IsSameLine='N' WHERE AD_Field_ID=10401;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=100, IsSameLine='Y' WHERE AD_Field_ID=52001;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=80, IsSameLine='Y' WHERE AD_Field_ID=52002;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=0, IsSameLine='N' WHERE AD_Field_ID=52003;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=110, IsSameLine='N' WHERE AD_Field_ID=52004;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET SeqNo=40, IsSameLine='Y' WHERE AD_Field_ID=52005;
|
|
||||||
|
|
||||||
UPDATE AD_TAB SET IsSingleRow='Y' WHERE AD_Tab_ID=628;
|
|
||||||
|
|
||||||
UPDATE AD_TAB SET IsSingleRow='Y' WHERE AD_Tab_ID=629;
|
|
||||||
|
|
||||||
UPDATE C_DOCTYPE SET IsActive='Y' WHERE C_DocType_ID=149;
|
|
||||||
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET Callout='org.adempiere.model.CalloutRMA.docType' WHERE AD_Column_ID=12118;
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET ReadOnlyLogic='@IsSOTrx@=''N''' WHERE AD_Column_ID=52006;
|
|
||||||
|
|
||||||
UPDATE AD_FIELD SET DisplayLogic='@Processed@=''Y'' & @C_Order_ID@=0 & @DocStatus@=''CO'' & @IsSOTrx@=''Y'''
|
|
||||||
WHERE AD_Field_ID=52000;
|
|
||||||
|
|
||||||
UPDATE AD_REF_TABLE SET WhereClause='C_DocType.DocBaseType IN (''SOO'', ''POO'') AND C_DocType.DocSubTypeSO=''RM'' AND C_DocType.AD_Client_ID=@#AD_Client_ID@'
|
|
||||||
WHERE AD_Reference_ID=321;
|
|
||||||
|
|
||||||
UPDATE AD_VAL_RULE SET Code='M_InOutLine.M_InOut_ID=@InOut_ID@ AND NOT EXISTS (SELECT * FROM M_RMALine rl WHERE rl.M_InOutLine_ID=M_InOutLine.M_InOutLine_ID AND rl.M_RMA_ID=@M_RMA_ID@)'
|
|
||||||
WHERE AD_Val_Rule_ID=52001;
|
|
||||||
|
|
||||||
UPDATE C_DOCTYPE SET NAME='MM Returns', IsSOTrx='N' WHERE C_DocType_ID=149;
|
|
||||||
|
|
||||||
COMMIT;
|
|
||||||
|
|
||||||
|
|
||||||
-- NOTE: Don't forget to run the three processes:
|
|
||||||
-- 1 - Add missing translations
|
|
||||||
-- 2 - Synchronize terminology
|
|
||||||
-- 3 - Check sequences
|
|
|
@ -1,40 +0,0 @@
|
||||||
-- POSTGRESQL Changes
|
|
||||||
|
|
||||||
ALTER TABLE C_Invoice ADD M_RMA_ID NUMERIC(10) DEFAULT NULL;
|
|
||||||
|
|
||||||
ALTER TABLE C_InvoiceLine ADD M_RMALine_ID NUMERIC(10,0) DEFAULT NULL;
|
|
||||||
|
|
||||||
ALTER TABLE M_InOut ADD M_RMA_ID NUMERIC(10,0) DEFAULT NULL;
|
|
||||||
|
|
||||||
ALTER TABLE M_InOutLine ADD M_RMALine_ID NUMERIC(10,0) DEFAULT NULL;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMA ADD IsSOTrx CHAR(1) DEFAULT 'Y' CHECK (IsSOTrx IN ('Y', 'N')) NOT NULL;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMA RENAME M_InOut_ID TO InOut_ID;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMA ADD GenerateTo CHAR(1) DEFAULT NULL;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMALine ADD Amt NUMERIC;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMALine ADD C_Charge_ID NUMERIC(10,0);
|
|
||||||
|
|
||||||
ALTER TABLE M_RMALine ADD Line NUMERIC(10,0) DEFAULT 0 NOT NULL;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMALine ADD LineNetAmt NUMERIC;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMALine ADD QtyDelivered NUMERIC;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMALine ALTER COLUMN M_InOutLine_ID DROP DEFAULT;
|
|
||||||
|
|
||||||
ALTER TABLE M_RMALine ALTER COLUMN M_InOutLine_ID DROP NOT NULL;
|
|
||||||
|
|
||||||
|
|
||||||
-- Constraints
|
|
||||||
|
|
||||||
ALTER TABLE C_Invoice ADD CONSTRAINT mrma_cinvoice FOREIGN KEY (M_RMA_ID) REFERENCES M_RMA (M_RMA_ID);
|
|
||||||
|
|
||||||
ALTER TABLE C_InvoiceLine ADD CONSTRAINT mrmaline_cinvoiceline FOREIGN KEY (M_RMALine_ID) REFERENCES M_RMALine (M_RMALine_ID);
|
|
||||||
|
|
||||||
ALTER TABLE M_InOut ADD CONSTRAINT mrma_minout FOREIGN KEY (M_RMA_ID) REFERENCES M_RMA (M_RMA_ID);
|
|
||||||
|
|
||||||
ALTER TABLE M_InOutLine ADD CONSTRAINT mrmaline_minoutline FOREIGN KEY (M_RMALine_ID) REFERENCES M_RMALine (M_RMALine_ID);
|
|
|
@ -1,5 +0,0 @@
|
||||||
UPDATE AD_WINDOW
|
|
||||||
SET windowtype = 'M'
|
|
||||||
WHERE ad_window_id = 319 AND windowtype = 'T';
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,33 +0,0 @@
|
||||||
-- Update help for "C_AcctSchema_Default_Copy" process
|
|
||||||
UPDATE AD_PROCESS
|
|
||||||
SET classname = 'org.compiere.process.AcctSchemaDefaultCopy',
|
|
||||||
help = 'Either add missing accounts - or copy and overwrite all default accounts. If you copy and overwrite the current default values, you may have to repeat previous updates (e.g. set the bank account asset accounts, ...). If no Accounting Schema is selected all Accounting Schemas will be updated / inserted.'
|
|
||||||
WHERE AD_Process_ID=108;
|
|
||||||
|
|
||||||
-- Update Accounting Schema parameter for "C_AcctSchema_Default_Copy" process
|
|
||||||
UPDATE AD_PROCESS_PARA
|
|
||||||
SET ismandatory = 'Y'
|
|
||||||
WHERE ad_process_para_id= 669;
|
|
||||||
|
|
||||||
-- Update help for "M_Product_Category_Acct_Copy" process
|
|
||||||
UPDATE AD_PROCESS
|
|
||||||
SET classname = 'org.compiere.process.ProductCategoryAcctCopy',
|
|
||||||
help = 'If you copy and overwrite the current default values, you may have to repeat previous updates (e.g. set the revenue account, ...). If no Accounting Schema is selected all Accounting Schemas will be updated / inserted for products of this category.'
|
|
||||||
WHERE AD_Process_ID=140;
|
|
||||||
|
|
||||||
-- Update help for "M_Product_Category_Acct_Copy" process (SPANISH translation)
|
|
||||||
UPDATE AD_PROCESS_TRL
|
|
||||||
SET help ='El proceso de copiar cuentas tomará las cuentas definidas para una categoría de producto y las copiará a cualquier producto que que haga referencia a esta categoría. Si una cuenta existe a nivel de producto sera sobreescrita. Si no selecciona un Esquema Contable serán actualizados para todos los que estén definidos.'
|
|
||||||
WHERE AD_Process_ID=140
|
|
||||||
AND AD_LANGUAGE LIKE 'es_%';
|
|
||||||
|
|
||||||
-- Update Accounting Schema parameter for "M_Product_Category_Acct_Copy" process.
|
|
||||||
UPDATE AD_PROCESS_PARA
|
|
||||||
SET ismandatory = 'Y'
|
|
||||||
WHERE AD_Process_Para_ID=668;
|
|
||||||
|
|
||||||
UPDATE AD_PROCESS
|
|
||||||
SET classname = 'org.compiere.process.BPGroupAcctCopy'
|
|
||||||
WHERE AD_Process_ID=112;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,12 +0,0 @@
|
||||||
--
|
|
||||||
-- [ 1740254 ] PriceList Version is empty in Product-Price tab
|
|
||||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1740254&group_id=176962&atid=879332
|
|
||||||
--
|
|
||||||
-- Column M_ProductPrice.M_PriceList_Version_ID:
|
|
||||||
|
|
||||||
-- Original File 012_BF_1740254.sql was deleted - the original file put the IsParent='N'
|
|
||||||
-- restoring past value from IsParent because somebody could apply this patch into their system
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN SET IsParent='Y' WHERE AD_Column_ID=2760;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,5 +0,0 @@
|
||||||
UPDATE AD_COLUMN
|
|
||||||
SET callout = 'org.compiere.model.CalloutMovement.qty'
|
|
||||||
WHERE ad_column_id = 3594;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,11 +0,0 @@
|
||||||
--
|
|
||||||
-- [ 1739541 ] Organization in Window "Role" problem
|
|
||||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1739541&group_id=176962&atid=879332
|
|
||||||
--
|
|
||||||
-- Original File 011_BF_1739541.sql was deleted - the original file put the IsParent='N'
|
|
||||||
-- restoring past value from IsParent because somebody could apply this patch into their system
|
|
||||||
--
|
|
||||||
-- Column AD_Role_OrgAccess.AD_Org_ID:
|
|
||||||
UPDATE AD_Column SET IsParent='Y' WHERE AD_Column_ID=5508 AND IsParent='N';
|
|
||||||
--
|
|
||||||
COMMIT;
|
|
|
@ -1,10 +0,0 @@
|
||||||
/*
|
|
||||||
Fix bug in Application Dictionary
|
|
||||||
[ 1759181 ] AD_Color.ColorType is defined as Color and must be List
|
|
||||||
*/
|
|
||||||
|
|
||||||
UPDATE AD_COLUMN
|
|
||||||
SET ad_reference_id = 17
|
|
||||||
WHERE ad_column_id = 6232 AND ad_reference_id = 27;
|
|
||||||
|
|
||||||
COMMIT;
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,75 +0,0 @@
|
||||||
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;
|
|
|
@ -1,19 +0,0 @@
|
||||||
--
|
|
||||||
-- [ 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 !!!
|
|
||||||
--
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
--
|
|
||||||
-- 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
|
|
|
@ -1,8 +0,0 @@
|
||||||
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;
|
|
|
@ -1,13 +0,0 @@
|
||||||
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 ;
|
|
|
@ -1,9 +0,0 @@
|
||||||
--
|
|
||||||
-- 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;
|
|
|
@ -1,7 +0,0 @@
|
||||||
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;
|
|
|
@ -1,6 +0,0 @@
|
||||||
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;
|
|
|
@ -1,9 +0,0 @@
|
||||||
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;
|
|
|
@ -1,177 +0,0 @@
|
||||||
-- [ 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'
|
|
||||||
);
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
UPDATE AD_COLUMN
|
|
||||||
SET ad_val_rule_id = 220
|
|
||||||
WHERE ad_column_id = 5354;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,7 +0,0 @@
|
||||||
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;
|
|
|
@ -1,155 +0,0 @@
|
||||||
-- 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
|
@ -1,165 +0,0 @@
|
||||||
-- 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);
|
|
|
@ -1,204 +0,0 @@
|
||||||
--@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
|
|
|
@ -1,25 +0,0 @@
|
||||||
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;
|
|
|
@ -1,19 +0,0 @@
|
||||||
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;
|
|
|
@ -1,132 +0,0 @@
|
||||||
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;
|
|
|
@ -1,191 +0,0 @@
|
||||||
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');
|
|
|
@ -1 +0,0 @@
|
||||||
-- This is just a sequence placeholder for a rejected migration script
|
|
|
@ -1,94 +0,0 @@
|
||||||
-- 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
|
|
|
@ -1 +0,0 @@
|
||||||
update C_Currency set CurSymbol='KR' where C_Currency_ID=285;
|
|
|
@ -1,9 +0,0 @@
|
||||||
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;
|
|
|
@ -1,19 +0,0 @@
|
||||||
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;
|
|
|
@ -1,5 +0,0 @@
|
||||||
UPDATE AD_LDAPPROCESSOR
|
|
||||||
SET isactive = 'N'
|
|
||||||
WHERE ad_ldapprocessor_id = 100;
|
|
||||||
|
|
||||||
COMMIT;
|
|
|
@ -1,9 +0,0 @@
|
||||||
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 ;
|
|
|
@ -1,222 +0,0 @@
|
||||||
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;
|
|
|
@ -1,179 +0,0 @@
|
||||||
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;
|
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
-- 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
|
@ -1,163 +0,0 @@
|
||||||
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 ;
|
|
|
@ -1,9 +0,0 @@
|
||||||
-- 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)
|
|
||||||
;
|
|
|
@ -1,9 +0,0 @@
|
||||||
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;
|
|
|
@ -1,14 +0,0 @@
|
||||||
-- 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_%'
|
|
||||||
;
|
|
|
@ -1,85 +0,0 @@
|
||||||
-- [ 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;
|
|
|
@ -1,9 +0,0 @@
|
||||||
-- 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;
|
|
||||||
|
|
|
@ -1,129 +0,0 @@
|
||||||
|
|
||||||
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;
|
|
|
@ -1,65 +0,0 @@
|
||||||
-- 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)
|
|
||||||
;
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue