-- missing statements for old (0.5.1 or below) migration script
-- please apply the following statements to the migrated db.

ALTER TABLE AD_CLIENTINFO
DROP (
PA_GOAL_ID
);

ALTER TABLE AD_WORKBENCH
DROP (
PA_GOAL_ID
);

ALTER TABLE AD_USER
DROP (
PA_GOAL_ID,
PA_GOALPRIVATE_ID
);

ALTER TABLE PA_ACHIEVEMENT
DROP (
AD_USER_ID,
ACHIVENOTE,
ISSUMMARY,
PARENT_ID
);

ALTER TABLE PA_GOAL
DROP (
PARENT_ID
);

ALTER TABLE PA_MEASURE
DROP (
PA_ACHIEVEMENT_ID,
DATEFROM,
DATETO,
ORG_ID,
C_BP_GROUP_ID,
C_BPARTNER_ID,
M_PRODUCT_CATEGORY_ID,
M_PRODUCT_ID
);



SET DEFINE OFF;
INSERT INTO R_STATUSCATEGORY(R_STATUSCATEGORY_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISDEFAULT)values(100,11,0,'Y',to_date('2006-01-15','RRRR-MM-DD'),100,to_date('2006-01-15','RRRR-MM-DD'),100,'Default','Default Request Status',null,'Y');
INSERT INTO PA_COLORSCHEMA(PA_COLORSCHEMA_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,MARK1PERCENT,AD_PRINTCOLOR1_ID,MARK2PERCENT,AD_PRINTCOLOR2_ID,MARK3PERCENT,AD_PRINTCOLOR3_ID,MARK4PERCENT,AD_PRINTCOLOR4_ID)values(101,0,0,'Y',to_date('2005-12-31','RRRR-MM-DD'),100,to_date('2005-12-31','RRRR-MM-DD'),100,'Green (50) - Yellow (100) - Red','< 100% is the goal',50,103,100,113,9999,102,0,null);
INSERT INTO PA_COLORSCHEMA(PA_COLORSCHEMA_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,MARK1PERCENT,AD_PRINTCOLOR1_ID,MARK2PERCENT,AD_PRINTCOLOR2_ID,MARK3PERCENT,AD_PRINTCOLOR3_ID,MARK4PERCENT,AD_PRINTCOLOR4_ID)values(100,0,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-31','RRRR-MM-DD'),100,'Red (50) - Yellow (100) - Green','>= 100% is the goal',50,102,100,113,9999,103,0,null);
INSERT INTO PA_RATIO(PA_RATIO_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,C_ACCTSCHEMA_ID)values(100,11,11,'Y',to_date('2005-12-26','RRRR-MM-DD'),101,to_date('2005-12-26','RRRR-MM-DD'),101,'Fxed Assets',null,null,101);
INSERT INTO C_BANKACCOUNT(C_BANKACCOUNT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,C_BANK_ID,C_CURRENCY_ID,BANKACCOUNTTYPE,ACCOUNTNO,CURRENTBALANCE,CREDITLIMIT,ISDEFAULT,IBAN,DESCRIPTION,BBAN)values(101,11,0,'Y',to_date('2005-11-21','RRRR-MM-DD'),100,to_date('2006-01-01','RRRR-MM-DD'),100,100,100,'C','5678',0,0,'N',null,'With Optimal Payments',null);
INSERT INTO C_PAYMENTPROCESSOR(C_PAYMENTPROCESSOR_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_BANKACCOUNT_ID,AD_SEQUENCE_ID,PAYPROCESSORCLASS,USERID,PASSWORD,HOSTADDRESS,HOSTPORT,PROXYADDRESS,PROXYPORT,PROXYLOGON,PROXYPASSWORD,ACCEPTVISA,ACCEPTMC,ACCEPTAMEX,ACCEPTDINERS,ACCEPTDISCOVER,ACCEPTCORPORATE,ACCEPTCHECK,ACCEPTATM,REQUIREVV,C_CURRENCY_ID,COSTPERTRX,COMMISSION,PARTNERID,VENDORID,MINIMUMAMT,ACCEPTDIRECTDEBIT,ACCEPTDIRECTDEPOSIT)values(101,11,0,'N',to_date('2005-11-21','RRRR-MM-DD'),100,to_date('2006-01-01','RRRR-MM-DD'),100,'Optimal Payments',null,101,null,'org.compiere.model.PP_Optimal','vrn400000000','vrn400000000','test-payflow.verisign.com',443,null,0,null,null,'N','N','N','N','N','N','N','N','N',100,0,0,'wfb','vrn400000000',0,'N','N');
INSERT INTO C_ELEMENTVALUE(C_ELEMENTVALUE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,VALUE,NAME,DESCRIPTION,ACCOUNTTYPE,ACCOUNTSIGN,ISDOCCONTROLLED,C_ELEMENT_ID,ISSUMMARY,VALIDFROM,VALIDTO,POSTACTUAL,POSTBUDGET,POSTENCUMBRANCE,POSTSTATISTICAL,ISBANKACCOUNT,C_BANKACCOUNT_ID,ISFOREIGNCURRENCY,C_CURRENCY_ID)values(783,11,11,'Y',to_date('2005-12-14','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,'7','7-Expenses','7-Expenses','E','N','N',105,'Y',null,null,'Y','Y','Y','Y','N',null,'N',null);
INSERT INTO PA_REPORTLINESET(PA_REPORTLINESET_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,PROCESSING)values(104,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,'Income Statement for Cash Flow','Income Statement for Cash Flow','N');
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(201,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Depreciation Expense summarized',459,'Depreciation Expense summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(205,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Loss on sale of fixed asset',465,'Loss on sale of fixed asset','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(206,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Receivables(A/R, loans, taxes) summarized',490,'Receivables(A/R, loans, taxes) summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(207,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Inventory summarized',495,'Inventory summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(208,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Prepayments summarized',500,'Prepayments summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(209,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Accounts Payable summarized',467,'Accounts Payable summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(212,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Investments activities summarized',530,'Investments activities summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(214,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Fixed Asset activity summarized',540,'Fixed Asset activity summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(215,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Equipment activity summarized',545,'Equipment activity summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(218,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Loss on sale of fixed asset',521,'Loss on sale of fixed asset','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(219,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Gain in sale of fixed asset',520,'Gain in sale of fixed asset','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(220,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Net gain on sale of fixed assets',522,'Net gain  on sale of fixed assets','Y',null,'N','C','S',218,219,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(221,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Accum. Depreciation summarized',461,'Accum. Depreciation summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(222,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Accum. Depreciation summarized for Investments',536,'Accum. Depreciation summarized for Investments','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(223,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Common Stock summarized',560,'Common Stock summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(224,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Cash Dividends summarized',565,'Cash Dividends summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(225,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Net cash from financing activity',570,'Net cash from financing activity','Y',null,'N','C','R',223,224,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(231,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Amoritization summarized',460,'Amoritization summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(239,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Change in Deposits',562,'Change in Deposits','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(230,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Cash summarized',610,'Cash summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(232,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Uninsured Casualty Loss ',462,'Uninsured Casualty Loss','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(233,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Unrealized Loss',463,'Unrealized Loss','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(234,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Capital Loss',464,'Capital Loss','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(235,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Unrealized Gain',505,'Unrealized Gain','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(236,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Fixed Asset Sale Gain',506,'Fixed Asset Sale Gain','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(237,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Currency Balancing summarized',468,'Currency Balancing summarized','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(238,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Sub total asset changes',550,'Sub total asset changes','Y',null,'N','C','R',222,215,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(240,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Unrealized Gain summarized for total cash flow',592,'Unrealized Gain summarized for total cash flow','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(241,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Unrealized Losses summarized for total Cash flow',593,'Unrealized Losses summarized for total Cash flow','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(242,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Currency Balancing summarized for total Cash flow',594,'Unrealized Balancing summarized for total Cash flow','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(243,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Net total effect of change in Direct Exchange rate',595,'Net total effect of change in Direct Exchange rate','Y',null,'N','C','R',240,242,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(160,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,104,'4',251,'Sales','Y',null,'N','S',null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(162,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,104,'5',262,'Cost of Goods Sold','Y',null,'N','S',null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(167,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Gross Margin',286,'Gross Margin','Y',null,'N','C','S',160,162,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(177,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,104,'6',364,'6-Expenses','Y',null,'N','S',null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(190,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'80',425,'Other Income summarized ','Y',null,'N','S',null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(192,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'82',427,'Other Expense','Y',null,'N','S',null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(194,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Net other income (loss)',429,'Net Other Income (loss)','Y',null,'N','C','S',190,192,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(195,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'89',450,'Income Tax & Summary','Y',null,'N','S',null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(199,11,0,'Y',to_date('2005-12-14','RRRR-MM-DD'),100,to_date('2005-12-14','RRRR-MM-DD'),100,104,'7-Expenses',400,'Summary of all 7-Expenses','Y',null,'N','S','A',null,null,null,null,null);
INSERT INTO PA_REPORTCOLUMNSET(PA_REPORTCOLUMNSET_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,PROCESSING)values(102,11,11,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Net Period Activity','Net Period Activity','N');
INSERT INTO PA_REPORTCOLUMN(PA_REPORTCOLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTCOLUMNSET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,POSTINGTYPE,GL_BUDGET_ID,COLUMNTYPE,RELATIVEPERIOD,CURRENCYTYPE,CALCULATIONTYPE,AMOUNTTYPE,C_CURRENCY_ID,ISADHOCCONVERSION,OPER_1_ID,OPER_2_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(112,11,11,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,102,'Beginning period ',30,'Beginning Period','Y','A',null,'R',-1,null,'A','BP',null,'N',null,null,null,null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTCOLUMN(PA_REPORTCOLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTCOLUMNSET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,POSTINGTYPE,GL_BUDGET_ID,COLUMNTYPE,RELATIVEPERIOD,CURRENCYTYPE,CALCULATIONTYPE,AMOUNTTYPE,C_CURRENCY_ID,ISADHOCCONVERSION,OPER_1_ID,OPER_2_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(113,11,11,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,102,'End period',20,'End period','Y','A',null,'R',0,null,'A','BP',null,'N',null,null,null,null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTCOLUMN(PA_REPORTCOLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTCOLUMNSET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,POSTINGTYPE,GL_BUDGET_ID,COLUMNTYPE,RELATIVEPERIOD,CURRENCYTYPE,CALCULATIONTYPE,AMOUNTTYPE,C_CURRENCY_ID,ISADHOCCONVERSION,OPER_1_ID,OPER_2_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(114,11,11,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,102,'Net period',10,'Net period','Y','A',null,'C',0,null,'S','BP',null,'N',113,112,null,null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTCOLUMN(PA_REPORTCOLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTCOLUMNSET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,POSTINGTYPE,GL_BUDGET_ID,COLUMNTYPE,RELATIVEPERIOD,CURRENCYTYPE,CALCULATIONTYPE,AMOUNTTYPE,C_CURRENCY_ID,ISADHOCCONVERSION,OPER_1_ID,OPER_2_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(115,11,11,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,102,'Period debits',40,null,'Y','A',null,'R',0,null,'A','DP',null,'N',null,null,null,null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTCOLUMN(PA_REPORTCOLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTCOLUMNSET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,POSTINGTYPE,GL_BUDGET_ID,COLUMNTYPE,RELATIVEPERIOD,CURRENCYTYPE,CALCULATIONTYPE,AMOUNTTYPE,C_CURRENCY_ID,ISADHOCCONVERSION,OPER_1_ID,OPER_2_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(116,11,11,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,102,'Period credits only',50,'Period credits only','Y','A',null,'R',0,null,'A','CP',null,'N',null,null,null,null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORT(PA_REPORT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,PA_REPORTLINESET_ID,PA_REPORTCOLUMNSET_ID,C_ACCTSCHEMA_ID,C_CALENDAR_ID,PROCESSING,AD_PRINTFORMAT_ID,LISTSOURCES,LISTTRX)values(102,11,11,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,'Statement of Cash Flows','Statement of Cash Flows',104,102,101,102,'N',166,'N','N');
INSERT INTO PA_RATIOELEMENT(PA_RATIOELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,PA_RATIO_ID,RATIOOPERAND,RATIOELEMENTTYPE,ACCOUNT_ID,PA_RATIOUSED_ID,PA_MEASURECALC_ID,CONSTANTVALUE,SEQNO,POSTINGTYPE)values(100,11,11,'Y',to_date('2005-12-26','RRRR-MM-DD'),101,to_date('2005-12-26','RRRR-MM-DD'),101,'Long Term Investments',null,100,'P','A',537,null,null,0,10,'A');
INSERT INTO PA_RATIOELEMENT(PA_RATIOELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,PA_RATIO_ID,RATIOOPERAND,RATIOELEMENTTYPE,ACCOUNT_ID,PA_RATIOUSED_ID,PA_MEASURECALC_ID,CONSTANTVALUE,SEQNO,POSTINGTYPE)values(101,11,11,'Y',to_date('2005-12-26','RRRR-MM-DD'),101,to_date('2005-12-26','RRRR-MM-DD'),101,'Inventory',null,100,'P','A',541,null,null,0,0,'A');
INSERT INTO PA_RATIOELEMENT(PA_RATIOELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,PA_RATIO_ID,RATIOOPERAND,RATIOELEMENTTYPE,ACCOUNT_ID,PA_RATIOUSED_ID,PA_MEASURECALC_ID,CONSTANTVALUE,SEQNO,POSTINGTYPE)values(102,11,11,'Y',to_date('2005-12-26','RRRR-MM-DD'),101,to_date('2005-12-26','RRRR-MM-DD'),101,'Land and Building',null,100,'P','A',554,null,null,0,0,null);
INSERT INTO PA_MEASURECALC(PA_MEASURECALC_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,SELECTCLAUSE,WHERECLAUSE,DATECOLUMN,ORGCOLUMN,BPARTNERCOLUMN,PRODUCTCOLUMN,AD_TABLE_ID,KEYCOLUMN,ENTITYTYPE)values(104,0,0,'Y',to_date('2005-12-25','RRRR-MM-DD'),100,to_date('2006-01-01','RRRR-MM-DD'),100,'Invoiced Paid Quantities','Invoiced paid quantities','SELECT SUM(il.QtyInvoiced)  FROM RV_C_Invoice C_Invoice   INNER JOIN RV_C_InvoiceLine il ON (C_Invoice.C_Invoice_ID=il.C_Invoice_ID)','WHERE C_Invoice.IsSOTrx=''Y'' AND C_Invoice.Processed=''Y'' AND C_Invoice.IsPaid=''Y'' ','C_Invoice.DateInvoiced','C_Invoice.AD_Org_ID','C_Invoice.C_BPartner_ID','il.M_Product_ID',318,'C_Invoice.C_Invoice_ID','D');
INSERT INTO PA_MEASURECALC(PA_MEASURECALC_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,SELECTCLAUSE,WHERECLAUSE,DATECOLUMN,ORGCOLUMN,BPARTNERCOLUMN,PRODUCTCOLUMN,AD_TABLE_ID,KEYCOLUMN,ENTITYTYPE)values(105,0,0,'Y',to_date('2006-01-01','RRRR-MM-DD'),100,to_date('2006-01-01','RRRR-MM-DD'),100,'Open Invoice Amount','Open Invoice Amount  in Accounting Currency','SELECT COALESCE(SUM(currencyBase(invoiceOpen(C_Invoice_ID, C_InvoicePaySchedule_ID),C_Currency_ID, DateAcct, AD_Client_ID, AD_Org_ID)),0) FROM C_Invoice_v C_Invoice','WHERE IsSOTrx=''Y'' AND Processed=''Y''','DateInvoiced','AD_Org_ID','C_BPartner_ID',null,318,'C_Invoice_ID','D');
INSERT INTO PA_MEASURE(PA_MEASURE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,MEASURETYPE,MANUALACTUAL,MANUALNOTE,CALCULATIONCLASS,PA_MEASURECALC_ID,PA_BENCHMARK_ID,PA_RATIO_ID,PA_HIERARCHY_ID,MEASUREDATATYPE,R_REQUESTTYPE_ID,C_PROJECTTYPE_ID)values(101,11,0,'Y',to_date('2005-12-25','RRRR-MM-DD'),100,to_date('2005-12-26','RRRR-MM-DD'),101,'Invoices Gross Revenue',null,'C',0,null,null,101,null,null,null,'T',null,null);
INSERT INTO PA_MEASURE(PA_MEASURE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,MEASURETYPE,MANUALACTUAL,MANUALNOTE,CALCULATIONCLASS,PA_MEASURECALC_ID,PA_BENCHMARK_ID,PA_RATIO_ID,PA_HIERARCHY_ID,MEASUREDATATYPE,R_REQUESTTYPE_ID,C_PROJECTTYPE_ID)values(102,11,0,'Y',to_date('2006-01-01','RRRR-MM-DD'),100,to_date('2006-01-01','RRRR-MM-DD'),100,'Open Invoice Amount',null,'C',0,null,null,105,null,null,null,'S',null,null);
INSERT INTO PA_MEASURE(PA_MEASURE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,MEASURETYPE,MANUALACTUAL,MANUALNOTE,CALCULATIONCLASS,PA_MEASURECALC_ID,PA_BENCHMARK_ID,PA_RATIO_ID,PA_HIERARCHY_ID,MEASUREDATATYPE,R_REQUESTTYPE_ID,C_PROJECTTYPE_ID)values(103,11,0,'Y',to_date('2006-01-20','RRRR-MM-DD'),100,to_date('2006-01-20','RRRR-MM-DD'),100,'Service Requests (Time)',null,'Q',0,null,null,null,null,null,null,'T',101,null);
INSERT INTO PA_MEASURE(PA_MEASURE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,MEASURETYPE,MANUALACTUAL,MANUALNOTE,CALCULATIONCLASS,PA_MEASURECALC_ID,PA_BENCHMARK_ID,PA_RATIO_ID,PA_HIERARCHY_ID,MEASUREDATATYPE,R_REQUESTTYPE_ID,C_PROJECTTYPE_ID)values(104,11,0,'Y',to_date('2006-01-20','RRRR-MM-DD'),100,to_date('2006-01-20','RRRR-MM-DD'),100,'Service Requests (Status)',null,'Q',0,null,null,null,null,null,null,'S',101,null);
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(287,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Hokkaido','Hokkaido',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(288,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Aomori-ken','Aomori-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(289,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Iwate-ken','Iwate-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(290,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Miyagi-ken','Miyagi-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(291,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Akita-ken','Akita-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(292,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Yamagata-ken','Yamagata-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(293,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Fukushima-ken','Fukushima-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(294,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Ibaragi-ken','Ibaragi-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(295,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Tochigi-ken','Tochigi-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(296,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Gunma-ken','Gunma-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(297,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Saitama-ken','Saitama-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(298,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Chiba-ken','Chiba-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(299,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Tokyo-to','Tokyo-to',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(300,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Kanagawa-ken','Kanagawa-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(301,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Niigata-ken','Niigata-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(302,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Toyama-ken','Toyama-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(303,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Ishikawa-ken','Ishikawa-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(304,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Fukui-ken','Fukui-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(305,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Yamanashi-ken','Yamanashi-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(306,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Nagano-ken','Nagano-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(307,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Gifu-ken','Gifu-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(308,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Shizuoka-ken','Shizuoka-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(309,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Aichi-ken','Aichi-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(310,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Mie-ken','Mie-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(311,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Shiga-ken','Shiga-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(312,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Kyoto-fu','Kyoto-fu',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(313,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Osaka-fu','Osaka-fu',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(314,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Hyogo-ken','Hyogo-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(315,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Nara-ken','Nara-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(316,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Wakayama-ken','Wakayama-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(317,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Tottori-ken','Tottori-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(318,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Shimane-ken','Shimane-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(319,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Okayama-ken','Okayama-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(320,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Hiroshima-ken','Hiroshima-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(321,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Yamaguchi-ken','Yamaguchi-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(322,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Tokushima-ken','Tokushima-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(323,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Kagawa-ken','Kagawa-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(324,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Ehime-ken','Ehime-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(325,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Kochi-ken','Kochi-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(326,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Fukuoka-ken','Fukuoka-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(327,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Saga-ken','Saga-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(328,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Nagasaki-ken','Nagasaki-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(329,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Kumamoto-ken','Kumamoto-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(330,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Oita-ken','Oita-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(331,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Miyazaki-ken','Miyazaki-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(332,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Kagoshima-ken','Kagoshima-ken',216,'N');
INSERT INTO C_REGION(C_REGION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,NAME,DESCRIPTION,C_COUNTRY_ID,ISDEFAULT)values(333,0,0,'Y',to_date('2006-02-06','RRRR-MM-DD'),100,to_date('2006-02-06','RRRR-MM-DD'),100,'Okinawa-ken','Okinawa-ken',216,'N');
INSERT INTO R_REQUESTACTION(R_REQUESTACTION_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,R_REQUEST_ID,R_GROUP_ID,R_CATEGORY_ID,R_STATUS_ID,R_RESOLUTION_ID,SALESREP_ID,AD_ROLE_ID,ISESCALATED,ISINVOICED,CONFIDENTIALTYPE,ISSELFSERVICE,PRIORITY,PRIORITYUSER,C_BPARTNER_ID,AD_USER_ID,C_ORDER_ID,C_INVOICE_ID,C_PAYMENT_ID,M_PRODUCT_ID,C_PROJECT_ID,SUMMARY,DATENEXTACTION,C_ACTIVITY_ID,R_REQUESTTYPE_ID,A_ASSET_ID,M_INOUT_ID,M_RMA_ID,NULLCOLUMNS,TASKSTATUS,DATECOMPLETEPLAN,QTYPLAN,QTYSPENT,STARTDATE,ENDDATE,DATESTARTPLAN,QTYINVOICED,M_PRODUCTSPENT_ID)values(101,11,11,'Y',to_date('2006-01-20','RRRR-MM-DD'),100,to_date('2006-01-20','RRRR-MM-DD'),100,100,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,100,null,null,null,'StartDate',null,null,null,null,null,null,null,null,null);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,122,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,123,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,24,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,124,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,24,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,125,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,40,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,126,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,45,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,127,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,12,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,128,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,10,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,129,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,16,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,130,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,20,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,131,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,132,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,133,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,134,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,135,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,136,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,137,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,138,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,139,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,140,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,141,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,142,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,143,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,144,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,145,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,146,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,147,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO M_COST(AD_CLIENT_ID,AD_ORG_ID,M_PRODUCT_ID,M_COSTTYPE_ID,C_ACCTSCHEMA_ID,M_COSTELEMENT_ID,M_ATTRIBUTESETINSTANCE_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,CURRENTCOSTPRICE,CURRENTQTY,CUMULATEDAMT,CUMULATEDQTY,FUTURECOSTPRICE,DESCRIPTION,PERCENT)values(11,0,148,100,101,100,0,'Y',to_date('2005-11-27','RRRR-MM-DD'),100,to_date('2005-11-27','RRRR-MM-DD'),100,0,0,0,0,0,null,0);
INSERT INTO C_BANKACCOUNT_ACCT(C_BANKACCOUNT_ID,C_ACCTSCHEMA_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,B_INTRANSIT_ACCT,B_ASSET_ACCT,B_EXPENSE_ACCT,B_INTERESTREV_ACCT,B_INTERESTEXP_ACCT,B_UNIDENTIFIED_ACCT,B_UNALLOCATEDCASH_ACCT,B_PAYMENTSELECT_ACCT,B_SETTLEMENTGAIN_ACCT,B_SETTLEMENTLOSS_ACCT,B_REVALUATIONGAIN_ACCT,B_REVALUATIONLOSS_ACCT)values(101,101,11,0,'Y',to_date('2005-11-21','RRRR-MM-DD'),100,to_date('2005-11-21','RRRR-MM-DD'),100,257,258,259,260,261,262,286,287,263,264,265,266);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(288,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,160,'AC',null,632,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(290,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,162,'AC',null,429,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(295,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,167,'AC',null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(305,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-14','RRRR-MM-DD'),100,'Summary of all 6-expenses ',177,'AC',null,449,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(318,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,190,'AC',null,704,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(320,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,'Other Expenses summarized',192,'AC',null,716,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(322,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,194,'AC',null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(323,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,195,'AC',null,728,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(326,11,0,'Y',to_date('2005-12-14','RRRR-MM-DD'),100,to_date('2005-12-14','RRRR-MM-DD'),100,'Summary of 7-Expenses',199,'AC',null,783,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(327,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Depreciation Expense summarized',201,'AC',null,496,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(330,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,null,205,'AC',null,726,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(331,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,'Receivables(A/R, loans, taxes) summarized',206,'AC',null,517,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(332,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,'Inventory summarized',207,'AC',null,541,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(333,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,'Prepayments summarized',208,'AC',null,542,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(334,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,'Accounts Payable summarized',209,'AC',null,585,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(335,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Investments activities summarized',212,'AC',null,537,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(337,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Fixed Asset activity summarized',214,'AC',null,554,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(338,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Equipment activity summarized',215,'AC',null,560,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(339,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Loss on sale of fixed asset',218,'AC',null,726,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(340,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Gain in sale of fixed asset',219,'AC',null,714,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(341,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,' Accum. Depreciation summarized',221,'AC',null,744,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(342,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,' Accum. Depreciation summarized',222,'AC',null,744,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(343,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Liabilities summarized',223,'AC',null,626,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(344,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Cash Dividends summarized',224,'AC',null,757,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(346,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,'Cash summarized',230,'AC',null,507,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(347,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,'Amoritization summarized',231,'AC',null,693,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(348,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,'Uninsured Casualty Loss',232,'AC',null,768,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(349,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,'Unrealized Loss',233,'AC',null,722,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(350,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,'Capital Loss',234,'AC',null,725,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(351,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,'Unrealized Gain',235,'AC',null,712,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(352,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,'Fixed Asset Sale Gain',236,'AC',null,714,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(353,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,'Currency Balancing summarized',237,'AC',null,724,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(354,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,'Change in Deposits',239,'AC',null,548,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(355,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,'Unrealized Gain summarized for total cash flow',240,'AC',null,712,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(356,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,'Unrealized Losses summarized for total Cash flow',241,'AC',null,722,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(357,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,'Currency Balancing summarized for total Cash flow',242,'AC',null,724,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(210,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Subtractions to Cash Flow',510,'Subtractions to Cash Flow','Y',null,'N','C','R',206,236,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(216,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Net cash from Investment activity',555,'Net cash from Investment activity','Y',null,'N','C','A',220,238,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(226,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2005-12-22','RRRR-MM-DD'),100,104,'Cash flow from investing and financing activity',580,'Cash flow from investing and financing activity','Y',null,'N','C','A',216,225,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(188,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Total Expenses',423,'Total  Expenses','Y',null,'N','C','R',177,199,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(189,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Gross Margin less Expenses',424,'Gross Margin less Expenses','Y',null,'N','C','S',162,188,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(200,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Net Income Before Taxes',440,'Net Income Before Taxes','Y',null,'N','C','A',189,194,null,null,null);
INSERT INTO PA_GOAL(PA_GOAL_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,SEQNO,NAME,DESCRIPTION,NOTE,AD_USER_ID,PA_COLORSCHEMA_ID,ISSUMMARY,PA_GOALPARENT_ID,PA_MEASURE_ID,RELATIVEWEIGHT,MEASURETARGET,MEASURESCOPE,MEASUREDISPLAY,DATEFROM,DATETO,MEASUREACTUAL,GOALPERFORMANCE,DATELASTRUN,AD_ROLE_ID)values(101,11,0,'Y',to_date('2005-12-23','RRRR-MM-DD'),100,to_date('2006-10-20','RRRR-MM-DD'),101,0,'Invoice Revenue','100k in Revenue',null,null,100,'N',null,101,1,100000,'1','5',null,null,0,0,to_date('2006-10-20','RRRR-MM-DD'),null);
INSERT INTO PA_GOAL(PA_GOAL_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,SEQNO,NAME,DESCRIPTION,NOTE,AD_USER_ID,PA_COLORSCHEMA_ID,ISSUMMARY,PA_GOALPARENT_ID,PA_MEASURE_ID,RELATIVEWEIGHT,MEASURETARGET,MEASURESCOPE,MEASUREDISPLAY,DATEFROM,DATETO,MEASUREACTUAL,GOALPERFORMANCE,DATELASTRUN,AD_ROLE_ID)values(102,11,0,'Y',to_date('2006-01-01','RRRR-MM-DD'),100,to_date('2006-10-20','RRRR-MM-DD'),101,0,'Open Invoices','Open Invoices max $1000',null,null,101,'N',null,102,1,1000,'0','5',null,null,412.85,.41285,to_date('2006-10-20','RRRR-MM-DD'),null);
INSERT INTO PA_GOAL(PA_GOAL_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,SEQNO,NAME,DESCRIPTION,NOTE,AD_USER_ID,PA_COLORSCHEMA_ID,ISSUMMARY,PA_GOALPARENT_ID,PA_MEASURE_ID,RELATIVEWEIGHT,MEASURETARGET,MEASURESCOPE,MEASUREDISPLAY,DATEFROM,DATETO,MEASUREACTUAL,GOALPERFORMANCE,DATELASTRUN,AD_ROLE_ID)values(104,11,0,'Y',to_date('2006-01-20','RRRR-MM-DD'),100,to_date('2006-10-20','RRRR-MM-DD'),101,0,'Service Requests (Quarter)','Open Service Requests in Time',null,null,101,'N',null,103,1,10,'3',null,null,null,0,0,to_date('2006-10-20','RRRR-MM-DD'),null);
INSERT INTO PA_GOAL(PA_GOAL_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,SEQNO,NAME,DESCRIPTION,NOTE,AD_USER_ID,PA_COLORSCHEMA_ID,ISSUMMARY,PA_GOALPARENT_ID,PA_MEASURE_ID,RELATIVEWEIGHT,MEASURETARGET,MEASURESCOPE,MEASUREDISPLAY,DATEFROM,DATETO,MEASUREACTUAL,GOALPERFORMANCE,DATELASTRUN,AD_ROLE_ID)values(105,11,0,'Y',to_date('2006-01-20','RRRR-MM-DD'),100,to_date('2006-10-20','RRRR-MM-DD'),101,0,'Total Open Service Requests','Open Service Requests by Status',null,null,101,'N',null,104,1,10,'0',null,null,null,1,.1,to_date('2006-10-20','RRRR-MM-DD'),null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(316,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,188,'AC',null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(317,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,189,'AC',null,null,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(196,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Net Income',455,'Net Income','Y',null,'N','C','S',200,195,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(324,11,0,'Y',to_date('2005-12-12','RRRR-MM-DD'),100,to_date('2005-12-12','RRRR-MM-DD'),100,null,196,'AC',null,771,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(202,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Accrued A/P increase',470,'Accrued A/P increase','Y',null,'N','S','A',196,201,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(203,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-23','RRRR-MM-DD'),100,104,'Additions to Cash Flow',475,'Additions to Cash Flow','Y',null,'N','C','R',201,202,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(204,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Cash Flow sub total',480,'Cash Flow sub total','Y',null,'N','C','A',196,203,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(211,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,104,'Cash Flow from Operations',515,'Cash Flow from Operations','Y',null,'N','C','S',204,210,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(227,11,0,'Y',to_date('2005-12-22','RRRR-MM-DD'),100,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Net  calculated change in cash',590,'Net calculated change in cash','Y',null,'N','C','A',211,226,null,null,null);
INSERT INTO PA_REPORTLINE(PA_REPORTLINE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,PA_REPORTLINESET_ID,NAME,SEQNO,DESCRIPTION,ISPRINTED,PARENT_ID,ISSUMMARY,LINETYPE,CALCULATIONTYPE,OPER_1_ID,OPER_2_ID,POSTINGTYPE,GL_BUDGET_ID,AMOUNTTYPE)values(244,11,0,'Y',to_date('2006-01-05','RRRR-MM-DD'),101,to_date('2006-01-05','RRRR-MM-DD'),101,104,'Total Net  Cash Flow',600,'Total Net  Cash Flow','Y',null,'N','C','A',227,243,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(328,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,'Accounts Receivable summarized',203,'AC',null,517,null,null,null,null,null,null,null);
INSERT INTO PA_REPORTSOURCE(PA_REPORTSOURCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,DESCRIPTION,PA_REPORTLINE_ID,ELEMENTTYPE,ORG_ID,C_ELEMENTVALUE_ID,C_PROJECT_ID,C_BPARTNER_ID,M_PRODUCT_ID,C_CAMPAIGN_ID,C_LOCATION_ID,C_SALESREGION_ID,C_ACTIVITY_ID)values(329,11,0,'Y',to_date('2005-12-21','RRRR-MM-DD'),100,to_date('2005-12-21','RRRR-MM-DD'),100,'Accrued A/P increase',202,'AC',null,601,null,null,null,null,null,null,null);


UPDATE C_BPARTNER SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,VALUE='Standard',NAME='Standard',NAME2=null,DESCRIPTION='Walk-In Customer',ISSUMMARY='N',C_BP_GROUP_ID=103,ISONETIME='N',ISPROSPECT='N',ISVENDOR='N',ISCUSTOMER='Y',ISEMPLOYEE='N',ISSALESREP='N',REFERENCENO=null,DUNS=null,URL=null,AD_LANGUAGE=null,TAXID=null,ISTAXEXEMPT='N',C_INVOICESCHEDULE_ID=null,RATING=null,SALESVOLUME=null,NUMBEREMPLOYEES=null,NAICS=null,ACQUSITIONCOST=0,POTENTIALLIFETIMEVALUE=0,ACTUALLIFETIMEVALUE=151.05,SHAREOFCUSTOMER=null,PAYMENTRULE=null,SO_CREDITLIMIT=0,SO_CREDITUSED=0,C_PAYMENTTERM_ID=null,M_PRICELIST_ID=null,M_DISCOUNTSCHEMA_ID=null,C_DUNNING_ID=null,ISDISCOUNTPRINTED='Y',SO_DESCRIPTION=null,POREFERENCE=null,PAYMENTRULEPO=null,PO_PRICELIST_ID=null,PO_DISCOUNTSCHEMA_ID=null,PO_PAYMENTTERM_ID=null,DOCUMENTCOPIES=null,C_GREETING_ID=null,INVOICERULE=null,DELIVERYRULE=null,FREIGHTCOSTRULE=null,DELIVERYVIARULE=null,SALESREP_ID=null,SENDEMAIL='N',BPARTNER_PARENT_ID=null,INVOICE_PRINTFORMAT_ID=null,SOCREDITSTATUS='O',SHELFLIFEMINPCT=null,AD_ORGBP_ID=null,FLATDISCOUNT=null,TOTALOPENBALANCE=0 WHERE C_BPARTNER_ID=112;
UPDATE C_BPARTNER SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,VALUE='GardenAdmin',NAME='GardenAdmin BP',NAME2=null,DESCRIPTION=null,ISSUMMARY='N',C_BP_GROUP_ID=105,ISONETIME='N',ISPROSPECT='Y',ISVENDOR='Y',ISCUSTOMER='N',ISEMPLOYEE='Y',ISSALESREP='Y',REFERENCENO=null,DUNS=null,URL=null,AD_LANGUAGE=null,TAXID=null,ISTAXEXEMPT='N',C_INVOICESCHEDULE_ID=null,RATING=null,SALESVOLUME=null,NUMBEREMPLOYEES=null,NAICS=null,ACQUSITIONCOST=0,POTENTIALLIFETIMEVALUE=0,ACTUALLIFETIMEVALUE=0,SHAREOFCUSTOMER=null,PAYMENTRULE=null,SO_CREDITLIMIT=0,SO_CREDITUSED=0,C_PAYMENTTERM_ID=null,M_PRICELIST_ID=null,M_DISCOUNTSCHEMA_ID=null,C_DUNNING_ID=null,ISDISCOUNTPRINTED='Y',SO_DESCRIPTION=null,POREFERENCE=null,PAYMENTRULEPO='P',PO_PRICELIST_ID=101,PO_DISCOUNTSCHEMA_ID=null,PO_PAYMENTTERM_ID=105,DOCUMENTCOPIES=null,C_GREETING_ID=null,INVOICERULE=null,DELIVERYRULE=null,FREIGHTCOSTRULE=null,DELIVERYVIARULE=null,SALESREP_ID=null,SENDEMAIL='N',BPARTNER_PARENT_ID=null,INVOICE_PRINTFORMAT_ID=null,SOCREDITSTATUS='O',SHELFLIFEMINPCT=null,AD_ORGBP_ID=null,FLATDISCOUNT=null,TOTALOPENBALANCE=0 WHERE C_BPARTNER_ID=113;
UPDATE C_BANKACCOUNT SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_BANK_ID=100,C_CURRENCY_ID=100,BANKACCOUNTTYPE='C',ACCOUNTNO='1234',CURRENTBALANCE=0,CREDITLIMIT=0,ISDEFAULT='Y',IBAN=null,DESCRIPTION='With PayFlwo Pro',BBAN=null WHERE C_BANKACCOUNT_ID=100;
UPDATE C_COUNTRY SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='Slovenia',DESCRIPTION='Slovenia',COUNTRYCODE='SI',HASREGION='N',REGIONNAME=null,EXPRESSIONPHONE=null,DISPLAYSEQUENCE='@P@ @C@',EXPRESSIONPOSTAL=null,HASPOSTAL_ADD='N',EXPRESSIONPOSTAL_ADD=null,AD_LANGUAGE='sl_SI',C_CURRENCY_ID=314,DISPLAYSEQUENCELOCAL=null,ISADDRESSLINESREVERSE='N',ISADDRESSLINESLOCALREVERSE='N',EXPRESSIONBANKROUTINGNO=null,EXPRESSIONBANKACCOUNTNO=null,MEDIASIZE=null WHERE C_COUNTRY_ID=302;
UPDATE C_CONVERSION_RATE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_CURRENCY_ID=102,C_CURRENCY_ID_TO=100,MULTIPLYRATE=1.17647058823529411764705882352941176471E00,DIVIDERATE=8.49999999999999977795539507496869191527E-01,C_CONVERSIONTYPE_ID=114 WHERE C_CONVERSION_RATE_ID=136;
UPDATE C_CONVERSION_RATE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_CURRENCY_ID=100,C_CURRENCY_ID_TO=102,MULTIPLYRATE=8.0064051240992794235388310648518815052E-01,DIVIDERATE=1.2489999999999998880895191177842207253E00,C_CONVERSIONTYPE_ID=114 WHERE C_CONVERSION_RATE_ID=137;
UPDATE C_CONVERSION_RATE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_CURRENCY_ID=102,C_CURRENCY_ID_TO=100,MULTIPLYRATE=1.249,DIVIDERATE=8.00640512409927840309364910353906452656E-01,C_CONVERSIONTYPE_ID=114 WHERE C_CONVERSION_RATE_ID=138;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='49',NAME='Other Revenue',DESCRIPTION=null,ACCOUNTTYPE='R',ACCOUNTSIGN='N',ISDOCCONTROLLED='N',C_ELEMENT_ID=105,ISSUMMARY='Y',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=425;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='59101',NAME='Trade Discounts',DESCRIPTION='Granted Trade discounts (corrects Product Revenue)',ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='Y',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=426;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='59201',NAME='Payment discount revenue',DESCRIPTION='Granted early payment discount to customers',ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='Y',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=427;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='59300',NAME='Promotion Discounts',DESCRIPTION=null,ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='N',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=428;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='82800',NAME='Fixed Asset Sale Loss',DESCRIPTION=null,ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='N',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=726;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='59',NAME='CoGs/Sales Discounts',DESCRIPTION=null,ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='N',C_ELEMENT_ID=105,ISSUMMARY='Y',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=446;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='49500',NAME='Cash book receipts',DESCRIPTION='Default other revenue for petty cash transactions',ACCOUNTTYPE='R',ACCOUNTSIGN='N',ISDOCCONTROLLED='Y',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=701;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='49700',NAME='Charge revenue',DESCRIPTION='Default other revenue',ACCOUNTTYPE='R',ACCOUNTSIGN='N',ISDOCCONTROLLED='Y',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=703;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='51400',NAME='Inventory Clearing',DESCRIPTION='Default Product costs (I.e. on inventory)',ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='Y',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=780;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='51800',NAME='Commissions Paid',DESCRIPTION='Commissions Paid',ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='N',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=778;
UPDATE R_REQUESTUPDATE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,R_REQUEST_ID=100,CONFIDENTIALTYPEENTRY='C',QTYSPENT=0,QTYINVOICED=0,M_PRODUCTSPENT_ID=null,RESULT='Some Unicode test: Some Extended Characters: £¥©§®½ European Characters: äöüÄÖÜß-áéèêëýÿ¿ÉÊÇçñ Characters > 100h: ?? Greek: ????? Cyrillic: ????????? Arabic: ??????' WHERE R_REQUESTUPDATE_ID=100;
UPDATE R_REQUESTTYPE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='Request for Quotation',DESCRIPTION=null,ISDEFAULT='N',ISSELFSERVICE='Y',DUEDATETOLERANCE=7,ISEMAILWHENOVERDUE='N',ISEMAILWHENDUE='N',ISINVOICED=null,AUTODUEDATEDAYS=null,CONFIDENTIALTYPE='C',ISAUTOCHANGEREQUEST='N',ISCONFIDENTIALINFO='N',R_STATUSCATEGORY_ID=100 WHERE R_REQUESTTYPE_ID=100;
UPDATE R_REQUESTTYPE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='Service Request',DESCRIPTION=null,ISDEFAULT='N',ISSELFSERVICE='Y',DUEDATETOLERANCE=7,ISEMAILWHENOVERDUE='N',ISEMAILWHENDUE='N',ISINVOICED=null,AUTODUEDATEDAYS=null,CONFIDENTIALTYPE='C',ISAUTOCHANGEREQUEST='N',ISCONFIDENTIALINFO='N',R_STATUSCATEGORY_ID=100 WHERE R_REQUESTTYPE_ID=101;
UPDATE R_REQUESTTYPE SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='Warranty',DESCRIPTION=null,ISDEFAULT='N',ISSELFSERVICE='Y',DUEDATETOLERANCE=7,ISEMAILWHENOVERDUE='N',ISEMAILWHENDUE='N',ISINVOICED=null,AUTODUEDATEDAYS=null,CONFIDENTIALTYPE='C',ISAUTOCHANGEREQUEST='N',ISCONFIDENTIALINFO='N',R_STATUSCATEGORY_ID=100 WHERE R_REQUESTTYPE_ID=102;
UPDATE R_STATUS SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='Open',DESCRIPTION=null,HELP=null,ISDEFAULT='Y',ISOPEN='Y',ISCLOSED='N',VALUE='Open',NEXT_STATUS_ID=null,UPDATE_STATUS_ID=null,TIMEOUTDAYS=0,ISWEBCANUPDATE='Y',ISFINALCLOSE='N',SEQNO=1,R_STATUSCATEGORY_ID=100 WHERE R_STATUS_ID=100;
UPDATE R_STATUS SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='Waiting on customer',DESCRIPTION=null,HELP=null,ISDEFAULT='N',ISOPEN='Y',ISCLOSED='N',VALUE='Waiting',NEXT_STATUS_ID=102,UPDATE_STATUS_ID=100,TIMEOUTDAYS=5,ISWEBCANUPDATE='Y',ISFINALCLOSE='N',SEQNO=2,R_STATUSCATEGORY_ID=100 WHERE R_STATUS_ID=101;
UPDATE R_STATUS SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='Closed',DESCRIPTION=null,HELP=null,ISDEFAULT='N',ISOPEN='N',ISCLOSED='Y',VALUE='Closed',NEXT_STATUS_ID=103,UPDATE_STATUS_ID=100,TIMEOUTDAYS=1,ISWEBCANUPDATE='Y',ISFINALCLOSE='N',SEQNO=3,R_STATUSCATEGORY_ID=100 WHERE R_STATUS_ID=102;
UPDATE R_STATUS SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='Final Close',DESCRIPTION=null,HELP=null,ISDEFAULT='N',ISOPEN='N',ISCLOSED='Y',VALUE='Final',NEXT_STATUS_ID=null,UPDATE_STATUS_ID=null,TIMEOUTDAYS=0,ISWEBCANUPDATE='N',ISFINALCLOSE='Y',SEQNO=9,R_STATUSCATEGORY_ID=100 WHERE R_STATUS_ID=103;
UPDATE W_ADVERTISEMENT SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,NAME='ComPiere, Inc.',DESCRIPTION='USA, Oregon',HELP='Help ??',ISSELFSERVICE='Y',C_BPARTNER_ID=113,AD_USER_ID=101,W_CLICKCOUNT_ID=100,W_COUNTERCOUNT_ID=100,IMAGEURL='http://www1.compiere.com/images/ComPiereCom120x60.gif',ADTEXT='ComPiere, Inc. privides Support and Services for Compiere, the  premier Open Source business application.  Guaranteed <b>Support</b> is available in Gold/Silver/Bronze level you want to keep your mission critical system running and up-to-date.  All support offerings include all licenses you may need for Compiere.  We offer Intensive <b>Training</b> to get you started fast end allow you to implement Compiere efficiently. The Technical Training gives you a head start when extending Compiere to meet specific business requiredments. <p>Some Unicode test:  <br> Some Extended Characters: £¥©§®½<br> European Characters: äöüÄÖÜß-áéèêëýÿ¿ÉÊÇçñ<br> Characters > 100h: ??<br> Greek: ?????<br> Cyrillic: ?????????<br> Arabic: ??????<br> If you see ? or squares in the above in the Java client, your database character set is not UTF.  ',WEBPARAM1='Compiere Contributor',WEBPARAM2='http://www.compiere.com/images/partner_x.gif',WEBPARAM3='Using Compiere Internally',WEBPARAM4='Compiere <a href="http://www1.compiere.org/about/references.html">Success Stories</a>',PUBLISHSTATUS='T',VERSION=null,PROCESSING=null WHERE W_ADVERTISEMENT_ID=100;
UPDATE I_CONVERSION_RATE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_CONVERSION_RATE_ID=137,ISO_CODE='USD',C_CURRENCY_ID=100,ISO_CODE_TO='EUR',C_CURRENCY_ID_TO=102,CONVERSIONTYPEVALUE='S',C_CONVERSIONTYPE_ID=114,MULTIPLYRATE=8.0064051240992794235388310648518815052E-01,DIVIDERATE=1.249,CREATERECIPROCALRATE='Y',I_ISIMPORTED='Y',I_ERRORMSG=null,PROCESSING='N',PROCESSED='Y' WHERE I_CONVERSION_RATE_ID=101;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='HQ-59101-_-_-_-_',DESCRIPTION='HQ-Trade Discounts-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=426,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=284;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='HQ-51300-_-_-_-_',DESCRIPTION='HQ-Cost Adjustments-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=781,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=298;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='HQ-51400-_-_-_-_',DESCRIPTION='HQ-Inventory Clearing-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=780,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=299;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=12,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='Store-49500-_-_-_-_',DESCRIPTION='Store-Cash book receipts-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=701,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=296;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='HQ-51800-_-_-_-_',DESCRIPTION='HQ-Commissions Paid-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=778,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=297;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='HQ-59201-_-_-_-_',DESCRIPTION='HQ-Payment discount revenue-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=427,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=240;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='HQ-49700-_-_-_-_',DESCRIPTION='HQ-Charge revenue-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=703,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=268;
UPDATE C_VALIDCOMBINATION SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,ALIAS=null,COMBINATION='HQ-49500-_-_-_-_',DESCRIPTION='HQ-Cash book receipts-_-_-_-_',ISFULLYQUALIFIED='Y',C_ACCTSCHEMA_ID=101,ACCOUNT_ID=701,M_PRODUCT_ID=null,C_BPARTNER_ID=null,AD_ORGTRX_ID=null,C_LOCFROM_ID=null,C_LOCTO_ID=null,C_SALESREGION_ID=null,C_PROJECT_ID=null,C_CAMPAIGN_ID=null,C_ACTIVITY_ID=null,USER1_ID=null,USER2_ID=null,C_SUBACCT_ID=null,USERELEMENT1_ID=null,USERELEMENT2_ID=null WHERE C_VALIDCOMBINATION_ID=276;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1515;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1516;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='PJI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1517;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='CMA',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1518;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MXI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1519;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1520;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='GLD',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1521;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='CMC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1522;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MXP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1523;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMM',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1524;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1525;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='ARF',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1526;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='CMB',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1527;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1528;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='API',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1529;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='APC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1530;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='GLJ',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1531;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1532;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1533;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='ARC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1534;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='ARR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1535;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1536;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1537;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='APP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1538;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='POO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1539;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='POR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1540;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1541;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1542;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1543;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1544;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1545;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1546;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1547;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1548;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=197,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1549;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1550;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1551;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='PJI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1552;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='CMA',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1553;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MXI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1554;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1555;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='GLD',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1556;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='CMC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1557;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MXP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1558;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMM',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1559;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1560;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='ARF',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1561;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='CMB',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1562;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1563;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='API',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1564;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='APC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1565;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='GLJ',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1566;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1567;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1568;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='ARC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1569;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='ARR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1570;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1571;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1572;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='APP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1573;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='POO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1574;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='POR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1575;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1576;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1577;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1578;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1579;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1580;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1581;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1582;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1583;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=198,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1584;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1585;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1586;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='PJI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1587;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='CMA',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1588;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MXI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1589;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1590;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='GLD',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1591;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='CMC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1592;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MXP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1593;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMM',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1594;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1595;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='ARF',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1596;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='CMB',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1597;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1598;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='API',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1599;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='APC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1600;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='GLJ',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1601;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1602;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1603;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='ARC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1604;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='ARR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1605;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1606;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1607;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='APP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1608;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='POO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1609;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='POR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1610;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1611;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1612;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1613;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1614;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1615;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1616;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1617;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1618;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=199,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1619;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1620;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1621;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='PJI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1622;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='CMA',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1623;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MXI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1624;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1625;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='GLD',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1626;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='CMC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1627;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MXP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1628;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMM',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1629;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1630;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='ARF',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1631;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='CMB',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1632;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1633;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='API',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1634;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='APC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1635;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='GLJ',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1636;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1637;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1638;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='ARC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1639;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='ARR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1640;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1641;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1642;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='APP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1643;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='POO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1644;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='POR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1645;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1646;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1647;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1648;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1649;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1650;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1651;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1652;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1653;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=200,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1654;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1655;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1656;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='PJI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1657;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='CMA',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1658;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MXI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1659;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1660;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='GLD',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1661;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='CMC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1662;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MXP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1663;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMM',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1664;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1665;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='ARF',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1666;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='CMB',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1667;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1668;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='API',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1669;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='APC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1670;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='GLJ',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1671;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1672;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1673;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='ARC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1674;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='ARR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1675;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1676;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1677;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='APP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1678;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='POO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1679;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='POR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1680;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1681;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1682;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1683;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1684;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1685;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1686;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1687;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1688;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=201,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1689;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1690;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1691;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='PJI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1692;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='CMA',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1693;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MXI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1694;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1695;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='GLD',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1696;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='CMC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1697;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MXP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1698;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMM',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1699;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1700;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='ARF',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1701;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='CMB',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1702;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1703;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='API',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1704;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='APC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1705;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='GLJ',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1706;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1707;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='ARI',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1708;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='ARC',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1709;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='ARR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1710;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1711;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMS',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1712;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='APP',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1713;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='POO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1714;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='POR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1715;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1716;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1717;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1718;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1719;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1720;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1721;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1722;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='SOO',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1723;
UPDATE C_PERIODCONTROL SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,C_PERIOD_ID=202,DOCBASETYPE='MMR',PERIODSTATUS='O',PERIODACTION='N',PROCESSING='N' WHERE C_PERIODCONTROL_ID=1724;
UPDATE PA_MEASURECALC SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='Invoiced Net Revenue',DESCRIPTION='Invoiced net revenue, without tax and charges',SELECTCLAUSE='SELECT SUM(il.LineNetAmt)  FROM RV_C_Invoice C_Invoice   INNER JOIN RV_C_InvoiceLine il ON (C_Invoice.C_Invoice_ID=il.C_Invoice_ID)',WHERECLAUSE='WHERE C_Invoice.IsSOTrx=''Y'' AND C_Invoice.Processed=''Y''',DATECOLUMN='C_Invoice.DateInvoiced',ORGCOLUMN='C_Invoice.AD_Org_ID',BPARTNERCOLUMN='C_Invoice.C_BPartner_ID',PRODUCTCOLUMN='il.M_Product_ID',AD_TABLE_ID=318,KEYCOLUMN='C_Invoice.C_Invoice_ID',ENTITYTYPE='D' WHERE PA_MEASURECALC_ID=100;
UPDATE PA_MEASURECALC SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='Invoiced Gross Revenue',DESCRIPTION='Invoice gross amount including tax; Does not allow selection by product (Category)',SELECTCLAUSE='SELECT SUM(GrandTotal)  FROM RV_C_Invoice C_Invoice',WHERECLAUSE='WHERE IsSOTrx=''Y'' AND Processed=''Y''',DATECOLUMN='DateInvoiced',ORGCOLUMN='AD_Org_ID',BPARTNERCOLUMN='C_BPartner_ID',PRODUCTCOLUMN=null,AD_TABLE_ID=318,KEYCOLUMN='C_Invoice_ID',ENTITYTYPE='D' WHERE PA_MEASURECALC_ID=101;
UPDATE PA_MEASURECALC SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='Invoiced Sales Margin',DESCRIPTION='Difference between Limit and Actual price',SELECTCLAUSE='SELECT SUM((il.PriceActual-il.PriceLimit)*QtyInvoiced)  FROM RV_C_Invoice C_Invoice   INNER JOIN RV_C_InvoiceLine il ON (C_Invoice.C_Invoice_ID=il.C_Invoice_ID)',WHERECLAUSE='WHERE C_Invoice.IsSOTrx=''Y'' AND C_Invoice.Processed=''Y''',DATECOLUMN='C_Invoice.DateInvoiced',ORGCOLUMN='C_Invoice.AD_Org_ID',BPARTNERCOLUMN='C_Invoice.C_BPartner_ID',PRODUCTCOLUMN='il.M_Product_ID',AD_TABLE_ID=318,KEYCOLUMN='C_Invoice.C_Invoice_ID',ENTITYTYPE='D' WHERE PA_MEASURECALC_ID=102;
UPDATE PA_MEASURECALC SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='Number of Customers',DESCRIPTION='Number of (new) customers',SELECTCLAUSE='SELECT COUNT(*)  FROM C_BPartner',WHERECLAUSE='WHERE IsCustomer=''Y''',DATECOLUMN='Created',ORGCOLUMN='AD_Org_ID',BPARTNERCOLUMN='C_BPartner_ID',PRODUCTCOLUMN=null,AD_TABLE_ID=291,KEYCOLUMN='C_BPartner_ID',ENTITYTYPE='D' WHERE PA_MEASURECALC_ID=103;
UPDATE C_REGION SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='Newfoundland and Labrador',DESCRIPTION='Terre-Neuve-et-Labrador',C_COUNTRY_ID=109,ISDEFAULT='N' WHERE C_REGION_ID=160;
UPDATE C_REGION SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='CT',DESCRIPTION='Connecticut',C_COUNTRY_ID=100,ISDEFAULT='N' WHERE C_REGION_ID=102;
UPDATE C_REGION SET AD_CLIENT_ID=0,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=0,UPDATEDBY=100,NAME='OR',DESCRIPTION='Oregon',C_COUNTRY_ID=100,ISDEFAULT='Y' WHERE C_REGION_ID=142;
UPDATE R_REQUEST SET AD_CLIENT_ID=11,AD_ORG_ID=11,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,DOCUMENTNO='10000002',R_REQUESTTYPE_ID=101,R_GROUP_ID=101,R_CATEGORY_ID=101,R_STATUS_ID=100,R_RESOLUTION_ID=null,R_REQUESTRELATED_ID=null,PRIORITY='5',PRIORITYUSER='5',DUETYPE='5',SUMMARY='Could you please trim the trees for me?',CONFIDENTIALTYPE='A',ISESCALATED='N',ISSELFSERVICE='N',SALESREP_ID=101,AD_ROLE_ID=null,LASTRESULT=null,PROCESSED='N',ISINVOICED='N',C_BPARTNER_ID=120,AD_USER_ID=105,C_CAMPAIGN_ID=null,C_ORDER_ID=null,C_INVOICE_ID=null,C_PAYMENT_ID=null,M_PRODUCT_ID=null,C_PROJECT_ID=null,A_ASSET_ID=null,M_INOUT_ID=null,M_RMA_ID=null,AD_TABLE_ID=null,RECORD_ID=null,REQUESTAMT=0,R_MAILTEXT_ID=null,RESULT=null,CONFIDENTIALTYPEENTRY='A',R_STANDARDRESPONSE_ID=null,NEXTACTION='F',QTYSPENT=0,QTYINVOICED=0,M_PRODUCTSPENT_ID=null,C_ACTIVITY_ID=null,C_INVOICEREQUEST_ID=null,M_CHANGEREQUEST_ID=null,TASKSTATUS=null,QTYPLAN=null,M_FIXCHANGENOTICE_ID=null WHERE R_REQUEST_ID=100;
UPDATE C_ELEMENTVALUE SET AD_CLIENT_ID=11,AD_ORG_ID=0,ISACTIVE='Y',CREATEDBY=100,UPDATEDBY=100,VALUE='51300',NAME='Cost Adjustments',DESCRIPTION='Product Cost Adjustments',ACCOUNTTYPE='E',ACCOUNTSIGN='N',ISDOCCONTROLLED='Y',C_ELEMENT_ID=105,ISSUMMARY='N',POSTACTUAL='Y',POSTBUDGET='Y',POSTENCUMBRANCE='Y',POSTSTATISTICAL='Y',ISBANKACCOUNT='N',C_BANKACCOUNT_ID=null,ISFOREIGNCURRENCY='N',C_CURRENCY_ID=null WHERE C_ELEMENTVALUE_ID=781;



DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=118 AND AD_ROLE_ID=103;
DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=212 AND AD_ROLE_ID=103;
DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=213 AND AD_ROLE_ID=103;
DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=214 AND AD_ROLE_ID=103;
DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=215 AND AD_ROLE_ID=103;
DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=211 AND AD_ROLE_ID=0;
DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=211 AND AD_ROLE_ID=102;
DELETE FROM AD_WINDOW_ACCESS WHERE AD_WINDOW_ID=214 AND AD_ROLE_ID=102;
DELETE FROM AD_IMPFORMAT_ROW WHERE AD_IMPFORMAT_ROW_ID=147;
DELETE FROM AD_IMPFORMAT_ROW WHERE AD_IMPFORMAT_ROW_ID=149;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=8429;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4701;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4654;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4639;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4641;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4697;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4626;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4706;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=8432;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4704;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4627;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4637;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4638;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4717;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4719;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4703;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4635;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4705;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4718;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4636;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=5095;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4640;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4715;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4698;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4628;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4624;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=4695;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=7008;
DELETE FROM AD_FIELD WHERE AD_FIELD_ID=7007;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=100;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=101;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=102;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=103;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=104;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=105;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=106;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=107;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=108;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=109;
DELETE FROM AD_WF_EVENTAUDIT WHERE AD_WF_EVENTAUDIT_ID=110;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=100;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=101;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=102;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=103;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=104;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=105;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=106;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=107;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=108;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=109;
DELETE FROM AD_WF_ACTIVITY WHERE AD_WF_ACTIVITY_ID=110;
DELETE FROM AD_WF_NODENEXT WHERE AD_WF_NODENEXT_ID=149;
DELETE FROM AD_WF_NODENEXT WHERE AD_WF_NODENEXT_ID=150;
DELETE FROM AD_WF_NODE WHERE AD_WF_NODE_ID=150;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5883;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5909;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5845;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5907;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5875;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5869;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5874;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5882;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5881;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5910;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5911;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5873;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5849;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=6419;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5848;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5906;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5847;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5867;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5870;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5925;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5878;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5879;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5880;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5905;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5897;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5876;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5877;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5871;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=5908;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=14264;
DELETE FROM AD_COLUMN WHERE AD_COLUMN_ID=14265;
DELETE FROM AD_TAB WHERE AD_TAB_ID=366;
DELETE FROM AD_TABLE WHERE AD_TABLE_ID=439;
DELETE FROM AD_TREENODE WHERE AD_TREE_ID=20 AND NODE_ID=0;
DELETE FROM AD_TREENODE WHERE AD_TREE_ID=101 AND NODE_ID=779;
DELETE FROM AD_PROCESS_PARA WHERE AD_PROCESS_PARA_ID=235;
DELETE FROM AD_PROCESS_ACCESS WHERE AD_PROCESS_ID=182 AND AD_ROLE_ID=103;
DELETE FROM AD_REPLICATIONTABLE WHERE AD_REPLICATIONTABLE_ID=140;
DELETE FROM AD_MENU WHERE AD_MENU_ID=273;
DELETE FROM AD_MENU WHERE AD_MENU_ID=274;
DELETE FROM AD_WINDOW WHERE AD_WINDOW_ID=211;
DELETE FROM AD_WINDOW WHERE AD_WINDOW_ID=214;
DELETE FROM AD_WF_PROCESS WHERE AD_WF_PROCESS_ID=100;
DELETE FROM AD_WF_PROCESS WHERE AD_WF_PROCESS_ID=101;
DELETE FROM AD_WF_PROCESS WHERE AD_WF_PROCESS_ID=102;
DELETE FROM AD_ELEMENT WHERE AD_ELEMENT_ID=1600;
DELETE FROM AD_ELEMENT WHERE AD_ELEMENT_ID=1585;
DELETE FROM AD_ELEMENT WHERE AD_ELEMENT_ID=1577;
DELETE FROM AD_ELEMENT WHERE AD_ELEMENT_ID=1593;
DELETE FROM AD_ELEMENT WHERE AD_ELEMENT_ID=1595;
