
-- Feb 22, 2018 3:32:07 AM UTC
INSERT INTO AD_Table (AD_Table_ID,Name,TableName,LoadSeq,AccessLevel,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSecurityEnabled,IsDeleteable,IsHighVolume,IsView,EntityType,ImportTable,IsChangeLog,ReplicationType,CopyColumnsFromTable,IsCentrallyMaintained,AD_Table_UU,Processing,DatabaseViewDrop,CopyComponentsFromView) VALUES (300006,'Cashier Machine','zpos_Cashier',0,'3',0,0,'Y',TO_TIMESTAMP('2018-02-22 03:32:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:32:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','N','U','N','Y','L','N','Y','d2d2f78b-a71b-4d62-91ba-0fbe0a80a59e','N','N','N')
;

-- Feb 22, 2018 3:32:07 AM UTC
INSERT INTO AD_Sequence (Name,CurrentNext,IsAudited,StartNewYear,Description,IsActive,IsTableID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,AD_Sequence_ID,IsAutoSequence,StartNo,IncrementNo,CurrentNextSys,AD_Sequence_UU) VALUES ('zpos_Cashier',1000000,'N','N','Table zpos_Cashier','Y','Y',0,0,TO_TIMESTAMP('2018-02-22 03:32:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:32:07','YYYY-MM-DD HH24:MI:SS'),100,302066,'Y',1000000,1,200000,'7c899d05-1bb7-467b-8060-021cd532ba99')
;

-- Feb 22, 2018 3:32:53 AM UTC
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (300025,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:32:52','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:32:52','YYYY-MM-DD HH24:MI:SS'),100,'zpos_Cashier_ID','Cashier Machine','Cashier Machine','U','2e73c4ec-87bd-4f5c-bd1c-53cef2c23235')
;

-- Feb 22, 2018 3:33:03 AM UTC
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (300026,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:33:03','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:33:03','YYYY-MM-DD HH24:MI:SS'),100,'zpos_Cashier_UU','Cashier Machine UU','Cashier Machine UU','U','2c91846e-b6f8-4122-8163-555398d76273')
;

-- Feb 22, 2018 3:33:14 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300147,0,'Cashier Machine',300006,'zpos_Cashier_ID',22,'Y','N','N','N','N',0,'N',13,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:33:14','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:33:14','YYYY-MM-DD HH24:MI:SS'),100,300025,'N','N','U','N','N','N','Y','b10915f8-0402-41d7-8aa1-4443663cc272','N',0,'N','N')
;

-- Feb 22, 2018 3:33:17 AM UTC
CREATE TABLE zpos_Cashier (zpos_Cashier_ID NUMERIC(10) DEFAULT NULL , CONSTRAINT zpos_Cashier_Key PRIMARY KEY (zpos_Cashier_ID))
;

-- Feb 22, 2018 3:33:29 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300148,0,'Cashier Machine UU',300006,'zpos_Cashier_UU',36,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:33:29','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:33:29','YYYY-MM-DD HH24:MI:SS'),100,300026,'N','N','U','N','N','N','Y','6d68ea25-63bb-458d-a5eb-25f17b283010','N',0,'N','N')
;

-- Feb 22, 2018 3:33:30 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN zpos_Cashier_UU VARCHAR(36) DEFAULT NULL 
;

-- Feb 22, 2018 3:33:30 AM UTC
ALTER TABLE zpos_Cashier ADD CONSTRAINT zpos_Cashier_UU_idx UNIQUE (zpos_Cashier_UU)
;

-- Feb 22, 2018 3:33:44 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType) VALUES (300149,0,'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.',300006,129,'AD_Client_ID','@#AD_Client_ID@',22,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:33:44','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:33:44','YYYY-MM-DD HH24:MI:SS'),100,102,'N','N','U','N','N','N','Y','e9d43c5c-cf9a-42e4-9b99-e2018e3900e8','N',0,'N','N','D')
;

-- Feb 22, 2018 3:33:46 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN AD_Client_ID NUMERIC(10) DEFAULT NULL 
;

-- Feb 22, 2018 3:33:53 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType) VALUES (300150,0,'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.',300006,104,'AD_Org_ID','@#AD_Org_ID@',22,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:33:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:33:53','YYYY-MM-DD HH24:MI:SS'),100,113,'N','N','U','N','N','N','Y','23674fec-df12-4594-a9c7-f4dfd4845c5a','N',0,'N','N','D')
;

-- Feb 22, 2018 3:33:54 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN AD_Org_ID NUMERIC(10) DEFAULT NULL 
;

-- Feb 22, 2018 3:34:01 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300151,0,'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).',300006,'Value',40,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:34:01','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:34:01','YYYY-MM-DD HH24:MI:SS'),100,620,'Y','Y','U','N','N','N','Y','c9698891-ffa2-46eb-ad37-74c5a118bb69','Y',0,'N','N')
;

-- Feb 22, 2018 3:34:02 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN Value VARCHAR(40) DEFAULT NULL 
;

-- Feb 22, 2018 3:34:11 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300152,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.',300006,'Name',60,'N','N','N','N','Y',0,'N',10,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:34:11','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:34:11','YYYY-MM-DD HH24:MI:SS'),100,469,'Y','Y','U','N','N','N','Y','d9176bce-208c-405d-8d7c-cbf21d5b78df','Y',0,'N','N')
;

-- Feb 22, 2018 3:34:13 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN Name VARCHAR(60) DEFAULT NULL 
;

-- Feb 22, 2018 3:34:22 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300153,0,'Description','Optional short description of the record','A description is limited to 255 characters.',300006,'Description',255,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:34:22','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:34:22','YYYY-MM-DD HH24:MI:SS'),100,275,'Y','Y','U','N','N','N','Y','5f9c5465-eec6-493c-bc60-8b0818aec655','Y',0,'N','N')
;

-- Feb 22, 2018 3:34:23 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN Description VARCHAR(255) DEFAULT NULL 
;

-- Feb 22, 2018 3:34:56 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300154,0,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',300006,'Updated','SYSDATE',7,'N','N','N','N','N',0,'N',16,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:34:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:34:56','YYYY-MM-DD HH24:MI:SS'),100,607,'N','N','U','N','N','N','Y','488ad99d-35e0-435d-9fe6-33d090849f22','N',0,'N','N')
;

