moved from adempiere/contributions/stuff/migration/
This commit is contained in:
parent
a97c410f31
commit
73056a3f75
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" path="src"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry kind="output" path="build"/>
|
||||||
|
</classpath>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>migration</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,251 @@
|
||||||
|
/* upgrading database from compiere 253a to 253b
|
||||||
|
Written by Karsten Thiemann, kt@schaeffer-ag.de
|
||||||
|
Feel free to change everything you want, but you are using it at your own risk!
|
||||||
|
|
||||||
|
Creates new 253b views, recreates views with differences between a and b.
|
||||||
|
If you changed any of these views, make a backup (via toad or sqldeveloper) and reapply your changes later.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."T_INVOICEGL_V" ("AD_CLIENT_ID", "AD_ORG_ID", "ISACTIVE", "CREATED", "CREATEDBY", "UPDATED", "UPDATEDBY", "C_INVOICE_ID", "ISSOTRX", "DOCUMENTNO", "DOCSTATUS", "C_DOCTYPE_ID", "C_ORDER_ID", "DESCRIPTION", "SALESREP_ID", "DATEINVOICED", "DATEACCT", "C_PAYMENTTERM_ID", "C_BPARTNER_ID", "C_BPARTNER_LOCATION_ID", "AD_USER_ID", "ISSELFSERVICE", "C_CURRENCY_ID", "C_CONVERSIONTYPE_ID", "GRANDTOTAL", "ISTAXINCLUDED", "C_CAMPAIGN_ID", "C_PROJECT_ID", "C_ACTIVITY_ID", "AD_ORGTRX_ID", "USER1_ID", "USER2_ID", "C_LOCFROM_ID", "C_LOCTO_ID", "C_SALESREGION_ID", "FACT_ACCT_ID", "C_ACCTSCHEMA_ID", "ACCOUNT_ID", "C_PERIOD_ID", "GL_CATEGORY_ID", "GL_BUDGET_ID", "C_TAX_ID", "M_LOCATOR_ID", "POSTINGTYPE", "AMTSOURCEDR", "AMTSOURCECR", "AMTACCTDR", "AMTACCTCR", "C_UOM_ID", "QTY", "AD_PINSTANCE_ID", "APAR", "OPENAMT", "PERCENT", "AMTREVALDR", "AMTREVALCR", "DATEREVAL", "C_CONVERSIONTYPEREVAL_ID", "AMTSOURCEBALANCE", "AMTACCTBALANCE", "C_DOCTYPEREVAL_ID", "AMTREVALDRDIFF", "AMTREVALCRDIFF", "ISALLCURRENCIES") AS
|
||||||
|
SELECT i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created,i.CreatedBy, i.Updated,i.UpdatedBy,
|
||||||
|
i.C_Invoice_ID, i.IsSOTrx, i.DocumentNo, i.DocStatus, i.C_DocType_ID, i.C_Order_ID,
|
||||||
|
i.Description, i.SalesRep_ID, i.DateInvoiced, i.DateAcct, i.C_PaymentTerm_ID,
|
||||||
|
i.C_BPartner_ID, i.C_BPartner_Location_ID, i.AD_User_ID, i.IsSelfService,
|
||||||
|
i.C_Currency_ID, i.C_ConversionType_ID, i.GrandTotal, i.IsTaxIncluded,
|
||||||
|
-- References
|
||||||
|
i.C_Campaign_ID, i.C_Project_ID, i.C_Activity_ID,
|
||||||
|
i.AD_OrgTrx_ID, i.User1_ID, i.User2_ID,
|
||||||
|
fa.C_LocFrom_ID, fa.C_LocTo_ID, fa.C_SalesRegion_ID,
|
||||||
|
-- Accounting
|
||||||
|
fa.Fact_Acct_ID, fa.C_AcctSchema_ID, fa.Account_ID, fa.C_Period_ID, fa.GL_Category_ID, fa.GL_Budget_ID,
|
||||||
|
fa.C_Tax_ID, fa.M_Locator_ID,
|
||||||
|
fa.PostingType, fa.AmtSourceDr, fa.AmtSourceCr, fa.AmtAcctDr, fa.AmtAcctCr,
|
||||||
|
fa.C_UOM_ID, fa.Qty,
|
||||||
|
-- GL
|
||||||
|
gl.AD_PInstance_ID, gl.APAR, gl.OpenAmt, gl.Percent,
|
||||||
|
gl.AmtRevalDr, gl.AmtRevalCr, gl.DateReval, gl.C_ConversionTypeReval_ID,
|
||||||
|
gl.AmtSourceBalance, gl.AmtAcctBalance, gl.C_DocTypeReval_ID,
|
||||||
|
gl.AmtRevalDrDiff, gl.AmtRevalCrDiff, gl.IsAllCurrencies
|
||||||
|
FROM T_InvoiceGL gl
|
||||||
|
INNER JOIN C_Invoice i ON (gl.C_Invoice_ID=i.C_Invoice_ID)
|
||||||
|
INNER JOIN Fact_Acct fa ON (gl.Fact_Acct_ID=fa.Fact_Acct_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."T_INVOICEGL_VT" ("AD_CLIENT_ID", "AD_ORG_ID", "ISACTIVE", "CREATED", "CREATEDBY", "UPDATED", "UPDATEDBY", "C_INVOICE_ID", "ISSOTRX", "DOCUMENTNO", "DOCSTATUS", "C_DOCTYPE_ID", "C_ORDER_ID", "DESCRIPTION", "SALESREP_ID", "DATEINVOICED", "DATEACCT", "C_PAYMENTTERM_ID", "C_BPARTNER_ID", "C_BPARTNER_LOCATION_ID", "AD_USER_ID", "ISSELFSERVICE", "C_CURRENCY_ID", "C_CONVERSIONTYPE_ID", "GRANDTOTAL", "ISTAXINCLUDED", "C_CAMPAIGN_ID", "C_PROJECT_ID", "C_ACTIVITY_ID", "AD_ORGTRX_ID", "USER1_ID", "USER2_ID", "C_LOCFROM_ID", "C_LOCTO_ID", "C_SALESREGION_ID", "FACT_ACCT_ID", "C_ACCTSCHEMA_ID", "ACCOUNT_ID", "C_PERIOD_ID", "GL_CATEGORY_ID", "GL_BUDGET_ID", "C_TAX_ID", "M_LOCATOR_ID", "POSTINGTYPE", "AMTSOURCEDR", "AMTSOURCECR", "AMTACCTDR", "AMTACCTCR", "C_UOM_ID", "QTY", "AD_PINSTANCE_ID", "APAR", "OPENAMT", "PERCENT", "AMTREVALDR", "AMTREVALCR", "DATEREVAL", "C_CONVERSIONTYPEREVAL_ID", "AMTSOURCEBALANCE", "AMTACCTBALANCE", "C_DOCTYPEREVAL_ID", "AMTREVALDRDIFF", "AMTREVALCRDIFF", "ISALLCURRENCIES") AS
|
||||||
|
SELECT i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created,i.CreatedBy, i.Updated,i.UpdatedBy,
|
||||||
|
i.C_Invoice_ID, i.IsSOTrx, i.DocumentNo, i.DocStatus, i.C_DocType_ID, i.C_Order_ID,
|
||||||
|
i.Description, i.SalesRep_ID, i.DateInvoiced, i.DateAcct, i.C_PaymentTerm_ID,
|
||||||
|
i.C_BPartner_ID, i.C_BPartner_Location_ID, i.AD_User_ID, i.IsSelfService,
|
||||||
|
i.C_Currency_ID, i.C_ConversionType_ID, i.GrandTotal, i.IsTaxIncluded,
|
||||||
|
-- References
|
||||||
|
i.C_Campaign_ID, i.C_Project_ID, i.C_Activity_ID,
|
||||||
|
i.AD_OrgTrx_ID, i.User1_ID, i.User2_ID,
|
||||||
|
fa.C_LocFrom_ID, fa.C_LocTo_ID, fa.C_SalesRegion_ID,
|
||||||
|
-- Accounting
|
||||||
|
fa.Fact_Acct_ID, fa.C_AcctSchema_ID, fa.Account_ID, fa.C_Period_ID, fa.GL_Category_ID, fa.GL_Budget_ID,
|
||||||
|
fa.C_Tax_ID, fa.M_Locator_ID,
|
||||||
|
fa.PostingType, fa.AmtSourceDr, fa.AmtSourceCr, fa.AmtAcctDr, fa.AmtAcctCr,
|
||||||
|
fa.C_UOM_ID, fa.Qty,
|
||||||
|
-- GL
|
||||||
|
gl.AD_PInstance_ID, gl.APAR, gl.OpenAmt, gl.Percent,
|
||||||
|
gl.AmtRevalDr, gl.AmtRevalCr, gl.DateReval, gl.C_ConversionTypeReval_ID,
|
||||||
|
gl.AmtSourceBalance, gl.AmtAcctBalance, gl.C_DocTypeReval_ID,
|
||||||
|
gl.AmtRevalDrDiff, gl.AmtRevalCrDiff, gl.IsAllCurrencies
|
||||||
|
FROM T_InvoiceGL gl
|
||||||
|
INNER JOIN C_Invoice i ON (gl.C_Invoice_ID=i.C_Invoice_ID)
|
||||||
|
INNER JOIN Fact_Acct fa ON (gl.Fact_Acct_ID=fa.Fact_Acct_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."M_INOUTLINEMA_VT" ("AD_CLIENT_ID", "AD_ORG_ID", "ISACTIVE", "CREATED", "CREATEDBY", "UPDATED", "UPDATEDBY", "M_INOUT_ID", "M_INOUTLINE_ID", "LINE", "M_PRODUCT_ID", "M_ATTRIBUTESETINSTANCE_ID", "MOVEMENTQTY", "M_LOCATOR_ID") AS
|
||||||
|
SELECT m.AD_Client_ID, m.AD_Org_ID, m.IsActive, m.Created, m.CreatedBy, m.Updated, m.UpdatedBy,
|
||||||
|
l.M_InOut_ID, m.M_InOutLine_ID, l.Line, l.M_Product_ID,
|
||||||
|
m.M_AttributeSetInstance_ID, m.MovementQty, l.M_Locator_ID
|
||||||
|
FROM M_InOutLineMA m INNER JOIN M_InOutLine l ON (m.M_InOutLine_ID=l.M_InOutLine_ID)
|
||||||
|
UNION
|
||||||
|
SELECT AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,
|
||||||
|
M_InOut_ID, M_InOutLine_ID, Line, M_Product_ID,
|
||||||
|
M_AttributeSetInstance_ID, MovementQty, M_Locator_ID
|
||||||
|
FROM M_InOutLine
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."M_MOVEMENTLINEMA_VT" ("AD_CLIENT_ID", "AD_ORG_ID", "ISACTIVE", "CREATED", "CREATEDBY", "UPDATED", "UPDATEDBY", "M_MOVEMENT_ID", "M_MOVEMENTLINE_ID", "LINE", "M_PRODUCT_ID", "M_ATTRIBUTESETINSTANCE_ID", "MOVEMENTQTY", "M_LOCATOR_ID", "M_LOCATORTO_ID") AS
|
||||||
|
SELECT m.AD_Client_ID, m.AD_Org_ID, m.IsActive, m.Created, m.CreatedBy, m.Updated, m.UpdatedBy,
|
||||||
|
l.M_Movement_ID, m.M_MovementLine_ID, l.Line, l.M_Product_ID,
|
||||||
|
m.M_AttributeSetInstance_ID, m.MovementQty, l.M_Locator_ID, l.M_LocatorTo_ID
|
||||||
|
FROM M_MovementLineMA m INNER JOIN M_MovementLine l ON (m.M_MovementLine_ID=l.M_MovementLine_ID)
|
||||||
|
UNION
|
||||||
|
SELECT AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,
|
||||||
|
M_Movement_ID, M_MovementLine_ID, Line, M_Product_ID,
|
||||||
|
M_AttributeSetInstance_ID, MovementQty, M_Locator_ID, M_LocatorTo_ID
|
||||||
|
FROM M_MovementLine
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."RV_C_INVOICE_PRODUCTMONTH" ("AD_CLIENT_ID", "AD_ORG_ID", "M_PRODUCT_ID", "DATEINVOICED", "LINENETAMT", "LINELISTAMT", "LINELIMITAMT", "LINEDISCOUNTAMT", "LINEDISCOUNT", "LINEOVERLIMITAMT", "LINEOVERLIMIT", "QTYINVOICED", "ISSOTRX") AS
|
||||||
|
SELECT il.AD_Client_ID, il.AD_Org_ID, il.M_Product_ID,
|
||||||
|
firstOf(il.DateInvoiced, 'MM') AS DateInvoiced,
|
||||||
|
SUM(il.LineNetAmt) AS LineNetAmt,
|
||||||
|
SUM(il.LineListAmt) AS LineListAmt,
|
||||||
|
SUM(il.LineLimitAmt) AS LineLimitAmt,
|
||||||
|
SUM(il.LineDiscountAmt) AS LineDiscountAmt,
|
||||||
|
CASE WHEN SUM(LineListAmt)=0 THEN 0 ELSE
|
||||||
|
ROUND((SUM(LineListAmt)-SUM(LineNetAmt))/SUM(LineListAmt)*100,2) END AS LineDiscount,
|
||||||
|
SUM(LineOverLimitAmt) AS LineOverLimitAmt,
|
||||||
|
CASE WHEN SUM(LineNetAmt)=0 THEN 0 ELSE
|
||||||
|
100-ROUND((SUM(LineNetAmt)-SUM(LineOverLimitAmt))/SUM(LineNetAmt)*100,2) END AS LineOverLimit,
|
||||||
|
SUM(QtyInvoiced) AS QtyInvoiced, IsSOTrx
|
||||||
|
FROM RV_C_InvoiceLine il
|
||||||
|
GROUP BY il.AD_Client_ID, il.AD_Org_ID, il.M_Product_ID,
|
||||||
|
firstOf(il.DateInvoiced, 'MM'), IsSOTrx
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."RV_C_INVOICE_PRODUCTQTR" ("AD_CLIENT_ID", "AD_ORG_ID", "M_PRODUCT_ID", "DATEINVOICED", "LINENETAMT", "LINELISTAMT", "LINELIMITAMT", "LINEDISCOUNTAMT", "LINEDISCOUNT", "LINEOVERLIMITAMT", "LINEOVERLIMIT", "QTYINVOICED", "ISSOTRX") AS
|
||||||
|
SELECT il.AD_Client_ID, il.AD_Org_ID, il.M_Product_ID,
|
||||||
|
firstOf(il.DateInvoiced, 'Q') AS DateInvoiced,
|
||||||
|
SUM(il.LineNetAmt) AS LineNetAmt,
|
||||||
|
SUM(il.LineListAmt) AS LineListAmt,
|
||||||
|
SUM(il.LineLimitAmt) AS LineLimitAmt,
|
||||||
|
SUM(il.LineDiscountAmt) AS LineDiscountAmt,
|
||||||
|
CASE WHEN SUM(LineListAmt)=0 THEN 0 ELSE
|
||||||
|
ROUND((SUM(LineListAmt)-SUM(LineNetAmt))/SUM(LineListAmt)*100,2) END AS LineDiscount,
|
||||||
|
SUM(LineOverLimitAmt) AS LineOverLimitAmt,
|
||||||
|
CASE WHEN SUM(LineNetAmt)=0 THEN 0 ELSE
|
||||||
|
100-ROUND((SUM(LineNetAmt)-SUM(LineOverLimitAmt))/SUM(LineNetAmt)*100,2) END AS LineOverLimit,
|
||||||
|
SUM(QtyInvoiced) AS QtyInvoiced, IsSOTrx
|
||||||
|
FROM RV_C_InvoiceLine il
|
||||||
|
GROUP BY il.AD_Client_ID, il.AD_Org_ID, il.M_Product_ID,
|
||||||
|
firstOf(il.DateInvoiced, 'Q'), IsSOTrx
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."R_REQUEST_V" ("R_REQUEST_ID", "AD_CLIENT_ID", "AD_ORG_ID", "ISACTIVE", "CREATED", "CREATEDBY", "UPDATED", "UPDATEDBY", "DOCUMENTNO", "R_REQUESTTYPE_ID", "R_GROUP_ID", "R_CATEGORY_ID", "R_STATUS_ID", "R_RESOLUTION_ID", "R_REQUESTRELATED_ID", "PRIORITY", "PRIORITYUSER", "DUETYPE", "SUMMARY", "CONFIDENTIALTYPE", "ISESCALATED", "ISSELFSERVICE", "SALESREP_ID", "AD_ROLE_ID", "DATELASTACTION", "DATELASTALERT", "LASTRESULT", "PROCESSED", "ISINVOICED", "C_BPARTNER_ID", "AD_USER_ID", "C_CAMPAIGN_ID", "C_ORDER_ID", "C_INVOICE_ID", "C_PAYMENT_ID", "M_PRODUCT_ID", "C_PROJECT_ID", "A_ASSET_ID", "M_INOUT_ID", "M_RMA_ID", "AD_TABLE_ID", "RECORD_ID", "REQUESTAMT", "R_MAILTEXT_ID", "RESULT", "CONFIDENTIALTYPEENTRY", "R_STANDARDRESPONSE_ID", "NEXTACTION", "DATENEXTACTION", "STARTTIME", "ENDTIME", "QTYSPENT", "QTYINVOICED", "M_PRODUCTSPENT_ID", "C_ACTIVITY_ID", "STARTDATE", "CLOSEDATE", "C_INVOICEREQUEST_ID", "M_CHANGEREQUEST_ID", "TASKSTATUS", "QTYPLAN", "DATECOMPLETEPLAN", "DATESTARTPLAN", "M_FIXCHANGENOTICE_ID") AS
|
||||||
|
SELECT "R_REQUEST_ID","AD_CLIENT_ID","AD_ORG_ID","ISACTIVE","CREATED","CREATEDBY","UPDATED","UPDATEDBY","DOCUMENTNO","R_REQUESTTYPE_ID","R_GROUP_ID","R_CATEGORY_ID","R_STATUS_ID","R_RESOLUTION_ID","R_REQUESTRELATED_ID","PRIORITY","PRIORITYUSER","DUETYPE","SUMMARY","CONFIDENTIALTYPE","ISESCALATED","ISSELFSERVICE","SALESREP_ID","AD_ROLE_ID","DATELASTACTION","DATELASTALERT","LASTRESULT","PROCESSED","ISINVOICED","C_BPARTNER_ID","AD_USER_ID","C_CAMPAIGN_ID","C_ORDER_ID","C_INVOICE_ID","C_PAYMENT_ID","M_PRODUCT_ID","C_PROJECT_ID","A_ASSET_ID","M_INOUT_ID","M_RMA_ID","AD_TABLE_ID","RECORD_ID","REQUESTAMT","R_MAILTEXT_ID","RESULT","CONFIDENTIALTYPEENTRY","R_STANDARDRESPONSE_ID","NEXTACTION","DATENEXTACTION","STARTTIME","ENDTIME","QTYSPENT","QTYINVOICED","M_PRODUCTSPENT_ID","C_ACTIVITY_ID","STARTDATE","CLOSEDATE","C_INVOICEREQUEST_ID","M_CHANGEREQUEST_ID","TASKSTATUS","QTYPLAN","DATECOMPLETEPLAN","DATESTARTPLAN","M_FIXCHANGENOTICE_ID"
|
||||||
|
FROM R_Request
|
||||||
|
WHERE IsActive='Y' AND Processed='N'
|
||||||
|
AND getdate() > DateNextAction
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW "COMPIERE"."RV_C_INVOICELINE" ("AD_CLIENT_ID", "AD_ORG_ID", "ISACTIVE", "CREATED", "CREATEDBY", "UPDATED", "UPDATEDBY", "C_INVOICELINE_ID", "C_INVOICE_ID", "SALESREP_ID", "C_BPARTNER_ID", "C_BP_GROUP_ID", "M_PRODUCT_ID", "M_PRODUCT_CATEGORY_ID", "DATEINVOICED", "DATEACCT", "ISSOTRX", "C_DOCTYPE_ID", "DOCSTATUS", "ISPAID", "QTYINVOICED", "QTYENTERED", "M_ATTRIBUTESETINSTANCE_ID", "PRODUCTATTRIBUTE", "M_ATTRIBUTESET_ID", "M_LOT_ID", "GUARANTEEDATE", "LOT", "SERNO", "PRICELIST", "PRICEACTUAL", "PRICELIMIT", "PRICEENTERED", "DISCOUNT", "MARGIN", "MARGINAMT", "LINENETAMT", "LINELISTAMT", "LINELIMITAMT", "LINEDISCOUNTAMT", "LINEOVERLIMITAMT") AS
|
||||||
|
SELECT
|
||||||
|
il.AD_Client_ID, il.AD_Org_ID, il.IsActive, il.Created, il.CreatedBy, il.Updated, il.UpdatedBy,
|
||||||
|
il.C_InvoiceLine_ID, i.C_Invoice_ID, i.SalesRep_ID,
|
||||||
|
i.C_BPartner_ID, i.C_BP_Group_ID,
|
||||||
|
il.M_Product_ID, p.M_Product_Category_ID,
|
||||||
|
i.DateInvoiced, i.DateAcct, i.IsSOTrx, i.C_DocType_ID, i.DocStatus, i.IsPaid,
|
||||||
|
-- Qty
|
||||||
|
il.QtyInvoiced*i.Multiplier AS QtyInvoiced,
|
||||||
|
il.QtyEntered*i.Multiplier AS QtyEntered,
|
||||||
|
-- Attributes
|
||||||
|
il.M_AttributeSetInstance_ID, productAttribute(il.M_AttributeSetInstance_ID) AS ProductAttribute,
|
||||||
|
pasi.M_AttributeSet_ID, pasi.M_Lot_ID, pasi.GuaranteeDate, pasi.Lot, pasi.SerNo,
|
||||||
|
-- Item Amounts
|
||||||
|
il.PriceList, il.PriceActual, il.PriceLimit, il.PriceEntered,
|
||||||
|
CASE WHEN PriceList=0 THEN 0 ELSE
|
||||||
|
ROUND((PriceList-PriceActual)/PriceList*100,2) END AS Discount,
|
||||||
|
CASE WHEN PriceLimit=0 THEN 0 ELSE
|
||||||
|
ROUND((PriceActual-PriceLimit)/PriceLimit*100,2) END AS Margin,
|
||||||
|
CASE WHEN PriceLimit=0 THEN 0 ELSE
|
||||||
|
(PriceActual-PriceLimit)*QtyInvoiced END AS MarginAmt,
|
||||||
|
-- Line Amounts
|
||||||
|
ROUND(i.Multiplier*LineNetAmt, 2) AS LineNetAmt,
|
||||||
|
ROUND(i.Multiplier*PriceList*QtyInvoiced, 2) AS LineListAmt,
|
||||||
|
CASE WHEN COALESCE(il.PriceLimit, 0)=0 THEN ROUND(i.Multiplier*LineNetAmt,2) ELSE
|
||||||
|
ROUND(i.Multiplier*PriceLimit*QtyInvoiced,2) END AS LineLimitAmt,
|
||||||
|
ROUND(i.Multiplier*PriceList*QtyInvoiced-LineNetAmt,2) AS LineDiscountAmt,
|
||||||
|
CASE WHEN COALESCE(il.PriceLimit,0)=0 THEN 0 ELSE
|
||||||
|
ROUND(i.Multiplier*LineNetAmt-PriceLimit*QtyInvoiced,2) END AS LineOverLimitAmt
|
||||||
|
FROM RV_C_Invoice i
|
||||||
|
INNER JOIN C_InvoiceLine il ON (i.C_Invoice_ID=il.C_Invoice_ID)
|
||||||
|
LEFT OUTER JOIN M_Product p ON (il.M_Product_ID=p.M_Product_ID)
|
||||||
|
LEFT OUTER JOIN M_AttributeSetInstance pasi ON (il.M_AttributeSetInstance_ID=pasi.M_AttributeSetInstance_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
-- CHANGED VIEWS - but check them first - don't overwrite your customizations...
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW AD_ORG_V
|
||||||
|
AS SELECT o.AD_Client_ID, o.AD_Org_ID,
|
||||||
|
o.IsActive, o.Created, o.CreatedBy, o.Updated, o.UpdatedBy,
|
||||||
|
o.Value, o.Name, o.Description, o.IsSummary,
|
||||||
|
i.C_Location_ID, i.DUNS, i.TaxID,
|
||||||
|
i.Supervisor_ID, i.Parent_Org_ID,
|
||||||
|
i.AD_OrgType_ID, i.M_Warehouse_ID,
|
||||||
|
bp.C_BPartner_ID
|
||||||
|
FROM AD_Org o
|
||||||
|
INNER JOIN AD_OrgInfo i ON (o.AD_Org_ID=i.AD_Org_ID)
|
||||||
|
LEFT OUTER JOIN C_BPartner bp ON (o.AD_Org_ID=bp.AD_OrgBP_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW RV_BPARTNER
|
||||||
|
AS SELECT bp.AD_Client_ID, bp.AD_Org_ID,
|
||||||
|
bp.IsActive, bp.Created, bp.CreatedBy, bp.Updated, bp.UpdatedBy,
|
||||||
|
bp.C_BPartner_ID, bp.Value, bp.Name, bp.Name2, bp.Description, bp.IsSummary,
|
||||||
|
bp.C_BP_Group_ID, bp.IsOneTime, bp.IsProspect, bp.IsVendor, bp.IsCustomer, bp.IsEmployee, bp.IsSalesRep,
|
||||||
|
bp.ReferenceNo, bp.Duns, bp.URL, bp.AD_Language, bp.TaxID, bp.IsTaxExempt,
|
||||||
|
bp.C_InvoiceSchedule_ID, bp.Rating, bp.SalesVolume, bp.NumberEmployees, bp.NAICS,
|
||||||
|
bp.FirstSale, bp.AcqusitionCost, bp.PotentialLifeTimeValue, bp.ActualLifeTimeValue,
|
||||||
|
bp.ShareOfCustomer, bp.PaymentRule,
|
||||||
|
bp.SO_CreditLimit, bp.SO_CreditUsed, bp.SO_CreditUsed-bp.SO_CreditLimit AS SO_CreditAvailable,
|
||||||
|
bp.C_PaymentTerm_ID, bp.M_PriceList_ID, bp.M_DiscountSchema_ID, bp.C_Dunning_ID,
|
||||||
|
bp.IsDiscountPrinted, bp.SO_Description, bp.POReference, PaymentRulePO,
|
||||||
|
bp.PO_PriceList_ID, bp.PO_DiscountSchema_ID, bp.PO_PaymentTerm_ID,
|
||||||
|
bp.DocumentCopies, bp.C_Greeting_ID, bp.InvoiceRule, bp.DeliveryRule,
|
||||||
|
bp.FreightCostRule, bp.DeliveryViaRule, bp.SalesRep_ID,
|
||||||
|
bp.SendEMail, bp.BPartner_Parent_ID, bp.Invoice_PrintFormat_ID,
|
||||||
|
bp.SOCreditStatus, bp.ShelfLifeMinPct, bp.AD_OrgBP_ID,
|
||||||
|
bp.FlatDiscount, bp.TotalOpenBalance,
|
||||||
|
-- Contact
|
||||||
|
c.AD_User_ID, c.Name AS ContactName, c.Description AS ContactDescription,
|
||||||
|
c.EMail, c.Supervisor_ID,
|
||||||
|
c.EMailUser, c.C_Greeting_ID AS BPContactGreeting,
|
||||||
|
c.Title, c.Comments, c.Phone, c.Phone2, c.Fax,
|
||||||
|
c.LastContact, c.LastResult, c.BirthDay, c.AD_OrgTrx_ID,
|
||||||
|
c.EMailVerify, c.LDAPUser, c.EMailVerifyDate, c.NotificationType,
|
||||||
|
-- Location
|
||||||
|
l.C_BPartner_Location_ID, a.Postal, a.City, a.Address1, a.Address2, a.Address3,
|
||||||
|
a.C_Region_ID, COALESCE(r.Name,a.RegionName) AS RegionName,
|
||||||
|
a.C_Country_ID, cc.Name AS CountryName
|
||||||
|
FROM C_BPartner bp
|
||||||
|
LEFT OUTER JOIN C_BPartner_Location l ON (bp.C_BPartner_ID=l.C_BPartner_ID AND l.IsActive='Y')
|
||||||
|
LEFT OUTER JOIN AD_User c ON (bp.C_BPartner_ID=c.C_BPartner_ID AND (c.C_BPartner_Location_ID IS NULL OR c.C_BPartner_Location_ID=l.C_BPartner_Location_ID) AND c.IsActive='Y')
|
||||||
|
LEFT OUTER JOIN C_Location a ON (l.C_Location_ID=a.C_Location_ID)
|
||||||
|
LEFT OUTER JOIN C_Region r ON (a.C_Region_ID=r.C_Region_ID)
|
||||||
|
INNER JOIN C_Country cc ON (a.C_Country_ID=cc.C_Country_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
CREATE OR REPLACE FORCE VIEW M_INOUT_CANDIDATE_V
|
||||||
|
AS SELECT
|
||||||
|
o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID,
|
||||||
|
o.DocumentNo, o.DateOrdered, o.C_DocType_ID,
|
||||||
|
o.POReference, o.Description, o.SalesRep_ID,
|
||||||
|
l.M_Warehouse_ID,
|
||||||
|
SUM((l.QtyOrdered-l.QtyDelivered)*l.PriceActual) AS TotalLines
|
||||||
|
FROM C_Order o
|
||||||
|
INNER JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID)
|
||||||
|
WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE
|
||||||
|
-- not Offers and open Walkin-Receipts
|
||||||
|
AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType
|
||||||
|
WHERE DocBaseType='SOO' AND DocSubTypeSO NOT IN ('ON','OB','WR'))
|
||||||
|
-- Delivery Rule - not manual
|
||||||
|
AND o.DeliveryRule<>'M'
|
||||||
|
AND (l.M_Product_ID IS NULL OR EXISTS
|
||||||
|
(SELECT * FROM M_Product p
|
||||||
|
WHERE l.M_Product_ID=p.M_Product_ID AND p.IsExcludeAutoDelivery='N'))
|
||||||
|
-- we need to ship
|
||||||
|
AND l.QtyOrdered <> l.QtyDelivered
|
||||||
|
AND o.IsDropShip='N'
|
||||||
|
AND (l.M_Product_ID IS NOT NULL OR l.C_Charge_ID IS NOT NULL)
|
||||||
|
-- Not confirmed shipment
|
||||||
|
AND NOT EXISTS (SELECT * FROM M_InOutLine iol
|
||||||
|
INNER JOIN M_InOut io ON (iol.M_InOut_ID=io.M_InOut_ID)
|
||||||
|
WHERE iol.C_OrderLine_ID=l.C_OrderLine_ID AND io.DocStatus IN ('IP','WC'))
|
||||||
|
--
|
||||||
|
GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID,
|
||||||
|
o.DocumentNo, o.DateOrdered, o.C_DocType_ID,
|
||||||
|
o.POReference, o.Description, o.SalesRep_ID, l.M_Warehouse_ID
|
||||||
|
;
|
||||||
|
|
||||||
|
update AD_System set version='2006-01-20';
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -0,0 +1,888 @@
|
||||||
|
-- upgrading database from compiere 253a to 253b
|
||||||
|
-- Written by Karsten Thiemann, kt@schaeffer-ag.de
|
||||||
|
-- Feel free to change everything you want, but you are using it at your own risk!
|
||||||
|
|
||||||
|
-- This script changes the db structure by adding missing tables and columns.
|
||||||
|
-- It also adds lines to some of the new tables.
|
||||||
|
|
||||||
|
-- Your data is left unchaged - with the following exceptions: .
|
||||||
|
-- ALL ENTRIES IN PA_MEASURE, PA_MEASURECALC AND T_INVENTORYVALUE ARE DELETED
|
||||||
|
-- If you have CUSTOM DATA in there please do a backup and reapply it after migration.
|
||||||
|
-- The code for the deletion is marked with BEWARE
|
||||||
|
|
||||||
|
-- CUSTOM DATA means data from your client not from GardeWorld or System:
|
||||||
|
-- select * from PA_MEASURE where AD_Client_ID!=11 and AD_Client_ID!=0;
|
||||||
|
-- select * from PA_MEASURECALC where AD_Client_ID!=11 and AD_Client_ID!=0;
|
||||||
|
-- select * from T_INVENTORYVALUE where AD_Client_ID!=11 and AD_Client_ID!=0;
|
||||||
|
-- If you get some lines, you have custom data...
|
||||||
|
|
||||||
|
-- Please review the setting of the DEFAULT VALUES for some of the
|
||||||
|
-- added columns. They are marked with REPLACE_ME so just use the search function
|
||||||
|
-- of your editor. So just follow the instructions there.
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."AD_CLIENTSHARE"
|
||||||
|
( "AD_CLIENTSHARE_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"AD_TABLE_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"SHARETYPE" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "AD_CLIENTSHARE_KEY" PRIMARY KEY ("AD_CLIENTSHARE_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADCLIENT_ADCLIENTSHARE" FOREIGN KEY ("AD_CLIENT_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_CLIENT" ("AD_CLIENT_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADORG_ADCLIENTSHARE" FOREIGN KEY ("AD_ORG_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_ORG" ("AD_ORG_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADTABLE_ADCLIENTSHARE" FOREIGN KEY ("AD_TABLE_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_TABLE" ("AD_TABLE_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX "COMPIERE"."AD_CLIENTSHARE_TABLE" ON "COMPIERE"."AD_CLIENTSHARE" ("AD_CLIENT_ID", "AD_TABLE_ID") ;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_ISSUESYSTEM"
|
||||||
|
( "R_ISSUESYSTEM_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"DBADDRESS" NVARCHAR2(255) NOT NULL ENABLE,
|
||||||
|
"STATISTICSINFO" NVARCHAR2(60),
|
||||||
|
"PROFILEINFO" NVARCHAR2(60),
|
||||||
|
"SYSTEMSTATUS" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
"A_ASSET_ID" NUMBER(10,0),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_ISSUESYSTEM_KEY" PRIMARY KEY ("R_ISSUESYSTEM_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX "COMPIERE"."R_ISSUESYSTEM_ADDRESS" ON "COMPIERE"."R_ISSUESYSTEM" ("DBADDRESS") ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_ISSUEUSER"
|
||||||
|
( "R_ISSUEUSER_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"USERNAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"AD_USER_ID" NUMBER(10,0),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_ISSUEUSER_KEY" PRIMARY KEY ("R_ISSUEUSER_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADUSER_RISSUEUSER" FOREIGN KEY ("AD_USER_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_USER" ("AD_USER_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX "COMPIERE"."R_ISSUEUSER_EMAIL" ON "COMPIERE"."R_ISSUEUSER" ("USERNAME", "AD_CLIENT_ID") ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_ISSUESTATUS"
|
||||||
|
( "R_ISSUESTATUS_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_ISSUESTATUS_KEY" PRIMARY KEY ("R_ISSUESTATUS_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_ISSUEPROJECT"
|
||||||
|
( "R_ISSUEPROJECT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"A_ASSET_ID" NUMBER(10,0),
|
||||||
|
"C_PROJECT_ID" NUMBER(10,0),
|
||||||
|
"STATISTICSINFO" NVARCHAR2(60),
|
||||||
|
"PROFILEINFO" NVARCHAR2(60),
|
||||||
|
"SYSTEMSTATUS" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_ISSUEPROJECT_KEY" PRIMARY KEY ("R_ISSUEPROJECT_ID") ENABLE,
|
||||||
|
CONSTRAINT "AASSET_RISSUEPROJECT" FOREIGN KEY ("A_ASSET_ID")
|
||||||
|
REFERENCES "COMPIERE"."A_ASSET" ("A_ASSET_ID") ENABLE,
|
||||||
|
CONSTRAINT "CPROJECT_RISSUEPROJECT" FOREIGN KEY ("C_PROJECT_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_PROJECT" ("C_PROJECT_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE INDEX "COMPIERE"."R_ISSUEPROJECT_NAME" ON "COMPIERE"."R_ISSUEPROJECT" ("NAME") ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_ISSUERECOMMENDATION"
|
||||||
|
( "R_ISSUERECOMMENDATION_ID" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"HELP" NVARCHAR2(2000),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_ISSUERECOMMENDATION_KEY" PRIMARY KEY ("R_ISSUERECOMMENDATION_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_ISSUEKNOWN"
|
||||||
|
( "R_ISSUEKNOWN_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISSUESUMMARY" NVARCHAR2(255) NOT NULL ENABLE,
|
||||||
|
"RELEASENO" CHAR(4 BYTE) NOT NULL ENABLE,
|
||||||
|
"SOURCECLASSNAME" NVARCHAR2(60),
|
||||||
|
"SOURCEMETHODNAME" NVARCHAR2(60),
|
||||||
|
"LOGGERNAME" NVARCHAR2(60),
|
||||||
|
"LINENO" NUMBER(10,0) DEFAULT 0,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"ISSUESTATUS" NVARCHAR2(2000),
|
||||||
|
"R_ISSUERECOMMENDATION_ID" CHAR(1 BYTE),
|
||||||
|
"R_ISSUESTATUS_ID" NUMBER(10,0),
|
||||||
|
"R_REQUEST_ID" NUMBER(10,0),
|
||||||
|
"PROCESSING" CHAR(1 BYTE),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_KNOWNISSUE_KEY" PRIMARY KEY ("R_ISSUEKNOWN_ID") ENABLE,
|
||||||
|
CONSTRAINT "RISSUEREC_RISSUEKNOWN" FOREIGN KEY ("R_ISSUERECOMMENDATION_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUERECOMMENDATION" ("R_ISSUERECOMMENDATION_ID") ENABLE,
|
||||||
|
CONSTRAINT "RISSUESTATUS_RISSUEKNOWN" FOREIGN KEY ("R_ISSUESTATUS_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUESTATUS" ("R_ISSUESTATUS_ID") ENABLE,
|
||||||
|
CONSTRAINT "RREQUEST_RISSUEKNOWN" FOREIGN KEY ("R_REQUEST_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_REQUEST" ("R_REQUEST_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX "COMPIERE"."R_KNOWNISSUE_ALT" ON "COMPIERE"."R_ISSUEKNOWN" ("ISSUESUMMARY", "RELEASENO", "SOURCECLASSNAME", "SOURCEMETHODNAME", "LOGGERNAME", "LINENO") ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_ISSUESOURCE"
|
||||||
|
( "R_ISSUESOURCE_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"R_ISSUESYSTEM_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"R_ISSUEPROJECT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"R_ISSUEUSER_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"STATISTICSINFO" NVARCHAR2(60),
|
||||||
|
"PROFILEINFO" NVARCHAR2(60),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_ISSUESOURCE_KEY" PRIMARY KEY ("R_ISSUESOURCE_ID") ENABLE,
|
||||||
|
CONSTRAINT "RISSUEPROJECT_RISSUESOURCE" FOREIGN KEY ("R_ISSUEPROJECT_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUEPROJECT" ("R_ISSUEPROJECT_ID") ENABLE,
|
||||||
|
CONSTRAINT "RISSUESYSTEM_RISSUESOURCE" FOREIGN KEY ("R_ISSUESYSTEM_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUESYSTEM" ("R_ISSUESYSTEM_ID") ENABLE,
|
||||||
|
CONSTRAINT "RISSUEUSER_RISSUESOURCE" FOREIGN KEY ("R_ISSUEUSER_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUEUSER" ("R_ISSUEUSER_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX "COMPIERE"."R_ISSUESOURCE_SPO" ON "COMPIERE"."R_ISSUESOURCE" ("R_ISSUESYSTEM_ID", "R_ISSUEPROJECT_ID", "R_ISSUEUSER_ID") ;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."AD_ISSUE"
|
||||||
|
( "AD_ISSUE_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"RELEASENO" CHAR(4 BYTE) NOT NULL ENABLE,
|
||||||
|
"VERSION" NVARCHAR2(40) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"USERNAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"SUPPORTEMAIL" NVARCHAR2(60),
|
||||||
|
"DBADDRESS" NVARCHAR2(255),
|
||||||
|
"LOCAL_HOST" NVARCHAR2(120),
|
||||||
|
"OPERATINGSYSTEMINFO" NVARCHAR2(255) DEFAULT NULL,
|
||||||
|
"RELEASETAG" NVARCHAR2(60),
|
||||||
|
"DATABASEINFO" NVARCHAR2(255) DEFAULT NULL,
|
||||||
|
"JAVAINFO" NVARCHAR2(255) DEFAULT NULL,
|
||||||
|
"REMOTE_ADDR" NVARCHAR2(60),
|
||||||
|
"REMOTE_HOST" NVARCHAR2(120),
|
||||||
|
"ISSUESUMMARY" NVARCHAR2(2000) DEFAULT NULL NOT NULL ENABLE,
|
||||||
|
"COMMENTS" NVARCHAR2(2000),
|
||||||
|
"SOURCECLASSNAME" NVARCHAR2(60),
|
||||||
|
"SOURCEMETHODNAME" NVARCHAR2(60),
|
||||||
|
"LOGGERNAME" NVARCHAR2(60),
|
||||||
|
"LINENO" NUMBER(10,0) DEFAULT 0,
|
||||||
|
"STACKTRACE" NVARCHAR2(2000),
|
||||||
|
"ERRORTRACE" NVARCHAR2(2000),
|
||||||
|
"RECORD_ID" NUMBER(10,0),
|
||||||
|
"REQUESTDOCUMENTNO" NVARCHAR2(30),
|
||||||
|
"A_ASSET_ID" NUMBER(10,0),
|
||||||
|
"R_REQUEST_ID" NUMBER(10,0),
|
||||||
|
"RESPONSETEXT" NVARCHAR2(2000),
|
||||||
|
"PROCESSING" CHAR(1 BYTE),
|
||||||
|
"PROCESSED" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
|
||||||
|
"ISVANILLASYSTEM" CHAR(1 BYTE) DEFAULT 'N'
|
||||||
|
,
|
||||||
|
"ISREPRODUCIBLE" CHAR(1 BYTE) DEFAULT 'N'
|
||||||
|
,
|
||||||
|
"R_ISSUEKNOWN_ID" NUMBER(10,0),
|
||||||
|
"STATISTICSINFO" NVARCHAR2(255) DEFAULT NULL,
|
||||||
|
"PROFILEINFO" NVARCHAR2(255) DEFAULT NULL,
|
||||||
|
"SYSTEMSTATUS" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
"R_ISSUEPROJECT_ID" NUMBER(10,0),
|
||||||
|
"R_ISSUEUSER_ID" NUMBER(10,0),
|
||||||
|
"R_ISSUESYSTEM_ID" NUMBER(10,0),
|
||||||
|
"ISSUESOURCE" CHAR(1 BYTE),
|
||||||
|
"AD_WINDOW_ID" NUMBER(10,0),
|
||||||
|
"AD_PROCESS_ID" NUMBER(10,0),
|
||||||
|
"AD_FORM_ID" NUMBER(10,0),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CHECK (Processed in ('Y','N')) ENABLE,
|
||||||
|
CHECK (IsVanillaSystem in ('Y','N')) ENABLE,
|
||||||
|
CHECK (IsReproducible in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "AD_ISSUE_KEY" PRIMARY KEY ("AD_ISSUE_ID") ENABLE,
|
||||||
|
CONSTRAINT "AASSET_ADISSUE" FOREIGN KEY ("A_ASSET_ID")
|
||||||
|
REFERENCES "COMPIERE"."A_ASSET" ("A_ASSET_ID") ON DELETE SET NULL ENABLE,
|
||||||
|
CONSTRAINT "ADFORM_ADISSUE" FOREIGN KEY ("AD_FORM_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_FORM" ("AD_FORM_ID") ON DELETE SET NULL ENABLE,
|
||||||
|
CONSTRAINT "ADPROCESS_ADISSUE" FOREIGN KEY ("AD_PROCESS_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_PROCESS" ("AD_PROCESS_ID") ON DELETE SET NULL ENABLE,
|
||||||
|
CONSTRAINT "ADWINDOW_ADISSUE" FOREIGN KEY ("AD_WINDOW_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_WINDOW" ("AD_WINDOW_ID") ON DELETE SET NULL ENABLE,
|
||||||
|
CONSTRAINT "RISSUEPROJECT_ADISSUE" FOREIGN KEY ("R_ISSUEPROJECT_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUEPROJECT" ("R_ISSUEPROJECT_ID") ENABLE,
|
||||||
|
CONSTRAINT "RISSUESYSTEM_AD_ISSUE" FOREIGN KEY ("R_ISSUESYSTEM_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUESYSTEM" ("R_ISSUESYSTEM_ID") ENABLE,
|
||||||
|
CONSTRAINT "RISSUEUSER_ADISSUE" FOREIGN KEY ("R_ISSUEUSER_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUEUSER" ("R_ISSUEUSER_ID") ENABLE,
|
||||||
|
CONSTRAINT "RKNOWNISSUE_ADISSUE" FOREIGN KEY ("R_ISSUEKNOWN_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_ISSUEKNOWN" ("R_ISSUEKNOWN_ID") ENABLE,
|
||||||
|
CONSTRAINT "RREQUEST_ADISSUE" FOREIGN KEY ("R_REQUEST_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_REQUEST" ("R_REQUEST_ID") ON DELETE SET NULL ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
|
||||||
|
COMMENT ON TABLE "COMPIERE"."AD_ISSUE" IS 'Compiere Automatic Issue Reporting';
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."C_SUBACCT"
|
||||||
|
( "C_SUBACCT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"VALUE" NVARCHAR2(40) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"HELP" NVARCHAR2(2000),
|
||||||
|
"C_ELEMENTVALUE_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "C_SUBACCT_KEY" PRIMARY KEY ("C_SUBACCT_ID") ENABLE,
|
||||||
|
CONSTRAINT "CELEMENTVALUE_CSUBACCT" FOREIGN KEY ("C_ELEMENTVALUE_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_ELEMENTVALUE" ("C_ELEMENTVALUE_ID") ON DELETE CASCADE ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."PA_GOALRESTRICTION"
|
||||||
|
( "PA_GOALRESTRICTION_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"GOALRESTRICTIONTYPE" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
"PA_GOAL_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"C_BPARTNER_ID" NUMBER(10,0),
|
||||||
|
"M_PRODUCT_ID" NUMBER(10,0),
|
||||||
|
"ORG_ID" NUMBER(10,0),
|
||||||
|
"C_BP_GROUP_ID" NUMBER(10,0),
|
||||||
|
"M_PRODUCT_CATEGORY_ID" NUMBER(10,0),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "PA_GOALRESTRICTION_KEY" PRIMARY KEY ("PA_GOALRESTRICTION_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADORG2_PAGOALRESTRICTION" FOREIGN KEY ("ORG_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_ORG" ("AD_ORG_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADORG_PAGOALRESTRICTION" FOREIGN KEY ("AD_ORG_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_ORG" ("AD_ORG_ID") ENABLE,
|
||||||
|
CONSTRAINT "CBPARTNER_PAGOALRESTRICTION" FOREIGN KEY ("C_BPARTNER_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_BPARTNER" ("C_BPARTNER_ID") ENABLE,
|
||||||
|
CONSTRAINT "CBPGROUP_PAGOALRESTRICTION" FOREIGN KEY ("C_BP_GROUP_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_BP_GROUP" ("C_BP_GROUP_ID") ENABLE,
|
||||||
|
CONSTRAINT "MPRODUCTCAT_PAGOALRESTRICTION" FOREIGN KEY ("M_PRODUCT_CATEGORY_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_PRODUCT_CATEGORY" ("M_PRODUCT_CATEGORY_ID") ENABLE,
|
||||||
|
CONSTRAINT "MPRODUCT_PAGOALRESTRICTION" FOREIGN KEY ("M_PRODUCT_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_PRODUCT" ("M_PRODUCT_ID") ENABLE,
|
||||||
|
CONSTRAINT "PAGOAL_PAGOALRESTRICTION" FOREIGN KEY ("PA_GOAL_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_GOAL" ("PA_GOAL_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_MAILTEXT_TRL"
|
||||||
|
( "R_MAILTEXT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_LANGUAGE" VARCHAR2(6 BYTE) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISTRANSLATED" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"MAILHEADER" NVARCHAR2(2000) NOT NULL ENABLE,
|
||||||
|
"MAILTEXT" NVARCHAR2(2000) NOT NULL ENABLE,
|
||||||
|
"MAILTEXT2" NVARCHAR2(2000),
|
||||||
|
"MAILTEXT3" NVARCHAR2(2000),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CHECK (IsTranslated in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_MAILTEXT_TRL_KEY" PRIMARY KEY ("R_MAILTEXT_ID", "AD_LANGUAGE") ENABLE,
|
||||||
|
CONSTRAINT "ADLANGUAGE_RMAILTEXTTRL" FOREIGN KEY ("AD_LANGUAGE")
|
||||||
|
REFERENCES "COMPIERE"."AD_LANGUAGE" ("AD_LANGUAGE") ENABLE,
|
||||||
|
CONSTRAINT "RMAILTEXT_RMAILTEXTTRL" FOREIGN KEY ("R_MAILTEXT_ID")
|
||||||
|
REFERENCES "COMPIERE"."R_MAILTEXT" ("R_MAILTEXT_ID") ON DELETE CASCADE ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."PA_COLORSCHEMA"
|
||||||
|
( "PA_COLORSCHEMA_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"MARK1PERCENT" NUMBER(10,0) DEFAULT 0 NOT NULL ENABLE,
|
||||||
|
"AD_PRINTCOLOR1_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"MARK2PERCENT" NUMBER(10,0) DEFAULT 0 NOT NULL ENABLE,
|
||||||
|
"AD_PRINTCOLOR2_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"MARK3PERCENT" NUMBER(10,0) DEFAULT 0,
|
||||||
|
"AD_PRINTCOLOR3_ID" NUMBER(10,0),
|
||||||
|
"MARK4PERCENT" NUMBER(10,0) DEFAULT 0,
|
||||||
|
"AD_PRINTCOLOR4_ID" NUMBER(10,0),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "PA_COLORSCHEMA_KEY" PRIMARY KEY ("PA_COLORSCHEMA_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADPRINTCOLOR1_PACOLORSCHEMA" FOREIGN KEY ("AD_PRINTCOLOR1_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_PRINTCOLOR" ("AD_PRINTCOLOR_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADPRINTCOLOR2_PACOLORSCHEMA" FOREIGN KEY ("AD_PRINTCOLOR2_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_PRINTCOLOR" ("AD_PRINTCOLOR_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADPRINTCOLOR3_PACOLORSCHEMA" FOREIGN KEY ("AD_PRINTCOLOR3_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_PRINTCOLOR" ("AD_PRINTCOLOR_ID") ENABLE,
|
||||||
|
CONSTRAINT "ADPRINTCOLOR4_PACOLORSCHEMA" FOREIGN KEY ("AD_PRINTCOLOR4_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_PRINTCOLOR" ("AD_PRINTCOLOR_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
/* INSERTING into PA_COLORSCHEMA */
|
||||||
|
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('31.12.05','DD.MM.RR'),100,to_date('31.12.05','DD.MM.RR'),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('23.12.05','DD.MM.RR'),100,to_date('31.12.05','DD.MM.RR'),100,'Red (50) - Yellow (100) - Green','>= 100% is the goal',50,102,100,113,9999,103,0,null);
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."PA_RATIO"
|
||||||
|
( "PA_RATIO_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"HELP" NVARCHAR2(2000),
|
||||||
|
"C_ACCTSCHEMA_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "PA_RATIO_KEY" PRIMARY KEY ("PA_RATIO_ID") ENABLE,
|
||||||
|
CONSTRAINT "CACCTSCHEMA_PARATIO" FOREIGN KEY ("C_ACCTSCHEMA_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_ACCTSCHEMA" ("C_ACCTSCHEMA_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
/* INSERTING into PA_RATIO */
|
||||||
|
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('26.12.05','DD.MM.RR'),101,to_date('26.12.05','DD.MM.RR'),101,'Fxed Assets',null,null,101);
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."PA_RATIOELEMENT"
|
||||||
|
( "PA_RATIOELEMENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"PA_RATIO_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"RATIOOPERAND" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
"RATIOELEMENTTYPE" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
"ACCOUNT_ID" NUMBER(10,0),
|
||||||
|
"PA_RATIOUSED_ID" NUMBER(10,0),
|
||||||
|
"PA_MEASURECALC_ID" NUMBER(10,0),
|
||||||
|
"CONSTANTVALUE" NUMBER,
|
||||||
|
"SEQNO" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"POSTINGTYPE" CHAR(1 BYTE),
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "PA_RATIOELEMENT_KEY" PRIMARY KEY ("PA_RATIOELEMENT_ID") ENABLE,
|
||||||
|
CONSTRAINT "CELEMENTVALUE_PARATIOELEMENT" FOREIGN KEY ("ACCOUNT_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_ELEMENTVALUE" ("C_ELEMENTVALUE_ID") ENABLE,
|
||||||
|
CONSTRAINT "PAMEASURECALC_PARATIOELEMENT" FOREIGN KEY ("PA_MEASURECALC_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_MEASURECALC" ("PA_MEASURECALC_ID") ENABLE,
|
||||||
|
CONSTRAINT "PARATIOUSED_PARATIOELEMENT" FOREIGN KEY ("PA_RATIOUSED_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_RATIO" ("PA_RATIO_ID") ENABLE,
|
||||||
|
CONSTRAINT "PARATIO_PARATIOELEMENT" FOREIGN KEY ("PA_RATIO_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_RATIO" ("PA_RATIO_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
/* INSERTING into PA_RATIOELEMENT */
|
||||||
|
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('26.12.05','DD.MM.RR'),101,to_date('26.12.05','DD.MM.RR'),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('26.12.05','DD.MM.RR'),101,to_date('26.12.05','DD.MM.RR'),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('26.12.05','DD.MM.RR'),101,to_date('26.12.05','DD.MM.RR'),101,'Land and Building',null,100,'P','A',554,null,null,0,0,null);
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."R_STATUSCATEGORY"
|
||||||
|
( "R_STATUSCATEGORY_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"HELP" NVARCHAR2(2000),
|
||||||
|
"ISDEFAULT" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CHECK (IsDefault in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "R_STATUSCATEGORY_KEY" PRIMARY KEY ("R_STATUSCATEGORY_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
/* INSERTING into R_STATUSCATEGORY */
|
||||||
|
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('15.01.06','DD.MM.RR'),100,to_date('15.01.06','DD.MM.RR'),100,'Default','Default Request Status',null,'Y');
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."PA_BENCHMARK"
|
||||||
|
( "PA_BENCHMARK_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"HELP" NVARCHAR2(2000),
|
||||||
|
"ACCUMULATIONTYPE" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "PA_BENMARK_KEY" PRIMARY KEY ("PA_BENCHMARK_ID") ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
CREATE TABLE "COMPIERE"."PA_BENCHMARKDATA"
|
||||||
|
( "PA_BENCHMARKDATA_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_CLIENT_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"AD_ORG_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"ISACTIVE" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
|
||||||
|
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"CREATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
|
||||||
|
"UPDATEDBY" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"NAME" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"PA_BENCHMARK_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"BENCHMARKDATE" DATE NOT NULL ENABLE,
|
||||||
|
"BENCHMARKVALUE" NUMBER NOT NULL ENABLE,
|
||||||
|
CHECK (IsActive in ('Y','N')) ENABLE,
|
||||||
|
CONSTRAINT "PA_BENCHMARKDATA_KEY" PRIMARY KEY ("PA_BENCHMARKDATA_ID") ENABLE,
|
||||||
|
CONSTRAINT "PABENCHMARK_PABENCHMARKDATA" FOREIGN KEY ("PA_BENCHMARK_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_BENCHMARK" ("PA_BENCHMARK_ID") ON DELETE CASCADE ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* alter existing tables - add new columns */
|
||||||
|
ALTER TABLE "COMPIERE"."C_TAXDECLARATIONACCT"
|
||||||
|
ADD "LINE" NUMBER(10,0);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_TAXDECLARATIONLINE"
|
||||||
|
ADD ("ISMANUAL" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
|
||||||
|
"C_CURRENCY_ID" NUMBER(10,0) NULL );
|
||||||
|
|
||||||
|
-- REPLACE_ME: set a
|
||||||
|
-- default value for C_Currency_ID (the default currency) 102 is EUR, 100 is USD
|
||||||
|
UPDATE "COMPIERE"."C_TAXDECLARATIONLINE" SET "C_CURRENCY_ID"=102;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_TAXDECLARATIONLINE"
|
||||||
|
MODIFY ("C_CURRENCY_ID" NUMBER(10,0) NOT NULL ENABLE);
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_TAXDECLARATIONLINE"
|
||||||
|
ADD CONSTRAINT "CCURRENCY_CTAXDECLLINE" FOREIGN KEY ("C_CURRENCY_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_CURRENCY" ("C_CURRENCY_ID");
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."FACT_ACCT_BALANCE"
|
||||||
|
ADD ( "C_SUBACCT_ID" NUMBER(10,0),
|
||||||
|
"USERELEMENT1_ID" NUMBER(10,0),
|
||||||
|
"USERELEMENT2_ID" NUMBER(10,0));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_ACHIEVEMENT"
|
||||||
|
ADD ( "MANUALACTUAL" NUMBER DEFAULT 0 NOT NULL,
|
||||||
|
"PA_MEASURE_ID" NUMBER(10,0) NULL,
|
||||||
|
"DATEDOC" DATE);
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_ACHIEVEMENT"
|
||||||
|
ADD CONSTRAINT "PAMEASURE_PAACHIEVEMENT" FOREIGN KEY ("PA_MEASURE_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_MEASURE" ("PA_MEASURE_ID");
|
||||||
|
|
||||||
|
-- REPLACE_ME: if there are lines in the table you have to set a
|
||||||
|
-- default value for PA_MEASURE_ID (references PA_Measure)
|
||||||
|
UPDATE "COMPIERE"."PA_ACHIEVEMENT" SET "PA_MEASURE_ID"=0;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_ACHIEVEMENT"
|
||||||
|
MODIFY "PA_MEASURE_ID" NUMBER(10,0) NOT NULL;
|
||||||
|
|
||||||
|
|
||||||
|
/* BEWARE: ALL ENTRIES IN PA_MEASURE AND PA_MEASURECALC ARE DELETED */
|
||||||
|
DELETE FROM "COMPIERE"."PA_MEASURE";
|
||||||
|
DELETE FROM "COMPIERE"."PA_MEASURECALC";
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_MEASURECALC"
|
||||||
|
ADD ( "AD_TABLE_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"KEYCOLUMN" NVARCHAR2(60) NOT NULL ENABLE,
|
||||||
|
"ENTITYTYPE" VARCHAR2(4 BYTE) NOT NULL ENABLE
|
||||||
|
) ;
|
||||||
|
|
||||||
|
/* INSERTING into PA_MEASURECALC */
|
||||||
|
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 (100,0,0,'Y',to_date('26.04.01','DD.MM.RR'),0,to_date('01.01.06','DD.MM.RR'),100,'Invoiced Net Revenue','Invoiced net revenue, without tax and charges','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)','WHERE C_Invoice.IsSOTrx=''Y'' AND C_Invoice.Processed=''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 (101,0,0,'Y',to_date('26.04.01','DD.MM.RR'),0,to_date('01.01.06','DD.MM.RR'),100,'Invoiced Gross Revenue','Invoice gross amount including tax; Does not allow selection by product (Category)','SELECT SUM(GrandTotal)
|
||||||
|
FROM RV_C_Invoice C_Invoice','WHERE IsSOTrx=''Y'' AND Processed=''Y''','DateInvoiced','AD_Org_ID','C_BPartner_ID',null,318,'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 (102,0,0,'Y',to_date('26.04.01','DD.MM.RR'),0,to_date('01.01.06','DD.MM.RR'),100,'Invoiced Sales Margin','Difference between Limit and Actual price','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)','WHERE C_Invoice.IsSOTrx=''Y'' AND C_Invoice.Processed=''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 (103,0,0,'Y',to_date('26.04.01','DD.MM.RR'),0,to_date('25.12.05','DD.MM.RR'),100,'Number of Customers','Number of (new) customers','SELECT COUNT(*)
|
||||||
|
FROM C_BPartner','WHERE IsCustomer=''Y''','Created','AD_Org_ID','C_BPartner_ID',null,291,'C_BPartner_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 (104,0,0,'Y',to_date('25.12.05','DD.MM.RR'),100,to_date('01.01.06','DD.MM.RR'),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('01.01.06','DD.MM.RR'),100,to_date('01.01.06','DD.MM.RR'),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');
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_MEASURE"
|
||||||
|
ADD ( "PA_BENCHMARK_ID" NUMBER(10,0),
|
||||||
|
"PA_RATIO_ID" NUMBER(10,0),
|
||||||
|
"PA_HIERARCHY_ID" NUMBER(10,0),
|
||||||
|
"MEASUREDATATYPE" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
"R_REQUESTTYPE_ID" NUMBER(10,0),
|
||||||
|
"C_PROJECTTYPE_ID" NUMBER(10,0)
|
||||||
|
) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_MEASURE"
|
||||||
|
ADD CONSTRAINT "PABENCHMARK_PAMEASURE" FOREIGN KEY ("PA_BENCHMARK_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_BENCHMARK" ("PA_BENCHMARK_ID");
|
||||||
|
ALTER TABLE "COMPIERE"."PA_MEASURE"
|
||||||
|
ADD CONSTRAINT "PAHIERARCHY_PAMEASURE" FOREIGN KEY ("PA_HIERARCHY_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_HIERARCHY" ("PA_HIERARCHY_ID");
|
||||||
|
ALTER TABLE "COMPIERE"."PA_MEASURE"
|
||||||
|
ADD CONSTRAINT "PARATIO_PAMEASURE" FOREIGN KEY ("PA_RATIO_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_RATIO" ("PA_RATIO_ID");
|
||||||
|
|
||||||
|
/* INSERTING into PA_MEASURE */
|
||||||
|
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('01.01.06','DD.MM.RR'),100,to_date('01.01.06','DD.MM.RR'),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('20.01.06','DD.MM.RR'),100,to_date('20.01.06','DD.MM.RR'),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('20.01.06','DD.MM.RR'),100,to_date('20.01.06','DD.MM.RR'),100,'Service Requests (Status)',null,'Q',0,null,null,null,null,null,null,'S',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 (101,11,0,'Y',to_date('25.12.05','DD.MM.RR'),100,to_date('26.12.05','DD.MM.RR'),101,'Invoices Gross Revenue',null,'C',0,null,null,101,null,null,null,'T',null,null);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_GOAL"
|
||||||
|
ADD ( "AD_USER_ID" NUMBER(10,0),
|
||||||
|
"PA_COLORSCHEMA_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"PA_GOALPARENT_ID" NUMBER(10,0),
|
||||||
|
"MEASURESCOPE" CHAR(1 BYTE) NOT NULL ENABLE,
|
||||||
|
"MEASUREDISPLAY" CHAR(1 BYTE),
|
||||||
|
"DATEFROM" DATE,
|
||||||
|
"DATETO" DATE,
|
||||||
|
"AD_ROLE_ID" NUMBER(10,0)
|
||||||
|
) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_GOAL"
|
||||||
|
ADD CONSTRAINT "ADUSER_PAGOAL" FOREIGN KEY ("AD_USER_ID")
|
||||||
|
REFERENCES "COMPIERE"."AD_USER" ("AD_USER_ID");
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_GOAL"
|
||||||
|
ADD CONSTRAINT "PACOLORSCHEMA_PAGOAL" FOREIGN KEY ("PA_COLORSCHEMA_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_COLORSCHEMA" ("PA_COLORSCHEMA_ID");
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."PA_GOAL"
|
||||||
|
ADD CONSTRAINT "PAGOALPARENT_PAGOAL" FOREIGN KEY ("PA_GOALPARENT_ID")
|
||||||
|
REFERENCES "COMPIERE"."PA_GOAL" ("PA_GOAL_ID");
|
||||||
|
|
||||||
|
|
||||||
|
/* INSERTING into PA_GOAL */
|
||||||
|
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('23.12.05','DD.MM.RR'),100,to_date('11.02.06','DD.MM.RR'),100,0,'Invoice Revenue','100k in Revenue',null,null,100,'N',null,101,1,100000,'1','5',null,null,0,0,to_date('11.02.06','DD.MM.RR'),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('01.01.06','DD.MM.RR'),100,to_date('11.02.06','DD.MM.RR'),100,0,'Open Invoices','Open Invoices max $1000',null,null,101,'N',null,102,1,1000,'0','5',null,null,412.85,0.41285,to_date('11.02.06','DD.MM.RR'),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('20.01.06','DD.MM.RR'),100,to_date('11.02.06','DD.MM.RR'),100,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('11.02.06','DD.MM.RR'),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('20.01.06','DD.MM.RR'),100,to_date('11.02.06','DD.MM.RR'),100,0,'Total Open Service Requests','Open Service Requests by Status',null,null,101,'N',null,104,1,10,'0',null,null,null,1,0.1,to_date('11.02.06','DD.MM.RR'),null);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* BEWARE ALL ENTRIES IN T_INVENTORYVALUE ARE DELETED*/
|
||||||
|
DELETE FROM "COMPIERE"."T_INVENTORYVALUE";
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."T_INVENTORYVALUE"
|
||||||
|
ADD ( "M_ATTRIBUTESETINSTANCE_ID" NUMBER(10,0) NOT NULL ENABLE,
|
||||||
|
"COST" NUMBER DEFAULT 0,
|
||||||
|
"COSTAMT" NUMBER DEFAULT 0,
|
||||||
|
"M_COSTELEMENT_ID" NUMBER(10,0));
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."T_INVENTORYVALUE"
|
||||||
|
ADD CONSTRAINT "MASI_TINVENTORYVALUE" FOREIGN KEY ("M_ATTRIBUTESETINSTANCE_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_ATTRIBUTESETINSTANCE" ("M_ATTRIBUTESETINSTANCE_ID");
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."T_INVENTORYVALUE"
|
||||||
|
ADD CONSTRAINT "MCOSTELEMENT_TINVENTORYVALUE" FOREIGN KEY ("M_COSTELEMENT_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_COSTELEMENT" ("M_COSTELEMENT_ID");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."T_INVOICEGL"
|
||||||
|
ADD ( "GRANDTOTAL" NUMBER DEFAULT 0 NOT NULL ENABLE,
|
||||||
|
"OPENAMT" NUMBER DEFAULT 0 NOT NULL ENABLE,
|
||||||
|
"PERCENT" NUMBER,
|
||||||
|
"AMTSOURCEBALANCE" NUMBER DEFAULT 0 NOT NULL ENABLE,
|
||||||
|
"AMTACCTBALANCE" NUMBER DEFAULT 0 NOT NULL ENABLE,
|
||||||
|
"C_DOCTYPEREVAL_ID" NUMBER(10,0),
|
||||||
|
"ISALLCURRENCIES" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE);
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."T_INVOICEGL"
|
||||||
|
ADD CONSTRAINT "CDOCTYPE_TINVOICEGL" FOREIGN KEY ("C_DOCTYPEREVAL_ID")
|
||||||
|
REFERENCES "COMPIERE"."C_DOCTYPE" ("C_DOCTYPE_ID");
|
||||||
|
|
||||||
|
|
||||||
|
COMMENT ON TABLE "COMPIERE"."T_INVOICEGL" IS 'The real data displayed in T_InvoiceGL_v';
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."A_ASSET"
|
||||||
|
ADD ( "LASTMAINTENENCEDATE" DATE,
|
||||||
|
"NEXTMAINTENENCEDATE" DATE DEFAULT NULL,
|
||||||
|
"LASTMAINTENANCEUSEUNIT" NUMBER(10,0),
|
||||||
|
"NEXTMAINTENANCEUSEUNIT" NUMBER(10,0),
|
||||||
|
"LEASETERMINATIONDATE" DATE DEFAULT NULL,
|
||||||
|
"LEASE_BPARTNER_ID" NUMBER(10,0) DEFAULT NULL,
|
||||||
|
"LASTMAINTENANCENOTE" NVARCHAR2(60) DEFAULT NULL,
|
||||||
|
"LASTMAINTENANCEDATE" DATE DEFAULT NULL,
|
||||||
|
"LASTMAINTENANCEUNIT" NUMBER(10,0) DEFAULT NULL,
|
||||||
|
"NEXTMAINTENENCEUNIT" NUMBER(10,0) DEFAULT NULL);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_VALIDCOMBINATION"
|
||||||
|
ADD ( "C_SUBACCT_ID" NUMBER(10,0),
|
||||||
|
"USERELEMENT1_ID" NUMBER(10,0),
|
||||||
|
"USERELEMENT2_ID" NUMBER(10,0) ) ;
|
||||||
|
|
||||||
|
|
||||||
|
DROP INDEX "COMPIERE"."C_VALIDCOMBINATION_ALT";
|
||||||
|
|
||||||
|
CREATE UNIQUE INDEX "COMPIERE"."C_VALIDCOMBINATION_ALT" ON "COMPIERE"."C_VALIDCOMBINATION" ("C_ACCTSCHEMA_ID", "AD_ORG_ID", "ACCOUNT_ID", "C_SUBACCT_ID", "M_PRODUCT_ID", "C_BPARTNER_ID", "AD_ORGTRX_ID", "C_LOCFROM_ID", "C_LOCTO_ID", "C_SALESREGION_ID", "C_PROJECT_ID", "C_CAMPAIGN_ID", "C_ACTIVITY_ID", "USER1_ID", "USER2_ID", "USERELEMENT1_ID", "USERELEMENT2_ID")
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."FACT_ACCT"
|
||||||
|
ADD ( "C_SUBACCT_ID" NUMBER(10,0),
|
||||||
|
"USERELEMENT1_ID" NUMBER(10,0),
|
||||||
|
"USERELEMENT2_ID" NUMBER(10,0)) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."I_BPARTNER"
|
||||||
|
ADD ( "R_INTERESTAREA_ID" NUMBER(10,0),
|
||||||
|
"INTERESTAREANAME" NVARCHAR2(40)) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."M_MATCHINV"
|
||||||
|
ADD ( "DESCRIPTION" NVARCHAR2(255)) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."M_MATCHPO"
|
||||||
|
ADD ( "PRICEMATCHDIFFERENCE" NUMBER,
|
||||||
|
"ISAPPROVED" CHAR(1 BYTE) DEFAULT 'Y',
|
||||||
|
"DESCRIPTION" NVARCHAR2(255)) ;
|
||||||
|
|
||||||
|
/* REPLACE_ME: set 1000017 to your clients C_DOCTYPE_ID for Purchase Requisition */
|
||||||
|
/* find it by: select C_DOCTYPE_ID from C_DOCTYPE where name='Purchase Requisition' and AD_Client_ID!=11; */
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."M_REQUISITION"
|
||||||
|
ADD ( "C_DOCTYPE_ID" NUMBER(10,0) DEFAULT 1000017 NOT NULL ) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."M_REQUISITION"
|
||||||
|
MODIFY "C_DOCTYPE_ID" NUMBER(10,0) DEFAULT NULL NULL;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."M_REQUISITION"
|
||||||
|
MODIFY "C_DOCTYPE_ID" NUMBER(10,0) NOT NULL;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."M_REQUISITIONLINE"
|
||||||
|
ADD ( "C_CHARGE_ID" NUMBER(10,0)) ;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_REQUEST"
|
||||||
|
ADD ( "TASKSTATUS" CHAR(1 BYTE),
|
||||||
|
"QTYPLAN" NUMBER,
|
||||||
|
"DATECOMPLETEPLAN" DATE,
|
||||||
|
"DATESTARTPLAN" DATE,
|
||||||
|
"M_FIXCHANGENOTICE_ID" NUMBER(10,0) ) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_REQUEST"
|
||||||
|
ADD CONSTRAINT "MFIXCHANGENOTICE_RREQUEST" FOREIGN KEY ("M_FIXCHANGENOTICE_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_CHANGENOTICE" ("M_CHANGENOTICE_ID");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_REQUESTACTION"
|
||||||
|
ADD ( "TASKSTATUS" CHAR(1 BYTE),
|
||||||
|
"DATECOMPLETEPLAN" DATE,
|
||||||
|
"QTYPLAN" NUMBER,
|
||||||
|
"QTYSPENT" NUMBER,
|
||||||
|
"STARTDATE" DATE,
|
||||||
|
"ENDDATE" DATE,
|
||||||
|
"DATESTARTPLAN" DATE,
|
||||||
|
"QTYINVOICED" NUMBER,
|
||||||
|
"M_PRODUCTSPENT_ID" NUMBER(10,0));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* REPLACE_ME: set 100 to your clients default R_STATUSCATEGORY_ID should be 100 and can be changed later by sql anyway*/
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_REQUESTTYPE"
|
||||||
|
ADD ( "R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT 100 NOT NULL) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_REQUESTTYPE"
|
||||||
|
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT NULL NULL) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_REQUESTTYPE"
|
||||||
|
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) NOT NULL) ;
|
||||||
|
|
||||||
|
|
||||||
|
/* REPLACE_ME: set 100 to your clients default R_STATUSCATEGORY_ID */
|
||||||
|
ALTER TABLE "COMPIERE"."R_STATUS"
|
||||||
|
ADD ( "SEQNO" NUMBER(10,0) DEFAULT 0 NOT NULL,
|
||||||
|
"R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT 100 NOT NULL ) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_STATUS"
|
||||||
|
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT NULL NULL) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."R_STATUS"
|
||||||
|
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) NOT NULL) ;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_BP_GROUP"
|
||||||
|
ADD ( "M_PRICELIST_ID" NUMBER(10,0),
|
||||||
|
"PO_PRICELIST_ID" NUMBER(10,0),
|
||||||
|
"M_DISCOUNTSCHEMA_ID" NUMBER(10,0),
|
||||||
|
"PO_DISCOUNTSCHEMA_ID" NUMBER(10,0),
|
||||||
|
"CREDITWATCHPERCENT" NUMBER,
|
||||||
|
"PRICEMATCHTOLERANCE" NUMBER);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_BP_GROUP"
|
||||||
|
ADD CONSTRAINT "MDISCOUNTSCHEMAPO_CBPGROUP" FOREIGN KEY ("PO_DISCOUNTSCHEMA_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_DISCOUNTSCHEMA" ("M_DISCOUNTSCHEMA_ID") ON DELETE SET NULL;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_BP_GROUP"
|
||||||
|
ADD CONSTRAINT "MDISCOUNTSCHEMA_CBPGROUP" FOREIGN KEY ("M_DISCOUNTSCHEMA_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_DISCOUNTSCHEMA" ("M_DISCOUNTSCHEMA_ID") ON DELETE SET NULL;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_BP_GROUP"
|
||||||
|
ADD CONSTRAINT "MPRICELISTPO_CBPGROUP" FOREIGN KEY ("PO_PRICELIST_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_PRICELIST" ("M_PRICELIST_ID") ON DELETE SET NULL;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_BP_GROUP"
|
||||||
|
ADD CONSTRAINT "MPRICELIST_CBPGROUP" FOREIGN KEY ("M_PRICELIST_ID")
|
||||||
|
REFERENCES "COMPIERE"."M_PRICELIST" ("M_PRICELIST_ID") ON DELETE SET NULL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_CHARGE"
|
||||||
|
ADD ( "C_BPARTNER_ID" NUMBER(10,0));
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."AD_USER"
|
||||||
|
ADD ( "CONNECTIONPROFILE" CHAR(1 BYTE)) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."AD_WF_NODE"
|
||||||
|
ADD ( "EMAILRECIPIENT" CHAR(1 BYTE),
|
||||||
|
"EMAIL" NVARCHAR2(60),
|
||||||
|
"R_MAILTEXT_ID" NUMBER(10,0)) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."C_ACCTSCHEMA_ELEMENT"
|
||||||
|
ADD ( "AD_COLUMN_ID" NUMBER(10,0)) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."A_ASSET_GROUP"
|
||||||
|
ADD ( "ISTRACKISSUES" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."AD_PRINTPAPER"
|
||||||
|
ADD ( "SIZEX" NUMBER DEFAULT NULL,
|
||||||
|
"SIZEY" NUMBER DEFAULT NULL,
|
||||||
|
"DIMENSIONUNITS" CHAR(1 BYTE)) ;
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."AD_ROLE"
|
||||||
|
ADD ( "CONNECTIONPROFILE" CHAR(1 BYTE)) ;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE "COMPIERE"."AD_SYSTEM"
|
||||||
|
ADD ("ISAUTOERRORREPORT" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||||
|
"RECORD_ID" NUMBER(10,0),
|
||||||
|
"SUPPORTEXPDATE" DATE,
|
||||||
|
"PROCESSING" CHAR(1 BYTE),
|
||||||
|
"SUPPORTEMAIL" NVARCHAR2(60),
|
||||||
|
"ISALLOWSTATISTICS" CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||||
|
"STATISTICSINFO" NVARCHAR2(60),
|
||||||
|
"PROFILEINFO" NVARCHAR2(60),
|
||||||
|
"OLDNAME" NVARCHAR2(60),
|
||||||
|
"DESCRIPTION" NVARCHAR2(255),
|
||||||
|
"SYSTEMSTATUS" CHAR(1 BYTE) DEFAULT 'E' NOT NULL ) ;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,618 @@
|
||||||
|
-- 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;
|
|
@ -0,0 +1,63 @@
|
||||||
|
Written by Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
Feel free to change everything you want, but you are using it at your own risk!
|
||||||
|
|
||||||
|
Preparations
|
||||||
|
1. Make a database backup! Don't complain if something goes wrong,
|
||||||
|
just reapply your backup and report the error to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
||||||
|
You can use RUN_DBExport.bat in the Compiere2/utils folder.
|
||||||
|
|
||||||
|
2. Read and follow the instructions in the migration-structure.sql file.
|
||||||
|
You have to set some DEFAULT VALUES for some new columns. But it's
|
||||||
|
done easily.
|
||||||
|
|
||||||
|
Migration of Compiere database
|
||||||
|
1. This script only migrates the database from Compiere253a to 253b!
|
||||||
|
|
||||||
|
2. It's only tested with Oracle - but it should work with other databases
|
||||||
|
as well because it is just sql. If you try it with a different database
|
||||||
|
(successful or not) then please report it to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
||||||
|
|
||||||
|
3. First apply the migration-structure.sql via any SQL tool.
|
||||||
|
|
||||||
|
MAKE SHURE THAT YOU FOLLOWED THE INSTRUCTIONS IN THERE FIRST!
|
||||||
|
|
||||||
|
I use the Oracle SQL Developer (it's free but you have to register), you
|
||||||
|
can find it here:
|
||||||
|
http://www.oracle.com/technology/products/database/sql_developer/index.html
|
||||||
|
Of course you can also use Toad or even just SQLPlus:
|
||||||
|
(from the folder with the migration*.sql)
|
||||||
|
sqlplus compiere@COMPIERE_DB_NAME @migration-structure.sql
|
||||||
|
|
||||||
|
Dependent on the tool you use you will get some errors. They should
|
||||||
|
derive only from unrecognized comments (-> unknown command), thats
|
||||||
|
just because the sql tool treats the comments as sql commands - don't worry.
|
||||||
|
|
||||||
|
4. Apply migration-newLines.sql, migration-updateElements.sql, migration-replace-views.sql
|
||||||
|
and old_migration_missing.sql the same way.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Installation of Compiere253b
|
||||||
|
|
||||||
|
1. Rename (backup) your Compiere folder (e.g. from Compiere2 to _Compiere2)
|
||||||
|
2. Extract Compiere253b to your former Compiere folder (Compiere2)
|
||||||
|
3. Copy the CompiereEnv.properties and Compiere.properties from your old
|
||||||
|
installation folder (the renamed _Compiere2) into the new Compiere2 folder
|
||||||
|
4. Run RUN_Setup.bat. It should give you the setup screen with all correct
|
||||||
|
settings (derived from your old *.properties). Select save.
|
||||||
|
5. Recreate all sqlj functions (from console):
|
||||||
|
prompt>loadjava -user compiere/COMPIERE_DB_PASSWORD@COMPIERE_DB_NAME -verbose -force
|
||||||
|
-resolve "PATH_TO_NEW_COMPIERE\lib\sqlj.jar"
|
||||||
|
prompt>@sqlplus compiere/COMPIERE_DB_PASSWORD@COMPIERE_DB_NAME @"EPATH_TO_NEW_COMPIERE\utils
|
||||||
|
\oracle\createSQLJ.sql"
|
||||||
|
6. Start Adempiere and login as System Administrator (SuperUser, System -> role System Administrator)
|
||||||
|
Run System Admin -> Sequence Check (you may have to run it more than once)
|
||||||
|
7. If you use additional languages: login with the standard english language as System Administrator,
|
||||||
|
open General Rules -> System Rules -> Language, select your language and push
|
||||||
|
'Language Maintenance' button. Choose 'add missing translation' and run the process.
|
||||||
|
8. Start Adempiere.
|
||||||
|
9. Try to find new Windows (search for Issue). You got it? Welcome to 253b!
|
||||||
|
10. Test the installation and PLEASE REPORT ERRORS to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,48 @@
|
||||||
|
Written by Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
Feel free to change everything you want, but you are using it at your own risk!
|
||||||
|
|
||||||
|
Preparations
|
||||||
|
1. Make a database backup! Don't complain if something goes wrong,
|
||||||
|
just reapply your backup and report the error to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
||||||
|
You can use RUN_DBExport.bat in the Compiere2/utils folder.
|
||||||
|
|
||||||
|
2. Read and follow the INSTRUCTIONS in the migration-bd-generated.sql file.
|
||||||
|
You have to set some DEFAULT VALUES for some new columns. But it's
|
||||||
|
done easily.
|
||||||
|
|
||||||
|
Migration of Compiere database
|
||||||
|
1. This script only migrates the database from Adempiere3.1.0 (Compiere253b)
|
||||||
|
to Adempiere3.1.1 (253d)!
|
||||||
|
|
||||||
|
2. It's only tested with Oracle - but it may work with other databases
|
||||||
|
as well because it is just sql. If you try it with a different database
|
||||||
|
(successful or not) then please report it to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
||||||
|
|
||||||
|
3. Apply the migration-bd-generated.sql via any SQL tool.
|
||||||
|
|
||||||
|
BUT MAKE SHURE THAT YOU HAVE FOLLOWED THE INSTRUCTIONS IN THERE FIRST!
|
||||||
|
|
||||||
|
I use the Oracle SQL Developer (it's free but you have to register), you
|
||||||
|
can find it here:
|
||||||
|
http://www.oracle.com/technology/products/database/sql_developer/index.html
|
||||||
|
Of course you can also use Toad or even just SQLPlus:
|
||||||
|
(from the folder with the migration*.sql)
|
||||||
|
sqlplus compiere@COMPIERE_DB_NAME @migration-bd-generated.sql
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Installation of Adempiere 3.1.1
|
||||||
|
|
||||||
|
1. Rename (backup) your Adempiere folder (e.g. from Adempiere to _Adempiere)
|
||||||
|
2. Follow the installation instructions :)
|
||||||
|
3. Start Adempiere and login as System Administrator (SuperUser, System -> role System Administrator)
|
||||||
|
Run System Admin -> Sequence Check (you may have to run it more than once)
|
||||||
|
4. If you use additional languages: login with the standard english language as System Administrator,
|
||||||
|
open General Rules -> System Rules -> Language, select your language and push
|
||||||
|
'Language Maintenance' button. Choose 'add missing translation' and run the process.
|
||||||
|
5. Start Adempiere.
|
||||||
|
6. Try to find new Windows (search for Issue). You got it? Welcome to 253b!
|
||||||
|
7. Test the installation and PLEASE REPORT ERRORS to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,48 @@
|
||||||
|
Written by Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
Feel free to change everything you want, but you are using it at your own risk!
|
||||||
|
|
||||||
|
Preparations
|
||||||
|
1. Make a database backup! Don't complain if something goes wrong,
|
||||||
|
just reapply your backup and report the error to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
||||||
|
You can use RUN_DBExport.bat in the Adempiere/utils folder.
|
||||||
|
|
||||||
|
2. Read and follow the INSTRUCTIONS in the migration-311-312.sql file.
|
||||||
|
You have to set some DEFAULT VALUES for some new columns. But it's
|
||||||
|
done easily.
|
||||||
|
|
||||||
|
Migration of Adempiere database
|
||||||
|
1. This script only migrates the database from Adempiere3.1.1 (Compiere253d)
|
||||||
|
to Adempiere3.1.2 (260a)!
|
||||||
|
|
||||||
|
2. It's only tested with Oracle - but it may work with other databases
|
||||||
|
as well because it is just sql. If you try it with a different database
|
||||||
|
(successful or not) then please report it to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
||||||
|
|
||||||
|
3. Apply the migration-311-312.sql via any SQL tool.
|
||||||
|
|
||||||
|
BUT MAKE SHURE THAT YOU HAVE FOLLOWED THE INSTRUCTIONS IN THERE FIRST!
|
||||||
|
|
||||||
|
I use the Oracle SQL Developer (it's free but you have to register), you
|
||||||
|
can find it here:
|
||||||
|
http://www.oracle.com/technology/products/database/sql_developer/index.html
|
||||||
|
Of course you can also use Toad or even just SQLPlus:
|
||||||
|
(from the folder with the migration*.sql)
|
||||||
|
sqlplus compiere@COMPIERE_DB_NAME @migration-311-312.sql
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Installation of Adempiere 3.1.2
|
||||||
|
|
||||||
|
1. Rename (backup) your Adempiere folder (e.g. from Adempiere to _Adempiere)
|
||||||
|
2. Follow the installation instructions :)
|
||||||
|
3. Start Adempiere and login as System Administrator (SuperUser, System -> role System Administrator)
|
||||||
|
Run System Admin -> Sequence Check (you may have to run it more than once)
|
||||||
|
4. If you use additional languages: login with the standard english language as System Administrator,
|
||||||
|
open General Rules -> System Rules -> Language, select your language and push
|
||||||
|
'Language Maintenance' button. Choose 'add missing translation' and run the process.
|
||||||
|
5. Start Adempiere.
|
||||||
|
6. Try to find new Windows.
|
||||||
|
7. Test the installation and PLEASE REPORT ERRORS to the Adempiere forums
|
||||||
|
at: http://sourceforge.net/forum/?group_id=176962
|
|
@ -0,0 +1,16 @@
|
||||||
|
0.6.2
|
||||||
|
* 253b-253d migration script added
|
||||||
|
0.6.1
|
||||||
|
* 253b-253b_XE migration script now only compile dependent procedures and views.
|
||||||
|
|
||||||
|
0.6
|
||||||
|
* The program now generates complete script automaticly.
|
||||||
|
Only little adjustments of the generated needed.
|
||||||
|
|
||||||
|
0.5.1
|
||||||
|
* Bugfix for DBDifference.java - allows to insert string delimeters
|
||||||
|
* Beta of sql statement sorting for autocreated sql statements
|
||||||
|
|
||||||
|
0.5
|
||||||
|
* Started versioning - 03 Oct 2006
|
||||||
|
* Added build.xml and zip target
|
|
@ -0,0 +1,23 @@
|
||||||
|
<!-- ============================================= -->
|
||||||
|
<!-- ADempiere migration tool. -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- ============================================= -->
|
||||||
|
|
||||||
|
<project name="migration" default="zip" basedir=".">
|
||||||
|
|
||||||
|
<description>
|
||||||
|
ADempiere migration tool.
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<!-- Set global properties for this build -->
|
||||||
|
<property environment="env"/>
|
||||||
|
<property file="build.properties"/>
|
||||||
|
<property name="version" value="0.5"/>
|
||||||
|
|
||||||
|
<target name="zip">
|
||||||
|
<zip destfile="dist/${ant.project.name}-${version}.zip" >
|
||||||
|
<fileset dir="." includes="**/*" excludes="dist/${ant.project.name}-${version}.zip, build.bat, build.sh, build.properties, logs/*.log" />
|
||||||
|
</zip>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
|
@ -0,0 +1,45 @@
|
||||||
|
/**
|
||||||
|
* ADempiere contribution
|
||||||
|
* Author: Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
* Compiere/Adempiere migration script generation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package oracle;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Holds all data as Strings.
|
||||||
|
* @author Karsten Thiemann, kt@schaeffer-ag.de
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class ADDataElement {
|
||||||
|
|
||||||
|
public static final String COLUMNNAME_NOT_FOUND ="COLUMNNAME_NOT_FOUND";
|
||||||
|
|
||||||
|
private HashMap<String, String> values = new HashMap<String, String>();
|
||||||
|
private HashMap<String, String> types = new HashMap<String, String>();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void addColumnAndValue(String columnName, String columnValue){
|
||||||
|
values.put(columnName, columnValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getValueForColumn(String columnName){
|
||||||
|
if(!values.containsKey(columnName)){
|
||||||
|
return COLUMNNAME_NOT_FOUND;
|
||||||
|
}
|
||||||
|
return values.get(columnName);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValueForColumn(String columnName, String columnValue){
|
||||||
|
if(!values.containsKey(columnName)){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
values.remove(columnName);
|
||||||
|
addColumnAndValue(columnName, columnValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,299 @@
|
||||||
|
/**
|
||||||
|
* ADempiere contribution
|
||||||
|
* Author: Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
* Compiere/Adempiere migration script generation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package oracle;
|
||||||
|
|
||||||
|
import java.sql.ResultSet;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
|
||||||
|
public class Column {
|
||||||
|
private static final int NOT_SET = -1;
|
||||||
|
|
||||||
|
private String tableName;
|
||||||
|
|
||||||
|
/** column name */
|
||||||
|
private String columnName;
|
||||||
|
|
||||||
|
/** column type */
|
||||||
|
private String dataType;
|
||||||
|
|
||||||
|
/** column can be null */
|
||||||
|
private boolean isNullable = false;
|
||||||
|
|
||||||
|
private int dataPrecision = NOT_SET;
|
||||||
|
|
||||||
|
private int dataScale = NOT_SET;
|
||||||
|
|
||||||
|
/** B for byte and C for character */
|
||||||
|
private String charUsed;
|
||||||
|
|
||||||
|
/** char length in column declaration */
|
||||||
|
private int charColDeclLength = NOT_SET;
|
||||||
|
|
||||||
|
/** columns default value */
|
||||||
|
private String defaultValue;
|
||||||
|
|
||||||
|
/** temporary sensible default value for the column */
|
||||||
|
private String tmpDefaultValue;
|
||||||
|
|
||||||
|
private boolean isStringType;
|
||||||
|
|
||||||
|
private boolean isNumberType;
|
||||||
|
|
||||||
|
private boolean nullHasChanged = false;
|
||||||
|
|
||||||
|
private boolean defaultHasChanged = false;
|
||||||
|
|
||||||
|
public int getDataPrecision() {
|
||||||
|
return dataPrecision;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getDataScale() {
|
||||||
|
return dataScale;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @param columnName
|
||||||
|
*/
|
||||||
|
public Column(String columnName) {
|
||||||
|
this.columnName = columnName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor. The resultset must be set to the correct data with calling
|
||||||
|
* next() before!
|
||||||
|
*
|
||||||
|
* @param rs
|
||||||
|
* ResultSet with all values of this column.
|
||||||
|
*/
|
||||||
|
public Column(ResultSet rs) {
|
||||||
|
try {
|
||||||
|
if (rs != null) {
|
||||||
|
defaultValue = rs.getString("DATA_DEFAULT");
|
||||||
|
// default value of NULL is eaqual to default value not set
|
||||||
|
if (defaultValue != null) {
|
||||||
|
defaultValue = defaultValue.trim();
|
||||||
|
if (defaultValue.toUpperCase().equals("NULL")) {
|
||||||
|
defaultValue = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tableName = rs.getString("TABLE_NAME");
|
||||||
|
columnName = rs.getString("COLUMN_NAME");
|
||||||
|
dataType = rs.getString("DATA_TYPE");
|
||||||
|
isNumberType = "NUMBER".equals(dataType);
|
||||||
|
isStringType = dataType != null && dataType.indexOf("CHAR") != -1;
|
||||||
|
isNullable = "Y".equals(rs.getString("NULLABLE"));
|
||||||
|
dataPrecision = rs.getInt("DATA_PRECISION");
|
||||||
|
dataScale = rs.getInt("DATA_SCALE");
|
||||||
|
charUsed = rs.getString("CHAR_USED");
|
||||||
|
charColDeclLength = rs.getInt("CHAR_COL_DECL_LENGTH");
|
||||||
|
}
|
||||||
|
} catch (SQLException e) {
|
||||||
|
System.out.println("Column constructor - sql exception");
|
||||||
|
System.out.println("Don't use getString at last position...");
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a sql sniplet that defines the column.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String getDefinitionString() {
|
||||||
|
|
||||||
|
StringBuffer buffer = getTypeDefinitionString();
|
||||||
|
if (defaultValue != null && !defaultValue.equals("")) {
|
||||||
|
buffer = buffer.append(" DEFAULT ").append(defaultValue);
|
||||||
|
} else {
|
||||||
|
buffer = buffer.append(" DEFAULT NULL ");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isNullable) {
|
||||||
|
buffer = buffer.append(" NOT NULL ");
|
||||||
|
} else {
|
||||||
|
buffer = buffer.append(" NULL ");
|
||||||
|
}
|
||||||
|
return buffer.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a sql sniplet that defines the column.
|
||||||
|
* Without DEFAULT NULL if no default value is set,
|
||||||
|
* because resulting create table statement looks better :)
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String getDefinitionStringForCreateTable() {
|
||||||
|
|
||||||
|
StringBuffer buffer = getTypeDefinitionString();
|
||||||
|
if (defaultValue != null && !defaultValue.equals("")) {
|
||||||
|
buffer = buffer.append(" DEFAULT ").append(defaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isNullable) {
|
||||||
|
buffer = buffer.append(" NOT NULL ");
|
||||||
|
} else {
|
||||||
|
buffer = buffer.append(" NULL ");
|
||||||
|
}
|
||||||
|
return buffer.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* (non-Javadoc)
|
||||||
|
*
|
||||||
|
* @see java.lang.Object#equals(java.lang.Object)
|
||||||
|
*/
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
if (!(obj instanceof Column) || obj == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
Column col = (Column) obj;
|
||||||
|
return col.isNullable == isNullable
|
||||||
|
&& col.charColDeclLength == charColDeclLength
|
||||||
|
&& col.dataPrecision == dataPrecision
|
||||||
|
&& col.dataScale == dataScale
|
||||||
|
&& ((col.charUsed != null && col.charUsed.equals(charUsed)) || (col.charUsed == null && charUsed == null))
|
||||||
|
&& ((col.columnName != null && col.columnName.equals(columnName)) || (col.columnName == null && columnName == null))
|
||||||
|
&& ((col.dataType != null && col.dataType.equals(dataType)) || (col.dataType == null && dataType == null))
|
||||||
|
&& ((col.defaultValue != null && col.defaultValue.equals(defaultValue)) || (col.defaultValue == null && defaultValue == null))
|
||||||
|
&& ((col.tableName != null && col.tableName.equals(tableName)) || (col.tableName == null && tableName == null));
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return tableName + " - " + columnName + " - " + charUsed + " - " + charColDeclLength
|
||||||
|
+ " - " + dataPrecision + " - " + dataScale + " - " + dataType + " - "
|
||||||
|
+ defaultValue + " - " + isNullable;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isNullable() {
|
||||||
|
return isNullable;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getColumnName() {
|
||||||
|
return columnName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDataType() {
|
||||||
|
return dataType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTableName() {
|
||||||
|
return tableName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isStringType() {
|
||||||
|
return isStringType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isNumberType() {
|
||||||
|
return isNumberType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTmpDefaultValue() {
|
||||||
|
return tmpDefaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTmpDefaultValue(String tmpDefaultValue) {
|
||||||
|
this.tmpDefaultValue = tmpDefaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDefaultValue() {
|
||||||
|
return defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDefaultValue(String defaultValue) {
|
||||||
|
this.defaultValue = defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a sql snippet with temp default value.
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String getDefinitionStringWithTempDefault() {
|
||||||
|
StringBuffer buffer = getTypeDefinitionString();
|
||||||
|
buffer = buffer.append(" DEFAULT ").append(tmpDefaultValue);
|
||||||
|
if (!isNullable) {
|
||||||
|
buffer = buffer.append(" NOT NULL ");
|
||||||
|
}
|
||||||
|
return buffer.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a sql snippet to set the default value.
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String getSetDefaultString() {
|
||||||
|
StringBuffer buffer = getTypeDefinitionString();
|
||||||
|
if (defaultValue == null) {
|
||||||
|
buffer = buffer.append(" DEFAULT NULL ");
|
||||||
|
} else {
|
||||||
|
buffer = buffer.append(" DEFAULT ").append(defaultValue);
|
||||||
|
}
|
||||||
|
return buffer.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a sql snippet with the column type definition
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public StringBuffer getTypeDefinitionString() {
|
||||||
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
buffer = buffer.append(" ").append(columnName + " " + dataType);
|
||||||
|
if (charUsed != null && !charUsed.equals("")) {
|
||||||
|
buffer = buffer.append("(").append(charColDeclLength);
|
||||||
|
if ("CHAR".equals(dataType)) {
|
||||||
|
buffer = buffer.append(" ").append(("C".equals(charUsed)) ? "CHAR" : "BYTE");
|
||||||
|
}
|
||||||
|
buffer = buffer.append(") ");
|
||||||
|
}
|
||||||
|
if (dataPrecision != NOT_SET && dataPrecision != 0) {
|
||||||
|
buffer = buffer.append("(").append(dataPrecision);
|
||||||
|
if (dataScale != NOT_SET) {
|
||||||
|
buffer = buffer.append(",").append(dataScale);
|
||||||
|
}
|
||||||
|
buffer = buffer.append(")");
|
||||||
|
}
|
||||||
|
return buffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a sql snippet to set column to NULL
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String getNullDefinitionString() {
|
||||||
|
StringBuffer buffer = getTypeDefinitionString();
|
||||||
|
buffer = buffer.append(" NULL ");
|
||||||
|
return buffer.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the default value has changed.
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public boolean isDefaultHasChanged() {
|
||||||
|
return defaultHasChanged;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDefaultHasChanged(boolean defaultHasChanged) {
|
||||||
|
this.defaultHasChanged = defaultHasChanged;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the null status has changed.
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public boolean isNullHasChanged() {
|
||||||
|
return nullHasChanged;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNullHasChanged(boolean nullHasChanged) {
|
||||||
|
this.nullHasChanged = nullHasChanged;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,181 @@
|
||||||
|
/**
|
||||||
|
* ADempiere contribution
|
||||||
|
* Author: Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
* Compiere/Adempiere migration script generation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package oracle;
|
||||||
|
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
|
public class Constraint {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @param name
|
||||||
|
* constraint name
|
||||||
|
* @param tableName
|
||||||
|
*/
|
||||||
|
public Constraint(String name, String tableName) {
|
||||||
|
this.name = name;
|
||||||
|
this.tableName = tableName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String PRIMARY_KEY = "P";
|
||||||
|
|
||||||
|
public static final String FOREIGN_KEY = "R";
|
||||||
|
|
||||||
|
public static final String CHECK = "C";
|
||||||
|
|
||||||
|
public static final String UNIQEINDEX = "U"; // TODO: implement...
|
||||||
|
|
||||||
|
/** constraint name */
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** constraint type */
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/** table (to alter) */
|
||||||
|
private String tableName;
|
||||||
|
|
||||||
|
/** condition of check constraints */
|
||||||
|
private String checkCondition;
|
||||||
|
|
||||||
|
/** index name of unique index * */
|
||||||
|
private String indexName;
|
||||||
|
|
||||||
|
/** name of primary/foreign key column */
|
||||||
|
// private String columnName;
|
||||||
|
private Vector<String> columnNames = new Vector<String>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* needed for foreign keys - the primary key constraint of the referenced
|
||||||
|
* table
|
||||||
|
*/
|
||||||
|
private Constraint rConstraint;
|
||||||
|
|
||||||
|
/** on delete clause */
|
||||||
|
private String deleteRule;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an sql statement that adds the constrain to its table.
|
||||||
|
*
|
||||||
|
* @return alter table statement
|
||||||
|
*/
|
||||||
|
public String getAlterTableString() {
|
||||||
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
|
||||||
|
buffer = buffer.append("ALTER TABLE ").append(tableName);
|
||||||
|
buffer = buffer.append(" ADD ");
|
||||||
|
|
||||||
|
if (type.equals(PRIMARY_KEY)) {
|
||||||
|
buffer = buffer.append("CONSTRAINT ");
|
||||||
|
// TODO more than one key column
|
||||||
|
buffer = buffer.append(name).append(" PRIMARY KEY (");
|
||||||
|
for(int i=0; i<columnNames.size(); i++){
|
||||||
|
buffer = buffer.append(columnNames.get(i));
|
||||||
|
if(i!=columnNames.size()-1){
|
||||||
|
buffer = buffer.append(", ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
buffer = buffer.append(")");
|
||||||
|
} else if (type.equals(FOREIGN_KEY)) {
|
||||||
|
buffer = buffer.append("CONSTRAINT ");
|
||||||
|
buffer = buffer.append(name).append(" FOREIGN KEY (");
|
||||||
|
buffer = buffer.append(columnNames.get(0)).append(")");
|
||||||
|
buffer = buffer.append(" REFERENCES ").append(rConstraint.getTableName());
|
||||||
|
buffer = buffer.append(" (").append(rConstraint.getColumnName()).append(")");
|
||||||
|
if (deleteRule != null) {
|
||||||
|
buffer.append(" ON DELETE " + deleteRule + " ");
|
||||||
|
}
|
||||||
|
} else if (type.equals(CHECK)) {
|
||||||
|
buffer = buffer.append("CHECK (").append(checkCondition).append(")");
|
||||||
|
} else if (type.equals(UNIQEINDEX)) {
|
||||||
|
// TODO implementation
|
||||||
|
}
|
||||||
|
|
||||||
|
buffer = buffer.append(";");
|
||||||
|
return buffer.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getColumnName() {
|
||||||
|
if (columnNames.size() > 0) {
|
||||||
|
return columnNames.get(0);
|
||||||
|
} else
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a drop constraint statement.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String getDropString() {
|
||||||
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
buffer = buffer.append("ALTER TABLE ").append(tableName);
|
||||||
|
buffer = buffer.append(" DROP CONSTRAINT ").append(name).append(";");
|
||||||
|
return buffer.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCheckCondition() {
|
||||||
|
return checkCondition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCheckCondition(String checkCondition) {
|
||||||
|
this.checkCondition = checkCondition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void addColumnName(String columnName) {
|
||||||
|
columnNames.add(columnName);
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndexName() {
|
||||||
|
return indexName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndexName(String indexName) {
|
||||||
|
this.indexName = indexName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Constraint getRConstraint() {
|
||||||
|
return rConstraint;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRConstraint(Constraint constraint) {
|
||||||
|
rConstraint = constraint;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTableName() {
|
||||||
|
return tableName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTableName(String tableName) {
|
||||||
|
this.tableName = tableName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getType() {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setType(String type) {
|
||||||
|
this.type = type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeleteRule(String deleteRule) {
|
||||||
|
this.deleteRule = deleteRule;
|
||||||
|
if(deleteRule!=null && deleteRule.trim().toUpperCase().equals("NO ACTION")){
|
||||||
|
this.deleteRule = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,72 @@
|
||||||
|
/**
|
||||||
|
* ADempiere contribution
|
||||||
|
* Author: Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
* Compiere/Adempiere migration script generation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package oracle;
|
||||||
|
|
||||||
|
|
||||||
|
public class RefListElement {
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
private String value;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
public RefListElement(int id, String value, String name) {
|
||||||
|
super();
|
||||||
|
this.id = id;
|
||||||
|
this.value = value;
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(int id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValue(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUpdateString() {
|
||||||
|
return "update AD_Ref_List set value='" + value + "', name='" + name + "'"
|
||||||
|
+ " where AD_Ref_List_ID=" + id + ";";
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getInsertString() {
|
||||||
|
return ""; // TODO create insert string?
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* (non-Javadoc)
|
||||||
|
*
|
||||||
|
* @see java.lang.Object#equals(java.lang.Object)
|
||||||
|
*/
|
||||||
|
public boolean equals(Object object) {
|
||||||
|
if (!(object instanceof RefListElement)) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
RefListElement comp = (RefListElement) object;
|
||||||
|
return (comp.getId() == id && comp.getName().equals(name) && comp.getValue()
|
||||||
|
.equals(value));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,253 @@
|
||||||
|
/**
|
||||||
|
* ADempiere contribution
|
||||||
|
* Author: Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
* Compiere/Adempiere migration script generation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package oracle;
|
||||||
|
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
|
public class Table {
|
||||||
|
|
||||||
|
/** all columns of the table */
|
||||||
|
private Vector<Column> allTableColumns = new Vector<Column>();
|
||||||
|
|
||||||
|
/** missing columns of the table in comparisment with the other db */
|
||||||
|
private Vector<Column> columnsToAdd = new Vector<Column>();
|
||||||
|
|
||||||
|
/** changed columns of the table in comparisment with the other db */
|
||||||
|
private Vector<Column> columnsToModify = new Vector<Column>();
|
||||||
|
|
||||||
|
/** columns of the table deleted (missing) in db2 */
|
||||||
|
private Vector<Column> columnsToDrop = new Vector<Column>();
|
||||||
|
|
||||||
|
/** table name */
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
//
|
||||||
|
public static final String STATEMENT_SEPARATOR = "<STATEMENT_SEPARATOR>\n";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @param name
|
||||||
|
*/
|
||||||
|
public Table(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a create table statement.
|
||||||
|
*
|
||||||
|
* @return create table statement
|
||||||
|
*/
|
||||||
|
public String getCreateStatement() {
|
||||||
|
StringBuffer insert = new StringBuffer();
|
||||||
|
insert = insert.append("CREATE TABLE ").append(name).append("\n");
|
||||||
|
insert = insert.append("(").append("\n");
|
||||||
|
for (int i = 0; i < allTableColumns.size(); i++) {
|
||||||
|
insert = insert.append(allTableColumns.get(i).getDefinitionStringForCreateTable());
|
||||||
|
if (i != allTableColumns.size() - 1) {
|
||||||
|
insert = insert.append(",\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
insert = insert.append("\n").append(");\n");
|
||||||
|
return insert.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a alter (modify) table statement.
|
||||||
|
*
|
||||||
|
* @return alter table statement
|
||||||
|
*/
|
||||||
|
public String getAlterModifyStatement() {
|
||||||
|
|
||||||
|
StringBuffer alter = new StringBuffer();
|
||||||
|
String prefix = "ALTER TABLE " + name + " MODIFY (\n";
|
||||||
|
String postfix = "\n);\n";
|
||||||
|
|
||||||
|
for (int i = 0; i < columnsToModify.size(); i++) {
|
||||||
|
Column column = columnsToModify.get(i);
|
||||||
|
if (column.isNullHasChanged()) {
|
||||||
|
if (column.isNullable()) {
|
||||||
|
// switched from not null to null - may be problem with pk
|
||||||
|
alter = alter.append(prefix).append(column.getDefinitionString()).append(
|
||||||
|
postfix).append(STATEMENT_SEPARATOR);
|
||||||
|
} else {
|
||||||
|
// switched to not null - default value needed for existing
|
||||||
|
// data!
|
||||||
|
String defaultValue = null;
|
||||||
|
boolean isTempDefault = false;
|
||||||
|
if (column.getDefaultValue() != null && !"".equals(column.getDefaultValue())) {
|
||||||
|
defaultValue = column.getDefaultValue();
|
||||||
|
} else {
|
||||||
|
// use temp default and reset default after that
|
||||||
|
defaultValue = column.getTmpDefaultValue();
|
||||||
|
isTempDefault = true;
|
||||||
|
}
|
||||||
|
// ok now we have a default value
|
||||||
|
// but we may have to change existing null values
|
||||||
|
if (isTempDefault) {
|
||||||
|
alter = alter.append("-- TEMP VALUE - REPLACE_ME: " + defaultValue + "\n");
|
||||||
|
}
|
||||||
|
alter = alter.append("UPDATE ").append(name).append(" SET ").append(
|
||||||
|
column.getColumnName()).append("=").append(defaultValue);
|
||||||
|
|
||||||
|
alter = alter.append(" WHERE ").append(column.getColumnName()).append(
|
||||||
|
" IS NULL;\n").append(STATEMENT_SEPARATOR);
|
||||||
|
alter = alter.append(prefix).append(column.getDefinitionString()).append(
|
||||||
|
postfix).append(STATEMENT_SEPARATOR);
|
||||||
|
}
|
||||||
|
} else if (column.isDefaultHasChanged()) {
|
||||||
|
alter = alter.append(prefix).append(column.getSetDefaultString()).append(postfix)
|
||||||
|
.append(STATEMENT_SEPARATOR);
|
||||||
|
} else {
|
||||||
|
// type/precision changed
|
||||||
|
alter = alter.append(prefix).append(column.getTypeDefinitionString()).append(
|
||||||
|
postfix).append(STATEMENT_SEPARATOR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
alter = alter.delete(alter.lastIndexOf(STATEMENT_SEPARATOR), alter.length());
|
||||||
|
return alter.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a alter table (drop column) statement.
|
||||||
|
*
|
||||||
|
* @return alter table statement
|
||||||
|
*/
|
||||||
|
public String getAlterDropStatement() {
|
||||||
|
StringBuffer alter = new StringBuffer();
|
||||||
|
alter = alter.append("ALTER TABLE ").append(name).append("\n");
|
||||||
|
alter = alter.append("DROP (").append("\n");
|
||||||
|
for (int i = 0; i < columnsToDrop.size(); i++) {
|
||||||
|
alter = alter.append(columnsToDrop.get(i).getColumnName());
|
||||||
|
if (i != columnsToDrop.size() - 1) {
|
||||||
|
alter = alter.append(",\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
alter = alter.append("\n").append(");\n");
|
||||||
|
return alter.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a alter table (add column) statement.
|
||||||
|
*
|
||||||
|
* @return alter table statement
|
||||||
|
*/
|
||||||
|
public String getAlterAddStatement() {
|
||||||
|
StringBuffer alter = new StringBuffer();
|
||||||
|
String prefixAdd = "ALTER TABLE " + name + " ADD (\n";
|
||||||
|
String prefixModify = "ALTER TABLE " + name + " MODIFY (\n";
|
||||||
|
String postfix = "\n);\n";
|
||||||
|
|
||||||
|
for (int i = 0; i < columnsToAdd.size(); i++) {
|
||||||
|
Column column = columnsToAdd.get(i);
|
||||||
|
if (column.isNullable()) {
|
||||||
|
// no problem - just add column
|
||||||
|
alter = alter.append(prefixAdd).append(column.getDefinitionString())
|
||||||
|
.append(postfix).append(STATEMENT_SEPARATOR);
|
||||||
|
} else {
|
||||||
|
// not null - default value needed for existing data!
|
||||||
|
if (column.getDefaultValue() != null && !"".equals(column.getDefaultValue())) {
|
||||||
|
// ok we have a default value - no problem
|
||||||
|
alter = alter.append(prefixAdd).append(column.getDefinitionString()).append(
|
||||||
|
postfix).append(STATEMENT_SEPARATOR);
|
||||||
|
} else {
|
||||||
|
// use temp default and reset default after that
|
||||||
|
alter = alter.append(prefixAdd).append("-- TEMP VALUE - REPLACE_ME: ").append(
|
||||||
|
column.getTmpDefaultValue()).append("\n").append(
|
||||||
|
column.getDefinitionStringWithTempDefault()).append(postfix).append(
|
||||||
|
STATEMENT_SEPARATOR);
|
||||||
|
alter = alter.append(prefixModify).append(column.getSetDefaultString()).append(
|
||||||
|
postfix).append(STATEMENT_SEPARATOR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
alter = alter.delete(alter.lastIndexOf(STATEMENT_SEPARATOR), alter.length());
|
||||||
|
return alter.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a drop table statement.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public String getDropStatement() {
|
||||||
|
return "DROP TABLE " + name + ";";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a columns to the table.
|
||||||
|
*
|
||||||
|
* @param column
|
||||||
|
*/
|
||||||
|
public void addColumn(Column column) {
|
||||||
|
if (!allTableColumns.contains(column)) {
|
||||||
|
allTableColumns.add(column);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a missing colum that will be included in the alter statement.
|
||||||
|
*
|
||||||
|
* @param column
|
||||||
|
*/
|
||||||
|
public void addColumnToAdd(Column column) {
|
||||||
|
if (!columnsToAdd.contains(column)) {
|
||||||
|
columnsToAdd.add(column);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a colum that will be dropped from the table.
|
||||||
|
*
|
||||||
|
* @param column
|
||||||
|
*/
|
||||||
|
public void addColumnToDrop(Column column) {
|
||||||
|
if (!columnsToDrop.contains(column)) {
|
||||||
|
columnsToDrop.add(column);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a column that has been modified between the two dbs.
|
||||||
|
*
|
||||||
|
* @param column
|
||||||
|
*/
|
||||||
|
public void addColumnToModify(Column column) {
|
||||||
|
if (!columnsToModify.contains(column)) {
|
||||||
|
columnsToModify.add(column);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the table has added columns.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public boolean isAlterAdd() {
|
||||||
|
return columnsToAdd.size() > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the table has columns to remove.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public boolean isAlterDrop() {
|
||||||
|
return columnsToDrop.size() > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the table has changed columns.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public boolean isAlterModify() {
|
||||||
|
return columnsToModify.size() > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
/**
|
||||||
|
* ADempiere contribution
|
||||||
|
* Author: Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
* Compiere/Adempiere migration script generation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package oracle;
|
||||||
|
|
||||||
|
public class View {
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
private String text;
|
||||||
|
|
||||||
|
public View(String name, String text) {
|
||||||
|
super();
|
||||||
|
this.name = name;
|
||||||
|
this.text = text;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getText() {
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateStatement(){
|
||||||
|
return "\nCREATE OR REPLACE FORCE VIEW " + name + "\nAS " +
|
||||||
|
text + ";";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,79 @@
|
||||||
|
/*
|
||||||
|
# ADempiere contribution
|
||||||
|
# Author: Karsten Thiemann, kthiemann@adempiere.org
|
||||||
|
# How to build a Compiere/Adempiere migration script.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Installation of reference database (target)
|
||||||
|
|
||||||
|
1. Create a new Oracle database with the name c253b.
|
||||||
|
2. Check the connectivity of the new db with tnsping:
|
||||||
|
from console: tnsping c253b
|
||||||
|
3. Download Compiere253b (the version to migrate to)
|
||||||
|
4. Import the compiere reference into the new database
|
||||||
|
Replace COMPIERE_DB_PASSWORD wíth the password of the new oracle
|
||||||
|
database system user password and COMPIERE253b_DIRECTORY with
|
||||||
|
the directory of the downloaded Compiere253b
|
||||||
|
|
||||||
|
- create a user compiere with password compiere in the reference db:
|
||||||
|
prompt>sqlplus system/COMPIERE_DB_PASSWORD@c253b @"COMPIERE253b_DIRECTORY\utils\oracle\CreateUser.sql" compiere compiere
|
||||||
|
|
||||||
|
- import dump
|
||||||
|
prompt>imp system/COMPIERE_DB_PASSWORD@c253b FILE="COMPIERE253b_DIRECTORY\data\Compiere.dmp" FROMUSER=(reference) TOUSER=compiere STATISTICS=RECALCULATE
|
||||||
|
|
||||||
|
- import sqlj functions
|
||||||
|
prompt>loadjava -user compiere/COMPIERE_DB_PASSWORD@COMPIERE_DB_NAME -verbose -force -resolve "COMPIERE253b_DIRECTORY\lib\sqlj.jar"
|
||||||
|
prompt>sqlplus compiere/COMPIERE_DB_PASSWORD@COMPIERE_DB_NAME @"COMPIERE253b_DIRECTORY\utils\oracle\createSQLJ.sql"
|
||||||
|
5. Check database via sqlplus or your favorite sql editor.
|
||||||
|
6. To avoid problems with your customizations I suggest to redo the steps 1-5 for the source
|
||||||
|
database. Create a fresh database with the original compiere.dmp of your installation version.
|
||||||
|
The main advantage is that you can share the generated migration script with the community and
|
||||||
|
that you cannot drop your customizations accidently.
|
||||||
|
|
||||||
|
Run the DBDifference.java
|
||||||
|
|
||||||
|
1. Create a new Eclipse project and copy the java files into the project.
|
||||||
|
2. Give access to oracle odbc driver (odbc14.jar) - add to classpath.
|
||||||
|
3. In DBDifference.java you need to adjust some global settings:
|
||||||
|
the name of the databases to compare - for example "c253a" (your installation) and "c253b"
|
||||||
|
and their database users and passwords.
|
||||||
|
You may want to set AD_ROLE_ID and AD_CLIENT_ID used for the generation
|
||||||
|
of *_ACCESS entries for your clients admin (no need to change if you
|
||||||
|
have one standard client)
|
||||||
|
BEWARE - The application applies the created sql statements to the source db in
|
||||||
|
order to find a working sequence for the statements. Make shure that you have
|
||||||
|
a DB BACKUP! Or better use a separate (fresh installed) compiere db for the comparison.
|
||||||
|
4. Run as Java application and copy the output into a textfile.
|
||||||
|
It needs A LOT OF MEMORY (256-512MB) - it's not optimized yet... This will
|
||||||
|
take some minutes! Especially the comparison of the ad_elements take some time.
|
||||||
|
Just wait for the 'done.' message :o)
|
||||||
|
It will print out a lot of sql errors - don't mind - they only result from the sorting
|
||||||
|
of the generated statements.
|
||||||
|
|
||||||
|
CHECK THE GENERATED SCRIPT CAREFULLY!
|
||||||
|
1. Drop all lines before the SCRIPT STARTS HERE! marker.
|
||||||
|
2. First look at the top of the script for unappliable statements
|
||||||
|
look for: UNABLE TO APPLY THESE STATEMENTS marker.
|
||||||
|
If you decided to run the application with two fresh databases,
|
||||||
|
you will find there some INSERT INTO AD_WINDOW_ACCESS/AD_PROCESS_ACCESS entries.
|
||||||
|
Thats because the application generates these entries to provide window access for
|
||||||
|
the admin of the first custom client - but a fresh compiere database doesn't have
|
||||||
|
a client. Just copy these entries at the end of the other INSERT entries.
|
||||||
|
You can ignore DROP CONSTRAINT statements - just delete them.
|
||||||
|
If some statements are left over - try to apply them at after running the script.
|
||||||
|
3. Sometimes a temporarily default value is needed and the application tries to
|
||||||
|
find an applieable value - but applieable doesn't mean sensible in all cases.
|
||||||
|
So please look for REPLACE_ME markers in the generated script and check the
|
||||||
|
values.
|
||||||
|
|
||||||
|
APPLY THE SCRIPT TO YOUR DATABASE - BUT MAKE A BACKUP FIRST !
|
||||||
|
If you do this with the compared (source) database you have to reimport the db dump first,
|
||||||
|
because the db is changed by the application.
|
||||||
|
And please test it in a testing environment...
|
||||||
|
After testing - please share script with the community!
|
||||||
|
|
||||||
|
THE CLASSES ARE NOT MUCH TESTED YET - BUT AS RED1 SAID TO ME:
|
||||||
|
RELEASE EARLY - UPDATE OFTEN...
|
||||||
|
|
||||||
|
I hope you like it and give some feedback.
|
Loading…
Reference in New Issue