-- Feb 22, 2018 3:34:57 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN Updated TIMESTAMP DEFAULT statement_timestamp() 
;

-- Feb 22, 2018 3:35:04 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300155,0,'Created','Date this record was created','The Created field indicates the date that this record was created.',300006,'Created','SYSDATE',7,'N','N','N','N','N',0,'N',16,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:35:04','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:35:04','YYYY-MM-DD HH24:MI:SS'),100,245,'N','N','U','N','N','N','Y','88c790b3-2644-4028-9507-4b27404b3e2d','N',0,'N','N')
;

-- Feb 22, 2018 3:35:05 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN Created TIMESTAMP DEFAULT statement_timestamp() 
;

-- Feb 22, 2018 3:35:14 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType) VALUES (300156,0,'Created By','User who created this records','The Created By field indicates the user who created this record.',300006,'CreatedBy',22,'N','N','N','N','N',0,'N',18,110,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:35:14','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:35:14','YYYY-MM-DD HH24:MI:SS'),100,246,'N','N','U','N','N','N','Y','28ec8107-9d5b-4a70-b057-4b81cd49124c','N',0,'N','N','D')
;

-- Feb 22, 2018 3:35:15 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN CreatedBy NUMERIC(10) DEFAULT NULL 
;

-- Feb 22, 2018 3:35:21 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType) VALUES (300157,0,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',300006,'UpdatedBy',22,'N','N','N','N','N',0,'N',18,110,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:35:21','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:35:21','YYYY-MM-DD HH24:MI:SS'),100,608,'N','N','U','N','N','N','Y','d42c6758-c5c4-4ba5-ad50-ede8905fbb9b','N',0,'N','N','D')
;

-- Feb 22, 2018 3:35:22 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN UpdatedBy NUMERIC(10) DEFAULT NULL 
;

-- Feb 22, 2018 3:35:30 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (300158,0,'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.',300006,'IsActive','Y',1,'N','N','N','N','N',0,'N',20,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:35:30','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:35:30','YYYY-MM-DD HH24:MI:SS'),100,348,'Y','N','U','N','N','N','Y','072f3869-cfc9-49e8-8ccd-979a5a7f35f2','N',0,'N','N')
;

-- Feb 22, 2018 3:35:32 AM UTC
ALTER TABLE zpos_Cashier ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N'))
;

-- Feb 22, 2018 3:36:03 AM UTC
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType) VALUES (300159,0,'Cashier Machine',259,'zpos_Cashier_ID',22,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2018-02-22 03:36:03','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:36:03','YYYY-MM-DD HH24:MI:SS'),100,300025,'N','N','U','N','N','N','Y','3de45028-3516-4f14-88f2-23ba4a7eb86c','Y',0,'N','N','N')
;

-- Feb 22, 2018 3:36:08 AM UTC
UPDATE AD_Column SET FKConstraintName='zposCashier_COrder', FKConstraintType='N',Updated=TO_TIMESTAMP('2018-02-22 03:36:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=300159
;

-- Feb 22, 2018 3:36:08 AM UTC
ALTER TABLE C_Order ADD COLUMN zpos_Cashier_ID NUMERIC(10) DEFAULT NULL 
;

-- Feb 22, 2018 3:36:08 AM UTC
ALTER TABLE C_Order ADD CONSTRAINT zposCashier_COrder FOREIGN KEY (zpos_Cashier_ID) REFERENCES zpos_cashier(zpos_cashier_id) DEFERRABLE INITIALLY DEFERRED
;

-- Feb 22, 2018 3:36:42 AM UTC
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,SortNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField) VALUES (300116,'Cashier Machine',294,300159,'Y',0,490,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2018-02-22 03:36:42','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:36:42','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','U','d74468fb-ed45-4836-81ed-129567c5734e','Y',490,1,2,1,'N','N','N')
;

-- Feb 22, 2018 3:37:03 AM UTC
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,SortNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField) VALUES (300117,'Cashier Machine',186,300159,'Y',0,580,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2018-02-22 03:37:03','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-02-22 03:37:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','U','8025dfa5-daf1-4639-9647-0d1a873817a8','Y',580,1,1,1,'N','N','N')
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=280, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=300116
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=290, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3438
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=300, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3467
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=310, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3456
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=320, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3454
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=330, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3466
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=340, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3439
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=350, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3459
;

-- Feb 22, 2018 3:37:29 AM UTC
UPDATE AD_Field SET SeqNo=360, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3457
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=370, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3446
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=380, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=7039
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=390, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=7824
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=400, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=7823
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=410, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3425
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=420, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3427
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=430, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3449
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=440, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3450
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=450, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=60923
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=460, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6506
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=470, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3426
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=480, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=60973
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=490, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3671
;

-- Feb 22, 2018 3:37:30 AM UTC
UPDATE AD_Field SET SeqNo=0, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=204760
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=340, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=300117
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=350, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1098
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=360, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3272
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=370, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2112
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=380, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2109
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=390, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3113
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=400, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1099
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=410, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56906
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=420, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2593
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=430, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=2589
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=440, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1324
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=450, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=7038
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=460, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=7826
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=470, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=7825
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=480, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1112
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=490, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1113
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=500, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1082
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=510, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1084
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=520, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=60922
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=530, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6560
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=540, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1083
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=550, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58037
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=560, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3660
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=570, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=60972
;

-- Feb 22, 2018 3:37:44 AM UTC
UPDATE AD_Field SET SeqNo=580, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2018-02-22 03:37:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200756
;

