REVERTING REVISION of [ FR 2432892 ] Re-org of migration directory
This commit is contained in:
parent
2a971e6a55
commit
50f1bd30d5
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,42 +0,0 @@
|
|||
CAUTION, THIS SCRIPTS ARE GENERATED BUT NOT FULLY TESTED!!!
|
||||
|
||||
Written by Carlos Ruiz
|
||||
Feel free to change everything you want, but you are using it at your own risk!
|
||||
|
||||
01_FromCompiere252dTo253a.sql generated with TOAD
|
||||
02_migrationDictionary252dTo253a.sql generated with Karsten migration tool
|
||||
|
||||
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 01_FromCompiere252dTo253a.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 @01_FromCompiere252dTo253a.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 02_migrationDictionary252dTo253a.sql the same way.
|
File diff suppressed because it is too large
Load Diff
|
@ -1,251 +0,0 @@
|
|||
/* 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 "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 "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 "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 "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 "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 "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 "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 "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;
|
|
@ -1,891 +0,0 @@
|
|||
-- 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_ACHIEVEMENT, PA_MEASURE, PA_GOAL,
|
||||
-- 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.
|
||||
|
||||
DELETE FROM PA_ACHIEVEMENT;
|
||||
DELETE from PA_GOAL;
|
||||
|
||||
CREATE TABLE "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 "AD_CLIENT" ("AD_CLIENT_ID") ENABLE,
|
||||
CONSTRAINT "ADORG_ADCLIENTSHARE" FOREIGN KEY ("AD_ORG_ID")
|
||||
REFERENCES "AD_ORG" ("AD_ORG_ID") ENABLE,
|
||||
CONSTRAINT "ADTABLE_ADCLIENTSHARE" FOREIGN KEY ("AD_TABLE_ID")
|
||||
REFERENCES "AD_TABLE" ("AD_TABLE_ID") ENABLE
|
||||
) ;
|
||||
|
||||
CREATE UNIQUE INDEX "AD_CLIENTSHARE_TABLE" ON "AD_CLIENTSHARE" ("AD_CLIENT_ID", "AD_TABLE_ID") ;
|
||||
|
||||
|
||||
CREATE TABLE "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 "R_ISSUESYSTEM_ADDRESS" ON "R_ISSUESYSTEM" ("DBADDRESS") ;
|
||||
|
||||
CREATE TABLE "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 "AD_USER" ("AD_USER_ID") ENABLE
|
||||
) ;
|
||||
|
||||
CREATE UNIQUE INDEX "R_ISSUEUSER_EMAIL" ON "R_ISSUEUSER" ("USERNAME", "AD_CLIENT_ID") ;
|
||||
|
||||
CREATE TABLE "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 "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 "A_ASSET" ("A_ASSET_ID") ENABLE,
|
||||
CONSTRAINT "CPROJECT_RISSUEPROJECT" FOREIGN KEY ("C_PROJECT_ID")
|
||||
REFERENCES "C_PROJECT" ("C_PROJECT_ID") ENABLE
|
||||
) ;
|
||||
|
||||
|
||||
CREATE INDEX "R_ISSUEPROJECT_NAME" ON "R_ISSUEPROJECT" ("NAME") ;
|
||||
|
||||
CREATE TABLE "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 "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 "R_ISSUERECOMMENDATION" ("R_ISSUERECOMMENDATION_ID") ENABLE,
|
||||
CONSTRAINT "RISSUESTATUS_RISSUEKNOWN" FOREIGN KEY ("R_ISSUESTATUS_ID")
|
||||
REFERENCES "R_ISSUESTATUS" ("R_ISSUESTATUS_ID") ENABLE,
|
||||
CONSTRAINT "RREQUEST_RISSUEKNOWN" FOREIGN KEY ("R_REQUEST_ID")
|
||||
REFERENCES "R_REQUEST" ("R_REQUEST_ID") ENABLE
|
||||
) ;
|
||||
|
||||
CREATE UNIQUE INDEX "R_KNOWNISSUE_ALT" ON "R_ISSUEKNOWN" ("ISSUESUMMARY", "RELEASENO", "SOURCECLASSNAME", "SOURCEMETHODNAME", "LOGGERNAME", "LINENO") ;
|
||||
|
||||
CREATE TABLE "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 "R_ISSUEPROJECT" ("R_ISSUEPROJECT_ID") ENABLE,
|
||||
CONSTRAINT "RISSUESYSTEM_RISSUESOURCE" FOREIGN KEY ("R_ISSUESYSTEM_ID")
|
||||
REFERENCES "R_ISSUESYSTEM" ("R_ISSUESYSTEM_ID") ENABLE,
|
||||
CONSTRAINT "RISSUEUSER_RISSUESOURCE" FOREIGN KEY ("R_ISSUEUSER_ID")
|
||||
REFERENCES "R_ISSUEUSER" ("R_ISSUEUSER_ID") ENABLE
|
||||
) ;
|
||||
|
||||
CREATE UNIQUE INDEX "R_ISSUESOURCE_SPO" ON "R_ISSUESOURCE" ("R_ISSUESYSTEM_ID", "R_ISSUEPROJECT_ID", "R_ISSUEUSER_ID") ;
|
||||
|
||||
|
||||
CREATE TABLE "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 "A_ASSET" ("A_ASSET_ID") ON DELETE SET NULL ENABLE,
|
||||
CONSTRAINT "ADFORM_ADISSUE" FOREIGN KEY ("AD_FORM_ID")
|
||||
REFERENCES "AD_FORM" ("AD_FORM_ID") ON DELETE SET NULL ENABLE,
|
||||
CONSTRAINT "ADPROCESS_ADISSUE" FOREIGN KEY ("AD_PROCESS_ID")
|
||||
REFERENCES "AD_PROCESS" ("AD_PROCESS_ID") ON DELETE SET NULL ENABLE,
|
||||
CONSTRAINT "ADWINDOW_ADISSUE" FOREIGN KEY ("AD_WINDOW_ID")
|
||||
REFERENCES "AD_WINDOW" ("AD_WINDOW_ID") ON DELETE SET NULL ENABLE,
|
||||
CONSTRAINT "RISSUEPROJECT_ADISSUE" FOREIGN KEY ("R_ISSUEPROJECT_ID")
|
||||
REFERENCES "R_ISSUEPROJECT" ("R_ISSUEPROJECT_ID") ENABLE,
|
||||
CONSTRAINT "RISSUESYSTEM_AD_ISSUE" FOREIGN KEY ("R_ISSUESYSTEM_ID")
|
||||
REFERENCES "R_ISSUESYSTEM" ("R_ISSUESYSTEM_ID") ENABLE,
|
||||
CONSTRAINT "RISSUEUSER_ADISSUE" FOREIGN KEY ("R_ISSUEUSER_ID")
|
||||
REFERENCES "R_ISSUEUSER" ("R_ISSUEUSER_ID") ENABLE,
|
||||
CONSTRAINT "RKNOWNISSUE_ADISSUE" FOREIGN KEY ("R_ISSUEKNOWN_ID")
|
||||
REFERENCES "R_ISSUEKNOWN" ("R_ISSUEKNOWN_ID") ENABLE,
|
||||
CONSTRAINT "RREQUEST_ADISSUE" FOREIGN KEY ("R_REQUEST_ID")
|
||||
REFERENCES "R_REQUEST" ("R_REQUEST_ID") ON DELETE SET NULL ENABLE
|
||||
) ;
|
||||
|
||||
|
||||
COMMENT ON TABLE "AD_ISSUE" IS 'Compiere Automatic Issue Reporting';
|
||||
|
||||
|
||||
CREATE TABLE "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 "C_ELEMENTVALUE" ("C_ELEMENTVALUE_ID") ON DELETE CASCADE ENABLE
|
||||
) ;
|
||||
|
||||
CREATE TABLE "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 "AD_ORG" ("AD_ORG_ID") ENABLE,
|
||||
CONSTRAINT "ADORG_PAGOALRESTRICTION" FOREIGN KEY ("AD_ORG_ID")
|
||||
REFERENCES "AD_ORG" ("AD_ORG_ID") ENABLE,
|
||||
CONSTRAINT "CBPARTNER_PAGOALRESTRICTION" FOREIGN KEY ("C_BPARTNER_ID")
|
||||
REFERENCES "C_BPARTNER" ("C_BPARTNER_ID") ENABLE,
|
||||
CONSTRAINT "CBPGROUP_PAGOALRESTRICTION" FOREIGN KEY ("C_BP_GROUP_ID")
|
||||
REFERENCES "C_BP_GROUP" ("C_BP_GROUP_ID") ENABLE,
|
||||
CONSTRAINT "MPRODUCTCAT_PAGOALRESTRICTION" FOREIGN KEY ("M_PRODUCT_CATEGORY_ID")
|
||||
REFERENCES "M_PRODUCT_CATEGORY" ("M_PRODUCT_CATEGORY_ID") ENABLE,
|
||||
CONSTRAINT "MPRODUCT_PAGOALRESTRICTION" FOREIGN KEY ("M_PRODUCT_ID")
|
||||
REFERENCES "M_PRODUCT" ("M_PRODUCT_ID") ENABLE,
|
||||
CONSTRAINT "PAGOAL_PAGOALRESTRICTION" FOREIGN KEY ("PA_GOAL_ID")
|
||||
REFERENCES "PA_GOAL" ("PA_GOAL_ID") ENABLE
|
||||
) ;
|
||||
|
||||
CREATE TABLE "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 "AD_LANGUAGE" ("AD_LANGUAGE") ENABLE,
|
||||
CONSTRAINT "RMAILTEXT_RMAILTEXTTRL" FOREIGN KEY ("R_MAILTEXT_ID")
|
||||
REFERENCES "R_MAILTEXT" ("R_MAILTEXT_ID") ON DELETE CASCADE ENABLE
|
||||
) ;
|
||||
|
||||
CREATE TABLE "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 "AD_PRINTCOLOR" ("AD_PRINTCOLOR_ID") ENABLE,
|
||||
CONSTRAINT "ADPRINTCOLOR2_PACOLORSCHEMA" FOREIGN KEY ("AD_PRINTCOLOR2_ID")
|
||||
REFERENCES "AD_PRINTCOLOR" ("AD_PRINTCOLOR_ID") ENABLE,
|
||||
CONSTRAINT "ADPRINTCOLOR3_PACOLORSCHEMA" FOREIGN KEY ("AD_PRINTCOLOR3_ID")
|
||||
REFERENCES "AD_PRINTCOLOR" ("AD_PRINTCOLOR_ID") ENABLE,
|
||||
CONSTRAINT "ADPRINTCOLOR4_PACOLORSCHEMA" FOREIGN KEY ("AD_PRINTCOLOR4_ID")
|
||||
REFERENCES "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 "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 "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 "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 "C_ELEMENTVALUE" ("C_ELEMENTVALUE_ID") ENABLE,
|
||||
CONSTRAINT "PAMEASURECALC_PARATIOELEMENT" FOREIGN KEY ("PA_MEASURECALC_ID")
|
||||
REFERENCES "PA_MEASURECALC" ("PA_MEASURECALC_ID") ENABLE,
|
||||
CONSTRAINT "PARATIOUSED_PARATIOELEMENT" FOREIGN KEY ("PA_RATIOUSED_ID")
|
||||
REFERENCES "PA_RATIO" ("PA_RATIO_ID") ENABLE,
|
||||
CONSTRAINT "PARATIO_PARATIOELEMENT" FOREIGN KEY ("PA_RATIO_ID")
|
||||
REFERENCES "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 "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 "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 "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 "PA_BENCHMARK" ("PA_BENCHMARK_ID") ON DELETE CASCADE ENABLE
|
||||
) ;
|
||||
|
||||
|
||||
|
||||
/* alter existing tables - add new columns */
|
||||
ALTER TABLE "C_TAXDECLARATIONACCT"
|
||||
ADD "LINE" NUMBER(10,0);
|
||||
|
||||
|
||||
ALTER TABLE "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 "C_TAXDECLARATIONLINE" SET "C_CURRENCY_ID"=100;
|
||||
|
||||
ALTER TABLE "C_TAXDECLARATIONLINE"
|
||||
MODIFY ("C_CURRENCY_ID" NUMBER(10,0) NOT NULL ENABLE);
|
||||
|
||||
ALTER TABLE "C_TAXDECLARATIONLINE"
|
||||
ADD CONSTRAINT "CCURRENCY_CTAXDECLLINE" FOREIGN KEY ("C_CURRENCY_ID")
|
||||
REFERENCES "C_CURRENCY" ("C_CURRENCY_ID");
|
||||
|
||||
|
||||
ALTER TABLE "FACT_ACCT_BALANCE"
|
||||
ADD ( "C_SUBACCT_ID" NUMBER(10,0),
|
||||
"USERELEMENT1_ID" NUMBER(10,0),
|
||||
"USERELEMENT2_ID" NUMBER(10,0));
|
||||
|
||||
|
||||
|
||||
ALTER TABLE "PA_ACHIEVEMENT"
|
||||
ADD ( "MANUALACTUAL" NUMBER DEFAULT 0 NOT NULL,
|
||||
"PA_MEASURE_ID" NUMBER(10,0) NULL,
|
||||
"DATEDOC" DATE);
|
||||
|
||||
ALTER TABLE "PA_ACHIEVEMENT"
|
||||
ADD CONSTRAINT "PAMEASURE_PAACHIEVEMENT" FOREIGN KEY ("PA_MEASURE_ID")
|
||||
REFERENCES "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 "PA_ACHIEVEMENT" SET "PA_MEASURE_ID"=0;
|
||||
|
||||
ALTER TABLE "PA_ACHIEVEMENT"
|
||||
MODIFY "PA_MEASURE_ID" NUMBER(10,0) NOT NULL;
|
||||
|
||||
|
||||
/* BEWARE: ALL ENTRIES IN PA_MEASURE AND PA_MEASURECALC ARE DELETED */
|
||||
DELETE FROM "PA_MEASURE";
|
||||
DELETE FROM "PA_MEASURECALC";
|
||||
|
||||
ALTER TABLE "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 "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 "PA_MEASURE"
|
||||
ADD CONSTRAINT "PABENCHMARK_PAMEASURE" FOREIGN KEY ("PA_BENCHMARK_ID")
|
||||
REFERENCES "PA_BENCHMARK" ("PA_BENCHMARK_ID");
|
||||
ALTER TABLE "PA_MEASURE"
|
||||
ADD CONSTRAINT "PAHIERARCHY_PAMEASURE" FOREIGN KEY ("PA_HIERARCHY_ID")
|
||||
REFERENCES "PA_HIERARCHY" ("PA_HIERARCHY_ID");
|
||||
ALTER TABLE "PA_MEASURE"
|
||||
ADD CONSTRAINT "PARATIO_PAMEASURE" FOREIGN KEY ("PA_RATIO_ID")
|
||||
REFERENCES "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 "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 "PA_GOAL"
|
||||
ADD CONSTRAINT "ADUSER_PAGOAL" FOREIGN KEY ("AD_USER_ID")
|
||||
REFERENCES "AD_USER" ("AD_USER_ID");
|
||||
|
||||
ALTER TABLE "PA_GOAL"
|
||||
ADD CONSTRAINT "PACOLORSCHEMA_PAGOAL" FOREIGN KEY ("PA_COLORSCHEMA_ID")
|
||||
REFERENCES "PA_COLORSCHEMA" ("PA_COLORSCHEMA_ID");
|
||||
|
||||
ALTER TABLE "PA_GOAL"
|
||||
ADD CONSTRAINT "PAGOALPARENT_PAGOAL" FOREIGN KEY ("PA_GOALPARENT_ID")
|
||||
REFERENCES "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 "T_INVENTORYVALUE";
|
||||
|
||||
ALTER TABLE "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 "T_INVENTORYVALUE"
|
||||
ADD CONSTRAINT "MASI_TINVENTORYVALUE" FOREIGN KEY ("M_ATTRIBUTESETINSTANCE_ID")
|
||||
REFERENCES "M_ATTRIBUTESETINSTANCE" ("M_ATTRIBUTESETINSTANCE_ID");
|
||||
|
||||
ALTER TABLE "T_INVENTORYVALUE"
|
||||
ADD CONSTRAINT "MCOSTELEMENT_TINVENTORYVALUE" FOREIGN KEY ("M_COSTELEMENT_ID")
|
||||
REFERENCES "M_COSTELEMENT" ("M_COSTELEMENT_ID");
|
||||
|
||||
|
||||
|
||||
|
||||
ALTER TABLE "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 "T_INVOICEGL"
|
||||
ADD CONSTRAINT "CDOCTYPE_TINVOICEGL" FOREIGN KEY ("C_DOCTYPEREVAL_ID")
|
||||
REFERENCES "C_DOCTYPE" ("C_DOCTYPE_ID");
|
||||
|
||||
|
||||
COMMENT ON TABLE "T_INVOICEGL" IS 'The real data displayed in T_InvoiceGL_v';
|
||||
|
||||
|
||||
ALTER TABLE "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 "C_VALIDCOMBINATION"
|
||||
ADD ( "C_SUBACCT_ID" NUMBER(10,0),
|
||||
"USERELEMENT1_ID" NUMBER(10,0),
|
||||
"USERELEMENT2_ID" NUMBER(10,0) ) ;
|
||||
|
||||
|
||||
DROP INDEX "C_VALIDCOMBINATION_ALT";
|
||||
|
||||
CREATE UNIQUE INDEX "C_VALIDCOMBINATION_ALT" ON "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 "FACT_ACCT"
|
||||
ADD ( "C_SUBACCT_ID" NUMBER(10,0),
|
||||
"USERELEMENT1_ID" NUMBER(10,0),
|
||||
"USERELEMENT2_ID" NUMBER(10,0)) ;
|
||||
|
||||
|
||||
ALTER TABLE "I_BPARTNER"
|
||||
ADD ( "R_INTERESTAREA_ID" NUMBER(10,0),
|
||||
"INTERESTAREANAME" NVARCHAR2(40)) ;
|
||||
|
||||
|
||||
ALTER TABLE "M_MATCHINV"
|
||||
ADD ( "DESCRIPTION" NVARCHAR2(255)) ;
|
||||
|
||||
|
||||
ALTER TABLE "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 "M_REQUISITION"
|
||||
ADD ( "C_DOCTYPE_ID" NUMBER(10,0) DEFAULT 1000017 NOT NULL ) ;
|
||||
|
||||
ALTER TABLE "M_REQUISITION"
|
||||
MODIFY "C_DOCTYPE_ID" NUMBER(10,0) DEFAULT NULL NULL;
|
||||
|
||||
ALTER TABLE "M_REQUISITION"
|
||||
MODIFY "C_DOCTYPE_ID" NUMBER(10,0) NOT NULL;
|
||||
|
||||
|
||||
ALTER TABLE "M_REQUISITIONLINE"
|
||||
ADD ( "C_CHARGE_ID" NUMBER(10,0)) ;
|
||||
|
||||
|
||||
|
||||
|
||||
ALTER TABLE "R_REQUEST"
|
||||
ADD ( "TASKSTATUS" CHAR(1 BYTE),
|
||||
"QTYPLAN" NUMBER,
|
||||
"DATECOMPLETEPLAN" DATE,
|
||||
"DATESTARTPLAN" DATE,
|
||||
"M_FIXCHANGENOTICE_ID" NUMBER(10,0) ) ;
|
||||
|
||||
|
||||
ALTER TABLE "R_REQUEST"
|
||||
ADD CONSTRAINT "MFIXCHANGENOTICE_RREQUEST" FOREIGN KEY ("M_FIXCHANGENOTICE_ID")
|
||||
REFERENCES "M_CHANGENOTICE" ("M_CHANGENOTICE_ID");
|
||||
|
||||
|
||||
|
||||
ALTER TABLE "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 "R_REQUESTTYPE"
|
||||
ADD ( "R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT 100 NOT NULL) ;
|
||||
|
||||
ALTER TABLE "R_REQUESTTYPE"
|
||||
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT NULL NULL) ;
|
||||
|
||||
ALTER TABLE "R_REQUESTTYPE"
|
||||
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) NOT NULL) ;
|
||||
|
||||
|
||||
/* REPLACE_ME: set 100 to your clients default R_STATUSCATEGORY_ID */
|
||||
ALTER TABLE "R_STATUS"
|
||||
ADD ( "SEQNO" NUMBER(10,0) DEFAULT 0 NOT NULL,
|
||||
"R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT 100 NOT NULL ) ;
|
||||
|
||||
ALTER TABLE "R_STATUS"
|
||||
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) DEFAULT NULL NULL) ;
|
||||
|
||||
ALTER TABLE "R_STATUS"
|
||||
MODIFY ( "R_STATUSCATEGORY_ID" NUMBER(10,0) NOT NULL) ;
|
||||
|
||||
|
||||
|
||||
ALTER TABLE "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 "C_BP_GROUP"
|
||||
ADD CONSTRAINT "MDISCOUNTSCHEMAPO_CBPGROUP" FOREIGN KEY ("PO_DISCOUNTSCHEMA_ID")
|
||||
REFERENCES "M_DISCOUNTSCHEMA" ("M_DISCOUNTSCHEMA_ID") ON DELETE SET NULL;
|
||||
|
||||
ALTER TABLE "C_BP_GROUP"
|
||||
ADD CONSTRAINT "MDISCOUNTSCHEMA_CBPGROUP" FOREIGN KEY ("M_DISCOUNTSCHEMA_ID")
|
||||
REFERENCES "M_DISCOUNTSCHEMA" ("M_DISCOUNTSCHEMA_ID") ON DELETE SET NULL;
|
||||
|
||||
|
||||
ALTER TABLE "C_BP_GROUP"
|
||||
ADD CONSTRAINT "MPRICELISTPO_CBPGROUP" FOREIGN KEY ("PO_PRICELIST_ID")
|
||||
REFERENCES "M_PRICELIST" ("M_PRICELIST_ID") ON DELETE SET NULL;
|
||||
|
||||
ALTER TABLE "C_BP_GROUP"
|
||||
ADD CONSTRAINT "MPRICELIST_CBPGROUP" FOREIGN KEY ("M_PRICELIST_ID")
|
||||
REFERENCES "M_PRICELIST" ("M_PRICELIST_ID") ON DELETE SET NULL;
|
||||
|
||||
|
||||
|
||||
ALTER TABLE "C_CHARGE"
|
||||
ADD ( "C_BPARTNER_ID" NUMBER(10,0));
|
||||
|
||||
|
||||
ALTER TABLE "AD_USER"
|
||||
ADD ( "CONNECTIONPROFILE" CHAR(1 BYTE)) ;
|
||||
|
||||
|
||||
ALTER TABLE "AD_WF_NODE"
|
||||
ADD ( "EMAILRECIPIENT" CHAR(1 BYTE),
|
||||
"EMAIL" NVARCHAR2(60),
|
||||
"R_MAILTEXT_ID" NUMBER(10,0)) ;
|
||||
|
||||
|
||||
ALTER TABLE "C_ACCTSCHEMA_ELEMENT"
|
||||
ADD ( "AD_COLUMN_ID" NUMBER(10,0)) ;
|
||||
|
||||
ALTER TABLE "A_ASSET_GROUP"
|
||||
ADD ( "ISTRACKISSUES" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ) ;
|
||||
|
||||
|
||||
ALTER TABLE "AD_PRINTPAPER"
|
||||
ADD ( "SIZEX" NUMBER DEFAULT NULL,
|
||||
"SIZEY" NUMBER DEFAULT NULL,
|
||||
"DIMENSIONUNITS" CHAR(1 BYTE)) ;
|
||||
|
||||
ALTER TABLE "AD_ROLE"
|
||||
ADD ( "CONNECTIONPROFILE" CHAR(1 BYTE)) ;
|
||||
|
||||
|
||||
ALTER TABLE "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
|
@ -1,618 +0,0 @@
|
|||
-- 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;
|
|
@ -1,65 +0,0 @@
|
|||
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 the remaining scripts in the order
|
||||
migration-replace-views.sql
|
||||
migration-newLines.sql,
|
||||
migration-updateElements.sql,
|
||||
and finally 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
|
@ -1,48 +0,0 @@
|
|||
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
|
|
@ -1,19 +0,0 @@
|
|||
UPDATE w_store
|
||||
SET webparam1 = 'ADempiere120x60.gif'
|
||||
WHERE w_store_id = 11;
|
||||
|
||||
UPDATE w_store_trl
|
||||
SET webparam1 = 'ADempiere120x60.gif'
|
||||
WHERE w_store_id = 11;
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE m_product
|
||||
SET descriptionurl = 'http://www.adempiere.com/partner/index.html'
|
||||
WHERE descriptionurl = 'http://www.compiere.org/partner/index.html';
|
||||
|
||||
UPDATE m_product
|
||||
SET imageurl = 'http://www.adempiere.org/product/icons/C32.gif'
|
||||
WHERE imageurl = 'http://www.compiere.org/product/icons/C32.gif';
|
||||
|
||||
COMMIT ;
|
|
@ -1,44 +0,0 @@
|
|||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.AD_PrintPaper_Default',
|
||||
ProcedureName=NULL
|
||||
WHERE value = 'AD_PrintPaper_Default';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.C_AcctSchema_Default_Copy',
|
||||
ProcedureName=NULL
|
||||
WHERE value like 'C_AcctSchema_Default_Copy';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.C_BP_Group_Acct_Copy',
|
||||
ProcedureName=NULL
|
||||
WHERE value = 'C_BP_Group_Acct_Copy';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.M_Product_BOM_Check',
|
||||
ProcedureName=NULL
|
||||
WHERE value = 'M_Product_BOM';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.M_Product_Category_Acct_Copy',
|
||||
ProcedureName=NULL
|
||||
where value = 'M_Product_Category_Acct_Copy';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.M_Product_CostingUpdate',
|
||||
ProcedureName=NULL
|
||||
WHERE value = 'M_Product_CostingUpdate';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.M_Production_Run',
|
||||
ProcedureName=NULL
|
||||
WHERE value like 'M_Production';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.T_InventoryValue_Create',
|
||||
ProcedureName=NULL
|
||||
WHERE value = 'RV_T_InventoryValue';
|
||||
|
||||
UPDATE AD_Process
|
||||
SET Classname='org.compiere.process.M_PriceList_Create',
|
||||
ProcedureName=NULL
|
||||
WHERE value = 'M_PriceList Create';
|
|
@ -1,3 +0,0 @@
|
|||
UPDATE ad_message
|
||||
SET VALUE = 'AdempiereSys'
|
||||
WHERE VALUE = 'CompiereSys';
|
File diff suppressed because it is too large
Load Diff
|
@ -1,50 +0,0 @@
|
|||
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-3.1.0-3.1.1.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-3.1.0-3.1.1.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-3.1.0-3.1.1.sql
|
||||
but sqlplus is not commended because it has some line length limitations that
|
||||
can causes errors with long insert statements.
|
||||
|
||||
|
||||
|
||||
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
|
|
@ -1,3 +0,0 @@
|
|||
UPDATE ad_sequence
|
||||
SET currentnextsys = 50000
|
||||
WHERE istableid = 'Y' AND currentnextsys < 50000;
|
|
@ -1,75 +0,0 @@
|
|||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE, msgtext, msgtype,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50000, 0, 0, 'Y', SYSDATE,
|
||||
0, SYSDATE, 0, 'CloseAllWindows', 'Close All Windows', 'I',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE, msgtext, msgtype,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50001, 0, 0, 'Y', SYSDATE,
|
||||
0, SYSDATE, 0, 'CloseOtherWindows', 'Close Other Windows', 'I',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE,
|
||||
msgtext, msgtype, entitytype
|
||||
)
|
||||
VALUES (50002, 0, 0, 'Y', SYSDATE,
|
||||
0, SYSDATE, 0, 'ValidateConnectionOnStartup',
|
||||
'Validate Connection on Startup', 'I', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE,
|
||||
msgtext, msgtype, entitytype
|
||||
)
|
||||
VALUES (50003, 0, 0, 'Y', SYSDATE,
|
||||
0, SYSDATE, 0, 'SingleInstancePerWindow',
|
||||
'Single Instance per Window', 'I', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE, msgtext,
|
||||
msgtype, entitytype
|
||||
)
|
||||
VALUES (50004, 0, 0, 'Y', SYSDATE,
|
||||
0, SYSDATE, 0, 'OpenWindowMaximized', 'Open Window Maximized',
|
||||
'I', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE, msgtext,
|
||||
msgtype, entitytype
|
||||
)
|
||||
VALUES (50005, 0, 0, 'Y', SYSDATE,
|
||||
0, SYSDATE, 0, 'DeleteSelection', 'Delete Selected Items',
|
||||
'I', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE, msgtext,
|
||||
msgtype, entitytype
|
||||
)
|
||||
VALUES (50006, 0, 0, 'Y', SYSDATE,
|
||||
0, SYSDATE, 0, 'SaveParentFirst', 'Save Parent Tab First',
|
||||
'I', 'D'
|
||||
);
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = 50007
|
||||
WHERE NAME = 'AD_Message';
|
||||
|
||||
COMMIT ;
|
|
@ -1,257 +0,0 @@
|
|||
CREATE TABLE ad_package_imp_backup
|
||||
(
|
||||
ad_package_imp_backup_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10) NOT NULL,
|
||||
ad_org_id NUMBER(10) NOT NULL,
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||
created DATE DEFAULT SYSDATE NOT NULL,
|
||||
createdby NUMBER(10) NOT NULL,
|
||||
updated DATE DEFAULT SYSDATE NOT NULL,
|
||||
updatedby NUMBER(10) NOT NULL,
|
||||
ad_package_imp_id NUMBER(10) NOT NULL,
|
||||
ad_package_imp_detail_id NUMBER(10) NOT NULL,
|
||||
ad_table_id NUMBER(10),
|
||||
ad_column_id NUMBER(10),
|
||||
ad_reference_id NUMBER(10),
|
||||
ad_package_imp_bck_dir NVARCHAR2(255),
|
||||
ad_package_imp_org_dir NVARCHAR2(255),
|
||||
colvalue NVARCHAR2(2000),
|
||||
uninstall CHAR(1 BYTE)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE ad_package_imp
|
||||
(
|
||||
ad_package_imp_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10) NOT NULL,
|
||||
ad_org_id NUMBER(10) NOT NULL,
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||
created DATE DEFAULT SYSDATE NOT NULL,
|
||||
createdby NUMBER(10) NOT NULL,
|
||||
updated DATE DEFAULT SYSDATE NOT NULL,
|
||||
updatedby NUMBER(10) NOT NULL,
|
||||
NAME NVARCHAR2(60) NOT NULL,
|
||||
pk_status NVARCHAR2(22),
|
||||
releaseno NVARCHAR2(20),
|
||||
pk_version NVARCHAR2(20),
|
||||
VERSION NVARCHAR2(20),
|
||||
description NVARCHAR2(1000) NOT NULL,
|
||||
email NVARCHAR2(60),
|
||||
processed CHAR(1 BYTE) DEFAULT 'N',
|
||||
processing CHAR(1 BYTE) DEFAULT 'N' NOT NULL,
|
||||
creator NVARCHAR2(60),
|
||||
creatorcontact NVARCHAR2(255),
|
||||
createddate NVARCHAR2(25),
|
||||
updateddate NVARCHAR2(25),
|
||||
uninstall CHAR(1 BYTE)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE ad_package_imp_inst
|
||||
(
|
||||
ad_package_imp_inst_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10),
|
||||
ad_org_id NUMBER(10),
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y',
|
||||
created DATE DEFAULT SYSDATE,
|
||||
createdby NUMBER(10),
|
||||
updated DATE DEFAULT SYSDATE,
|
||||
updatedby NUMBER(10),
|
||||
NAME NVARCHAR2(240),
|
||||
pk_status NVARCHAR2(44),
|
||||
releaseno NVARCHAR2(40),
|
||||
pk_version NVARCHAR2(40),
|
||||
VERSION NVARCHAR2(40),
|
||||
description NVARCHAR2(2000),
|
||||
email NVARCHAR2(120),
|
||||
processed CHAR(1 BYTE) DEFAULT 'N',
|
||||
processing CHAR(1 BYTE) DEFAULT 'N',
|
||||
creator NVARCHAR2(120),
|
||||
creatorcontact NVARCHAR2(510),
|
||||
createddate NVARCHAR2(50),
|
||||
updateddate NVARCHAR2(50),
|
||||
uninstall CHAR(1 BYTE)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE ad_package_imp_detail
|
||||
(
|
||||
ad_package_imp_detail_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10) NOT NULL,
|
||||
ad_org_id NUMBER(10) NOT NULL,
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||
created DATE DEFAULT SYSDATE NOT NULL,
|
||||
createdby NUMBER(10) NOT NULL,
|
||||
updated DATE DEFAULT SYSDATE NOT NULL,
|
||||
updatedby NUMBER(10) NOT NULL,
|
||||
NAME NVARCHAR2(60),
|
||||
ad_package_imp_id NUMBER(10) NOT NULL,
|
||||
ad_original_id NUMBER(10) NOT NULL,
|
||||
ad_backup_id NUMBER(10),
|
||||
action NVARCHAR2(20),
|
||||
success NVARCHAR2(20),
|
||||
TYPE NVARCHAR2(60),
|
||||
tablename NVARCHAR2(60),
|
||||
ad_table_id NUMBER(10),
|
||||
uninstall CHAR(1 BYTE)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE ad_package_exp
|
||||
(
|
||||
ad_package_exp_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10) NOT NULL,
|
||||
ad_org_id NUMBER(10) NOT NULL,
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||
created DATE DEFAULT SYSDATE NOT NULL,
|
||||
createdby NUMBER(10) NOT NULL,
|
||||
updated DATE DEFAULT SYSDATE NOT NULL,
|
||||
updatedby NUMBER(10) NOT NULL,
|
||||
ad_package_type NVARCHAR2(1),
|
||||
email NVARCHAR2(30) NOT NULL,
|
||||
instructions NVARCHAR2(1000) NOT NULL,
|
||||
pk_name NVARCHAR2(60) NOT NULL,
|
||||
processed CHAR(1 BYTE),
|
||||
releaseno NVARCHAR2(20) NOT NULL,
|
||||
VERSION NVARCHAR2(20) NOT NULL,
|
||||
username NVARCHAR2(30) NOT NULL,
|
||||
processing CHAR(1 BYTE) NOT NULL,
|
||||
pk_version NVARCHAR2(20) NOT NULL,
|
||||
file_directory NVARCHAR2(255) NOT NULL,
|
||||
description NVARCHAR2(1000) NOT NULL
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE ad_package_exp_detail
|
||||
(
|
||||
ad_package_exp_detail_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10) NOT NULL,
|
||||
ad_org_id NUMBER(10) NOT NULL,
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||
created DATE DEFAULT SYSDATE NOT NULL,
|
||||
createdby NUMBER NOT NULL,
|
||||
updated DATE DEFAULT SYSDATE NOT NULL,
|
||||
updatedby NUMBER NOT NULL,
|
||||
ad_form_id NUMBER(10),
|
||||
ad_impformat_id NUMBER(10),
|
||||
ad_menu_id NUMBER(10),
|
||||
ad_process_id NUMBER(10),
|
||||
ad_role_id NUMBER(10),
|
||||
ad_window_id NUMBER(10),
|
||||
ad_workflow_id NUMBER(10),
|
||||
file_directory NVARCHAR2(255),
|
||||
filename NVARCHAR2(255),
|
||||
destination_filename NVARCHAR2(255),
|
||||
destination_directory NVARCHAR2(255),
|
||||
description NVARCHAR2(1000) NOT NULL,
|
||||
dbtype NVARCHAR2(22),
|
||||
TYPE NVARCHAR2(10) NOT NULL,
|
||||
target_directory NVARCHAR2(255),
|
||||
sqlstatement NVARCHAR2(2000),
|
||||
releaseno NVARCHAR2(20),
|
||||
processing CHAR(1 BYTE) NOT NULL,
|
||||
processed CHAR(1 BYTE),
|
||||
pk_name NVARCHAR2(60) NOT NULL,
|
||||
name2 NVARCHAR2(60),
|
||||
line NUMBER,
|
||||
ad_workbench_id NUMBER(10),
|
||||
ad_table_id NUMBER(10),
|
||||
ad_reportview_id NUMBER(10),
|
||||
ad_package_exp_id NUMBER(10) NOT NULL,
|
||||
ad_package_code_new NVARCHAR2(2000),
|
||||
ad_package_code_old NVARCHAR2(2000)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE ad_package_exp_common
|
||||
(
|
||||
ad_package_exp_common_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10) NOT NULL,
|
||||
ad_org_id NUMBER(10) NOT NULL,
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||
created DATE DEFAULT SYSDATE NOT NULL,
|
||||
createdby NUMBER(10) NOT NULL,
|
||||
updated DATE DEFAULT SYSDATE NOT NULL,
|
||||
updatedby NUMBER(10) NOT NULL,
|
||||
ad_form_id NUMBER(10),
|
||||
ad_impformat_id NUMBER(10),
|
||||
ad_reportview_id NUMBER(10),
|
||||
ad_table_id NUMBER(10),
|
||||
ad_workbench_id NUMBER(10),
|
||||
dbtype NVARCHAR2(22),
|
||||
processed CHAR(1 BYTE),
|
||||
pk_name NVARCHAR2(60),
|
||||
name2 NVARCHAR2(60),
|
||||
line NUMBER,
|
||||
file_directory NVARCHAR2(255),
|
||||
filename NVARCHAR2(255),
|
||||
destination_directory NVARCHAR2(255),
|
||||
description NVARCHAR2(1000),
|
||||
TYPE NVARCHAR2(10),
|
||||
target_directory NVARCHAR2(255),
|
||||
sqlstatement NVARCHAR2(255),
|
||||
processing CHAR(1 BYTE),
|
||||
ad_workflow_id NUMBER(10),
|
||||
ad_window_id NUMBER(10),
|
||||
ad_role_id NUMBER(10),
|
||||
ad_process_id NUMBER(10),
|
||||
ad_menu_id NUMBER(10)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE ad_package_imp_proc
|
||||
(
|
||||
ad_package_imp_proc_id NUMBER(10) NOT NULL,
|
||||
ad_client_id NUMBER(10) NOT NULL,
|
||||
ad_org_id NUMBER(10) NOT NULL,
|
||||
isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL,
|
||||
created DATE DEFAULT SYSDATE NOT NULL,
|
||||
createdby NUMBER(10) NOT NULL,
|
||||
updated DATE DEFAULT SYSDATE NOT NULL,
|
||||
updatedby NUMBER(10) NOT NULL,
|
||||
ad_override_dict CHAR(1 BYTE),
|
||||
ad_package_dir NVARCHAR2(255),
|
||||
ad_package_source NVARCHAR2(255),
|
||||
ad_package_source_type NVARCHAR2(10) NOT NULL,
|
||||
processing CHAR(1 BYTE)
|
||||
);
|
||||
|
||||
|
||||
ALTER TABLE ad_package_imp_backup ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_imp_backup_id));
|
||||
|
||||
|
||||
ALTER TABLE ad_package_imp ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_imp_id));
|
||||
|
||||
|
||||
ALTER TABLE ad_package_imp_inst ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_imp_inst_id));
|
||||
|
||||
|
||||
ALTER TABLE ad_package_imp_detail ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_imp_detail_id));
|
||||
|
||||
|
||||
ALTER TABLE ad_package_exp ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_exp_id));
|
||||
|
||||
|
||||
ALTER TABLE ad_package_exp_detail ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_exp_detail_id));
|
||||
|
||||
|
||||
ALTER TABLE ad_package_exp_common ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_exp_common_id));
|
||||
|
||||
|
||||
ALTER TABLE ad_package_imp_proc ADD (
|
||||
PRIMARY KEY
|
||||
(ad_package_imp_proc_id));
|
|
@ -1,3 +0,0 @@
|
|||
UPDATE ad_system
|
||||
SET releaseno = '312'
|
||||
WHERE ad_system_id = 0;
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,48 +0,0 @@
|
|||
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
|
|
@ -1,10 +0,0 @@
|
|||
-- globalqss: bug [ 1618570 ] ORA-00936 in Project window
|
||||
-- wrong value in AD_Tab.WhereClause -> old value
|
||||
-->> C_ProjectPhase_ID > 0 AND AND COALESCE(C_ProjectTask_ID,0)=0
|
||||
|
||||
UPDATE ad_tab
|
||||
SET whereclause =
|
||||
'C_ProjectPhase_ID > 0 AND COALESCE(C_ProjectTask_ID,0)=0'
|
||||
WHERE ad_tab_id = 799;
|
||||
|
||||
COMMIT;
|
|
@ -1,25 +0,0 @@
|
|||
-- globalqss - fix entitytype for 2pack dictionary, wrongly was created as type U, must be D
|
||||
|
||||
update ad_column set entitytype='D' where ad_column_id between 50001 and 50179;
|
||||
|
||||
update ad_element set entitytype='D' where ad_element_id between 50001 and 50036;
|
||||
|
||||
update ad_field set entitytype='D' where ad_field_id between 50001 and 50153;
|
||||
|
||||
update ad_menu set entitytype='D' where ad_menu_id between 50001 and 50007;
|
||||
|
||||
update ad_process set entitytype='D' where ad_process_id between 50002 and 50010;
|
||||
|
||||
update ad_process_para set entitytype='D' where ad_process_para_id between 50001 and 50004;
|
||||
|
||||
update ad_ref_list set entitytype='D' where ad_ref_list_id between 50001 and 50035;
|
||||
|
||||
update ad_reference set entitytype='D' where ad_reference_id between 50001 and 50005;
|
||||
|
||||
update ad_tab set entitytype='D' where ad_tab_id between 50001 and 50008;
|
||||
|
||||
update ad_table set entitytype='D' where ad_table_id between 50001 and 50008;
|
||||
|
||||
update ad_window set entitytype='D' where ad_window_id between 50001 and 50005;
|
||||
|
||||
commit;
|
|
@ -1,105 +0,0 @@
|
|||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50038, 0, 0, 'Y',
|
||||
TO_DATE ('12/19/2006 03:57:24', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('12/19/2006 03:57:24', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
'ShowHelp', 'D', 'Show Help', 'Show Help'
|
||||
);
|
||||
|
||||
INSERT INTO ad_reference
|
||||
(ad_reference_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, validationtype, entitytype
|
||||
)
|
||||
VALUES (50007, 0, 0, 'Y',
|
||||
TO_DATE ('12/19/2006 04:00:42', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('12/19/2006 04:00:42', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
'ShowHelp List', 'L', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_ref_list
|
||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME, ad_reference_id, entitytype
|
||||
)
|
||||
VALUES (50037, 0, 0, 'N',
|
||||
TO_DATE ('12/19/2006 04:01:20', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('12/19/2006 04:01:42', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
'A', 'Ask user (for future use)', 50007, 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_ref_list
|
||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME, ad_reference_id, entitytype
|
||||
)
|
||||
VALUES (50038, 0, 0, 'Y',
|
||||
TO_DATE ('12/19/2006 04:02:01', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('12/19/2006 04:02:01', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
'N', 'Don''t show help', 50007, 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_ref_list
|
||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME, ad_reference_id, entitytype
|
||||
)
|
||||
VALUES (50039, 0, 0, 'Y',
|
||||
TO_DATE ('12/19/2006 04:02:25', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('12/19/2006 04:02:25', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
'Y', 'Show Help', 50007, 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby, updatedby,
|
||||
NAME, description, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
ad_reference_value_id, fieldlength, defaultvalue, iskey,
|
||||
isparent, ismandatory, isupdateable, isidentifier, seqno,
|
||||
istranslated, isencrypted, isselectioncolumn, ad_element_id,
|
||||
issyncdatabase, isalwaysupdateable
|
||||
)
|
||||
VALUES (50181, 0, 0, 'Y',
|
||||
TO_DATE ('12/19/2006 04:03:24', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('12/19/2006 04:04:52', 'MM/DD/YYYY HH24:MI:SS'), 0, 0,
|
||||
'Show Help', 'To show or hide help for reports / processes', 0,
|
||||
'D', 'ShowHelp', 284, 17,
|
||||
50007, 1, 'Y', 'N',
|
||||
'N', 'N', 'Y', 'N', 0,
|
||||
'N', 'N', 'N', 50038,
|
||||
'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylength, isreadonly, seqno, issameline, isheading,
|
||||
isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50155, 0, 0, 'Y',
|
||||
TO_DATE ('12/19/2006 04:05:56', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('12/19/2006 04:08:45', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
'Show Help', 'To show or hide help for reports / processes',
|
||||
'Y', 245, 50181, 'Y',
|
||||
1, 'N', 185, 'N', 'N',
|
||||
'N', 'N', 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
ALTER TABLE ad_process ADD showhelp CHAR(1) DEFAULT 'Y';
|
||||
|
||||
-- run the sequence check after this
|
|
@ -1,31 +0,0 @@
|
|||
DROP TABLE t_selection;
|
||||
|
||||
CREATE TABLE t_selection
|
||||
(
|
||||
ad_pinstance_id NUMBER(10) NOT NULL,
|
||||
t_selection_id NUMBER(10) NOT NULL
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX t_selection_key ON t_selection
|
||||
(ad_pinstance_id, t_selection_id);
|
||||
|
||||
ALTER TABLE t_selection ADD (
|
||||
CONSTRAINT t_selection_key
|
||||
PRIMARY KEY (ad_pinstance_id, t_selection_id));
|
||||
|
||||
DROP TABLE t_selection2;
|
||||
|
||||
CREATE TABLE t_selection2
|
||||
(
|
||||
ad_pinstance_id NUMBER(10) NOT NULL,
|
||||
query_id NUMBER NOT NULL,
|
||||
t_selection_id NUMBER(10) NOT NULL
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX t_selection2_key ON t_selection2
|
||||
(ad_pinstance_id, query_id, t_selection_id);
|
||||
|
||||
|
||||
ALTER TABLE t_selection2 ADD (
|
||||
CONSTRAINT t_selection2_key
|
||||
PRIMARY KEY (ad_pinstance_id, query_id, t_selection_id));
|
|
@ -1,381 +0,0 @@
|
|||
CREATE OR REPLACE PROCEDURE M_PriceList_Create
|
||||
(
|
||||
PInstance_ID IN NUMBER
|
||||
)
|
||||
AS
|
||||
/*************************************************************************
|
||||
* The contents of this file are subject to the Compiere License. You may
|
||||
* obtain a copy of the License at http://www.compiere.org/license.html
|
||||
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
|
||||
* express or implied. See the License for details. Code: Compiere ERP+CRM
|
||||
* Copyright (C) 1999-2003 Jorg Janke, ComPiere, Inc. All Rights Reserved.
|
||||
*************************************************************************
|
||||
* $Id: M_PriceList_Create.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
|
||||
***
|
||||
* Title: Create Pricelist
|
||||
* Description:
|
||||
* Create PriceList by copying purchase prices (M_Product_PO)
|
||||
* and applying product category discounts (M_CategoryDiscount)
|
||||
* Carlos Ruiz - globalqss - Make T_Selection tables permanent
|
||||
************************************************************************/
|
||||
-- Logistice
|
||||
ResultStr VARCHAR2(2000);
|
||||
Message VARCHAR2(2000) := '';
|
||||
NoRate EXCEPTION;
|
||||
-- Parameter
|
||||
CURSOR Cur_Parameter (PInstance NUMBER) IS
|
||||
SELECT i.Record_ID, p.ParameterName, p.P_String, p.P_Number, p.P_Date
|
||||
FROM AD_PInstance i, AD_PInstance_Para p
|
||||
WHERE i.AD_PInstance_ID=PInstance
|
||||
AND i.AD_PInstance_ID=p.AD_PInstance_ID(+)
|
||||
ORDER BY p.SeqNo;
|
||||
-- Parameter Variables
|
||||
p_PriceList_Version_ID NUMBER;
|
||||
p_DeleteOld CHAR(1) := 'N';
|
||||
--
|
||||
v_Currency_ID NUMBER;
|
||||
v_Client_ID NUMBER;
|
||||
v_Org_ID NUMBER;
|
||||
v_UpdatedBy NUMBER;
|
||||
v_StdPrecision NUMBER;
|
||||
v_DiscountSchema_ID NUMBER;
|
||||
v_PriceList_Version_Base_ID NUMBER;
|
||||
--
|
||||
v_NextNo NUMBER := 0;
|
||||
|
||||
-- Get PL Parameter
|
||||
CURSOR Cur_DiscountLine (DiscountSchema_ID NUMBER) IS
|
||||
SELECT *
|
||||
FROM M_DiscountSchemaLine
|
||||
WHERE M_DiscountSchema_ID=DiscountSchema_ID
|
||||
AND IsActive='Y'
|
||||
ORDER BY SeqNo;
|
||||
|
||||
BEGIN
|
||||
-- Update AD_PInstance
|
||||
DBMS_OUTPUT.PUT_LINE('Updating PInstance - Processing');
|
||||
ResultStr := 'PInstanceNotFound';
|
||||
UPDATE AD_PInstance
|
||||
SET Created = SysDate,
|
||||
IsProcessing = 'Y'
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
|
||||
-- Get Parameters
|
||||
ResultStr := 'ReadingParameters';
|
||||
FOR p IN Cur_Parameter (PInstance_ID) LOOP
|
||||
p_PriceList_Version_ID := p.Record_ID;
|
||||
IF (p.ParameterName = 'DeleteOld') THEN
|
||||
p_DeleteOld := p.P_String;
|
||||
DBMS_OUTPUT.PUT_LINE(' DeleteOld=' || p_DeleteOld);
|
||||
ELSE
|
||||
DBMS_OUTPUT.PUT_LINE('*** Unknown Parameter=' || p.ParameterName);
|
||||
END IF;
|
||||
END LOOP; -- Get Parameter
|
||||
DBMS_OUTPUT.PUT_LINE(' PriceList_Version_ID=' || p_PriceList_Version_ID);
|
||||
|
||||
-- Checking Prerequisites
|
||||
-- -- PO Prices must exists
|
||||
ResultStr := 'CorrectingProductPO';
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
UPDATE M_Product_PO
|
||||
SET PriceList = 0
|
||||
WHERE PriceList IS NULL;
|
||||
UPDATE M_Product_PO
|
||||
SET PriceLastPO = 0
|
||||
WHERE PriceLastPO IS NULL;
|
||||
UPDATE M_Product_PO
|
||||
SET PricePO = PriceLastPO
|
||||
WHERE (PricePO IS NULL OR PricePO = 0) AND PriceLastPO <> 0;
|
||||
UPDATE M_Product_PO
|
||||
SET PricePO = 0
|
||||
WHERE PricePO IS NULL;
|
||||
-- Set default current vendor
|
||||
UPDATE M_Product_PO p
|
||||
SET IsCurrentVendor = 'Y'
|
||||
WHERE IsCurrentVendor = 'N'
|
||||
AND NOT EXISTS
|
||||
(SELECT pp.M_Product_ID FROM M_Product_PO pp
|
||||
WHERE pp.M_Product_ID=p.M_Product_ID
|
||||
GROUP BY pp.M_Product_ID HAVING COUNT(*) > 1);
|
||||
COMMIT;
|
||||
|
||||
/**
|
||||
* Make sure that we have only one active product
|
||||
*/
|
||||
ResultStr := 'CorrectingDuplicates';
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
DECLARE
|
||||
-- All duplicate products
|
||||
CURSOR Cur_Duplicates IS
|
||||
SELECT DISTINCT M_Product_ID
|
||||
FROM M_Product_PO po
|
||||
WHERE IsCurrentVendor='Y' AND IsActive='Y'
|
||||
AND EXISTS ( SELECT M_Product_ID FROM M_Product_PO x
|
||||
WHERE x.M_Product_ID=po.M_Product_ID
|
||||
GROUP BY M_Product_ID HAVING COUNT(*) > 1 )
|
||||
ORDER BY 1;
|
||||
-- All vendors of Product - expensive first
|
||||
CURSOR Cur_Vendors (Product_ID NUMBER) IS
|
||||
SELECT M_Product_ID, C_BPartner_ID
|
||||
FROM M_Product_PO
|
||||
WHERE IsCurrentVendor='Y' AND IsActive='Y'
|
||||
AND M_Product_ID=Product_ID
|
||||
ORDER BY PriceList DESC;
|
||||
--
|
||||
Product_ID NUMBER;
|
||||
BPartner_ID NUMBER;
|
||||
BEGIN
|
||||
FOR dupl IN Cur_Duplicates LOOP
|
||||
OPEN Cur_Vendors (dupl.M_Product_ID);
|
||||
FETCH Cur_Vendors INTO Product_ID, BPartner_ID; -- Leave First
|
||||
LOOP
|
||||
FETCH Cur_Vendors INTO Product_ID, BPartner_ID; -- Get Record ID
|
||||
EXIT WHEN Cur_Vendors%NOTFOUND;
|
||||
--
|
||||
DBMS_OUTPUT.PUT_LINE(' Record: ' || Product_ID || ' / ' || BPartner_ID);
|
||||
UPDATE M_Product_PO
|
||||
SET IsCurrentVendor='N'
|
||||
WHERE M_Product_ID=Product_ID AND C_BPartner_ID=BPartner_ID;
|
||||
END LOOP;
|
||||
CLOSE Cur_Vendors;
|
||||
END LOOP;
|
||||
COMMIT;
|
||||
END;
|
||||
|
||||
/** Delete Old Data */
|
||||
ResultStr := 'DeletingOld';
|
||||
IF (p_DeleteOld = 'Y') THEN
|
||||
DELETE M_ProductPrice
|
||||
WHERE M_PriceList_Version_ID = p_PriceList_Version_ID;
|
||||
Message := '@Deleted@=' || SQL%ROWCOUNT || ' - ';
|
||||
DBMS_OUTPUT.PUT_LINE(Message);
|
||||
END IF;
|
||||
|
||||
-- Get PriceList Info
|
||||
ResultStr := 'GetPLInfo';
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
SELECT p.C_Currency_ID, c.StdPrecision,
|
||||
v.AD_Client_ID, v.AD_Org_ID, v.UpdatedBy,
|
||||
v.M_DiscountSchema_ID, M_PriceList_Version_Base_ID
|
||||
INTO v_Currency_ID, v_StdPrecision,
|
||||
v_Client_ID, v_Org_ID, v_UpdatedBy,
|
||||
v_DiscountSchema_ID, v_PriceList_Version_Base_ID
|
||||
FROM M_PriceList p, M_PriceList_Version v, C_Currency c
|
||||
WHERE p.M_PriceList_ID=v.M_PriceList_ID
|
||||
AND p.C_Currency_ID=c.C_Currency_ID
|
||||
AND v.M_PriceList_Version_ID=p_PriceList_Version_ID;
|
||||
|
||||
/**
|
||||
* For All Discount Lines in Sequence
|
||||
*/
|
||||
FOR dl IN Cur_DiscountLine (v_DiscountSchema_ID) LOOP
|
||||
ResultStr := 'Parameter Seq=' || dl.SeqNo;
|
||||
-- DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
|
||||
-- Clear Temporary Table
|
||||
DELETE FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID;
|
||||
|
||||
-- -----------------------------------
|
||||
-- Create Selection in temporary table
|
||||
-- -----------------------------------
|
||||
IF (v_PriceList_Version_Base_ID IS NULL) THEN
|
||||
-- Create Selection from M_Product_PO
|
||||
INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID)
|
||||
SELECT DISTINCT PInstance_ID, po.M_Product_ID
|
||||
FROM M_Product p, M_Product_PO po
|
||||
WHERE p.M_Product_ID=po.M_Product_ID
|
||||
AND (p.AD_Client_ID=v_Client_ID OR p.AD_Client_ID=0)
|
||||
AND p.IsActive='Y' AND po.IsActive='Y' AND po.IsCurrentVendor='Y'
|
||||
-- Optional Restrictions
|
||||
AND (dl.M_Product_Category_ID IS NULL OR p.M_Product_Category_ID=dl.M_Product_Category_ID)
|
||||
AND (dl.C_BPartner_ID IS NULL OR po.C_BPartner_ID=dl.C_BPartner_ID)
|
||||
AND (dl.M_Product_ID IS NULL OR p.M_Product_ID=dl.M_Product_ID);
|
||||
ELSE
|
||||
-- Create Selection from existing PriceList
|
||||
INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID)
|
||||
SELECT DISTINCT PInstance_ID, p.M_Product_ID
|
||||
FROM M_Product p, M_ProductPrice pp
|
||||
WHERE p.M_Product_ID=pp.M_Product_ID
|
||||
AND pp.M_PriceList_Version_ID=v_PriceList_Version_Base_ID
|
||||
AND p.IsActive='Y' AND pp.IsActive='Y'
|
||||
-- Optional Restrictions
|
||||
AND (dl.M_Product_Category_ID IS NULL OR p.M_Product_Category_ID=dl.M_Product_Category_ID)
|
||||
AND (dl.C_BPartner_ID IS NULL OR EXISTS
|
||||
(SELECT * FROM M_Product_PO po WHERE po.M_Product_ID=p.M_Product_ID AND po.C_BPartner_ID=dl.C_BPartner_ID))
|
||||
AND (dl.M_Product_ID IS NULL OR p.M_Product_ID=dl.M_Product_ID);
|
||||
END IF;
|
||||
Message := Message || '@Selected@=' || SQL%ROWCOUNT;
|
||||
-- DBMS_OUTPUT.PUT_LINE(Message);
|
||||
|
||||
-- Delete Prices in Selection, so that we can insert
|
||||
IF (v_PriceList_Version_Base_ID IS NULL
|
||||
OR v_PriceList_Version_Base_ID <> p_PriceList_Version_ID) THEN
|
||||
ResultStr := ResultStr || ', Delete';
|
||||
DELETE M_ProductPrice pp
|
||||
WHERE pp.M_PriceList_Version_ID = p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s WHERE pp.M_Product_ID=s.T_Selection_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
Message := ', @Deleted@=' || SQL%ROWCOUNT;
|
||||
END IF;
|
||||
|
||||
-- --------------------
|
||||
-- Copy (Insert) Prices
|
||||
-- --------------------
|
||||
IF (v_PriceList_Version_Base_ID = p_PriceList_Version_ID) THEN
|
||||
-- We have Prices already
|
||||
NULL;
|
||||
ELSIF (v_PriceList_Version_Base_ID IS NULL) THEN
|
||||
-- Copy and Convert from Product_PO
|
||||
ResultStr := ResultStr || ',Copy_PO';
|
||||
INSERT INTO M_ProductPrice
|
||||
(M_PriceList_Version_ID, M_Product_ID,
|
||||
AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,
|
||||
PriceList, PriceStd, PriceLimit)
|
||||
SELECT
|
||||
p_PriceList_Version_ID, po.M_Product_ID,
|
||||
v_Client_ID, v_Org_ID, 'Y', SysDate, v_UpdatedBy, SysDate, v_UpdatedBy,
|
||||
-- Price List
|
||||
COALESCE(currencyConvert(po.PriceList,
|
||||
po.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Std
|
||||
COALESCE(currencyConvert(po.PriceList,
|
||||
po.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Limit
|
||||
COALESCE(currencyConvert(po.PricePO,
|
||||
po.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0)
|
||||
FROM M_Product_PO po
|
||||
WHERE EXISTS (SELECT * FROM T_Selection s WHERE po.M_Product_ID=s.T_Selection_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID)
|
||||
AND po.IsCurrentVendor='Y' AND po.IsActive='Y';
|
||||
ELSE
|
||||
-- Copy and Convert from other PriceList_Version
|
||||
ResultStr := ResultStr || ',Copy_PL';
|
||||
INSERT INTO M_ProductPrice
|
||||
(M_PriceList_Version_ID, M_Product_ID,
|
||||
AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,
|
||||
PriceList, PriceStd, PriceLimit)
|
||||
SELECT
|
||||
p_PriceList_Version_ID, pp.M_Product_ID,
|
||||
v_Client_ID, v_Org_ID, 'Y', SysDate, v_UpdatedBy, SysDate, v_UpdatedBy,
|
||||
-- Price List
|
||||
COALESCE(currencyConvert(pp.PriceList,
|
||||
pl.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Std
|
||||
COALESCE(currencyConvert(pp.PriceStd,
|
||||
pl.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Limit
|
||||
COALESCE(currencyConvert(pp.PriceLimit,
|
||||
pl.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0)
|
||||
FROM M_ProductPrice pp
|
||||
INNER JOIN M_PriceList_Version plv ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID)
|
||||
INNER JOIN M_PriceList pl ON (plv.M_PriceList_ID=pl.M_PriceList_ID)
|
||||
WHERE pp.M_PriceList_Version_ID=v_PriceList_Version_Base_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s WHERE pp.M_Product_ID=s.T_Selection_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID)
|
||||
AND pp.IsActive='Y';
|
||||
END IF;
|
||||
Message := Message || ', @Inserted@=' || SQL%ROWCOUNT;
|
||||
|
||||
-- -----------
|
||||
-- Calculation
|
||||
-- -----------
|
||||
ResultStr := ResultStr || ',Calc';
|
||||
UPDATE M_ProductPrice p
|
||||
SET PriceList = (DECODE(dl.List_Base, 'S', PriceStd, 'X', PriceLimit, PriceList)
|
||||
+ dl.List_AddAmt) * (1 - dl.List_Discount/100),
|
||||
PriceStd = (DECODE(dl.Std_Base, 'L', PriceList, 'X', PriceLimit, PriceStd)
|
||||
+ dl.Std_AddAmt) * (1 - dl.Std_Discount/100),
|
||||
PriceLimit = (DECODE(dl.Limit_Base, 'L', PriceList, 'S', PriceStd, PriceLimit)
|
||||
+ dl.Limit_AddAmt) * (1 - dl.Limit_Discount/100)
|
||||
WHERE M_PriceList_Version_ID=p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s
|
||||
WHERE s.T_Selection_ID=p.M_Product_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
|
||||
-- --------
|
||||
-- Rounding (AD_Reference_ID=155)
|
||||
-- --------
|
||||
ResultStr := ResultStr || ',Round';
|
||||
UPDATE M_ProductPrice p
|
||||
SET PriceList = DECODE(dl.List_Rounding,
|
||||
'N', PriceList,
|
||||
'0', ROUND(PriceList, 0), -- Even .00
|
||||
'D', ROUND(PriceList, 1), -- Dime .10
|
||||
'T', ROUND(PriceList, -1), -- Ten 10.00
|
||||
'5', ROUND(PriceList*20,0)/20, -- Nickle .05
|
||||
'Q', ROUND(PriceList*4,0)/4, -- Quarter .25
|
||||
ROUND(PriceList, v_StdPrecision)),-- Currency
|
||||
PriceStd = DECODE(dl.Std_Rounding,
|
||||
'N', PriceStd,
|
||||
'0', ROUND(PriceStd, 0), -- Even .00
|
||||
'D', ROUND(PriceStd, 1), -- Dime .10
|
||||
'T', ROUND(PriceStd, -1), -- Ten 10.00
|
||||
'5', ROUND(PriceStd*20,0)/20, -- Nickle .05
|
||||
'Q', ROUND(PriceStd*4,0)/4, -- Quarter .25
|
||||
ROUND(PriceStd, v_StdPrecision)), -- Currency
|
||||
PriceLimit = DECODE(dl.Limit_Rounding,
|
||||
'N', PriceLimit,
|
||||
'0', ROUND(PriceLimit, 0), -- Even .00
|
||||
'D', ROUND(PriceLimit, 1), -- Dime .10
|
||||
'T', ROUND(PriceLimit, -1), -- Ten 10.00
|
||||
'5', ROUND(PriceLimit*20,0)/20, -- Nickle .05
|
||||
'Q', ROUND(PriceLimit*4,0)/4, -- Quarter .25
|
||||
ROUND(PriceLimit, v_StdPrecision))-- Currency
|
||||
WHERE M_PriceList_Version_ID=p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s
|
||||
WHERE s.T_Selection_ID=p.M_Product_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
Message := Message || ', @Updated@=' || SQL%ROWCOUNT;
|
||||
|
||||
-- Fixed Price overwrite
|
||||
ResultStr := ResultStr || ',Fix';
|
||||
UPDATE M_ProductPrice p
|
||||
SET PriceList = DECODE(dl.List_Base, 'F', dl.List_Fixed, PriceList),
|
||||
PriceStd = DECODE(dl.Std_Base, 'F', dl.Std_Fixed, PriceStd),
|
||||
PriceLimit = DECODE(dl.Limit_Base, 'F', dl.Limit_Fixed, PriceLimit)
|
||||
WHERE M_PriceList_Version_ID=p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s
|
||||
WHERE s.T_Selection_ID=p.M_Product_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
|
||||
-- Log Info
|
||||
INSERT INTO AD_PInstance_Log (AD_PInstance_ID, Log_ID, P_ID, P_NUMBER, P_MSG)
|
||||
VALUES (PInstance_ID, v_NextNo, null, dl.SeqNo, Message);
|
||||
--
|
||||
v_NextNo := v_NextNo + 1;
|
||||
Message := '';
|
||||
END LOOP; -- For all DiscountLines
|
||||
|
||||
-- Delete Temporary Selection
|
||||
DELETE FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID;
|
||||
|
||||
|
||||
<<FINISH_PROCESS>>
|
||||
-- Update AD_PInstance
|
||||
DBMS_OUTPUT.PUT_LINE(Message);
|
||||
DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished');
|
||||
UPDATE AD_PInstance
|
||||
SET Updated = SysDate,
|
||||
IsProcessing = 'N',
|
||||
Result = 1, -- success
|
||||
ErrorMsg = Message
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
RETURN;
|
||||
|
||||
EXCEPTION
|
||||
WHEN OTHERS THEN
|
||||
ResultStr := ResultStr || ':' || SQLERRM || ' ' || Message;
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
UPDATE AD_PInstance
|
||||
SET Updated = SysDate,
|
||||
IsProcessing = 'N',
|
||||
Result = 0, -- failure
|
||||
ErrorMsg = ResultStr
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
RETURN;
|
||||
|
||||
END M_PriceList_Create;
|
||||
/
|
|
@ -1,148 +0,0 @@
|
|||
CREATE OR REPLACE PROCEDURE M_Product_BOM_Check
|
||||
(
|
||||
PInstance_ID IN NUMBER
|
||||
)
|
||||
/*************************************************************************
|
||||
* The contents of this file are subject to the Compiere License. You may
|
||||
* obtain a copy of the License at http://www.compiere.org/license.html
|
||||
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
|
||||
* express or implied. See the License for details. Code: Compiere ERP+CRM
|
||||
* Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved.
|
||||
*************************************************************************
|
||||
* $Id: M_Product_BOM_Check.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
|
||||
***
|
||||
* Title: Check BOM Structure (free of cycles)
|
||||
* Description:
|
||||
* Tree cannot contain BOMs which are already referenced
|
||||
************************************************************************/
|
||||
AS
|
||||
-- Logistice
|
||||
ResultStr VARCHAR2(2000);
|
||||
Message VARCHAR2(2000);
|
||||
Record_ID NUMBER;
|
||||
-- Parameter
|
||||
CURSOR Cur_Parameter (PInstance NUMBER) IS
|
||||
SELECT i.Record_ID, p.ParameterName, p.P_String, p.P_Number, p.P_Date
|
||||
FROM AD_PInstance i, AD_PInstance_Para p
|
||||
WHERE i.AD_PInstance_ID=PInstance
|
||||
AND i.AD_PInstance_ID=p.AD_PInstance_ID(+)
|
||||
ORDER BY p.SeqNo;
|
||||
-- Variables
|
||||
Verified CHAR(1) := 'Y';
|
||||
IsBOM CHAR(1);
|
||||
CountNo NUMBER;
|
||||
|
||||
BEGIN
|
||||
-- Update AD_PInstance
|
||||
DBMS_OUTPUT.PUT_LINE('Updating PInstance - Processing ' || PInstance_ID);
|
||||
ResultStr := 'PInstanceNotFound';
|
||||
UPDATE AD_PInstance
|
||||
SET Created = SysDate,
|
||||
IsProcessing = 'Y'
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
|
||||
-- Get Parameters
|
||||
ResultStr := 'ReadingParameters';
|
||||
FOR p IN Cur_Parameter (PInstance_ID) LOOP
|
||||
Record_ID := p.Record_ID;
|
||||
END LOOP; -- Get Parameter
|
||||
DBMS_OUTPUT.PUT_LINE(' Record_ID=' || Record_ID);
|
||||
|
||||
-- Record ID is M_Product_ID of product to be tested
|
||||
SELECT IsBOM
|
||||
INTO IsBOM
|
||||
FROM M_Product
|
||||
WHERE M_Product_ID=Record_ID;
|
||||
|
||||
-- No BOM - should not happen, but no problem
|
||||
IF (IsBOM = 'N') THEN
|
||||
GOTO FINISH_PROCESS;
|
||||
-- Did not find product
|
||||
ELSIF (IsBOM <> 'Y') THEN
|
||||
RETURN;
|
||||
END IF;
|
||||
|
||||
-- Checking BOM Structure
|
||||
ResultStr := 'InsertingRoot';
|
||||
-- Table to put all BOMs - duplicate will cause exception
|
||||
DELETE FROM T_Selection2 WHERE Query_ID = 0 AND AD_PInstance_ID = PInstance_ID;
|
||||
INSERT INTO T_Selection2 (AD_PInstance_ID, Query_ID, T_Selection_ID) VALUES (PInstance_ID, 0, Record_ID);
|
||||
-- Table of root modes
|
||||
DELETE FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID;
|
||||
INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID) VALUES (PInstance_ID, Record_ID);
|
||||
|
||||
LOOP
|
||||
-- How many do we have?
|
||||
SELECT COUNT(*)
|
||||
INTO CountNo
|
||||
FROM T_Selection
|
||||
WHERE AD_PInstance_ID = PInstance_ID;
|
||||
-- Nothing to do
|
||||
EXIT WHEN (CountNo = 0);
|
||||
|
||||
-- Insert BOM Nodes into "All" table
|
||||
INSERT INTO T_Selection2 (AD_PInstance_ID, Query_ID, T_Selection_ID)
|
||||
SELECT PInstance_ID, 0, p.M_Product_ID
|
||||
FROM M_Product p
|
||||
WHERE IsBOM='Y'
|
||||
AND EXISTS (SELECT * FROM M_Product_BOM b WHERE p.M_Product_ID=b.M_ProductBOM_ID
|
||||
AND b.M_Product_ID IN (SELECT T_Selection_ID FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID));
|
||||
|
||||
-- Insert BOM Nodes into temporary table
|
||||
DELETE FROM T_Selection2 WHERE Query_ID = 1 AND AD_PInstance_ID = PInstance_ID;
|
||||
INSERT INTO T_Selection2 (AD_PInstance_ID, Query_ID, T_Selection_ID)
|
||||
SELECT PInstance_ID, 1, p.M_Product_ID
|
||||
FROM M_Product p
|
||||
WHERE IsBOM='Y'
|
||||
AND EXISTS (SELECT * FROM M_Product_BOM b WHERE p.M_Product_ID=b.M_ProductBOM_ID
|
||||
AND b.M_Product_ID IN (SELECT T_Selection_ID FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID));
|
||||
|
||||
-- Copy into root table
|
||||
DELETE FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID;
|
||||
INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID)
|
||||
SELECT PInstance_ID, T_Selection_ID
|
||||
FROM T_Selection2
|
||||
WHERE Query_ID = 1 AND AD_PInstance_ID = PInstance_ID;
|
||||
|
||||
END LOOP;
|
||||
|
||||
<<FINISH_PROCESS>>
|
||||
-- OK
|
||||
Message := 'OK';
|
||||
UPDATE M_Product
|
||||
SET IsVerified = 'Y'
|
||||
WHERE M_Product_ID=Record_ID;
|
||||
|
||||
-- Update AD_PInstance
|
||||
DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished ' || Message);
|
||||
UPDATE AD_PInstance
|
||||
SET Updated = SysDate,
|
||||
IsProcessing = 'N',
|
||||
Result = 1, -- success
|
||||
ErrorMsg = Message
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
RETURN;
|
||||
|
||||
EXCEPTION
|
||||
WHEN OTHERS THEN
|
||||
ResultStr := ResultStr || ': ' || SQLERRM || ' - ' || Message;
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
UPDATE AD_PInstance
|
||||
SET Updated = SysDate,
|
||||
IsProcessing = 'N',
|
||||
Result = 0, -- failure
|
||||
ErrorMsg = ResultStr
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
--
|
||||
UPDATE M_Product
|
||||
SET IsVerified = 'N'
|
||||
WHERE M_Product_ID=Record_ID;
|
||||
COMMIT;
|
||||
--
|
||||
RETURN;
|
||||
|
||||
END M_Product_BOM_Check;
|
||||
/
|
|
@ -1,19 +0,0 @@
|
|||
delete from ad_process_para_trl
|
||||
where ad_process_para_id in
|
||||
( select ad_process_para_id
|
||||
from ad_process_para
|
||||
where columnname = 'IsRecreate'
|
||||
and ad_process_id =
|
||||
( select ad_process_id
|
||||
from ad_process
|
||||
where value = 'Balance_Update' )
|
||||
);
|
||||
|
||||
delete from ad_process_para
|
||||
where columnname = 'IsRecreate'
|
||||
and ad_process_id =
|
||||
( select ad_process_id
|
||||
from ad_process where value = 'Balance_Update' );
|
||||
|
||||
commit;
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -1,749 +0,0 @@
|
|||
SET DEFINE OFF;
|
||||
SET SQLBLANKLINES OFF;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 3093;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET description =
|
||||
'El día que comenzó la implementación ó producción (se pone en ejecución) en Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2488;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET description = 'Fecha en que vence el soporte a Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2938;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET description =
|
||||
'Número de las unidades de ayuda para la ayuda de Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2124;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET description = 'Adempiere Solicita No de Documento '
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2891;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Patrón de la fecha en la notación Java. Ejemplos: dd.MM.yyyy - dd/MM/yyyy
|
||||
Si el patrón para el lenguaje no es correcto, porfavor cree una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2673;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Si esta seleccionada, los números son impresos con un punto decimal "." - Si no con una coma decimal ",".
|
||||
Los mil separadores son el contrario.
|
||||
Si el patrón para su lenguaje no está correcto, cree por favor una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2674;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Patrón de tiempo en notación Java. Ejemplos: "hh:mm:ss aaa z" - "HH:mm:ss"
|
||||
Si el patrón del lenguaje no es correcto, porfavor cree una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2676;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'el elemento contable definido por el usuario refiere a una tabla de Adempiere. Esto le permite emplear el contenido de cualquier tabla como una dimensión contable (ej Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2877;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Un Elemento Contable definido por el Usuario refiere a una Tabla de Adempiere. Esto le permite emplear el contenido de cualquier Tabla como una Dimensión Contable (Ej. Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2878;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Si Adempiere mantiene el estado de crédito, el estado "Credito Correcto" es movido a "Crédito en Verificación" empleando este valor como límite. De no definirlo, se empleará el 90%.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2883;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Para automatizar el reporte de errores, emvie los errores a Adempiere. Solamente información (seguimiento de pila) es enviada (No datos o Información confidencial). Esto nos ayuda a responder rápidamente. Si usted tiene un contrato de soporte, le informaremos sobre las medidas correctivas. Hasta el momento, esta funcionalidad es experimental.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2886;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Las ediciónes de sistema son creadas para acelerar la resolución de cualquier edición relacionada del sistema (errores potenciales). Si es habilitado, serán reportados automáticamente a Adempiere. No se transfiere información confidencial.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2887;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Representación visual del Desempeño mediante colores. El esquema frrecuentemente tiene 3 niveles (ej. rojo-amarillo-verde). Adempiere soporta dos niveles (ej. rojo-verde) o cuatro noveles (ej. gris-bronce-plata-oro). Note que una Meta sin Medida es representada en Blanco. El porcentaje puede ser entre 0 y sin limite (ej. sobre 100%).'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2903;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintainted by Adempiere (i.e. all changes are reversed during migration to the current definition).'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 3052;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'If your appplication requires additional jar files, enter them here. The jar files must be located in the $ADEMPIERE_HOME/lib directory.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 3054;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Adempiere permite crear automáticamente archivos de los documentos (ej. facturas) o de los informes. Usted define el material archivado con el espectador del archivo'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2672;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Si su banco proporciona un número internacional de la cuenta bancaria, incorpórelo aquí detallamente ISO 13616 y http://www.ecbs.org. El número de cuenta tiene la longitud máxima de 22 caracteres (sin espacios). El IBAN se imprime a menudo con un espacio después de 4 caracteres. No incorpore los espacios a Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2664;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Usted puede restringir la capacidad de exportar datos de Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2204;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Usted puede comprar la ayuda comercial de Adempiere, Inc.
|
||||
El honorario está por 10 usuarios internos. El número de las unidades de ayuda se exhibe aquí.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2124;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 1682;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'Adempiere permite definir condiciones de alerta en el sistema para estar informado.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 2087;
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET HELP =
|
||||
'The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authentificate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.'
|
||||
WHERE ad_language = 'es_MX' AND ad_element_id = 3093;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'Name your Adempiere System installation, e.g. Joe Block, Inc.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5899;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'Número de las unidades de ayuda para la ayuda de Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 6980;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'Los registros nos ayudan a mejorar servicio de la base de usuario de Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8330;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'El día que comenzó la implementación ó producción (se pone en ejecución) en Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 10221;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description = 'Reportar Surtimiento a Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12662;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13749;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description = 'Fecha en que vence el soporte a Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12870;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description = 'Register your extension with Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13507;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13715;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13723;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13738;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET description = 'Adempiere Solicita No de Documento '
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12664;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5121;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5123;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5124;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5125;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5127;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5128;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5129;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5808;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5809;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5810;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5811;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5812;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5813;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5814;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5815;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5816;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5817;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5821;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5823;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5824;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 5827;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Adempiere permite definir condiciones de alerta en el sistema para estar informado.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 6858;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Adempiere permite definir condiciones de alerta en el sistema para estar informado.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 6866;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Usted puede comprar la ayuda comercial de Adempiere, Inc.
|
||||
El honorario está por 10 usuarios internos. El número de las unidades de ayuda se exhibe aquí.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 6980;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Adempiere permite definir condiciones de alerta en el sistema para estar informado.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 7002;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 7519;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 7521;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Usted puede restringir la capacidad de exportar datos de Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8314;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Usted puede restringir la capacidad de exportar datos de Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8319;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Usted puede restringir la capacidad de exportar datos de Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8321;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'No pondremos los datos a disposición de terceros ni utilizaremos la información para propósitos estadísticos.
|
||||
Nos ayudará, si usted permitirá publicar su uso en Adempiere. Nos pondremos en contacto directamente antes de que publiquemos cualquier información.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8330;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8353;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8372;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8858;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8860;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8862;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8863;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 8879;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 10100;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Si su banco proporciona un número internacional de la cuenta bancaria, incorpórelo aquí detallamente ISO 13616 y http://www.ecbs.org. El número de cuenta tiene la longitud máxima de 22 caracteres (sin espacios). El IBAN se imprime a menudo con un espacio después de 4 caracteres. No incorpore los espacios a Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11017;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Adempiere permite crear automáticamente archivos de los documentos (ej. facturas) o de los informes. Usted define el material archivado con el espectador del archivo'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11025;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Patrón de la fecha en la notación Java. Ejemplos: dd.MM.yyyy - dd/MM/yyyy
|
||||
Si el patrón para el lenguaje no es correcto, porfavor cree una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11172;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Si esta seleccionada, los números son impresos con un punto decimal "." - Si no con una coma decimal ",".
|
||||
Los mil separadores son el contrario.
|
||||
Si el patrón para su lenguaje no está correcto, cree por favor una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11173;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Patrón de tiempo en notación Java. Ejemplos: "hh:mm:ss aaa z" - "HH:mm:ss"
|
||||
Si el patrón del lenguaje no es correcto, porfavor cree una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11175;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Patrón de la fecha en la notación Java. Ejemplos: dd.MM.yyyy - dd/MM/yyyy
|
||||
Si el patrón para el lenguaje no es correcto, porfavor cree una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11180;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Si esta seleccionada, los números son impresos con un punto decimal "." - Si no con una coma decimal ",".
|
||||
Los mil separadores son el contrario.
|
||||
Si el patrón para su lenguaje no está correcto, cree por favor una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11181;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Patrón de tiempo en notación Java. Ejemplos: "hh:mm:ss aaa z" - "HH:mm:ss"
|
||||
Si el patrón del lenguaje no es correcto, porfavor cree una petición en la ayuda de Adempiere con la información correcta.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 11183;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12535;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12570;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'el elemento contable definido por el usuario refiere a una tabla de Adempiere. Esto le permite emplear el contenido de cualquier tabla como una dimensión contable (ej Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12604;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Un Elemento Contable definido por el Usuario refiere a una Tabla de Adempiere. Esto le permite emplear el contenido de cualquier Tabla como una Dimensión Contable (Ej. Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12605;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'el elemento contable definido por el usuario refiere a una tabla de Adempiere. Esto le permite emplear el contenido de cualquier tabla como una dimensión contable (ej Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12607;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Un Elemento Contable definido por el Usuario refiere a una Tabla de Adempiere. Esto le permite emplear el contenido de cualquier Tabla como una Dimensión Contable (Ej. Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12608;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'el elemento contable definido por el usuario refiere a una tabla de Adempiere. Esto le permite emplear el contenido de cualquier tabla como una dimensión contable (ej Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12610;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Un Elemento Contable definido por el Usuario refiere a una Tabla de Adempiere. Esto le permite emplear el contenido de cualquier Tabla como una Dimensión Contable (Ej. Actividad de Proyecto). Note que los Elementos de Usuario son opcionales y son llenados desde el contexto del Documento (ej. No Solicitado).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12611;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Si Adempiere mantiene el estado de crédito, el estado "Credito Correcto" es movido a "Crédito en Verificación" empleando este valor como límite. De no definirlo, se empleará el 90%.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12648;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Para automatizar el reporte de errores, emvie los errores a Adempiere. Solamente información (seguimiento de pila) es enviada (No datos o Información confidencial). Esto nos ayuda a responder rápidamente. Si usted tiene un contrato de soporte, le informaremos sobre las medidas correctivas. Hasta el momento, esta funcionalidad es experimental.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12653;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Las ediciónes de sistema son creadas para acelerar la resolución de cualquier edición relacionada del sistema (errores potenciales). Si es habilitado, serán reportados automáticamente a Adempiere. No se transfiere información confidencial.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12673;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Representación visual del Desempeño mediante colores. El esquema frrecuentemente tiene 3 niveles (ej. rojo-amarillo-verde). Adempiere soporta dos niveles (ej. rojo-verde) o cuatro noveles (ej. gris-bronce-plata-oro). Note que una Meta sin Medida es representada en Blanco. El porcentaje puede ser entre 0 y sin limite (ej. sobre 100%).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12767;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Representación visual del Desempeño mediante colores. El esquema frrecuentemente tiene 3 niveles (ej. rojo-amarillo-verde). Adempiere soporta dos niveles (ej. rojo-verde) o cuatro noveles (ej. gris-bronce-plata-oro). Note que una Meta sin Medida es representada en Blanco. El porcentaje puede ser entre 0 y sin limite (ej. sobre 100%).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12774;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12821;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'El proceso se conecta al servidor de Servicios de Soporte Adempiere y vsñifs el contrato de soporte. Para contratar soporte por favor ingrese a www.e-evolution.com.mx
|
||||
'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 12871;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13020;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'If your appplication requires additional jar files, enter them here. The jar files must be located in the $ADEMPIERE_HOME/lib directory.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13498;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintainted by Adempiere (i.e. all changes are reversed during migration to the current definition).'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13502;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13503;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'You can register the four character extension with Adempiere. This makes sure that your extension can be automatically distributed and implemented. You will also be able to certify extensions. Contact Adempiere for details.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13507;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13513;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13575;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13597;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authentificate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13715;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authentificate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13723;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authentificate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13738;
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET HELP =
|
||||
'The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authentificate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 13749;
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET description = 'Flujo de Trabajo Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_menu_id = 501;
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET description = 'Mantenimiento del Servidor Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_menu_id = 456;
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_menu_id = 594;
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET description = 'Alterta Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_menu_id = 379;
|
||||
|
||||
UPDATE ad_message_trl
|
||||
SET msgtext =
|
||||
'Descargados {0} for {1}
|
||||
|
||||
Versión = {2} - Lot = {3} - SerNo = {4}
|
||||
Guarantee Date = {5,date,short}
|
||||
|
||||
Thank you for using Adempiere Customer Asset Management
|
||||
'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 747;
|
||||
|
||||
UPDATE ad_message_trl
|
||||
SET msgtext = '© Jorg Janke - Adempiere; Inc. 1999-2002'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 125;
|
||||
|
||||
UPDATE ad_message_trl
|
||||
SET msgtip =
|
||||
'Cree el archivo del seguimiento en el directorio de Adempiere ó en el directorio home del usuario'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 813;
|
||||
|
||||
UPDATE ad_message_trl
|
||||
SET msgtip = 'Ventana-Metal-Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 570;
|
||||
|
||||
UPDATE ad_message_trl
|
||||
SET msgtip = 'http://www.adempiere.org'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 125;
|
||||
|
||||
UPDATE ad_message_trl
|
||||
SET msgtip =
|
||||
'Name your Adempiere System installation, e.g. Joe Block, Inc.'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 867;
|
||||
|
||||
UPDATE ad_message_trl
|
||||
SET msgtip =
|
||||
'Sign up for Adempiere Support - also supports the product development'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 868;
|
||||
|
||||
UPDATE ad_process_para_trl
|
||||
SET HELP =
|
||||
'Los tipos de entidad "Diccionario"; "Adempiere"; y "Aplicación" podrían ser automáticamente sincronizados y las personalizaciones eliminadas ó sobreescritas'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_para_id = 630;
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET description =
|
||||
'Los registros nos ayudan a mejorar servicio de la base de usuario de Adempiere.'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_id = 250;
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET description = 'Reportar Surtimiento a Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_id = 339;
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET description = 'Register your extension with Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_id = 348;
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET HELP =
|
||||
'Para aumentar funcionamiento, Adempiere reasigna los datos usados. Este proceso despeja el cache local.'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_id = 205;
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET HELP =
|
||||
'No pondremos los datos a disposición de terceros ni utilizaremos la información para propósitos estadísticos.
|
||||
Nos ayudará, si usted permitirá publicar su uso en Adempiere. Nos pondremos en contacto directamente antes de que publiquemos cualquier información.'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_id = 250;
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET HELP =
|
||||
'El proceso se conecta al servidor de Servicios de Soporte Adempiere y vsñifs el contrato de soporte. Para contratar soporte por favor ingrese a www.e-evolution.com.mx
|
||||
'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_id = 342;
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET HELP =
|
||||
'You can register the four character extension with Adempiere. This makes sure that your extension can be automatically distributed and implemented. You will also be able to certify extensions. Contact Adempiere for details.'
|
||||
WHERE ad_language = 'es_MX' AND ad_process_id = 348;
|
||||
|
||||
UPDATE ad_ref_list_trl
|
||||
SET description = 'Aplicación Adempiere (sinchronizada)'
|
||||
WHERE ad_language = 'es_MX' AND ad_ref_list_id = 488;
|
||||
|
||||
UPDATE ad_ref_list_trl
|
||||
SET NAME = 'Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_ref_list_id = 488;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 849;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET description = 'Adempiere Alerta'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 504;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET HELP =
|
||||
'Representación Visual del desempeño mediante colores. Frecuentemente el esquema tiene tres niveles (ej. rojo - amarillo - verde). Adempiere soporta dos niveles (ej. rojo - verde) o cuatro niveles (ej. gris - bronce - plata - oro). Note que las medidasd sin límite son representadas en Blanco. Los porcentajes pueden ser entre 0 y sin límite (ej. superior a 100%).'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 779;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET HELP =
|
||||
'The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintainted by Adempiere (i.e. all changes are reversed during migration to the current definition).'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 831;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET HELP =
|
||||
'The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authentificate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 849;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET HELP =
|
||||
'Adempiere Alerta permíte definir condiciones de sistema que usted desea ser alertado'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 504;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET HELP =
|
||||
'Antes de importar, Adempiere comprueba la unidad de la medida (por default si no es fijado), La categoria del producto (por default si no es fijado), El socio de negocio, la moneda (Por default la moneda de la contabilidad si no es fijada), El tipo de producto (solamente artículos y servicios), los únicos de UPC, llave y existencia de el No. de producto.<br>
|
||||
Adempiere intenta para el mapa de los productos existentes, si el UPC, La llave y el vendedor del producto no siguen (en esta secuencia). Si el expediente importado podría ser emparejado, los valores del campo del producto serán sobreescritos solamente, si el campo correspondiente de la importación se define explícitamente. Ejemplo: la categoría del producto será sobreescrita solamente si está fijada explícitamente en la importación.'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 442;
|
||||
|
||||
UPDATE ad_tab_trl
|
||||
SET HELP =
|
||||
'Las versiones de sistema son creadas para apresurar la resolución de cualquier versión de sistema relacionaddo (errores potenciales). Si habilitó, automáticaamente son reportados a Adempiere. No sé transfiere información confidencial.'
|
||||
WHERE ad_language = 'es_MX' AND ad_tab_id = 777;
|
||||
|
||||
UPDATE ad_wf_node_trl
|
||||
SET HELP =
|
||||
'Representación visual del desempeño mediante colores. El esquema frecuentemente tiene tres niveles (ej. rojo-amarillo-verde). Adempiere sporta dos niveles (ej. rojo-verde) o cuatro niveles (ej. gris-bronce-plata-oro). Note que las médidas sin límite son representadas en blanco. Los porcentajes pueden ser entre cero y sin límite (ej. superior a 100%).'
|
||||
WHERE ad_language = 'es_MX' AND ad_wf_node_id = 147;
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET description =
|
||||
'LDAP Server to authenticate and authorize external systems based on Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_window_id = 389;
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET description = 'Alterta Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND ad_window_id = 276;
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET HELP =
|
||||
'Representación visual del desempeño mediante colores. El esquema frecuentemente tiene tres niveles (ej. rojo-amarillo-verde). Adempiere sporta dos niveles (ej. rojo-verde) o cuatro niveles (ej. gris-bronce-plata-oro). Note que las médidas sin límite son representadas en blanco. Los porcentajes pueden ser entre cero y sin límite (ej. superior a 100%).'
|
||||
WHERE ad_language = 'es_MX' AND ad_window_id = 364;
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET HELP =
|
||||
'Las versiones de sistema son creados para acelerar la resolución de cualquier versión de sistema relacionado (errores potenciales). Si habilitó, son automáticamente reportados a Adempiere. No se transfieren datos o información confidencial.'
|
||||
WHERE ad_language = 'es_MX' AND ad_window_id = 363;
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET HELP =
|
||||
'Las alarmas de Adempiere le permiten definen condiciones de sistema que usted desea ser alertado'
|
||||
WHERE ad_language = 'es_MX' AND ad_window_id = 276;
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET HELP =
|
||||
'The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintainted by Adempiere (i.e. all changes are reversed during migration to the current definition).'
|
||||
WHERE ad_language = 'es_MX' AND ad_window_id = 381;
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET HELP =
|
||||
'The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authentificate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.'
|
||||
WHERE ad_language = 'es_MX' AND ad_window_id = 389;
|
||||
|
||||
UPDATE cm_container_trl
|
||||
SET meta_keywords = 'GardenWorld, Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND cm_container_id = 101;
|
||||
|
||||
UPDATE cm_cstage_trl
|
||||
SET meta_keywords = 'GardenWorld, Adempiere'
|
||||
WHERE ad_language = 'es_MX' AND cm_cstage_id = 101;
|
||||
|
||||
COMMIT ;
|
|
@ -1,6 +0,0 @@
|
|||
UPDATE ad_system
|
||||
SET releaseno = '313',
|
||||
VERSION = '2006-12-27'
|
||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||
|
||||
COMMIT ;
|
|
@ -1,110 +0,0 @@
|
|||
CREATE OR REPLACE FUNCTION paymentTermDueDays
|
||||
(
|
||||
PaymentTerm_ID IN NUMBER,
|
||||
DocDate IN DATE,
|
||||
PayDate IN DATE
|
||||
)
|
||||
RETURN NUMBER
|
||||
/*************************************************************************
|
||||
* The contents of this file are subject to the Compiere License. You may
|
||||
* obtain a copy of the License at http://www.compiere.org/license.html
|
||||
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
|
||||
* express or implied. See the License for details. Code: Compiere ERP+CRM
|
||||
* Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved.
|
||||
*************************************************************************
|
||||
* $Id: C_PaymentTerm_DueDays.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
|
||||
***
|
||||
* Title: Get Due Days
|
||||
* Description:
|
||||
* Returns the days due (positive) or the days till due (negative)
|
||||
* Grace days are not considered!
|
||||
* If record is not found it assumes due immediately
|
||||
*
|
||||
* Test: SELECT paymentTermDueDays(103, '01-DEC-2000', '15-DEC-2000') FROM DUAL
|
||||
*
|
||||
* Contributor(s): Carlos Ruiz - globalqss - match with SQLJ version
|
||||
************************************************************************/
|
||||
AS
|
||||
Days NUMBER := 0;
|
||||
DueDate DATE := NULL;
|
||||
calDueDate DATE;
|
||||
FixMonthOffset C_PaymentTerm.FixMonthOffset%TYPE;
|
||||
MaxDayCut NUMBER;
|
||||
MaxDay NUMBER;
|
||||
v_PayDate DATE;
|
||||
--
|
||||
CURSOR Cur_PT IS
|
||||
SELECT *
|
||||
FROM C_PaymentTerm
|
||||
WHERE C_PaymentTerm_ID = PaymentTerm_ID;
|
||||
FirstDay DATE;
|
||||
NoDays NUMBER;
|
||||
BEGIN
|
||||
|
||||
IF PaymentTerm_ID = 0 OR DocDate IS NULL THEN
|
||||
RETURN 0;
|
||||
END IF;
|
||||
|
||||
v_PayDate := PayDate;
|
||||
IF v_PayDate IS NULL THEN
|
||||
v_PayDate := TRUNC(SYSDATE);
|
||||
END IF;
|
||||
|
||||
FOR p IN Cur_PT LOOP -- for convineance only
|
||||
-- DBMS_OUTPUT.PUT_LINE(p.Name || ' - Doc = ' || TO_CHAR(DocDate));
|
||||
-- Due 15th of following month
|
||||
IF (p.IsDueFixed = 'Y') THEN
|
||||
-- DBMS_OUTPUT.PUT_LINE(p.Name || ' - Day = ' || p.FixMonthDay);
|
||||
FirstDay := TRUNC(DocDate, 'MM');
|
||||
NoDays := TRUNC(DocDate) - FirstDay;
|
||||
DueDate := FirstDay + (p.FixMonthDay-1); -- starting on 1st
|
||||
DueDate := ADD_MONTHS(DueDate, p.FixMonthOffset);
|
||||
IF (NoDays > p.FixMonthCutoff) THEN
|
||||
DueDate := ADD_MONTHS(DueDate, 1);
|
||||
END IF;
|
||||
|
||||
calDueDate := TRUNC(DocDate);
|
||||
MaxDayCut := TO_NUMBER (TO_CHAR (LAST_DAY (calDueDate), 'dd'));
|
||||
IF p.FixMonthCutoff > MaxDayCut THEN
|
||||
calDueDate := LAST_DAY(TRUNC(calDueDate));
|
||||
ELSE
|
||||
-- set day fixmonthcutoff on duedate
|
||||
calDueDate := TO_DATE ( SUBSTR (TO_CHAR (TRUNC (calDueDate), 'yyyymmdd'), 1, 6)
|
||||
|| LPAD (TO_CHAR (p.FixMonthCutoff), 2, '0'),
|
||||
'yyyymmdd'
|
||||
);
|
||||
END IF;
|
||||
FixMonthOffset := p.FixMonthOffset;
|
||||
IF DocDate > calDueDate THEN
|
||||
FixMonthOffset := FixMonthOffset + 1;
|
||||
END IF;
|
||||
calDueDate := ADD_MONTHS(calDueDate, FixMonthOffset);
|
||||
MaxDay := TO_NUMBER (TO_CHAR (LAST_DAY (calDueDate), 'dd'));
|
||||
IF (p.FixMonthDay > MaxDay) -- 32 -> 28
|
||||
OR (p.FixMonthDay >= 30 AND MaxDay > p.FixMonthDay) THEN -- 30 -> 31
|
||||
calDueDate := TO_DATE ( SUBSTR (TO_CHAR (TRUNC (calDueDate), 'yyyymmdd'), 1, 6)
|
||||
|| LPAD (TO_CHAR (MaxDay), 2, '0'),
|
||||
'yyyymmdd'
|
||||
);
|
||||
ELSE
|
||||
calDueDate := TO_DATE ( SUBSTR (TO_CHAR (TRUNC (calDueDate), 'yyyymmdd'), 1, 6)
|
||||
|| LPAD (TO_CHAR (p.FixMonthDay), 2, '0'),
|
||||
'yyyymmdd'
|
||||
);
|
||||
END IF;
|
||||
DueDate := calDueDate;
|
||||
ELSE
|
||||
-- DBMS_OUTPUT.PUT_LINE('Net = ' || p.NetDays);
|
||||
DueDate := TRUNC(DocDate) + p.NetDays;
|
||||
END IF;
|
||||
END LOOP;
|
||||
-- DBMS_OUTPUT.PUT_LINE('Due = ' || TO_CHAR(DueDate) || ', Pay = ' || TO_CHAR(v_PayDate));
|
||||
|
||||
IF DueDate IS NULL THEN
|
||||
RETURN 0;
|
||||
END IF;
|
||||
|
||||
Days := TRUNC(v_PayDate) - DueDate;
|
||||
RETURN Days;
|
||||
END paymentTermDueDays;
|
||||
/
|
|
@ -1,10 +0,0 @@
|
|||
UPDATE ad_entitytype
|
||||
SET NAME = 'Appliactions'
|
||||
WHERE entitytype = 'A';
|
||||
|
||||
UPDATE ad_entitytype
|
||||
SET description =
|
||||
'Application Dictionary Ownership ** System Maintained **'
|
||||
WHERE entitytype = 'D';
|
||||
|
||||
COMMIT ;
|
|
@ -1,5 +0,0 @@
|
|||
UPDATE ad_message_trl
|
||||
SET msgtext = '{0} Línea(s) - Total: {1,number,#,##0.00} {2}'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 623;
|
||||
|
||||
COMMIT ;
|
|
@ -1,5 +0,0 @@
|
|||
UPDATE ad_field_trl
|
||||
SET NAME = 'Tipo de Tiempo'
|
||||
WHERE ad_language = 'es_MX' AND ad_field_id = 6579;
|
||||
|
||||
COMMIT ;
|
|
@ -1,5 +0,0 @@
|
|||
UPDATE ad_message_trl
|
||||
SET msgtext = 'Solicitud {0} fue transferida por {1} de {2} a {3}'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 483;
|
||||
|
||||
COMMIT ;
|
|
@ -1,49 +0,0 @@
|
|||
UPDATE ad_table
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_column
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_field
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_menu
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_message
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_reference
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_ref_list
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_ref_table
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_tab
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_treenodemm
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_val_rule
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
UPDATE ad_window
|
||||
SET created = ADD_MONTHS (created, 22800)
|
||||
WHERE created < DATE '1000-01-01';
|
||||
|
||||
COMMIT ;
|
|
@ -1,5 +0,0 @@
|
|||
UPDATE ad_message_trl
|
||||
SET msgtext = 'Escalada Solicitud {0} a {1}'
|
||||
WHERE ad_language = 'es_MX' AND ad_message_id = 485;
|
||||
|
||||
COMMIT ;
|
|
@ -1,58 +0,0 @@
|
|||
--Delete field pk_name in window Pack Out Tab Pakage Details _> Reason: do not is nessesary becouse this field are in header
|
||||
|
||||
DELETE FROM ad_field_trl
|
||||
WHERE ad_field_id = 50094;
|
||||
|
||||
DELETE FROM ad_field
|
||||
WHERE ad_field_id = 50094;
|
||||
|
||||
--SET ID Export Package AS Reference vs Pk_Name
|
||||
|
||||
UPDATE ad_field
|
||||
SET seqno = 30,
|
||||
isdisplayed = 'Y'
|
||||
WHERE ad_field_id = 50091;
|
||||
|
||||
--Delete Pk_Name in the Table and History of Changes
|
||||
|
||||
DELETE FROM ad_changelog
|
||||
WHERE ad_column_id = 50126 AND ad_table_id = 50006;
|
||||
|
||||
DELETE FROM ad_column_trl
|
||||
WHERE ad_column_id = 50126;
|
||||
|
||||
DELETE FROM ad_column
|
||||
WHERE ad_column_id = 50126 AND ad_table_id = 50006;
|
||||
|
||||
--Set PK_Name AS REference to Table Header
|
||||
|
||||
UPDATE ad_column
|
||||
SET isidentifier = 'Y',
|
||||
seqno = 1
|
||||
WHERE ad_column_id = 50086;
|
||||
|
||||
ALTER TABLE ad_package_exp_detail DROP COLUMN pk_name;
|
||||
|
||||
ALTER TABLE ad_package_exp RENAME COLUMN pk_name TO name;
|
||||
|
||||
UPDATE ad_column
|
||||
SET ad_element_id = 469,
|
||||
columnname = 'Name',
|
||||
name = 'Name'
|
||||
WHERE ad_column_id = 50086;
|
||||
|
||||
ALTER TABLE ad_package_exp_common RENAME COLUMN pk_name TO NAME;
|
||||
|
||||
UPDATE ad_column
|
||||
SET ad_element_id = 469,
|
||||
columnname = 'Name',
|
||||
name = 'Name'
|
||||
WHERE ad_column_id = 50146;
|
||||
|
||||
DELETE FROM ad_element_trl
|
||||
WHERE ad_element_id = 50021;
|
||||
|
||||
DELETE FROM ad_element
|
||||
WHERE ad_element_id = 50021;
|
||||
|
||||
COMMIT ;
|
|
@ -1,6 +0,0 @@
|
|||
UPDATE ad_system
|
||||
SET releaseno = '314',
|
||||
version = '2007-01-23'
|
||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||
|
||||
COMMIT ;
|
|
@ -1,8 +0,0 @@
|
|||
-- Fix problem, a table must not have two identifiers with same seqno
|
||||
|
||||
UPDATE ad_column
|
||||
SET isidentifier = 'Y',
|
||||
seqno = 2
|
||||
WHERE ad_column_id = 50086;
|
||||
|
||||
COMMIT;
|
File diff suppressed because it is too large
Load Diff
|
@ -1,13 +0,0 @@
|
|||
INSERT INTO ad_treebar
|
||||
(ad_tree_id, ad_user_id, node_id, ad_client_id, ad_org_id,
|
||||
isactive, created,
|
||||
createdby, updated,
|
||||
updatedby
|
||||
)
|
||||
VALUES (10, 100, 144, 0, 0,
|
||||
'Y', TO_DATE ('01/23/2007 23:59:53', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
100, TO_DATE ('01/23/2007 23:59:53', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
100
|
||||
);
|
||||
|
||||
COMMIT ;
|
|
@ -1,6 +0,0 @@
|
|||
UPDATE c_acctschema
|
||||
SET updated = TO_DATE ('01/24/2007 00:23:21', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
autoperiodcontrol = 'Y'
|
||||
WHERE c_acctschema_id = 101;
|
||||
|
||||
COMMIT ;
|
|
@ -1,98 +0,0 @@
|
|||
ALTER TABLE ad_process ADD jasperreport NVARCHAR2(255);
|
||||
|
||||
DELETE FROM ad_field
|
||||
WHERE ad_column_id =
|
||||
(SELECT ad_column_id
|
||||
FROM ad_column
|
||||
WHERE ad_element_id = (SELECT ad_element_id
|
||||
FROM ad_element
|
||||
WHERE columnname = 'JasperReport'));
|
||||
|
||||
DELETE FROM ad_changelog
|
||||
WHERE ad_column_id =
|
||||
(SELECT ad_column_id
|
||||
FROM ad_column
|
||||
WHERE ad_element_id = (SELECT ad_element_id
|
||||
FROM ad_element
|
||||
WHERE columnname = 'JasperReport'));
|
||||
|
||||
DELETE FROM ad_column
|
||||
WHERE ad_element_id = (SELECT ad_element_id
|
||||
FROM ad_element
|
||||
WHERE columnname = 'JasperReport');
|
||||
|
||||
DELETE FROM ad_element
|
||||
WHERE columnname = 'JasperReport';
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50039, 0, 0, 'Y',
|
||||
TO_DATE ('01/24/2007 00:55:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('01/24/2007 00:57:04', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'JasperReport', 'D', 'Jasper Report', 'Jasper Report'
|
||||
);
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME,
|
||||
description, VERSION, entitytype,
|
||||
columnname, ad_table_id, ad_reference_id, fieldlength, iskey,
|
||||
isparent, ismandatory, isupdateable, isidentifier, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50182, 0, 0, 'Y',
|
||||
TO_DATE ('01/24/2007 00:55:01', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('01/24/2007 00:58:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Jasper Report',
|
||||
'In this column you store the JasperReport filename', 0, 'D',
|
||||
'JasperReport', 284, 14, 255, 'N',
|
||||
'N', 'N', 'Y', 'N', 'N',
|
||||
'N', 'N', 50039, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description, iscentrallymaintained, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50156, 0, 0, 'Y',
|
||||
TO_DATE ('01/24/2007 01:00:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('01/24/2007 01:01:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Jasper Report',
|
||||
'In this column you store the JasperReport filename', 'Y', 245,
|
||||
50182, 'Y', 60, 'N', 210,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
COMMIT ;
|
|
@ -1,12 +0,0 @@
|
|||
ALTER TABLE ad_process_para
|
||||
MODIFY(defaultvalue NVARCHAR2(2000));
|
||||
|
||||
ALTER TABLE ad_process_para
|
||||
MODIFY(defaultvalue2 NVARCHAR2(2000));
|
||||
|
||||
UPDATE ad_column
|
||||
SET updated = TO_DATE ('01/24/2007 00:40:17', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
fieldlength = 2000
|
||||
WHERE ad_column_id IN (3739, 5593);
|
||||
|
||||
COMMIT;
|
|
@ -1,41 +0,0 @@
|
|||
INSERT INTO ad_element_trl
|
||||
(ad_element_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, printname, istranslated
|
||||
)
|
||||
VALUES (50039, 'es_MX', 0, 0, 'Y',
|
||||
TO_DATE ('01/24/2007 00:55:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('01/24/2007 00:56:58', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Reporte Jasper', 'Reporte Jasper', 'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column_trl
|
||||
(ad_column_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, istranslated
|
||||
)
|
||||
VALUES (50182, 'es_MX', 0, 0, 'Y',
|
||||
TO_DATE ('01/24/2007 00:55:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('01/24/2007 00:57:23', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Reporte Jasper', 'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field_trl
|
||||
(ad_field_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description,
|
||||
istranslated
|
||||
)
|
||||
VALUES (50156, 'es_MX', 0, 0, 'Y',
|
||||
TO_DATE ('01/24/2007 01:00:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('01/24/2007 01:01:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Reporte Jasper',
|
||||
'En esta columna se almacena el nombre de archivo del reporte Jasper',
|
||||
'Y'
|
||||
);
|
||||
|
||||
COMMIT ;
|
|
@ -1,382 +0,0 @@
|
|||
CREATE OR REPLACE PROCEDURE M_PriceList_Create
|
||||
(
|
||||
PInstance_ID IN NUMBER
|
||||
)
|
||||
AS
|
||||
/*************************************************************************
|
||||
* The contents of this file are subject to the Compiere License. You may
|
||||
* obtain a copy of the License at http://www.compiere.org/license.html
|
||||
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
|
||||
* express or implied. See the License for details. Code: Compiere ERP+CRM
|
||||
* Copyright (C) 1999-2003 Jorg Janke, ComPiere, Inc. All Rights Reserved.
|
||||
*************************************************************************
|
||||
* $Id: M_PriceList_Create.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
|
||||
***
|
||||
* Title: Create Pricelist
|
||||
* Description:
|
||||
* Create PriceList by copying purchase prices (M_Product_PO)
|
||||
* and applying product category discounts (M_CategoryDiscount)
|
||||
* Carlos Ruiz - globalqss - Make T_Selection tables permanent
|
||||
************************************************************************/
|
||||
-- Logistice
|
||||
ResultStr VARCHAR2(2000);
|
||||
Message VARCHAR2(2000) := '';
|
||||
NoRate EXCEPTION;
|
||||
-- Parameter
|
||||
CURSOR Cur_Parameter (PInstance NUMBER) IS
|
||||
SELECT i.Record_ID, p.ParameterName, p.P_String, p.P_Number, p.P_Date
|
||||
FROM AD_PInstance i, AD_PInstance_Para p
|
||||
WHERE i.AD_PInstance_ID=PInstance
|
||||
AND i.AD_PInstance_ID=p.AD_PInstance_ID(+)
|
||||
ORDER BY p.SeqNo;
|
||||
-- Parameter Variables
|
||||
p_PriceList_Version_ID NUMBER;
|
||||
p_DeleteOld CHAR(1) := 'N';
|
||||
--
|
||||
v_Currency_ID NUMBER;
|
||||
v_Client_ID NUMBER;
|
||||
v_Org_ID NUMBER;
|
||||
v_UpdatedBy NUMBER;
|
||||
v_StdPrecision NUMBER;
|
||||
v_DiscountSchema_ID NUMBER;
|
||||
v_PriceList_Version_Base_ID NUMBER;
|
||||
--
|
||||
v_NextNo NUMBER := 0;
|
||||
|
||||
-- Get PL Parameter
|
||||
CURSOR Cur_DiscountLine (DiscountSchema_ID NUMBER) IS
|
||||
SELECT *
|
||||
FROM M_DiscountSchemaLine
|
||||
WHERE M_DiscountSchema_ID=DiscountSchema_ID
|
||||
AND IsActive='Y'
|
||||
ORDER BY SeqNo;
|
||||
|
||||
BEGIN
|
||||
-- Update AD_PInstance
|
||||
DBMS_OUTPUT.PUT_LINE('Updating PInstance - Processing');
|
||||
ResultStr := 'PInstanceNotFound';
|
||||
UPDATE AD_PInstance
|
||||
SET Created = SysDate,
|
||||
IsProcessing = 'Y'
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
|
||||
-- Get Parameters
|
||||
ResultStr := 'ReadingParameters';
|
||||
FOR p IN Cur_Parameter (PInstance_ID) LOOP
|
||||
p_PriceList_Version_ID := p.Record_ID;
|
||||
IF (p.ParameterName = 'DeleteOld') THEN
|
||||
p_DeleteOld := p.P_String;
|
||||
DBMS_OUTPUT.PUT_LINE(' DeleteOld=' || p_DeleteOld);
|
||||
ELSE
|
||||
DBMS_OUTPUT.PUT_LINE('*** Unknown Parameter=' || p.ParameterName);
|
||||
END IF;
|
||||
END LOOP; -- Get Parameter
|
||||
DBMS_OUTPUT.PUT_LINE(' PriceList_Version_ID=' || p_PriceList_Version_ID);
|
||||
|
||||
-- Checking Prerequisites
|
||||
-- -- PO Prices must exists
|
||||
ResultStr := 'CorrectingProductPO';
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
UPDATE M_Product_PO
|
||||
SET PriceList = 0
|
||||
WHERE PriceList IS NULL;
|
||||
UPDATE M_Product_PO
|
||||
SET PriceLastPO = 0
|
||||
WHERE PriceLastPO IS NULL;
|
||||
UPDATE M_Product_PO
|
||||
SET PricePO = PriceLastPO
|
||||
WHERE (PricePO IS NULL OR PricePO = 0) AND PriceLastPO <> 0;
|
||||
UPDATE M_Product_PO
|
||||
SET PricePO = 0
|
||||
WHERE PricePO IS NULL;
|
||||
-- Set default current vendor
|
||||
UPDATE M_Product_PO p
|
||||
SET IsCurrentVendor = 'Y'
|
||||
WHERE IsCurrentVendor = 'N'
|
||||
AND NOT EXISTS
|
||||
(SELECT pp.M_Product_ID FROM M_Product_PO pp
|
||||
WHERE pp.M_Product_ID=p.M_Product_ID
|
||||
GROUP BY pp.M_Product_ID HAVING COUNT(*) > 1);
|
||||
COMMIT;
|
||||
|
||||
/**
|
||||
* Make sure that we have only one active product
|
||||
*/
|
||||
ResultStr := 'CorrectingDuplicates';
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
DECLARE
|
||||
-- All duplicate products
|
||||
CURSOR Cur_Duplicates IS
|
||||
SELECT DISTINCT M_Product_ID
|
||||
FROM M_Product_PO po
|
||||
WHERE IsCurrentVendor='Y' AND IsActive='Y'
|
||||
AND EXISTS ( SELECT M_Product_ID FROM M_Product_PO x
|
||||
WHERE x.M_Product_ID=po.M_Product_ID
|
||||
AND IsCurrentVendor='Y' AND IsActive='Y'
|
||||
GROUP BY M_Product_ID HAVING COUNT(*) > 1 )
|
||||
ORDER BY 1;
|
||||
-- All vendors of Product - expensive first
|
||||
CURSOR Cur_Vendors (Product_ID NUMBER) IS
|
||||
SELECT M_Product_ID, C_BPartner_ID
|
||||
FROM M_Product_PO
|
||||
WHERE IsCurrentVendor='Y' AND IsActive='Y'
|
||||
AND M_Product_ID=Product_ID
|
||||
ORDER BY PriceList DESC;
|
||||
--
|
||||
Product_ID NUMBER;
|
||||
BPartner_ID NUMBER;
|
||||
BEGIN
|
||||
FOR dupl IN Cur_Duplicates LOOP
|
||||
OPEN Cur_Vendors (dupl.M_Product_ID);
|
||||
FETCH Cur_Vendors INTO Product_ID, BPartner_ID; -- Leave First
|
||||
LOOP
|
||||
FETCH Cur_Vendors INTO Product_ID, BPartner_ID; -- Get Record ID
|
||||
EXIT WHEN Cur_Vendors%NOTFOUND;
|
||||
--
|
||||
DBMS_OUTPUT.PUT_LINE(' Record: ' || Product_ID || ' / ' || BPartner_ID);
|
||||
UPDATE M_Product_PO
|
||||
SET IsCurrentVendor='N'
|
||||
WHERE M_Product_ID=Product_ID AND C_BPartner_ID=BPartner_ID;
|
||||
END LOOP;
|
||||
CLOSE Cur_Vendors;
|
||||
END LOOP;
|
||||
COMMIT;
|
||||
END;
|
||||
|
||||
/** Delete Old Data */
|
||||
ResultStr := 'DeletingOld';
|
||||
IF (p_DeleteOld = 'Y') THEN
|
||||
DELETE M_ProductPrice
|
||||
WHERE M_PriceList_Version_ID = p_PriceList_Version_ID;
|
||||
Message := '@Deleted@=' || SQL%ROWCOUNT || ' - ';
|
||||
DBMS_OUTPUT.PUT_LINE(Message);
|
||||
END IF;
|
||||
|
||||
-- Get PriceList Info
|
||||
ResultStr := 'GetPLInfo';
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
SELECT p.C_Currency_ID, c.StdPrecision,
|
||||
v.AD_Client_ID, v.AD_Org_ID, v.UpdatedBy,
|
||||
v.M_DiscountSchema_ID, M_PriceList_Version_Base_ID
|
||||
INTO v_Currency_ID, v_StdPrecision,
|
||||
v_Client_ID, v_Org_ID, v_UpdatedBy,
|
||||
v_DiscountSchema_ID, v_PriceList_Version_Base_ID
|
||||
FROM M_PriceList p, M_PriceList_Version v, C_Currency c
|
||||
WHERE p.M_PriceList_ID=v.M_PriceList_ID
|
||||
AND p.C_Currency_ID=c.C_Currency_ID
|
||||
AND v.M_PriceList_Version_ID=p_PriceList_Version_ID;
|
||||
|
||||
/**
|
||||
* For All Discount Lines in Sequence
|
||||
*/
|
||||
FOR dl IN Cur_DiscountLine (v_DiscountSchema_ID) LOOP
|
||||
ResultStr := 'Parameter Seq=' || dl.SeqNo;
|
||||
-- DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
|
||||
-- Clear Temporary Table
|
||||
DELETE FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID;
|
||||
|
||||
-- -----------------------------------
|
||||
-- Create Selection in temporary table
|
||||
-- -----------------------------------
|
||||
IF (v_PriceList_Version_Base_ID IS NULL) THEN
|
||||
-- Create Selection from M_Product_PO
|
||||
INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID)
|
||||
SELECT DISTINCT PInstance_ID, po.M_Product_ID
|
||||
FROM M_Product p, M_Product_PO po
|
||||
WHERE p.M_Product_ID=po.M_Product_ID
|
||||
AND (p.AD_Client_ID=v_Client_ID OR p.AD_Client_ID=0)
|
||||
AND p.IsActive='Y' AND po.IsActive='Y' AND po.IsCurrentVendor='Y'
|
||||
-- Optional Restrictions
|
||||
AND (dl.M_Product_Category_ID IS NULL OR p.M_Product_Category_ID=dl.M_Product_Category_ID)
|
||||
AND (dl.C_BPartner_ID IS NULL OR po.C_BPartner_ID=dl.C_BPartner_ID)
|
||||
AND (dl.M_Product_ID IS NULL OR p.M_Product_ID=dl.M_Product_ID);
|
||||
ELSE
|
||||
-- Create Selection from existing PriceList
|
||||
INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID)
|
||||
SELECT DISTINCT PInstance_ID, p.M_Product_ID
|
||||
FROM M_Product p, M_ProductPrice pp
|
||||
WHERE p.M_Product_ID=pp.M_Product_ID
|
||||
AND pp.M_PriceList_Version_ID=v_PriceList_Version_Base_ID
|
||||
AND p.IsActive='Y' AND pp.IsActive='Y'
|
||||
-- Optional Restrictions
|
||||
AND (dl.M_Product_Category_ID IS NULL OR p.M_Product_Category_ID=dl.M_Product_Category_ID)
|
||||
AND (dl.C_BPartner_ID IS NULL OR EXISTS
|
||||
(SELECT * FROM M_Product_PO po WHERE po.M_Product_ID=p.M_Product_ID AND po.C_BPartner_ID=dl.C_BPartner_ID))
|
||||
AND (dl.M_Product_ID IS NULL OR p.M_Product_ID=dl.M_Product_ID);
|
||||
END IF;
|
||||
Message := Message || '@Selected@=' || SQL%ROWCOUNT;
|
||||
-- DBMS_OUTPUT.PUT_LINE(Message);
|
||||
|
||||
-- Delete Prices in Selection, so that we can insert
|
||||
IF (v_PriceList_Version_Base_ID IS NULL
|
||||
OR v_PriceList_Version_Base_ID <> p_PriceList_Version_ID) THEN
|
||||
ResultStr := ResultStr || ', Delete';
|
||||
DELETE M_ProductPrice pp
|
||||
WHERE pp.M_PriceList_Version_ID = p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s WHERE pp.M_Product_ID=s.T_Selection_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
Message := ', @Deleted@=' || SQL%ROWCOUNT;
|
||||
END IF;
|
||||
|
||||
-- --------------------
|
||||
-- Copy (Insert) Prices
|
||||
-- --------------------
|
||||
IF (v_PriceList_Version_Base_ID = p_PriceList_Version_ID) THEN
|
||||
-- We have Prices already
|
||||
NULL;
|
||||
ELSIF (v_PriceList_Version_Base_ID IS NULL) THEN
|
||||
-- Copy and Convert from Product_PO
|
||||
ResultStr := ResultStr || ',Copy_PO';
|
||||
INSERT INTO M_ProductPrice
|
||||
(M_PriceList_Version_ID, M_Product_ID,
|
||||
AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,
|
||||
PriceList, PriceStd, PriceLimit)
|
||||
SELECT
|
||||
p_PriceList_Version_ID, po.M_Product_ID,
|
||||
v_Client_ID, v_Org_ID, 'Y', SysDate, v_UpdatedBy, SysDate, v_UpdatedBy,
|
||||
-- Price List
|
||||
COALESCE(currencyConvert(po.PriceList,
|
||||
po.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Std
|
||||
COALESCE(currencyConvert(po.PriceList,
|
||||
po.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Limit
|
||||
COALESCE(currencyConvert(po.PricePO,
|
||||
po.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0)
|
||||
FROM M_Product_PO po
|
||||
WHERE EXISTS (SELECT * FROM T_Selection s WHERE po.M_Product_ID=s.T_Selection_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID)
|
||||
AND po.IsCurrentVendor='Y' AND po.IsActive='Y';
|
||||
ELSE
|
||||
-- Copy and Convert from other PriceList_Version
|
||||
ResultStr := ResultStr || ',Copy_PL';
|
||||
INSERT INTO M_ProductPrice
|
||||
(M_PriceList_Version_ID, M_Product_ID,
|
||||
AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,
|
||||
PriceList, PriceStd, PriceLimit)
|
||||
SELECT
|
||||
p_PriceList_Version_ID, pp.M_Product_ID,
|
||||
v_Client_ID, v_Org_ID, 'Y', SysDate, v_UpdatedBy, SysDate, v_UpdatedBy,
|
||||
-- Price List
|
||||
COALESCE(currencyConvert(pp.PriceList,
|
||||
pl.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Std
|
||||
COALESCE(currencyConvert(pp.PriceStd,
|
||||
pl.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0),
|
||||
-- Price Limit
|
||||
COALESCE(currencyConvert(pp.PriceLimit,
|
||||
pl.C_Currency_ID, v_Currency_ID, dl.ConversionDate, dl.C_ConversionType_ID, v_Client_ID, v_Org_ID),0)
|
||||
FROM M_ProductPrice pp
|
||||
INNER JOIN M_PriceList_Version plv ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID)
|
||||
INNER JOIN M_PriceList pl ON (plv.M_PriceList_ID=pl.M_PriceList_ID)
|
||||
WHERE pp.M_PriceList_Version_ID=v_PriceList_Version_Base_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s WHERE pp.M_Product_ID=s.T_Selection_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID)
|
||||
AND pp.IsActive='Y';
|
||||
END IF;
|
||||
Message := Message || ', @Inserted@=' || SQL%ROWCOUNT;
|
||||
|
||||
-- -----------
|
||||
-- Calculation
|
||||
-- -----------
|
||||
ResultStr := ResultStr || ',Calc';
|
||||
UPDATE M_ProductPrice p
|
||||
SET PriceList = (DECODE(dl.List_Base, 'S', PriceStd, 'X', PriceLimit, PriceList)
|
||||
+ dl.List_AddAmt) * (1 - dl.List_Discount/100),
|
||||
PriceStd = (DECODE(dl.Std_Base, 'L', PriceList, 'X', PriceLimit, PriceStd)
|
||||
+ dl.Std_AddAmt) * (1 - dl.Std_Discount/100),
|
||||
PriceLimit = (DECODE(dl.Limit_Base, 'L', PriceList, 'S', PriceStd, PriceLimit)
|
||||
+ dl.Limit_AddAmt) * (1 - dl.Limit_Discount/100)
|
||||
WHERE M_PriceList_Version_ID=p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s
|
||||
WHERE s.T_Selection_ID=p.M_Product_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
|
||||
-- --------
|
||||
-- Rounding (AD_Reference_ID=155)
|
||||
-- --------
|
||||
ResultStr := ResultStr || ',Round';
|
||||
UPDATE M_ProductPrice p
|
||||
SET PriceList = DECODE(dl.List_Rounding,
|
||||
'N', PriceList,
|
||||
'0', ROUND(PriceList, 0), -- Even .00
|
||||
'D', ROUND(PriceList, 1), -- Dime .10
|
||||
'T', ROUND(PriceList, -1), -- Ten 10.00
|
||||
'5', ROUND(PriceList*20,0)/20, -- Nickle .05
|
||||
'Q', ROUND(PriceList*4,0)/4, -- Quarter .25
|
||||
ROUND(PriceList, v_StdPrecision)),-- Currency
|
||||
PriceStd = DECODE(dl.Std_Rounding,
|
||||
'N', PriceStd,
|
||||
'0', ROUND(PriceStd, 0), -- Even .00
|
||||
'D', ROUND(PriceStd, 1), -- Dime .10
|
||||
'T', ROUND(PriceStd, -1), -- Ten 10.00
|
||||
'5', ROUND(PriceStd*20,0)/20, -- Nickle .05
|
||||
'Q', ROUND(PriceStd*4,0)/4, -- Quarter .25
|
||||
ROUND(PriceStd, v_StdPrecision)), -- Currency
|
||||
PriceLimit = DECODE(dl.Limit_Rounding,
|
||||
'N', PriceLimit,
|
||||
'0', ROUND(PriceLimit, 0), -- Even .00
|
||||
'D', ROUND(PriceLimit, 1), -- Dime .10
|
||||
'T', ROUND(PriceLimit, -1), -- Ten 10.00
|
||||
'5', ROUND(PriceLimit*20,0)/20, -- Nickle .05
|
||||
'Q', ROUND(PriceLimit*4,0)/4, -- Quarter .25
|
||||
ROUND(PriceLimit, v_StdPrecision))-- Currency
|
||||
WHERE M_PriceList_Version_ID=p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s
|
||||
WHERE s.T_Selection_ID=p.M_Product_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
Message := Message || ', @Updated@=' || SQL%ROWCOUNT;
|
||||
|
||||
-- Fixed Price overwrite
|
||||
ResultStr := ResultStr || ',Fix';
|
||||
UPDATE M_ProductPrice p
|
||||
SET PriceList = DECODE(dl.List_Base, 'F', dl.List_Fixed, PriceList),
|
||||
PriceStd = DECODE(dl.Std_Base, 'F', dl.Std_Fixed, PriceStd),
|
||||
PriceLimit = DECODE(dl.Limit_Base, 'F', dl.Limit_Fixed, PriceLimit)
|
||||
WHERE M_PriceList_Version_ID=p_PriceList_Version_ID
|
||||
AND EXISTS (SELECT * FROM T_Selection s
|
||||
WHERE s.T_Selection_ID=p.M_Product_ID
|
||||
AND s.AD_PInstance_ID = PInstance_ID);
|
||||
|
||||
-- Log Info
|
||||
INSERT INTO AD_PInstance_Log (AD_PInstance_ID, Log_ID, P_ID, P_NUMBER, P_MSG)
|
||||
VALUES (PInstance_ID, v_NextNo, null, dl.SeqNo, Message);
|
||||
--
|
||||
v_NextNo := v_NextNo + 1;
|
||||
Message := '';
|
||||
END LOOP; -- For all DiscountLines
|
||||
|
||||
-- Delete Temporary Selection
|
||||
DELETE FROM T_Selection WHERE AD_PInstance_ID = PInstance_ID;
|
||||
|
||||
|
||||
<<FINISH_PROCESS>>
|
||||
-- Update AD_PInstance
|
||||
DBMS_OUTPUT.PUT_LINE(Message);
|
||||
DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished');
|
||||
UPDATE AD_PInstance
|
||||
SET Updated = SysDate,
|
||||
IsProcessing = 'N',
|
||||
Result = 1, -- success
|
||||
ErrorMsg = Message
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
RETURN;
|
||||
|
||||
EXCEPTION
|
||||
WHEN OTHERS THEN
|
||||
ResultStr := ResultStr || ':' || SQLERRM || ' ' || Message;
|
||||
DBMS_OUTPUT.PUT_LINE(ResultStr);
|
||||
UPDATE AD_PInstance
|
||||
SET Updated = SysDate,
|
||||
IsProcessing = 'N',
|
||||
Result = 0, -- failure
|
||||
ErrorMsg = ResultStr
|
||||
WHERE AD_PInstance_ID=PInstance_ID;
|
||||
COMMIT;
|
||||
RETURN;
|
||||
|
||||
END M_PriceList_Create;
|
||||
/
|
|
@ -1,171 +0,0 @@
|
|||
CREATE OR REPLACE FUNCTION currencyRate
|
||||
(
|
||||
p_CurFrom_ID IN NUMBER,
|
||||
p_CurTo_ID IN NUMBER,
|
||||
p_ConvDate IN DATE,
|
||||
p_ConversionType_ID IN NUMBER,
|
||||
p_Client_ID IN NUMBER,
|
||||
p_Org_ID IN NUMBER
|
||||
)
|
||||
RETURN NUMBER
|
||||
/*************************************************************************
|
||||
* The contents of this file are subject to the Compiere License. You may
|
||||
* obtain a copy of the License at http://www.compiere.org/license.html
|
||||
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
|
||||
* express or implied. See the License for details. Code: Compiere ERP+CRM
|
||||
* Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved.
|
||||
*************************************************************************
|
||||
* $Id: C_Currency_Rate.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
|
||||
***
|
||||
* Title: Return Conversion Rate
|
||||
* Description:
|
||||
* from CurrencyFrom_ID to CurrencyTo_ID
|
||||
* Returns NULL, if rate not found
|
||||
* Test
|
||||
* SELECT C_Currency_Rate(116, 100, null, null) FROM DUAL; => .647169
|
||||
* SELECT C_Currency_Rate(116, 100) FROM DUAL; => .647169
|
||||
************************************************************************/
|
||||
AS
|
||||
-- Currency From variables
|
||||
cf_IsEuro CHAR(1);
|
||||
cf_IsEMUMember CHAR(1);
|
||||
cf_EMUEntryDate DATE;
|
||||
cf_EMURate NUMBER;
|
||||
-- Currency To variables
|
||||
ct_IsEuro CHAR(1);
|
||||
ct_IsEMUMember CHAR(1);
|
||||
ct_EMUEntryDate DATE;
|
||||
ct_EMURate NUMBER;
|
||||
-- Triangle
|
||||
v_CurrencyFrom NUMBER;
|
||||
v_CurrencyTo NUMBER;
|
||||
v_CurrencyEuro NUMBER;
|
||||
--
|
||||
v_ConvDate DATE := SysDate;
|
||||
v_ConversionType_ID NUMBER := 0;
|
||||
v_Rate NUMBER;
|
||||
BEGIN
|
||||
-- No Conversion
|
||||
IF (p_CurFrom_ID = p_CurTo_ID) THEN
|
||||
RETURN 1;
|
||||
END IF;
|
||||
-- Default Date Parameter
|
||||
IF (p_ConvDate IS NOT NULL) THEN
|
||||
v_ConvDate := p_ConvDate; -- SysDate
|
||||
END IF;
|
||||
-- Default Conversion Type
|
||||
IF (p_ConversionType_ID IS NULL OR p_ConversionType_ID = 0) THEN
|
||||
BEGIN
|
||||
SELECT C_ConversionType_ID
|
||||
INTO v_ConversionType_ID
|
||||
FROM C_ConversionType
|
||||
WHERE IsDefault='Y'
|
||||
AND AD_Client_ID IN (0,p_Client_ID)
|
||||
AND ROWNUM=1
|
||||
ORDER BY AD_Client_ID DESC;
|
||||
EXCEPTION WHEN OTHERS THEN
|
||||
DBMS_OUTPUT.PUT_LINE('Conversion Type Not Found');
|
||||
END;
|
||||
ELSE
|
||||
v_ConversionType_ID := p_ConversionType_ID;
|
||||
END IF;
|
||||
|
||||
-- Get Currency Info
|
||||
SELECT MAX(TO_CHAR(IsEuro)), MAX(TO_CHAR(IsEMUMember)), MAX(EMUEntryDate), MAX(EMURate)
|
||||
INTO cf_IsEuro, cf_IsEMUMember, cf_EMUEntryDate, cf_EMURate
|
||||
FROM C_Currency
|
||||
WHERE C_Currency_ID = p_CurFrom_ID;
|
||||
-- Not Found
|
||||
IF (cf_IsEuro IS NULL) THEN
|
||||
DBMS_OUTPUT.PUT_LINE('From Currency Not Found');
|
||||
RETURN NULL;
|
||||
END IF;
|
||||
SELECT MAX(TO_CHAR(IsEuro)), MAX(TO_CHAR(IsEMUMember)), MAX(EMUEntryDate), MAX(EMURate)
|
||||
INTO ct_IsEuro, ct_IsEMUMember, ct_EMUEntryDate, ct_EMURate
|
||||
FROM C_Currency
|
||||
WHERE C_Currency_ID = p_CurTo_ID;
|
||||
-- Not Found
|
||||
IF (ct_IsEuro IS NULL) THEN
|
||||
DBMS_OUTPUT.PUT_LINE('To Currency Not Found');
|
||||
RETURN NULL;
|
||||
END IF;
|
||||
|
||||
-- Fixed - From Euro to EMU
|
||||
IF (cf_IsEuro = 'Y' AND ct_IsEMUMember ='Y' AND v_ConvDate >= ct_EMUEntryDate) THEN
|
||||
RETURN ct_EMURate;
|
||||
END IF;
|
||||
|
||||
-- Fixed - From EMU to Euro
|
||||
IF (ct_IsEuro = 'Y' AND cf_IsEMUMember ='Y' AND v_ConvDate >= cf_EMUEntryDate) THEN
|
||||
RETURN 1 / cf_EMURate;
|
||||
END IF;
|
||||
|
||||
-- Fixed - From EMU to EMU
|
||||
IF (cf_IsEMUMember = 'Y' AND cf_IsEMUMember ='Y'
|
||||
AND v_ConvDate >= cf_EMUEntryDate AND v_ConvDate >= ct_EMUEntryDate) THEN
|
||||
RETURN ct_EMURate / cf_EMURate;
|
||||
END IF;
|
||||
|
||||
-- Flexible Rates
|
||||
v_CurrencyFrom := p_CurFrom_ID;
|
||||
v_CurrencyTo := p_CurTo_ID;
|
||||
|
||||
-- if EMU Member involved, replace From/To Currency
|
||||
IF ((cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate)
|
||||
OR (ct_isEMUMember = 'Y' AND v_ConvDate >= ct_EMUEntryDate)) THEN
|
||||
SELECT MAX(C_Currency_ID)
|
||||
INTO v_CurrencyEuro
|
||||
FROM C_Currency
|
||||
WHERE IsEuro = 'Y';
|
||||
-- Conversion Rate not Found
|
||||
IF (v_CurrencyEuro IS NULL) THEN
|
||||
DBMS_OUTPUT.PUT_LINE('Euro Not Found');
|
||||
RETURN NULL;
|
||||
END IF;
|
||||
IF (cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) THEN
|
||||
v_CurrencyFrom := v_CurrencyEuro;
|
||||
ELSE
|
||||
v_CurrencyTo := v_CurrencyEuro;
|
||||
END IF;
|
||||
END IF;
|
||||
|
||||
-- Get Rate
|
||||
DECLARE
|
||||
CURSOR CUR_Rate IS
|
||||
SELECT MultiplyRate
|
||||
FROM C_Conversion_Rate
|
||||
WHERE C_Currency_ID=v_CurrencyFrom AND C_Currency_ID_To=v_CurrencyTo
|
||||
AND C_ConversionType_ID=v_ConversionType_ID
|
||||
AND v_ConvDate BETWEEN ValidFrom AND ValidTo
|
||||
AND AD_Client_ID IN (0,p_Client_ID) AND AD_Org_ID IN (0,p_Org_ID)
|
||||
ORDER BY AD_Client_ID DESC, AD_Org_ID DESC, ValidFrom DESC;
|
||||
BEGIN
|
||||
FOR c IN CUR_Rate LOOP
|
||||
v_Rate := c.MultiplyRate;
|
||||
EXIT; -- only first
|
||||
END LOOP;
|
||||
END;
|
||||
-- Not found
|
||||
IF (v_Rate IS NULL) THEN
|
||||
DBMS_OUTPUT.PUT_LINE('Conversion Rate Not Found');
|
||||
RETURN NULL;
|
||||
END IF;
|
||||
|
||||
-- Currency From was EMU
|
||||
IF (cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) THEN
|
||||
RETURN v_Rate / cf_EMURate;
|
||||
END IF;
|
||||
|
||||
-- Currency To was EMU
|
||||
IF (ct_isEMUMember = 'Y' AND v_ConvDate >= ct_EMUEntryDate) THEN
|
||||
RETURN v_Rate * ct_EMURate;
|
||||
END IF;
|
||||
|
||||
RETURN v_Rate;
|
||||
|
||||
EXCEPTION WHEN OTHERS THEN
|
||||
DBMS_OUTPUT.PUT_LINE(SQLERRM);
|
||||
RETURN NULL;
|
||||
|
||||
END currencyRate;
|
||||
/
|
|
@ -1,19 +0,0 @@
|
|||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE,
|
||||
msgtext, msgtip, msgtype, entitytype
|
||||
)
|
||||
VALUES (50007, 0, 0, 'Y', TO_DATE ('12-02-2007', 'DD-MM-RRRR'),
|
||||
0, TO_DATE ('12-02-2007', 'DD-MM-RRRR'), 0, 'Charset',
|
||||
'Charset', 'Charset used for import / export', 'I', 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||
FROM ad_message
|
||||
WHERE ad_message_id < 1000000)
|
||||
WHERE NAME = 'AD_Message';
|
||||
|
||||
COMMIT ;
|
|
@ -1,18 +0,0 @@
|
|||
INSERT INTO ad_message_trl
|
||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
||||
istranslated)
|
||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
||||
'N'
|
||||
FROM ad_message m, ad_language lang
|
||||
WHERE m.ad_message_id = 50007
|
||||
AND lang.issystemlanguage = 'Y'
|
||||
AND lang.isbaselanguage = 'N'
|
||||
AND NOT EXISTS (
|
||||
SELECT *
|
||||
FROM ad_message_trl m2
|
||||
WHERE m2.ad_message_id = m.ad_message_id
|
||||
AND m2.ad_language = lang.ad_language);
|
||||
|
||||
COMMIT ;
|
|
@ -1,127 +0,0 @@
|
|||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50040, 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'CopyColumnsFromTable', 'D', 'Copy Columns From Table',
|
||||
'Copy Columns From Table'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process
|
||||
(ad_process_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME,
|
||||
description,
|
||||
accesslevel, entitytype, isreport, isdirectprint, classname,
|
||||
statistic_count, statistic_seconds, isbetafunctionality,
|
||||
isserverprocess, showhelp
|
||||
)
|
||||
VALUES (50011, 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:35:07', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:35:48', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'AD_Table_CopyColumnsFromTable', 'Copy Columns from Table',
|
||||
'Create Dictionary Columns for a Table taking another as base',
|
||||
'4', 'D', 'N', 'N', 'org.compiere.process.CopyColumnsFromTable',
|
||||
2, 6, 'N',
|
||||
'N', 'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
ad_element_id, entitytype
|
||||
)
|
||||
VALUES (50005, 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:39:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:43:06', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Table', 'Database Table information',
|
||||
'The Database Table provides the information of the table definition',
|
||||
50011, 10, 19, 'AD_Table_ID',
|
||||
'Y', 0, 'Y', 'N',
|
||||
126, 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50183, 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:46:03', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/13/2007 23:46:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Copy Columns from Table', 'Copy Columns from Table', 1,
|
||||
'D', 'CopyColumnsFromTable', 100, 28,
|
||||
1, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50040, 50011, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, iscentrallymaintained, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50157, 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:56:24', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:56:24', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Copy Columns from Table', 'Copy Columns from Table', 'Y', 100,
|
||||
50183, 'Y', 1, 'N',
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_process_id) + 1
|
||||
FROM ad_process
|
||||
WHERE ad_process_id < 1000000)
|
||||
WHERE NAME = 'AD_Process';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_process_para_id) + 1
|
||||
FROM ad_process_para
|
||||
WHERE ad_process_para_id < 1000000)
|
||||
WHERE NAME = 'AD_Process_Para';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
COMMIT ;
|
||||
|
||||
ALTER TABLE ad_table ADD copycolumnsfromtable VARCHAR(1);
|
||||
|
||||
COMMIT ;
|
|
@ -1,69 +0,0 @@
|
|||
INSERT INTO ad_element_trl
|
||||
(ad_element_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, printname, istranslated
|
||||
)
|
||||
VALUES (50040, 'es_MX', 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:31:53', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Copia Columnas desde Tabla', 'Copia Columnas desde Tabla', 'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_trl
|
||||
(ad_process_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description,
|
||||
istranslated
|
||||
)
|
||||
VALUES (50011, 'es_MX', 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:35:07', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:35:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Copiar Columnas desde Tabla',
|
||||
'Crear columnas del diccionario para una tabla tomando otra como base',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para_trl
|
||||
(ad_process_para_id, ad_language, ad_client_id, ad_org_id,
|
||||
isactive, created,
|
||||
createdby, updated,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
istranslated
|
||||
)
|
||||
VALUES (50005, 'es_MX', 0, 0,
|
||||
'Y', TO_DATE ('02/13/2007 23:39:09', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
100, TO_DATE ('02/13/2007 23:43:32', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
100, 'Tabla', 'Información de tabla de la base de datos',
|
||||
'La tabla de la base de datos provee información sobre definición de la tabla',
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column_trl
|
||||
(ad_column_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, istranslated
|
||||
)
|
||||
VALUES (50183, 'es_MX', 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:46:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:46:22', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Copiar Columnas de Tabla', 'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field_trl
|
||||
(ad_field_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, istranslated
|
||||
)
|
||||
VALUES (50157, 'es_MX', 0, 0, 'Y',
|
||||
TO_DATE ('02/13/2007 23:56:24', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/13/2007 23:57:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Copiar Columnas desde Tabla', 'Copiar Columnas desde Tabla', 'Y'
|
||||
);
|
||||
|
||||
COMMIT ;
|
|
@ -1,13 +0,0 @@
|
|||
UPDATE ad_process
|
||||
SET classname = 'org.adempiere.pipo.PackRoll'
|
||||
WHERE classname = 'org.compiere.PackOut.PackRoll';
|
||||
|
||||
UPDATE ad_process
|
||||
SET classname = 'org.adempiere.pipo.PackOut'
|
||||
WHERE classname = 'org.compiere.PackOut.PackOut';
|
||||
|
||||
UPDATE ad_process
|
||||
SET classname = 'org.adempiere.pipo.PackIn'
|
||||
WHERE classname = 'org.compiere.PackOut.IntPackIn';
|
||||
|
||||
COMMIT ;
|
|
@ -1,48 +0,0 @@
|
|||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE,
|
||||
msgtext, msgtip, msgtype, entitytype
|
||||
)
|
||||
values (
|
||||
50008,0,0,'Y',to_date('26-02-2007','DD-MM-RRRR'),
|
||||
0,to_date('26-02-2007','DD-MM-RRRR'),0,'ImplementationVendor',
|
||||
'Implementation Vendor',null,'I','D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby, VALUE,
|
||||
msgtext, msgtip, msgtype, entitytype
|
||||
)
|
||||
values (
|
||||
50009,0,0,'Y',to_date('26-02-2007','DD-MM-RRRR'),
|
||||
0,to_date('26-02-2007','DD-MM-RRRR'),0,'ImplementationVersion',
|
||||
'Implementation Version',null,'I','D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message_trl
|
||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
||||
istranslated)
|
||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
||||
'N'
|
||||
FROM ad_message m, ad_language lang
|
||||
WHERE m.ad_message_id in (50008, 50009)
|
||||
AND lang.issystemlanguage = 'Y'
|
||||
AND lang.isbaselanguage = 'N'
|
||||
AND NOT EXISTS (
|
||||
SELECT *
|
||||
FROM ad_message_trl m2
|
||||
WHERE m2.ad_message_id = m.ad_message_id
|
||||
AND m2.ad_language = lang.ad_language);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||
FROM ad_message
|
||||
WHERE ad_message_id < 1000000)
|
||||
WHERE NAME = 'AD_Message';
|
||||
|
||||
COMMIT ;
|
|
@ -1,248 +0,0 @@
|
|||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50041, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'StoreAttachmentsOnFileSystem', 'D', 'Store Attachments On File System',
|
||||
'Store Attachments On File System'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, callout, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50184, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Store Attachments On File System', 'Store Attachments On File System', 1,
|
||||
'D', 'StoreAttachmentsOnFileSystem', 112, 20,
|
||||
1, 'N', 'N', 'Y', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50041, 'org.compiere.model.CalloutClient.storeAttachmentOnFileSystem', 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50158, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Store Attachments On File System', 'Store Attachments On File System', 'Y', 220, 145,
|
||||
50184, 'Y', 1, 'N',
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50042, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'WindowsAttachmentPath', 'D', 'Windows Attachment Path',
|
||||
'Windows Attachment Path'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
help, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50185, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Windows Attachment Path', 'Windows Attachment Path - If you change this value make sure to copy the attachments to the new path!',
|
||||
'Path of the Adempiere attachments in the file system. If you change this value make sure to copy the attachments to the new path!', 1,
|
||||
'D', 'WindowsAttachmentPath', 112, 10,
|
||||
255, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50042, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
help,
|
||||
iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype, displaylogic
|
||||
)
|
||||
VALUES (50159, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Windows Attachment Path', 'Windows Attachment Path',
|
||||
'If you change this value make sure to copy the attachments to the new path!',
|
||||
'Y', 230, 145,
|
||||
50185, 'Y', 1, 'N',
|
||||
'N', 'N', 'N', 'N', 'D','@StoreAttachmentsOnFileSystem@=''Y'''
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50043, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'UnixAttachmentPath', 'D', 'Unix Attachment Path',
|
||||
'Unix Attachment Path'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
help, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50186, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Unix Attachment Path', 'Unix Attachment Path - If you change this value make sure to copy the attachments to the new path!',
|
||||
'Path of the Adempiere attachments in the file system. If you change this value make sure to copy the attachments to the new path!', 1,
|
||||
'D', 'UnixAttachmentPath', 112, 10,
|
||||
255, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50043, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
help,
|
||||
iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype, displaylogic
|
||||
)
|
||||
VALUES (50160, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Unix Attachment Path', 'Unix Attachment Path',
|
||||
'If you change this value make sure to copy the attachments to the new path!',
|
||||
'Y', 240 ,145,
|
||||
50186, 'Y', 1, 'N',
|
||||
'Y', 'N', 'N', 'N', 'D','@StoreAttachmentsOnFileSystem@=''Y'''
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
value, msgtext, msgtype
|
||||
)
|
||||
VALUES (50010, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'StoreAttachmentWarning',
|
||||
'If you change the attachment storage method, the old attachments are no longer available to your client.','I'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
value, msgtext, msgtype
|
||||
)
|
||||
VALUES (50011, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'AttachmentPathWarning','Make sure to copy the attachments to the new path!','I'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message_trl
|
||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
||||
istranslated)
|
||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
||||
'N'
|
||||
FROM ad_message m, ad_language lang
|
||||
WHERE m.ad_message_id in (50010, 50011)
|
||||
AND lang.issystemlanguage = 'Y'
|
||||
AND lang.isbaselanguage = 'N'
|
||||
AND NOT EXISTS (
|
||||
SELECT *
|
||||
FROM ad_message_trl m2
|
||||
WHERE m2.ad_message_id = m.ad_message_id
|
||||
AND m2.ad_language = lang.ad_language);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||
FROM ad_message
|
||||
WHERE ad_message_id < 1000000)
|
||||
WHERE NAME = 'AD_Message';
|
||||
|
||||
|
||||
ALTER TABLE ad_client ADD StoreAttachmentsOnFilesystem CHAR(1) DEFAULT 'N' NOT NULL;
|
||||
ALTER TABLE ad_client ADD WindowsAttachmentPath VARCHAR(255);
|
||||
ALTER TABLE ad_client ADD UnixAttachmentPath VARCHAR(255);
|
||||
|
||||
COMMIT ;
|
File diff suppressed because it is too large
Load Diff
|
@ -1,97 +0,0 @@
|
|||
DROP TABLE tire_storage;
|
||||
|
||||
DELETE FROM ad_treenodemm
|
||||
WHERE node_id = 226;
|
||||
|
||||
DELETE FROM ad_menu_trl
|
||||
WHERE ad_menu_id = 226;
|
||||
|
||||
DELETE FROM ad_menu
|
||||
WHERE ad_menu_id = 226;
|
||||
|
||||
DELETE FROM ad_field_trl
|
||||
WHERE ad_field_id IN (SELECT ad_field_id
|
||||
FROM ad_field
|
||||
WHERE ad_tab_id = 318);
|
||||
|
||||
DELETE FROM ad_field
|
||||
WHERE ad_tab_id = 318;
|
||||
|
||||
DELETE FROM ad_tab_trl
|
||||
WHERE ad_tab_id = 318;
|
||||
|
||||
DELETE FROM ad_tab
|
||||
WHERE ad_tab_id = 318;
|
||||
|
||||
DELETE FROM ad_window_access
|
||||
WHERE ad_window_id = 190;
|
||||
|
||||
DELETE FROM ad_window_trl
|
||||
WHERE ad_window_id = 190;
|
||||
|
||||
DELETE FROM ad_window
|
||||
WHERE ad_window_id = 190;
|
||||
|
||||
DELETE FROM ad_process_trl
|
||||
WHERE ad_process_id = 160;
|
||||
|
||||
DELETE FROM ad_process
|
||||
WHERE ad_process_id = 160;
|
||||
|
||||
DELETE FROM ad_reportview
|
||||
WHERE ad_reportview_id = 121;
|
||||
|
||||
DELETE FROM ad_column_trl
|
||||
WHERE ad_column_id IN (SELECT ad_column_id
|
||||
FROM ad_column
|
||||
WHERE ad_table_id = 384);
|
||||
|
||||
DELETE FROM ad_column
|
||||
WHERE ad_table_id = 384;
|
||||
|
||||
DELETE FROM ad_table_trl
|
||||
WHERE ad_table_id = 384;
|
||||
|
||||
DELETE FROM ad_table
|
||||
WHERE ad_table_id = 384;
|
||||
|
||||
DELETE FROM ad_element_trl
|
||||
WHERE ad_element_id IN
|
||||
(1527,
|
||||
1325,
|
||||
1333,
|
||||
1339,
|
||||
1330,
|
||||
1340,
|
||||
1331,
|
||||
1337,
|
||||
1335,
|
||||
1327,
|
||||
1336,
|
||||
1332,
|
||||
1334,
|
||||
1328,
|
||||
1338
|
||||
);
|
||||
|
||||
|
||||
DELETE FROM ad_element
|
||||
WHERE ad_element_id IN
|
||||
(1527,
|
||||
1325,
|
||||
1333,
|
||||
1339,
|
||||
1330,
|
||||
1340,
|
||||
1331,
|
||||
1337,
|
||||
1335,
|
||||
1327,
|
||||
1336,
|
||||
1332,
|
||||
1334,
|
||||
1328,
|
||||
1338
|
||||
);
|
||||
|
||||
COMMIT;
|
|
@ -1,566 +0,0 @@
|
|||
|
||||
CREATE TABLE ad_sysconfig
|
||||
(
|
||||
ad_sysconfig_id NUMERIC(10) NOT NULL,
|
||||
ad_client_id NUMERIC(10) NOT NULL,
|
||||
ad_org_id NUMERIC(10) NOT NULL,
|
||||
created TIMESTAMP NOT NULL,
|
||||
updated TIMESTAMP NOT NULL,
|
||||
createdby NUMERIC(10) NOT NULL,
|
||||
updatedby NUMERIC(10) NOT NULL,
|
||||
isactive CHAR(1) DEFAULT 'Y' NOT NULL,
|
||||
NAME VARCHAR(50) NOT NULL,
|
||||
VALUE VARCHAR(255) NOT NULL,
|
||||
description VARCHAR(255)
|
||||
);
|
||||
|
||||
ALTER TABLE ad_sysconfig ADD
|
||||
CHECK (isactive IN ('Y','N'));
|
||||
|
||||
ALTER TABLE ad_sysconfig ADD
|
||||
CONSTRAINT ad_sysconfig_key PRIMARY KEY (ad_sysconfig_id);
|
||||
|
||||
INSERT INTO ad_window
|
||||
(ad_window_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, windowtype, issotrx, entitytype, processing, isdefault,
|
||||
winheight, winwidth, isbetafunctionality
|
||||
)
|
||||
VALUES (50006, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'System Configurator', 'M', 'Y', 'D', 'N', 'N',
|
||||
0, 0, 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_window_access
|
||||
(ad_window_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50006, 102, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_window_access
|
||||
(ad_window_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50006, 50001, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_window_access
|
||||
(ad_window_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50006, 0, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_window_access
|
||||
(ad_window_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50006, 103, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:39:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_table
|
||||
(ad_table_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, tablename, isview, accesslevel, entitytype, ad_window_id,
|
||||
loadseq, issecurityenabled, isdeleteable, ishighvolume,
|
||||
importtable, ischangelog, replicationtype, copycolumnsfromtable
|
||||
)
|
||||
VALUES (50009, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:41:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'System Configurator', 'AD_SysConfig', 'N', '6', 'D', 50006,
|
||||
0, 'N', 'Y', 'Y',
|
||||
'N', 'N', 'L', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_sequence
|
||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, isautosequence, incrementno, startno,
|
||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
||||
)
|
||||
VALUES (50009, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:41:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'AD_SysConfig', 'Table AD_SysConfig', 'Y', 1, 1000000,
|
||||
1000000, 50000, 'N', 'Y', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50044, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'AD_SysConfig_ID', 'D', 'System Configurator',
|
||||
'System Configurator'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50187, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:27', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:06', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'System Configurator', 0, 'D', 'AD_SysConfig_ID', 50009,
|
||||
13, 10, 'Y', 'N', 'Y',
|
||||
'N', 'N', 'N', 'N',
|
||||
'N', 50044, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||
)
|
||||
VALUES (50188, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:42:05', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Client', 'Client/Tenant for this installation.',
|
||||
'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',
|
||||
0, 'D', 'AD_Client_ID', 50009, 19,
|
||||
10, 'N', 'N', 'Y', 'N',
|
||||
'N', 'N', 'N', 'N',
|
||||
102, 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||
)
|
||||
VALUES (50189, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:42:08', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Organization', 'Organizational entity within client',
|
||||
'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',
|
||||
0, 'D', 'AD_Org_ID', 50009, 19,
|
||||
10, 'N', 'N', 'Y', 'N',
|
||||
'N', 'N', 'N', 'N',
|
||||
113, 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||
)
|
||||
VALUES (50190, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:28', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:21', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Created', 'Date this record was created',
|
||||
'The Created field indicates the date that this record was created.',
|
||||
0, 'D', 'Created', 50009, 16,
|
||||
7, 'N', 'N', 'Y', 'N',
|
||||
'N', 'N', 'N', 'N',
|
||||
245, 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||
)
|
||||
VALUES (50191, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Updated', 'Date this record was updated',
|
||||
'The Updated field indicates the date that this record was updated.',
|
||||
0, 'D', 'Updated', 50009, 16,
|
||||
7, 'N', 'N', 'Y', 'N',
|
||||
'N', 'N', 'N', 'N',
|
||||
607, 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
ad_reference_value_id, fieldlength, iskey, isparent,
|
||||
ismandatory, isupdateable, isidentifier, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50192, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:25', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Created By', 'User who created this records',
|
||||
'The Created By field indicates the user who created this record.',
|
||||
0, 'D', 'CreatedBy', 50009, 18,
|
||||
110, 10, 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 'N', 246, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50195, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:38', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Name', 'Alphanumeric identifier of the entity',
|
||||
'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',
|
||||
0, 'D', 'Name', 50009, 10,
|
||||
100, 'N', 'N', 'Y', 'Y',
|
||||
'Y', 1, 'N', 'N',
|
||||
'N', 469, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
ad_reference_value_id, fieldlength, iskey, isparent,
|
||||
ismandatory, isupdateable, isidentifier, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50193, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Updated By', 'User who updated this records',
|
||||
'The Updated By field indicates the user who updated this record.',
|
||||
0, 'D', 'UpdatedBy', 50009, 18,
|
||||
110, 10, 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 'N', 608, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||
)
|
||||
VALUES (50194, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:29', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:36', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Active', 'The record is active in the system',
|
||||
'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||
There are two reasons for de-activating and not deleting records:
|
||||
(1) The system requires the record for audit purposes.
|
||||
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.',
|
||||
0, 'D', 'IsActive', 50009, 20,
|
||||
1, 'N', 'N', 'Y', 'Y',
|
||||
'N', 'N', 'N', 'N',
|
||||
348, 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME,
|
||||
description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, istranslated, isencrypted, isselectioncolumn,
|
||||
ad_element_id, issyncdatabase, isalwaysupdateable
|
||||
)
|
||||
VALUES (50196, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:30', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Search Key',
|
||||
'Search key for the record in the format required - must be unique',
|
||||
'A search key allows you a fast method of finding a particular record.
|
||||
|
||||
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).',
|
||||
0, 'D', 'Value', 50009, 10,
|
||||
255, 'N', 'N', 'Y', 'Y',
|
||||
'N', 'N', 'N', 'N',
|
||||
620, 'N', 'N'
|
||||
);
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP, VERSION, entitytype,
|
||||
columnname, ad_table_id, ad_reference_id, fieldlength, iskey,
|
||||
isparent, ismandatory, isupdateable, isidentifier, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50197, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:41:30', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 01:43:33', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Description', 'Optional short description of the record',
|
||||
'A description is limited to 255 characters.', 0, 'D',
|
||||
'Description', 50009, 10, 255, 'N',
|
||||
'N', 'N', 'Y', 'N', 'N',
|
||||
'N', 'N', 275, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_tab
|
||||
(ad_tab_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, ad_table_id, ad_window_id, seqno, tablevel, issinglerow,
|
||||
isinfotab, istranslationtab, isreadonly, hastree, processing,
|
||||
importfields, issorttab, entitytype, isinsertrecord,
|
||||
isadvancedtab
|
||||
)
|
||||
VALUES (50009, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:45:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:45:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'System Configurator', 50009, 50006, 10, 0, 'N',
|
||||
'N', 'N', 'N', 'N', 'N',
|
||||
'N', 'N', 'D', 'Y',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylength, isreadonly, seqno, issameline, isheading,
|
||||
isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50162, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Client', 'Client/Tenant for this installation.',
|
||||
'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',
|
||||
'Y', 50009, 50188, 'Y',
|
||||
10, 'N', 10, 'N', 'N',
|
||||
'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylength, isreadonly, seqno, issameline, isheading,
|
||||
isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50161, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Active', 'The record is active in the system',
|
||||
'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
||||
There are two reasons for de-activating and not deleting records:
|
||||
(1) The system requires the record for audit purposes.
|
||||
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.',
|
||||
'Y', 50009, 50194, 'Y',
|
||||
1, 'N', 60, 'N', 'N',
|
||||
'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description,
|
||||
HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylength, isreadonly, seqno, issameline, isheading,
|
||||
isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50166, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Search Key',
|
||||
'Search key for the record in the format required - must be unique',
|
||||
'A search key allows you a fast method of finding a particular record.
|
||||
If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table (e.g. C_Order).',
|
||||
'Y', 50009, 50196, 'Y',
|
||||
255, 'N', 30, 'N', 'N',
|
||||
'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP, iscentrallymaintained, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50163, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Description', 'Optional short description of the record',
|
||||
'A description is limited to 255 characters.', 'Y', 50009,
|
||||
50197, 'Y', 255, 'N', 50,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylength, isreadonly, seqno, issameline, isheading,
|
||||
isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50165, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Organization', 'Organizational entity within client',
|
||||
'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',
|
||||
'Y', 50009, 50189, 'Y',
|
||||
10, 'N', 20, 'Y', 'N',
|
||||
'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylength, isreadonly, seqno, issameline, isheading,
|
||||
isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50164, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Name', 'Alphanumeric identifier of the entity',
|
||||
'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',
|
||||
'Y', 50009, 50195, 'Y',
|
||||
100, 'N', 40, 'N', 'N',
|
||||
'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
isdisplayed, displaylength, isreadonly, seqno, issameline,
|
||||
isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50167, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'System Configurator', 'Y', 50009, 50187,
|
||||
'N', 10, 'N', 0, 'N',
|
||||
'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_menu
|
||||
(ad_menu_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated,
|
||||
NAME, updatedby, issummary, issotrx, isreadonly, action,
|
||||
ad_window_id, entitytype
|
||||
)
|
||||
VALUES (50008, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:54', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 01:46:54', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
'System Configurator', 100, 'N', 'N', 'N', 'W',
|
||||
50006, 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_treenodemm
|
||||
(ad_tree_id, node_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
parent_id, seqno
|
||||
)
|
||||
VALUES (10, 50008, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 01:46:53', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('02/28/2007 01:47:50', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
161, 17
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
|
@ -1,590 +0,0 @@
|
|||
ALTER TABLE ad_role ADD
|
||||
allow_info_account CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_asset CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_bpartner CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_cashjournal CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_inout CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_invoice CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_order CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_payment CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_product CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_resource CHAR(1) DEFAULT 'Y';
|
||||
|
||||
ALTER TABLE ad_role ADD
|
||||
allow_info_schedule CHAR(1) DEFAULT 'Y';
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50045, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:24:32', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Account', 'D', 'Allow Info Account',
|
||||
'Allow Info Account'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50047, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:29:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_BPartner', 'D', 'Allow Info BPartner',
|
||||
'Allow Info BPartner'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50046, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:27:15', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Asset', 'D', 'Allow Info Asset', 'Allow Info Asset'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50051, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:31:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Order', 'D', 'Allow Info Order', 'Allow Info Order'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50052, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Payment', 'D', 'Allow Info Payment',
|
||||
'Allow Info Payment'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50053, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:15', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Product', 'D', 'Allow Info Product',
|
||||
'Allow Info Product'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50054, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Resource', 'D', 'Allow Info Resource',
|
||||
'Allow Info Resource'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50055, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:46', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Schedule', 'D', 'Allow Info Schedule',
|
||||
'Allow Info Schedule'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50049, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:31:13', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_InOut', 'D', 'Allow Info InOut', 'Allow Info InOut'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50048, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:30:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_CashJournal', 'D', 'Allow Info CashJournal',
|
||||
'Allow Info CashJournal'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50050, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Invoice', 'D', 'Allow Info Invoice',
|
||||
'Allow Info Invoice'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50198, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:26:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Account', 0, 'D', 'Allow_Info_Account', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50045, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50200, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:30:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info BPartner', 0, 'D', 'Allow_Info_BPartner', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50047, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50199, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:28:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Asset', 0, 'D', 'Allow_Info_Asset', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50046, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50204, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Order', 0, 'D', 'Allow_Info_Order', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50051, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50205, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:21', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Payment', 0, 'D', 'Allow_Info_Payment', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50052, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50206, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:22', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Product', 0, 'D', 'Allow_Info_Product', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50053, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50207, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:26', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Resource', 0, 'D', 'Allow_Info_Resource', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50054, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50208, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:27', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Schedule', 0, 'D', 'Allow_Info_Schedule', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50055, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50202, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:16', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info InOut', 0, 'D', 'Allow_Info_InOut', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50049, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname,
|
||||
ad_table_id, ad_reference_id, fieldlength, iskey, isparent,
|
||||
ismandatory, isupdateable, isidentifier, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50201, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:14', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info CashJournal', 0, 'D', 'Allow_Info_CashJournal',
|
||||
156, 20, 1, 'N', 'N',
|
||||
'N', 'Y', 'N', 'N',
|
||||
'N', 'N', 50048, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50203, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:19', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Invoice', 0, 'D', 'Allow_Info_Invoice', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50050, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_fieldgroup
|
||||
(ad_fieldgroup_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, entitytype
|
||||
)
|
||||
VALUES (50000, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:35:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info In Role', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50168, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Account', 'Y', 119, 50198,
|
||||
50000, 'Y', 1, 'N', 270,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50170, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:31', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info BPartner', 'Y', 119, 50200,
|
||||
50000, 'Y', 1, 'N', 290,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50169, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Asset', 'Y', 119, 50199,
|
||||
50000, 'Y', 1, 'N', 280,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50174, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Order', 'Y', 119, 50204,
|
||||
50000, 'Y', 1, 'N', 330,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50175, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Payment', 'Y', 119, 50205,
|
||||
50000, 'Y', 1, 'N', 340,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50176, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:36:06', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Product', 'Y', 119, 50206,
|
||||
50000, 'Y', 1, 'N', 350,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50177, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Resource', 'Y', 119, 50207,
|
||||
50000, 'Y', 1, 'N', 360,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50178, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:36:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Schedule', 'Y', 119, 50208,
|
||||
50000, 'Y', 1, 'N', 370,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50172, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:42', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info InOut', 'Y', 119, 50202,
|
||||
50000, 'Y', 1, 'N', 310,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50171, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info CashJournal', 'Y', 119, 50201,
|
||||
50000, 'Y', 1, 'N', 300,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50173, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:34', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Invoice', 'Y', 119, 50203,
|
||||
50000, 'Y', 1, 'N', 320,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
|
@ -1,323 +0,0 @@
|
|||
INSERT INTO ad_process
|
||||
(ad_process_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME, accesslevel, entitytype,
|
||||
isreport, isdirectprint, classname, statistic_count,
|
||||
statistic_seconds, isbetafunctionality, isserverprocess, showhelp
|
||||
)
|
||||
VALUES (50012, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Request EMail Processor', 'Request EMail Processor', '3', 'D',
|
||||
'N', 'N', 'org.compiere.process.RequestEMailProcessor', 0,
|
||||
0, 'N', 'N', 'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_access
|
||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50012, 0, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_access
|
||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50012, 50001, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_access
|
||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50012, 103, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_access
|
||||
(ad_process_id, ad_role_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
isreadwrite
|
||||
)
|
||||
VALUES (50012, 102, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:57:59', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50006, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:59:01', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:11:16', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'IMAP Host', 50012, 10, 10, 'p_IMAPHost',
|
||||
'Y', 60, 'Y', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50007, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:59:22', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:11:32', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'IMAP User', 50012, 20, 10, 'p_IMAPUser',
|
||||
'Y', 60, 'Y', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50008, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:59:34', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:11:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'IMAP Password', 50012, 30, 10, 'p_IMAPPwd',
|
||||
'Y', 60, 'Y', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50009, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:00:31', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:11:48', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Request Folder', 50012, 40, 10, 'p_RequestFolder',
|
||||
'Y', 60, 'Y', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50010, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:01:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:11:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Inbox Folder', 50012, 50, 10, 'p_InboxFolder',
|
||||
'Y', 60, 'Y', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50011, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:01:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:12:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Error Folder', 50012, 60, 10, 'p_ErrorFolder',
|
||||
'Y', 60, 'Y', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50012, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:02:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:12:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Business Partner', 'Identifies a Business Partner',
|
||||
'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson',
|
||||
50012, 70, 30, 'C_BPartner_ID',
|
||||
'Y', 10, 'N', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description,
|
||||
HELP,
|
||||
ad_process_id, seqno, ad_reference_id, ad_val_rule_id,
|
||||
columnname, iscentrallymaintained, fieldlength, ismandatory,
|
||||
isrange, defaultvalue, entitytype
|
||||
)
|
||||
VALUES (50013, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:02:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:12:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'User/Contact',
|
||||
'User within the system - Internal or Business Partner Contact',
|
||||
'The User identifies a unique user in the system. This could be an internal user or a business partner contact',
|
||||
50012, 80, 19, 123,
|
||||
'AD_User_ID', 'Y', 10, 'N',
|
||||
'N', '-1', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
defaultvalue, entitytype
|
||||
)
|
||||
VALUES (50014, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:03:31', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:12:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Role', 'Responsibility Role',
|
||||
'The Role determines security and access a user who has this Role will have in the System.',
|
||||
50012, 90, 19, 'AD_Role_ID',
|
||||
'Y', 10, 'N', 'N',
|
||||
'-1', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
ad_process_id, seqno, ad_reference_id, ad_reference_value_id,
|
||||
columnname, iscentrallymaintained, fieldlength, ismandatory,
|
||||
isrange, defaultvalue, entitytype
|
||||
)
|
||||
VALUES (50015, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:03:54', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:12:35', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Sales Representative', 'Sales Representative or Company Agent',
|
||||
'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.',
|
||||
50012, 100, 18, 286,
|
||||
'SalesRep_ID', 'Y', 10, 'N',
|
||||
'N', '@AD_User_ID@', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
ad_process_id, seqno, ad_reference_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50016, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:06:47', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:12:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Request Type', 'Type of request (e.g. Inquiry, Complaint, ..)',
|
||||
'Request Types are used for processing and categorizing requests. Options are Account Inquiry, Warranty Issue, etc.',
|
||||
50012, 110, 19, 'R_RequestType_ID',
|
||||
'Y', 10, 'N', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, ad_process_id,
|
||||
seqno, ad_reference_id, ad_reference_value_id, columnname,
|
||||
iscentrallymaintained, fieldlength, ismandatory, isrange,
|
||||
entitytype
|
||||
)
|
||||
VALUES (50017, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:09:52', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:12:58', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'User Importance', 'Priority of the issue for the User', 50012,
|
||||
120, 17, 154, 'p_DefaultPriority',
|
||||
'Y', 1, 'N', 'N',
|
||||
'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_process_para
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, ad_process_id, seqno, ad_reference_id,
|
||||
ad_reference_value_id, columnname, iscentrallymaintained,
|
||||
fieldlength, ismandatory, isrange, entitytype
|
||||
)
|
||||
VALUES (50018, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:10:19', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:13:05', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Confidentiality', 'Type of Confidentiality', 50012, 130, 17,
|
||||
340, 'p_DefaultConfidentiality', 'Y',
|
||||
1, 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_menu
|
||||
(ad_menu_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated,
|
||||
NAME, updatedby, issummary, issotrx, isreadonly, action,
|
||||
ad_process_id, entitytype
|
||||
)
|
||||
VALUES (50009, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:14:03', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 03:14:03', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
'Request EMail Processor', 100, 'N', 'N', 'N', 'P',
|
||||
50012, 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_treenodemm
|
||||
(ad_tree_id, node_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
parent_id, seqno
|
||||
)
|
||||
VALUES (10, 50009, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 03:14:02', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
TO_DATE ('02/28/2007 03:14:10', 'MM/DD/YYYY HH24:MI:SS'), 0,
|
||||
456, 5
|
||||
);
|
||||
|
||||
COMMIT ;
|
|
@ -1,115 +0,0 @@
|
|||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values
|
||||
(50063,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_ErrorFolder','D','Error Folder','Error Folder',null,null,
|
||||
null,null,null,null
|
||||
);
|
||||
|
||||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values
|
||||
(50062,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_RequestFolder','D','Request Folder','Request Folder',null,null,
|
||||
null,null,null,null
|
||||
);
|
||||
|
||||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values
|
||||
(50061,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_DefaultPriority','D','User Importance','User Importance','Priority of the issue for the User',null,null,
|
||||
null,null,null
|
||||
);
|
||||
|
||||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values
|
||||
(50060,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_IMAPHost','D','IMAP Host','IMAP Host',null,null,
|
||||
null,null,null,null
|
||||
);
|
||||
|
||||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values
|
||||
(50059,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_IMAPPwd','D','IMAP Password','IMAP Password',null,null,
|
||||
null,null,null,null
|
||||
);
|
||||
|
||||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values
|
||||
(50058,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_IMAPUser','D','IMAP User','IMAP User',null,null,
|
||||
null,null,null,null
|
||||
);
|
||||
|
||||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values (
|
||||
50057,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_DefaultConfidentiality','D','Confidentiality','Confidentiality','Type of Confidentiality',null,null,
|
||||
null,null,null
|
||||
);
|
||||
|
||||
insert into ad_element
|
||||
(ad_element_id,ad_client_id,ad_org_id,isactive,created,createdby,updated,updatedby,
|
||||
columnname,entitytype,name,printname,description,help,
|
||||
po_name,po_printname,po_description,po_help
|
||||
)
|
||||
values
|
||||
(50056,0,0,'Y',to_date('28-02-2007','DD-MM-RRRR'),0,to_date('28-02-2007','DD-MM-RRRR'),0,
|
||||
'p_InboxFolder','D','Inbox Folder','Inbox Folder',null,null,
|
||||
null,null,null,null
|
||||
);
|
||||
|
||||
commit;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_process_id) + 1
|
||||
FROM ad_process
|
||||
WHERE ad_process_id < 1000000)
|
||||
WHERE NAME = 'AD_Process';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_process_para_id) + 1
|
||||
FROM ad_process_para
|
||||
WHERE ad_process_para_id < 1000000)
|
||||
WHERE NAME = 'AD_Process_Para';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_menu_id) + 1
|
||||
FROM ad_menu
|
||||
WHERE ad_menu_id < 1000000)
|
||||
WHERE NAME = 'AD_Menu';
|
||||
|
||||
commit;
|
|
@ -1,106 +0,0 @@
|
|||
Insert into AD_ELEMENT
|
||||
(AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
||||
UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,
|
||||
HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP)
|
||||
values
|
||||
(50064,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,
|
||||
to_date('27.02.07','DD.MM.RR'),0,'JasperProcess_ID','D',
|
||||
'Jasper Process','Jasper Process',
|
||||
'The Jasper Process used by the printengine if any process defined'
|
||||
,null,null,null,null,null);
|
||||
|
||||
Insert into AD_VAL_RULE
|
||||
(AD_VAL_RULE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
||||
UPDATED,UPDATEDBY,NAME,DESCRIPTION,TYPE,CODE,ENTITYTYPE)
|
||||
values
|
||||
(270,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
||||
0,'AD_Process Jasper Reports',null,'S','AD_Process.JasperReport IS NOT NULL','D');
|
||||
|
||||
UPDATE AD_VAL_RULE
|
||||
SET CODE = 'AD_Process.IsReport=''Y'' AND AD_Process.JasperReport IS NULL'
|
||||
WHERE NAME = 'AD_Process Reports';
|
||||
|
||||
Insert into AD_REFERENCE
|
||||
(AD_REFERENCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
||||
UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,VALIDATIONTYPE,VFORMAT,ENTITYTYPE)
|
||||
values
|
||||
(400,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
||||
0,'AD_Process_JasperReports',null,null,'T',null,'D');
|
||||
|
||||
Insert into AD_REF_TABLE
|
||||
(AD_REFERENCE_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
||||
UPDATED,UPDATEDBY,AD_TABLE_ID,AD_KEY,AD_DISPLAY,ISVALUEDISPLAYED,
|
||||
WHERECLAUSE,ORDERBYCLAUSE,ENTITYTYPE)
|
||||
values
|
||||
(400,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
||||
0,284,2801,2809,'N','AD_Process.JasperReport IS NOT NULL',null,'D');
|
||||
|
||||
Insert into AD_COLUMN
|
||||
(AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,
|
||||
CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,
|
||||
COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,
|
||||
AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,
|
||||
ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,
|
||||
CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,
|
||||
AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL)
|
||||
values
|
||||
(50209,0,0,'Y',to_date('27.02.07','DD.MM.RR'),to_date('27.02.07','DD.MM.RR'),0,
|
||||
0,'Jasper Process','The Jasper Process used by the printengine if any process defined',
|
||||
null,1,'D','JasperProcess_ID',493,18,400,null,22,null,'N','N','N','Y',null,'N',0,'N',
|
||||
'N',null,null,null,null,'N',50064,null,'N','N',null);
|
||||
|
||||
Insert into AD_FIELD
|
||||
(AD_FIELD_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,
|
||||
UPDATED,UPDATEDBY,NAME,DESCRIPTION,HELP,ISCENTRALLYMAINTAINED,
|
||||
AD_TAB_ID,AD_COLUMN_ID,AD_FIELDGROUP_ID,ISDISPLAYED,DISPLAYLOGIC,
|
||||
DISPLAYLENGTH,ISREADONLY,SEQNO,SORTNO,ISSAMELINE,ISHEADING,
|
||||
ISFIELDONLY,ISENCRYPTED,ENTITYTYPE,OBSCURETYPE,AD_REFERENCE_ID,
|
||||
ISMANDATORY)
|
||||
values
|
||||
(50179,0,0,'Y',to_date('27.02.07','DD.MM.RR'),0,to_date('27.02.07','DD.MM.RR'),
|
||||
0,'Jasper Process','The Jasper Process used by the printengine if any process defined',
|
||||
null,'Y',425,50209,null,'Y',null,14,'N',195,0,'N','N','N','N','D',null,null,null);
|
||||
|
||||
COMMIT;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_val_rule_id) + 1
|
||||
FROM ad_val_rule
|
||||
WHERE ad_val_rule_id < 1000000)
|
||||
WHERE NAME = 'AD_Val_Rule';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_reference_id) + 1
|
||||
FROM ad_reference
|
||||
WHERE ad_reference_id < 1000000)
|
||||
WHERE NAME = 'AD_Reference';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_reference_id) + 1
|
||||
FROM ad_ref_table
|
||||
WHERE ad_reference_id < 1000000)
|
||||
WHERE NAME = 'AD_Ref_Table';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
COMMIT;
|
||||
|
||||
ALTER TABLE AD_PrintFormat ADD JasperProcess_ID NUMERIC(10);
|
||||
|
||||
COMMIT;
|
|
@ -1,6 +0,0 @@
|
|||
UPDATE ad_system
|
||||
SET releaseno = '315',
|
||||
version = '2007-02-28'
|
||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||
|
||||
COMMIT ;
|
|
@ -1,5 +0,0 @@
|
|||
UPDATE ad_entitytype
|
||||
SET NAME = 'Applications'
|
||||
WHERE entitytype = 'A';
|
||||
|
||||
COMMIT ;
|
|
@ -1,87 +0,0 @@
|
|||
INSERT INTO ad_sequence
|
||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description, isautosequence, incrementno, startno,
|
||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
||||
)
|
||||
VALUES (50014, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'DocumentNo_R_InterestArea',
|
||||
'DocumentNo/Value for Table R_InterestArea', 'Y', 1, 1000000,
|
||||
1000000, 50000, 'N', 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_sequence
|
||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description, isautosequence, incrementno, startno,
|
||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
||||
)
|
||||
VALUES (50013, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'DocumentNo_AD_SysConfig',
|
||||
'DocumentNo/Value for Table AD_SysConfig', 'Y', 1, 1000000,
|
||||
1000000, 50000, 'N', 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_sequence
|
||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description, isautosequence, incrementno, startno,
|
||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
||||
)
|
||||
VALUES (50012, 11, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'DocumentNo_AD_SysConfig',
|
||||
'DocumentNo/Value for Table AD_SysConfig', 'Y', 1, 1000000,
|
||||
1000000, 50000, 'N', 'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_sequence
|
||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, isautosequence,
|
||||
incrementno, startno, currentnext, currentnextsys, isaudited,
|
||||
istableid, startnewyear
|
||||
)
|
||||
VALUES (50011, 11, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'DocumentNo_AD_User', 'DocumentNo/Value for Table AD_User', 'Y',
|
||||
1, 1000000, 1000000, 50000, 'N',
|
||||
'N', 'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_sequence
|
||||
(ad_sequence_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME,
|
||||
description, isautosequence, incrementno, startno,
|
||||
currentnext, currentnextsys, isaudited, istableid, startnewyear
|
||||
)
|
||||
VALUES (50010, 11, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 17:06:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'DocumentNo_R_InterestArea',
|
||||
'DocumentNo/Value for Table R_InterestArea', 'Y', 1, 1000000,
|
||||
1000000, 50000, 'N', 'N', 'N'
|
||||
);
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_sequence_id) + 1
|
||||
FROM ad_sequence
|
||||
WHERE ad_sequence_id < 1000000)
|
||||
WHERE NAME = 'AD_Sequence';
|
||||
|
||||
COMMIT ;
|
|
@ -1,9 +0,0 @@
|
|||
Insert into "ad_ref_list"
|
||||
("ad_ref_list_id","ad_client_id","ad_org_id","isactive","created","createdby",
|
||||
"updated","updatedby","value","name","description","ad_reference_id","validfrom",
|
||||
"validto","entitytype")
|
||||
values
|
||||
(50040,0,0,'Y',to_date('02.03.07','DD.MM.RR'),0,to_date('02.03.07','DD.MM.RR'),
|
||||
0,'S','Run silently - Take Defaults',null,50007,null,null,'D');
|
||||
|
||||
COMMIT;
|
|
@ -1,5 +0,0 @@
|
|||
UPDATE ad_column
|
||||
SET iskey = 'N'
|
||||
WHERE ad_column_id = 203;
|
||||
|
||||
COMMIT ;
|
|
@ -1,2 +0,0 @@
|
|||
UPDATE AD_Reference SET Name='C_Invoice InvoiceCollectionType' WHERE AD_Reference_ID=394;
|
||||
commit;
|
|
@ -1,105 +0,0 @@
|
|||
UPDATE ad_message_trl
|
||||
SET msgtext = 'de'
|
||||
WHERE ad_message_id = 620 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_process_trl
|
||||
SET NAME = 'Crear Columnas desde BD'
|
||||
WHERE ad_process_id = 173 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET NAME = 'Crear Columnas desde BD'
|
||||
WHERE ad_field_id = 5126 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET NAME = 'Factura de solicitud'
|
||||
WHERE ad_menu_id = 535 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET NAME = 'Dirección',
|
||||
printname = 'Dirección',
|
||||
description =
|
||||
'Dirección de la Tarjeta de Crédito o el Poseedor de la cuenta'
|
||||
WHERE ad_element_id = 1356 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_column_trl
|
||||
SET NAME = 'Dirección'
|
||||
WHERE ad_column_id = 5234 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET NAME = 'Dirección',
|
||||
description =
|
||||
'Dirección de la Tarjeta de Crédito o el Poseedor de la cuenta'
|
||||
WHERE ad_field_id = 4102 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET NAME = 'Descripción del Contacto',
|
||||
printname = 'Descripción del Contacto'
|
||||
WHERE ad_element_id = 1907 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET NAME = 'Descripción del Contacto'
|
||||
WHERE ad_field_id = 5946 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_workflow_trl
|
||||
SET NAME = 'Configuración de Replicación',
|
||||
istranslated = 'Y',
|
||||
description = 'Configuración de replicación de datos',
|
||||
HELP =
|
||||
'La replicación de datos le permite sincronizar datos de instancias remotas con una oficina central. Todas las acciones son inicializadas desde la oficina central.<p>
|
||||
<b>Sistema Central:</b><br>
|
||||
- configurar el sistema con todas las organizaciones, roles, etc.<br>
|
||||
- correr la migración para asegurar que todo esté actualizado<br>
|
||||
- exportar el sistema central
|
||||
<p>
|
||||
<b>Sistema Remoto:</b>
|
||||
- instalar la versión exacta como en el sistema central<br>
|
||||
- importar datos del sistema central en las localizaciones remotas
|
||||
<p>
|
||||
<b>Sistema Central:</b>
|
||||
- Definir Replicación por cada Remoto<br>
|
||||
- Asegurarse que el rango de IDs es único por remoto - de lo contrario se perderán transacciones!<br>
|
||||
- Inicialmente empezar la corrida de replicación para fijar el Remoto
|
||||
<p>
|
||||
** Ingresar Transacciones **
|
||||
<p>
|
||||
<b>Sistema Central:</b><br>
|
||||
- Empezar la corrida de replicación cuando se requiera'
|
||||
WHERE ad_workflow_id = 109 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET NAME = 'Configuración de Replicación'
|
||||
WHERE ad_menu_id = 395 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_wf_node_trl
|
||||
SET HELP =
|
||||
'Los usuarios pueden registrarse en el sistema y tener acceso a la funcionalidad via uno o más roles. Esto permite al usuario ser tratado como representante de ventas en el sistema.'
|
||||
WHERE ad_wf_node_id = 140 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET NAME = 'Algoritmo Conciliación'
|
||||
WHERE ad_menu_id = 437 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET NAME = 'Algoritmo Conciliación'
|
||||
WHERE ad_window_id = 302 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_element_trl
|
||||
SET NAME = 'Contacto del menú',
|
||||
printname = 'Contacto del menú'
|
||||
WHERE ad_element_id = 2743 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_field_trl
|
||||
SET NAME = 'Contacto del menú'
|
||||
WHERE ad_field_id = 11559 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_menu_trl
|
||||
SET NAME = 'País, Región y Ciudad',
|
||||
description = 'Mantener países, regiones y ciudades'
|
||||
WHERE ad_menu_id = 109 AND ad_language = 'es_MX';
|
||||
|
||||
UPDATE ad_window_trl
|
||||
SET NAME = 'País, Región y Ciudad',
|
||||
description = 'Mantener países, regiones y ciudades'
|
||||
WHERE ad_window_id = 122 AND ad_language = 'es_MX';
|
||||
|
||||
COMMIT ;
|
|
@ -1,32 +0,0 @@
|
|||
CREATE OR REPLACE VIEW RV_STORAGE
|
||||
(AD_CLIENT_ID, AD_ORG_ID, M_PRODUCT_ID, VALUE, NAME,
|
||||
DESCRIPTION, UPC, SKU, C_UOM_ID, M_PRODUCT_CATEGORY_ID,
|
||||
CLASSIFICATION, WEIGHT, VOLUME, VERSIONNO, GUARANTEEDAYS,
|
||||
GUARANTEEDAYSMIN, M_LOCATOR_ID, M_WAREHOUSE_ID, X, Y,
|
||||
Z, QTYONHAND, QTYRESERVED, QTYAVAILABLE, QTYORDERED,
|
||||
DATELASTINVENTORY, M_ATTRIBUTESETINSTANCE_ID, M_ATTRIBUTESET_ID, SERNO, LOT,
|
||||
M_LOT_ID, GUARANTEEDATE, SHELFLIFEDAYS, GOODFORDAYS, SHELFLIFEREMAININGPCT)
|
||||
AS
|
||||
SELECT s.AD_Client_ID, s.AD_Org_ID,
|
||||
-- Product
|
||||
s.M_Product_ID,p.Value,p.Name,p.Description,p.UPC,p.SKU,
|
||||
p.C_UOM_ID,p.M_Product_Category_ID,p.Classification, p.Weight,p.Volume,p.VersionNo,
|
||||
p.GuaranteeDays,p.GuaranteeDaysMin,
|
||||
-- Locator
|
||||
s.M_Locator_ID, l.M_Warehouse_ID, l.X, l.Y, l.Z,
|
||||
-- Storage
|
||||
s.QtyOnHand, s.QtyReserved, s.QtyOnHand-s.QtyReserved AS QtyAvailable,
|
||||
s.QtyOrdered, s.DateLastInventory,
|
||||
-- Instance
|
||||
s.M_AttributeSetInstance_ID, asi.M_AttributeSet_ID, asi.SerNo, asi.Lot, asi.M_Lot_ID,
|
||||
asi.GuaranteeDate, -- see PAttributeInstance.java
|
||||
daysBetween(asi.GuaranteeDate,getdate()) AS ShelfLifeDays,
|
||||
daysBetween(asi.GuaranteeDate,getdate())-p.GuaranteeDaysMin AS GoodForDays,
|
||||
CASE WHEN COALESCE(p.GuaranteeDays,0)>0 THEN ROUND((daysBetween(asi.GuaranteeDate,getdate())/p.GuaranteeDays)*100,0) ELSE NULL END AS ShelfLifeRemainingPct
|
||||
FROM M_Storage s
|
||||
INNER JOIN M_Locator l ON (s.M_Locator_ID=l.M_Locator_ID)
|
||||
INNER JOIN M_Product p ON (s.M_Product_ID=p.M_Product_ID)
|
||||
LEFT OUTER JOIN M_AttributeSetInstance asi ON (s.M_AttributeSetInstance_ID=asi.M_AttributeSetInstance_ID);
|
||||
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
UPDATE AD_WINDOW
|
||||
SET winheight = NULL,
|
||||
winwidth = NULL
|
||||
WHERE ad_window_id = 123;
|
||||
|
||||
COMMIT ;
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +0,0 @@
|
|||
UPDATE AD_SYSTEM
|
||||
SET releaseno = '316',
|
||||
VERSION = '2007-04-01'
|
||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||
|
||||
COMMIT ;
|
|
@ -1,148 +0,0 @@
|
|||
-- ADD C_AcctSchema.IsAllowNegativePosting - postgres script
|
||||
|
||||
ALTER TABLE C_ACCTSCHEMA ADD COLUMN IsAllowNegativePosting CHAR(1) DEFAULT 'Y' CHECK (IsAllowNegativePosting IN ('Y','N'));
|
||||
|
||||
INSERT INTO AD_ELEMENT
|
||||
(ad_org_id, ad_element_id, columnname,
|
||||
created,
|
||||
createdby, description, entitytype, isactive,
|
||||
NAME, printname,
|
||||
updated,
|
||||
ad_client_id, updatedby
|
||||
)
|
||||
VALUES (0, 50065, 'IsAllowNegativePosting',
|
||||
TO_TIMESTAMP ('2007-04-03 18:17:38', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
100, 'Allow to post negative accounting values', 'D', 'Y',
|
||||
'Allow Negative Posting', 'Allow Negative Posting',
|
||||
TO_TIMESTAMP ('2007-04-03 18:17:38', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
0, 100
|
||||
);
|
||||
|
||||
INSERT INTO AD_COLUMN
|
||||
(ad_org_id, ad_element_id, ad_reference_id, ad_table_id,
|
||||
columnname,
|
||||
created,
|
||||
createdby, defaultvalue, description, entitytype, fieldlength,
|
||||
isactive, isalwaysupdateable, isencrypted, isidentifier, iskey,
|
||||
ismandatory, isparent, isselectioncolumn, issyncdatabase,
|
||||
istranslated, isupdateable, NAME, seqno,
|
||||
updated,
|
||||
updatedby, VERSION, ad_client_id, ad_column_id
|
||||
)
|
||||
VALUES (0, 50065, 20, 265,
|
||||
'IsAllowNegativePosting',
|
||||
TO_TIMESTAMP ('2007-04-03 18:20:00', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
100, 'Y', 'Allow to post negative accounting values', 'D', 1,
|
||||
'Y', 'N', 'N', 'N', 'N',
|
||||
'N', 'N', 'N', 'N',
|
||||
'N', 'Y', 'Allow Negative Posting', 0,
|
||||
TO_TIMESTAMP ('2007-04-03 18:20:00', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
100, 0, 0, 50210
|
||||
);
|
||||
|
||||
INSERT INTO AD_FIELD
|
||||
(ad_column_id, ad_org_id, ad_tab_id,
|
||||
created,
|
||||
createdby, description, displaylength, entitytype, isactive,
|
||||
iscentrallymaintained, isdisplayed, isencrypted, isfieldonly,
|
||||
isheading, isreadonly, issameline, NAME,
|
||||
updated,
|
||||
ad_client_id, updatedby, ad_field_id
|
||||
)
|
||||
VALUES (50210, 0, 199,
|
||||
TO_TIMESTAMP ('2007-04-03 18:25:16', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
100, 'Allow to post negative accounting values', 1, 'D', 'Y',
|
||||
'Y', 'Y', 'N', 'N',
|
||||
'N', 'N', 'N', 'Allow Negative Posting',
|
||||
TO_TIMESTAMP ('2007-04-03 18:25:16', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
0, 100, 50180
|
||||
);
|
||||
|
||||
UPDATE AD_FIELD
|
||||
SET seqno = 260,
|
||||
updated = TO_TIMESTAMP ('2007-04-03 18:26:28', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
updatedby = 100
|
||||
WHERE ad_field_id = 12522;
|
||||
|
||||
UPDATE AD_FIELD
|
||||
SET issameline = 'Y',
|
||||
seqno = 250,
|
||||
updated = TO_TIMESTAMP ('2007-04-03 18:31:50', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
updatedby = 100
|
||||
WHERE ad_field_id = 50180;
|
||||
|
||||
-- update sequences
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM AD_ELEMENT
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM AD_COLUMN
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM AD_FIELD
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
-- insert translation tables
|
||||
|
||||
INSERT INTO AD_ELEMENT_TRL
|
||||
(ad_element_id, AD_LANGUAGE, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby, updated, updatedby, NAME, printname,
|
||||
description, HELP, po_name, po_printname, po_description,
|
||||
po_help, istranslated)
|
||||
SELECT e.ad_element_id, l.AD_LANGUAGE, e.ad_client_id, e.ad_org_id,
|
||||
e.isactive, e.created, e.createdby, e.updated, e.updatedby, e.NAME,
|
||||
e.printname, e.description, e.HELP, e.po_name, e.po_printname,
|
||||
e.po_description, e.po_help, 'N'
|
||||
FROM AD_ELEMENT e, AD_LANGUAGE l
|
||||
WHERE e.ad_element_id = 50065
|
||||
AND l.issystemlanguage = 'Y'
|
||||
AND l.isbaselanguage = 'N'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM AD_ELEMENT_TRL et
|
||||
WHERE et.ad_element_id = e.ad_element_id
|
||||
AND et.AD_LANGUAGE = l.AD_LANGUAGE);
|
||||
|
||||
INSERT INTO AD_COLUMN_TRL
|
||||
(ad_column_id, AD_LANGUAGE, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby, updated, updatedby, NAME, istranslated)
|
||||
SELECT c.ad_column_id, l.AD_LANGUAGE, c.ad_client_id, c.ad_org_id,
|
||||
c.isactive, c.created, c.createdby, c.updated, c.updatedby, c.NAME,
|
||||
'N'
|
||||
FROM AD_COLUMN c, AD_LANGUAGE l
|
||||
WHERE c.ad_column_id = 50210
|
||||
AND l.issystemlanguage = 'Y'
|
||||
AND l.isbaselanguage = 'N'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM AD_COLUMN_TRL ct
|
||||
WHERE ct.ad_column_id = c.ad_column_id
|
||||
AND ct.AD_LANGUAGE = l.AD_LANGUAGE);
|
||||
|
||||
INSERT INTO AD_FIELD_TRL
|
||||
(ad_field_id, AD_LANGUAGE, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby, updated, updatedby, NAME, description, HELP,
|
||||
istranslated)
|
||||
SELECT f.ad_field_id, l.AD_LANGUAGE, f.ad_client_id, f.ad_org_id,
|
||||
f.isactive, f.created, f.createdby, f.updated, f.updatedby, f.NAME,
|
||||
f.description, f.HELP, 'N'
|
||||
FROM AD_FIELD f, AD_LANGUAGE l
|
||||
WHERE f.ad_field_id = 50180
|
||||
AND l.issystemlanguage = 'Y'
|
||||
AND l.isbaselanguage = 'N'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM AD_FIELD_TRL ft
|
||||
WHERE ft.ad_field_id = f.ad_field_id
|
||||
AND ft.AD_LANGUAGE = l.AD_LANGUAGE);
|
||||
|
||||
COMMIT ;
|
|
@ -1,4 +0,0 @@
|
|||
-- Fix I_Product.X12DE355 FieldLength:
|
||||
ALTER TABLE i_product ALTER x12de355 TYPE character varying(4);
|
||||
UPDATE AD_Column SET FieldLength=4 WHERE AD_Column_ID=7862;
|
||||
COMMIT;
|
|
@ -1,52 +0,0 @@
|
|||
ALTER TABLE C_CHARGE_ACCT DROP CONSTRAINT CCHRAGE_CCHARGEACCT;
|
||||
ALTER TABLE C_CHARGE_ACCT ADD CONSTRAINT CCHRAGE_CCHARGEACCT
|
||||
FOREIGN KEY (C_CHARGE_ID) REFERENCES C_CHARGE(C_CHARGE_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
|
||||
ALTER TABLE A_ASSET_ACCT DROP CONSTRAINT AASSET_AASSETACCT;
|
||||
ALTER TABLE A_ASSET_ACCT ADD CONSTRAINT AASSET_AASSETACCT
|
||||
FOREIGN KEY (A_ASSET_ID) REFERENCES A_ASSET(A_ASSET_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
|
||||
ALTER TABLE A_ASSET_GROUP_ACCT DROP CONSTRAINT AASSETGROUP_AASSETGROUPACCT;
|
||||
ALTER TABLE A_ASSET_GROUP_ACCT ADD CONSTRAINT AASSETGROUP_AASSETGROUPACCT
|
||||
FOREIGN KEY (A_ASSET_GROUP_ID) REFERENCES A_ASSET_GROUP (A_ASSET_GROUP_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
|
||||
ALTER TABLE C_BANKACCOUNT_ACCT DROP CONSTRAINT CBANKACCOUNT_CBANKACCTACCT;
|
||||
ALTER TABLE C_BANKACCOUNT_ACCT ADD CONSTRAINT CBANKACCOUNT_CBANKACCTACCT
|
||||
FOREIGN KEY (C_BANKACCOUNT_ID) REFERENCES C_BANKACCOUNT (C_BANKACCOUNT_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
|
||||
ALTER TABLE C_BP_GROUP_ACCT DROP CONSTRAINT CBPGROUP_CBPGROUPACCT;
|
||||
ALTER TABLE C_BP_GROUP_ACCT ADD CONSTRAINT CBPGROUP_CBPGROUPACCT
|
||||
FOREIGN KEY (C_BP_GROUP_ID) REFERENCES C_BP_GROUP (C_BP_GROUP_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
|
||||
ALTER TABLE C_INTERORG_ACCT DROP CONSTRAINT ADORG_CINTERORGACCT;
|
||||
ALTER TABLE C_INTERORG_ACCT ADD CONSTRAINT ADORG_CINTERORGACCT
|
||||
FOREIGN KEY (AD_ORG_ID) REFERENCES AD_ORG (AD_ORG_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
ALTER TABLE C_INTERORG_ACCT DROP CONSTRAINT ADORGTO_CINTERORGACCT;
|
||||
ALTER TABLE C_INTERORG_ACCT ADD CONSTRAINT ADORGTO_CINTERORGACCT
|
||||
FOREIGN KEY (AD_ORGTO_ID) REFERENCES AD_ORG (AD_ORG_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
|
||||
ALTER TABLE C_CURRENCY_ACCT DROP CONSTRAINT CACCTSCHEMA_CCURRENCYACCT;
|
||||
ALTER TABLE C_CURRENCY_ACCT ADD CONSTRAINT CACCTSCHEMA_CCURRENCYACCT
|
||||
FOREIGN KEY (C_ACCTSCHEMA_ID) REFERENCES C_ACCTSCHEMA (C_ACCTSCHEMA_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
||||
|
||||
ALTER TABLE C_CURRENCY_ACCT DROP CONSTRAINT CCURRENCY_CCURRENCYACCT;
|
||||
ALTER TABLE C_CURRENCY_ACCT ADD CONSTRAINT CCURRENCY_CCURRENCYACCT
|
||||
FOREIGN KEY (C_CURRENCY_ID) REFERENCES C_CURRENCY (C_CURRENCY_ID)
|
||||
ON DELETE CASCADE
|
||||
DEFERRABLE INITIALLY DEFERRED;
|
|
@ -1,5 +0,0 @@
|
|||
UPDATE AD_FIELD
|
||||
SET issameline = 'N'
|
||||
WHERE ad_field_id = 2204;
|
||||
|
||||
COMMIT;
|
|
@ -1,7 +0,0 @@
|
|||
UPDATE AD_COLUMN
|
||||
SET ad_reference_value_id = 182,
|
||||
updated = TO_TIMESTAMP ('2007-04-22 23:11:58', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
updatedby = 100
|
||||
WHERE ad_column_id = 7968;
|
||||
|
||||
COMMIT;
|
|
@ -1,102 +0,0 @@
|
|||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50070, 0, 0, 'Y',
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'M_Product_Category_Parent_ID', 'D', 'Parent Product Category',
|
||||
'Parent Product Category'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, name, description, help, version,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
ad_reference_value_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, callout, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50211, 0, 0, 'Y',
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Parent Product Category', 'Parent Product Category', 'The parent product category is used to build a category tree.', 1,
|
||||
'D', 'M_Product_Category_Parent_ID', 209, 18,
|
||||
163,
|
||||
22, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50070, 'org.compiere.model.CalloutProductCategory.testForLoop', 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
name, description, iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50181, 0, 0, 'Y',
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Parent Product Category', 'Parent Product Category', 'Y', 60, 189,
|
||||
50211, 'Y', 22, 'N',
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
value, msgtext, msgtype
|
||||
)
|
||||
VALUES (50014, 0, 0, 'Y',
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('04/24/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'ProductCategoryLoopDetected',
|
||||
'A loop in the product category tree has been detected - the old value will be restored','E'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||
FROM ad_message
|
||||
WHERE ad_message_id < 1000000)
|
||||
WHERE NAME = 'AD_Message';
|
||||
|
||||
|
||||
ALTER TABLE M_Product_Category ADD M_Product_Category_Parent_ID NUMERIC(10);
|
||||
ALTER TABLE M_Product_Category ADD CONSTRAINT MProductCat_ParentCat FOREIGN KEY (M_Product_Category_Parent_ID)
|
||||
REFERENCES M_Product_Category (M_Product_Category_ID);
|
||||
UPDATE AD_Column SET IsSelectionColumn='Y' WHERE AD_Column_ID=2012;
|
||||
|
||||
COMMIT ;
|
|
@ -1,32 +0,0 @@
|
|||
-- juddm BugFix:(Country Changes)
|
||||
|
||||
--add Serbian currency
|
||||
INSERT INTO C_CURRENCY
|
||||
(C_CURRENCY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISO_CODE,
|
||||
CURSYMBOL, DESCRIPTION, STDPRECISION, COSTINGPRECISION, ISEURO, ISEMUMEMBER)
|
||||
VALUES(347, 0, 0, 'Y', TO_TIMESTAMP('2003-08-06','YYYY-MM-DD'),0, TO_TIMESTAMP('2000-01-02','YYYY-MM-DD'), 0, 'RSD',
|
||||
'RSD', 'Serbian Dinar', 2, 4, 'N', 'N');
|
||||
|
||||
-- add country Serbia
|
||||
INSERT INTO C_COUNTRY
|
||||
(C_COUNTRY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
|
||||
NAME, DESCRIPTION, COUNTRYCODE, HASREGION, DISPLAYSEQUENCE, HASPOSTAL_ADD, C_CURRENCY_ID,
|
||||
ISADDRESSLINESREVERSE, ISADDRESSLINESLOCALREVERSE)
|
||||
VALUES (349, 0, 0, 'Y', TO_TIMESTAMP('2003-03-09', 'YYYY-MM-DD'), 0, TO_TIMESTAMP('2000-01-02','YYYY-MM-DD'), 0,
|
||||
'Serbia', 'Serbia', 'RS', 'N', '@C@, @P@', 'N', 347, 'N', 'N');
|
||||
|
||||
-- add country Montenegro
|
||||
INSERT INTO C_COUNTRY
|
||||
(C_COUNTRY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
|
||||
NAME, DESCRIPTION, COUNTRYCODE, HASREGION, DISPLAYSEQUENCE, HASPOSTAL_ADD, C_CURRENCY_ID,
|
||||
ISADDRESSLINESREVERSE, ISADDRESSLINESLOCALREVERSE)
|
||||
VALUES (350, 0, 0, 'Y', TO_TIMESTAMP('2003-03-09','YYYY-MM-DD'), 0, TO_TIMESTAMP('2000-01-02','YYYY-MM-DD'), 0,
|
||||
'Montenegro', 'Montenegro', 'ME', 'N', '@C@, @P@', 'N', 102, 'N', 'N');
|
||||
|
||||
-- deactivate Yugoslavia
|
||||
UPDATE C_COUNTRY SET ISACTIVE = 'N' WHERE C_COUNTRY_ID=346;
|
||||
|
||||
-- deactivate Yugoslavia currency
|
||||
UPDATE C_CURRENCY SET ISACTIVE = 'N' WHERE C_CURRENCY_ID = 314;
|
||||
|
||||
COMMIT;
|
|
@ -1,79 +0,0 @@
|
|||
ALTER TABLE AD_PACKAGE_EXP_DETAIL ADD ad_val_rule_id NUMERIC(10);
|
||||
|
||||
INSERT INTO AD_COLUMN
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP,
|
||||
VERSION, entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50212, 0, 0, 'Y',
|
||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'),
|
||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
||||
100, 'Dynamic Validation', 'Dynamic Validation Rule',
|
||||
'These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',
|
||||
0, 'D', 'AD_Val_Rule_ID', 50006, 18,
|
||||
22, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 139, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO AD_FIELD
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylogic, displaylength, isreadonly, seqno, issameline,
|
||||
isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50182, 0, 0, 'Y',
|
||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
||||
'Dynamic Validation', 'Dynamic Validation Rule',
|
||||
'These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',
|
||||
'Y', 50006, 50212, 'Y',
|
||||
'@Type@=''V''', 22, 'N', 245, 'N',
|
||||
'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO AD_REF_LIST
|
||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME, ad_reference_id, entitytype
|
||||
)
|
||||
VALUES (50041, 0, 0, 'Y',
|
||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
||||
TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
||||
'V', 'Dynamic Validation Rule', 50004, 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM AD_COLUMN
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM AD_FIELD
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
||||
FROM AD_REF_LIST
|
||||
WHERE ad_ref_list_id < 1000000)
|
||||
WHERE NAME = 'AD_Ref_List';
|
||||
|
||||
COMMIT ;
|
|
@ -1,20 +0,0 @@
|
|||
-- Bug Fix
|
||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1707995&group_id=176962&atid=879332
|
||||
|
||||
INSERT INTO AD_VAL_RULE (ad_val_rule_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description,
|
||||
type, code, entitytype )
|
||||
VALUES(271, 0, 0, 'Y', TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100, TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100, 'M_PriceList is SO/PO', 'Limits the Sales & Purchase Order window to the correct price lsits',
|
||||
'S', '(M_PriceList.IsSOPriceList = ''Y'' AND ''@IsSOTrx@''=''Y'') OR (M_PriceList.IsSOPriceList = ''N'' AND ''@IsSOTrx@''=''N'')', 'D');
|
||||
|
||||
UPDATE AD_COLUMN set ad_val_rule_id = 271 where ad_column_id = 2204;
|
||||
|
||||
|
||||
COMMIT;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_val_rule_id) + 1
|
||||
FROM AD_VAL_RULE
|
||||
WHERE ad_val_rule_id < 1000000)
|
||||
WHERE NAME = 'AD_Val_Rule';
|
||||
|
||||
COMMIT;
|
|
@ -1,18 +0,0 @@
|
|||
-- Feature Request - Allow rounding up of price list (schema) to nearest 5 or 9 unit of currency
|
||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1708139&group_id=176962&atid=879335
|
||||
|
||||
INSERT INTO AD_REF_LIST
|
||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby,
|
||||
value, name, description, ad_reference_id, validfrom, validto, entitytype )
|
||||
VALUES (50042, 0, 0, 'Y', TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'),100, TO_TIMESTAMP('2007-04-26','YYYY-MM-DD'), 100,
|
||||
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,NULL,NULL,'D');
|
||||
|
||||
COMMIT;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
||||
FROM AD_REF_LIST
|
||||
WHERE ad_ref_list_id < 1000000)
|
||||
WHERE NAME = 'AD_Ref_List';
|
||||
|
||||
COMMIT;
|
|
@ -1,8 +0,0 @@
|
|||
-- equivalent cleaner code
|
||||
|
||||
UPDATE AD_VAL_RULE
|
||||
SET code = 'M_PriceList.IsSOPriceList = ''@IsSOTrx@'''
|
||||
WHERE ad_val_rule_id = 271;
|
||||
|
||||
COMMIT;
|
||||
|
|
@ -1,111 +0,0 @@
|
|||
create or replace function altercolumn(tablename name, columnname name, datatype name,
|
||||
nullclause varchar, defaultclause varchar) returns void as $$
|
||||
declare
|
||||
command text;
|
||||
viewtext text[];
|
||||
viewname name[];
|
||||
dropviews name[];
|
||||
i int;
|
||||
j int;
|
||||
v record;
|
||||
sqltype text;
|
||||
sqltype_short text;
|
||||
typename name;
|
||||
begin
|
||||
if datatype is not null then
|
||||
select pg_type.typname, format_type(pg_type.oid, pg_attribute.atttypmod)
|
||||
into typename, sqltype
|
||||
from pg_class, pg_attribute, pg_type
|
||||
where relname = lower(tablename)
|
||||
and relkind = 'r'
|
||||
and pg_class.oid = pg_attribute.attrelid
|
||||
and attname = lower(columnname)
|
||||
and atttypid = pg_type.oid;
|
||||
sqltype_short := sqltype;
|
||||
if typename = 'numeric' then
|
||||
sqltype_short := replace(sqltype, ',0', '');
|
||||
elsif strpos(sqltype,'character varying') = 1 then
|
||||
sqltype_short := replace(sqltype, 'character varying', 'varchar');
|
||||
elsif sqltype = 'timestamp without time zone' then
|
||||
sqltype_short := 'timestamp';
|
||||
end if;
|
||||
if lower(datatype) <> sqltype and lower(datatype) <> sqltype_short then
|
||||
i := 0;
|
||||
for v in select a.relname, a.oid
|
||||
from pg_class a, pg_depend b, pg_depend c, pg_class d, pg_attribute e
|
||||
where a.oid = b.refobjid
|
||||
and b.objid = c.objid
|
||||
and b.refobjid <> c.refobjid
|
||||
and b.deptype = 'n'
|
||||
and c.refobjid = d.oid
|
||||
and d.relname = lower(tablename)
|
||||
and d.relkind = 'r'
|
||||
and d.oid = e.attrelid
|
||||
and e.attname = lower(columnname)
|
||||
and c.refobjsubid = e.attnum
|
||||
and a.relkind = 'v'
|
||||
loop
|
||||
i := i + 1;
|
||||
viewtext[i] := pg_get_viewdef(v.oid);
|
||||
viewname[i] := v.relname;
|
||||
end loop;
|
||||
if i > 0 then
|
||||
begin
|
||||
for j in 1 .. i loop
|
||||
command := 'drop view ' || viewname[j];
|
||||
execute command;
|
||||
dropviews[j] := viewname[j];
|
||||
end loop;
|
||||
exception
|
||||
when others then
|
||||
i := array_upper(dropviews, 1);
|
||||
if i > 0 then
|
||||
for j in 1 .. i loop
|
||||
command := 'create or replace view ' || dropviews[j] || ' as ' || viewtext[j];
|
||||
execute command;
|
||||
end loop;
|
||||
end if;
|
||||
raise exception 'Failed to recreate dependent view';
|
||||
end;
|
||||
end if;
|
||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' type ' || lower(datatype);
|
||||
execute command;
|
||||
i := array_upper(dropviews, 1);
|
||||
if i > 0 then
|
||||
for j in 1 .. i loop
|
||||
command := 'create or replace view ' || dropviews[j] || ' as ' || viewtext[j];
|
||||
execute command;
|
||||
end loop;
|
||||
end if;
|
||||
end if;
|
||||
end if;
|
||||
|
||||
if defaultclause is not null then
|
||||
if lower(defaultclause) = 'null' then
|
||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' drop default ';
|
||||
else
|
||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' set default ''' || defaultclause || '''';
|
||||
end if;
|
||||
execute command;
|
||||
end if;
|
||||
|
||||
if nullclause is not null then
|
||||
if lower(nullclause) = 'not null' then
|
||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' set not null';
|
||||
execute command;
|
||||
elsif lower(nullclause) = 'null' then
|
||||
command := 'alter table ' || lower(tablename) || ' alter column ' || lower(columnname) || ' drop not null';
|
||||
execute command;
|
||||
end if;
|
||||
end if;
|
||||
end;
|
||||
$$ language plpgsql;
|
||||
|
||||
create table t_alter_column
|
||||
( tablename name, columnname name, datatype name, nullclause varchar(10), defaultclause varchar(200));
|
||||
|
||||
create rule alter_column_rule as on insert to t_alter_column
|
||||
do instead select altercolumn(new.tablename, new.columnname, new.datatype, new.nullclause,
|
||||
new.defaultclause);
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
UPDATE AD_SYSTEM
|
||||
SET releaseno = '320',
|
||||
VERSION = '2007-05-01'
|
||||
WHERE ad_system_id = 0 AND ad_client_id = 0;
|
||||
|
||||
COMMIT ;
|
|
@ -1,43 +0,0 @@
|
|||
--Enable Brazil in country Table
|
||||
UPDATE c_country SET hasregion = 'Y', regionname = 'Estado' WHERE c_country_id = 139;
|
||||
|
||||
COMMIT;
|
||||
|
||||
--Add Brazilian States
|
||||
INSERT INTO c_region VALUES (441, 0, 0, 'Y', '2007-04-30 16:40:42', 0, '2007-04-30 16:40:42', 0, 'AC', 'Acre', 139, 'N');
|
||||
INSERT INTO c_region VALUES (442, 0, 0, 'Y', '2007-04-30 16:40:57', 0, '2007-04-30 16:40:57', 0, 'AL', 'Alagoas', 139, 'N');
|
||||
INSERT INTO c_region VALUES (443, 0, 0, 'Y', '2007-04-30 16:41:06', 0, '2007-04-30 16:41:06', 0, 'AP', 'Amapá', 139, 'N');
|
||||
INSERT INTO c_region VALUES (444, 0, 0, 'Y', '2007-04-30 16:41:19', 0, '2007-04-30 16:41:19', 0, 'AM', 'Amazonas', 139, 'N');
|
||||
INSERT INTO c_region VALUES (445, 0, 0, 'Y', '2007-04-30 16:41:29', 0, '2007-04-30 16:41:29', 0, 'BA', 'Bahia', 139, 'N');
|
||||
INSERT INTO c_region VALUES (446, 0, 0, 'Y', '2007-04-30 16:41:49', 0, '2007-04-30 16:41:49', 0, 'CE', 'Ceará°', 139, 'N');
|
||||
INSERT INTO c_region VALUES (447, 0, 0, 'Y', '2007-04-30 16:42:04', 0, '2007-04-30 16:42:04', 0, 'DF', 'Distrito Federal', 139, 'N');
|
||||
INSERT INTO c_region VALUES (448, 0, 0, 'Y', '2007-04-30 16:42:19', 0, '2007-04-30 16:42:19', 0, 'ES', 'Espírito Santo', 139, 'N');
|
||||
INSERT INTO c_region VALUES (449, 0, 0, 'Y', '2007-04-30 16:42:34', 0, '2007-04-30 16:42:34', 0, 'GO', 'Goiás', 139, 'N');
|
||||
INSERT INTO c_region VALUES (450, 0, 0, 'Y', '2007-04-30 16:42:40', 0, '2007-04-30 16:42:40', 0, 'MA', 'Maranhão', 139, 'N');
|
||||
INSERT INTO c_region VALUES (451, 0, 0, 'Y', '2007-04-30 16:42:49', 0, '2007-04-30 16:42:49', 0, 'MT', 'Mato Grosso', 139, 'N');
|
||||
INSERT INTO c_region VALUES (452, 0, 0, 'Y', '2007-04-30 16:43:00', 0, '2007-04-30 16:43:00', 0, 'MS', 'Mato Grosso do Sul', 139, 'N');
|
||||
INSERT INTO c_region VALUES (453, 0, 0, 'Y', '2007-04-30 16:43:11', 0, '2007-04-30 16:43:11', 0, 'MG', 'Minas Gerais', 139, 'N');
|
||||
INSERT INTO c_region VALUES (454, 0, 0, 'Y', '2007-04-30 16:43:21', 0, '2007-04-30 16:43:21', 0, 'PA', 'Pará', 139, 'N');
|
||||
INSERT INTO c_region VALUES (455, 0, 0, 'Y', '2007-04-30 16:43:31', 0, '2007-04-30 16:43:31', 0, 'PB', 'Paraíba', 139, 'N');
|
||||
INSERT INTO c_region VALUES (456, 0, 0, 'Y', '2007-04-30 16:43:40', 0, '2007-04-30 16:43:40', 0, 'PR', 'Paraná', 139, 'N');
|
||||
INSERT INTO c_region VALUES (457, 0, 0, 'Y', '2007-04-30 16:43:53', 0, '2007-04-30 16:43:53', 0, 'PE', 'Pernambuco', 139, 'N');
|
||||
INSERT INTO c_region VALUES (458, 0, 0, 'Y', '2007-04-30 16:44:03', 0, '2007-04-30 16:44:03', 0, 'PI', 'Piauí', 139, 'N');
|
||||
INSERT INTO c_region VALUES (459, 0, 0, 'Y', '2007-04-30 16:44:30', 0, '2007-04-30 16:44:30', 0, 'RJ', 'Rio de Janeiro', 139, 'N');
|
||||
INSERT INTO c_region VALUES (460, 0, 0, 'Y', '2007-04-30 16:44:43', 0, '2007-04-30 16:44:43', 0, 'RN', 'Rio Grande do Norte', 139, 'N');
|
||||
INSERT INTO c_region VALUES (461, 0, 0, 'Y', '2007-04-30 16:44:59', 0, '2007-04-30 16:44:59', 0, 'RS', 'Rio Grande do Sul', 139, 'N');
|
||||
INSERT INTO c_region VALUES (462, 0, 0, 'Y', '2007-04-30 16:45:07', 0, '2007-04-30 16:45:07', 0, 'RO', 'Rondônia', 139, 'N');
|
||||
INSERT INTO c_region VALUES (463, 0, 0, 'Y', '2007-04-30 16:45:20', 0, '2007-04-30 16:45:20', 0, 'RR', 'Roraima', 139, 'N');
|
||||
INSERT INTO c_region VALUES (464, 0, 0, 'Y', '2007-04-30 16:45:30', 0, '2007-04-30 16:45:30', 0, 'SC', 'Santa Catarina', 139, 'N');
|
||||
INSERT INTO c_region VALUES (465, 0, 0, 'Y', '2007-04-30 16:45:40', 0, '2007-04-30 16:45:40', 0, 'SP', 'Sõo Paulo', 139, 'N');
|
||||
INSERT INTO c_region VALUES (466, 0, 0, 'Y', '2007-04-30 16:45:53', 0, '2007-04-30 16:45:53', 0, 'SE', 'Sergipe', 139, 'N');
|
||||
INSERT INTO c_region VALUES (467, 0, 0, 'Y', '2007-04-30 16:46:03', 0, '2007-04-30 16:46:03', 0, 'TO', 'Tocantins', 139, 'N');
|
||||
|
||||
COMMIT;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (c_region_id) + 1
|
||||
FROM C_REGION
|
||||
WHERE c_region_id < 1000000)
|
||||
WHERE NAME = 'C_Region';
|
||||
|
||||
COMMIT;
|
|
@ -1,31 +0,0 @@
|
|||
-- Feature Request
|
||||
-- juddm - add the ability to specific a shipment date (instead of current date) to the shipment generation process
|
||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1714090&group_id=176962&atid=879335
|
||||
|
||||
INSERT INTO AD_PROCESS_PARA
|
||||
(ad_process_para_id, ad_client_id, ad_org_id, isactive, created,
|
||||
createdby, updated, updatedby,
|
||||
NAME, description,
|
||||
HELP,
|
||||
ad_process_id, seqno, ad_reference_id, ad_reference_value_id,
|
||||
ad_val_rule_id, columnname, iscentrallymaintained, fieldlength,
|
||||
ismandatory, isrange, ad_element_id, entitytype
|
||||
)
|
||||
VALUES (50019, 0, 0, 'Y', TO_TIMESTAMP ('2007-03-03', 'YYYY-MM-DD'),
|
||||
100, TO_TIMESTAMP ('2007-03-03', 'YYYY-MM-DD'), 100,
|
||||
'Shipment Date', 'Date printed on shipment',
|
||||
'The Shipment Date indicates the date printed on the shipment.',
|
||||
118, 15, 15, NULL,
|
||||
NULL, 'MovementDate', 'N', 0,
|
||||
'Y', 'N', 1037, 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_process_para_id) + 1
|
||||
FROM AD_PROCESS_PARA
|
||||
WHERE ad_process_para_id < 1000000)
|
||||
WHERE NAME = 'AD_Process_Para';
|
||||
|
||||
COMMIT ;
|
|
@ -1,8 +0,0 @@
|
|||
UPDATE AD_PROCESS_PARA
|
||||
SET defaultvalue = NULL,
|
||||
ismandatory = 'N',
|
||||
updated = TO_TIMESTAMP ('2007-05-07 20:55:59', 'YYYY-MM-DD HH24:MI:SS'),
|
||||
updatedby = 100
|
||||
WHERE ad_process_para_id = 50019;
|
||||
|
||||
COMMIT ;
|
|
@ -1,75 +0,0 @@
|
|||
ALTER TABLE AD_PACKAGE_EXP_DETAIL ADD ad_message_id NUMERIC(10,0);
|
||||
|
||||
INSERT INTO AD_COLUMN
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP, VERSION, entitytype, columnname,
|
||||
ad_table_id, ad_reference_id, fieldlength, iskey, isparent,
|
||||
ismandatory, isupdateable, isidentifier, seqno, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50213, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('05/14/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_TIMESTAMP ('05/14/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Message', 'System Message',
|
||||
'Information and Error messages', 0, 'D', 'AD_Message_ID',
|
||||
50006, 19, 22, 'N', 'N',
|
||||
'N', 'Y', 'N', 0, 'N',
|
||||
'N', 'N', 1752, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO AD_FIELD
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylogic, displaylength, isreadonly, seqno, issameline,
|
||||
isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50183, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('05/14/2007 19:51:35', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_TIMESTAMP ('05/14/2007 19:52:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Message', 'System Message', 'Information and Error messages',
|
||||
'Y', 50006, 50213, 'Y',
|
||||
'@Type@=''MSG''', 22, 'N', 246, 'N',
|
||||
'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO AD_REF_LIST
|
||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME, ad_reference_id, entitytype
|
||||
)
|
||||
VALUES (50043, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'MSG', 'Message', 50004, 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM AD_COLUMN
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM AD_FIELD
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
||||
FROM AD_REF_LIST
|
||||
WHERE ad_ref_list_id < 1000000)
|
||||
WHERE NAME = 'AD_Ref_List';
|
||||
|
||||
COMMIT ;
|
|
@ -1,248 +0,0 @@
|
|||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50071, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'StoreArchiveOnFileSystem', 'D', 'Store Archive On File System',
|
||||
'Store Archive On File System'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, callout, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50214, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Store Archive On File System', 'Store Archive On File System', 1,
|
||||
'D', 'StoreArchiveOnFileSystem', 112, 20,
|
||||
1, 'N', 'N', 'Y', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50071, 'org.compiere.model.CalloutClient.storeArchiveOnFileSystem', 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50184, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Store Archive On File System', 'Store Archive On File System', 'Y', 250, 145,
|
||||
50214, 'Y', 1, 'N',
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50072, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'WindowsArchivePath', 'D', 'Windows Archive Path',
|
||||
'Windows Archive Path'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
help, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50215, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Windows Archive Path', 'Windows Archive Path - If you change this value make sure to copy the archive entries to the new path!',
|
||||
'Path of the adempiere archive entries in the file system. If you change this value make sure to copy the archive entries to the new path!', 1,
|
||||
'D', 'WindowsArchivePath', 112, 10,
|
||||
255, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50072, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
help,
|
||||
iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype, displaylogic
|
||||
)
|
||||
VALUES (50185, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Windows Archive Path', 'Windows Archive Path',
|
||||
'If you change this value make sure to copy the archive entries to the new path!',
|
||||
'Y', 260, 145,
|
||||
50215, 'Y', 1, 'N',
|
||||
'N', 'N', 'N', 'N', 'D','@StoreArchiveOnFileSystem@=''Y'''
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50073, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'UnixArchivePath', 'D', 'Unix Archive Path',
|
||||
'Unix Archive Path'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
help, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50216, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Unix Archive Path', 'Unix Archive Path - If you change this value make sure to copy the archive entries to the new path!',
|
||||
'Path of the adempiere archive entries in the file system. If you change this value make sure to copy the archive entries to the new path!', 1,
|
||||
'D', 'UnixArchivePath', 112, 10,
|
||||
255, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50073, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
help,
|
||||
iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype, displaylogic
|
||||
)
|
||||
VALUES (50186, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Unix Archive Path', 'Unix Archive Path',
|
||||
'If you change this value make sure to copy the archive entries to the new path!',
|
||||
'Y', 270 ,145,
|
||||
50216, 'Y', 1, 'N',
|
||||
'Y', 'N', 'N', 'N', 'D','@StoreArchiveOnFileSystem@=''Y'''
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
value, msgtext, msgtype
|
||||
)
|
||||
VALUES (50015, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'StoreArchiveWarning',
|
||||
'If you change the archive storage method, the old archive entries are no longer available to your client.','I'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
value, msgtext, msgtype
|
||||
)
|
||||
VALUES (50016, 0, 0, 'Y',
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'ArchivePathWarning','Make sure to copy the archive entries to the new path!','I'
|
||||
);
|
||||
|
||||
INSERT INTO ad_message_trl
|
||||
(ad_message_id, ad_language, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby, updated, updatedby, msgtext, msgtip,
|
||||
istranslated)
|
||||
SELECT m.ad_message_id, lang.ad_language, m.ad_client_id, m.ad_org_id, 'Y',
|
||||
m.created, m.createdby, m.updated, m.updatedby, m.msgtext, m.msgtip,
|
||||
'N'
|
||||
FROM ad_message m, ad_language lang
|
||||
WHERE m.ad_message_id in (50015, 50016)
|
||||
AND lang.issystemlanguage = 'Y'
|
||||
AND lang.isbaselanguage = 'N'
|
||||
AND NOT EXISTS (
|
||||
SELECT *
|
||||
FROM ad_message_trl m2
|
||||
WHERE m2.ad_message_id = m.ad_message_id
|
||||
AND m2.ad_language = lang.ad_language);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||
FROM ad_message
|
||||
WHERE ad_message_id < 1000000)
|
||||
WHERE NAME = 'AD_Message';
|
||||
|
||||
|
||||
ALTER TABLE ad_client ADD StoreArchiveOnFilesystem CHAR(1) DEFAULT 'N' NOT NULL;
|
||||
ALTER TABLE ad_client ADD WindowsArchivePath VARCHAR(255);
|
||||
ALTER TABLE ad_client ADD UnixArchivePath VARCHAR(255);
|
||||
|
||||
COMMIT ;
|
|
@ -1,75 +0,0 @@
|
|||
ALTER TABLE AD_PACKAGE_EXP_DETAIL ADD ad_printformat_id NUMERIC(10,0);
|
||||
|
||||
INSERT INTO AD_COLUMN
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
HELP, VERSION, entitytype, columnname,
|
||||
ad_table_id, ad_reference_id, fieldlength, iskey, isparent,
|
||||
ismandatory, isupdateable, isidentifier, seqno, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50217, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('05/25/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_TIMESTAMP ('05/25/2007 19:48:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Print Format', 'Data Print Format',
|
||||
'The print format determines how data is rendered for print.', 0, 'D', 'AD_PrintFormat_ID',
|
||||
50006, 19, 22, 'N', 'N',
|
||||
'N', 'Y', 'N', 0, 'N',
|
||||
'N', 'N', 1790, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO AD_FIELD
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description, HELP,
|
||||
iscentrallymaintained, ad_tab_id, ad_column_id, isdisplayed,
|
||||
displaylogic, displaylength, isreadonly, seqno, issameline,
|
||||
isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50187, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('05/25/2007 19:51:35', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_TIMESTAMP ('05/25/2007 19:52:28', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'PrintFormat', 'Print Format', 'Print Format',
|
||||
'Y', 50006, 50217, 'Y',
|
||||
'@Type@=''PFT''', 22, 'N', 246, 'N',
|
||||
'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO AD_REF_LIST
|
||||
(ad_ref_list_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
VALUE, NAME, ad_reference_id, entitytype
|
||||
)
|
||||
VALUES (50044, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_TIMESTAMP ('05/14/2007 19:54:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'PFT', 'PrintFormat', 50004, 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM AD_COLUMN
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM AD_FIELD
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
UPDATE AD_SEQUENCE
|
||||
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
||||
FROM AD_REF_LIST
|
||||
WHERE ad_ref_list_id < 1000000)
|
||||
WHERE NAME = 'AD_Ref_List';
|
||||
|
||||
COMMIT ;
|
|
@ -1,162 +0,0 @@
|
|||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50074, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'MandatoryLogic', 'D', 'Mandatory Logic',
|
||||
'Mandatory Logic'
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, description,
|
||||
help, VERSION,
|
||||
entitytype, columnname, ad_table_id, ad_reference_id,
|
||||
fieldlength, iskey, isparent, ismandatory, isupdateable,
|
||||
isidentifier, seqno, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50218, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Mandatory Logic', 'Logic to determine if field is mandatory (applies only when field is not mandatory in general)',
|
||||
'Logic to determine if field is mandatory (applies only when field is not mandatory in general).
|
||||
format := {expression} [{logic} {expression}]<br>
|
||||
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
|
||||
logic := {|}|{&}<br>
|
||||
context := any global or window context <br>
|
||||
value := strings or numbers<br>
|
||||
logic operators := AND or OR with the previous result from left to right <br>
|
||||
operand := eq{=}, gt{>}, le{<}, not{~^!} <br>
|
||||
Examples: <br>
|
||||
@AD_Table_ID@=14 | @Language@!GERGER <br>
|
||||
@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
|
||||
@Name@>J<br>
|
||||
Strings may be in single quotes (optional)', 1,
|
||||
'D', 'MandatoryLogic', 101, 14,
|
||||
2000, 'N', 'N', 'N', 'Y',
|
||||
'N', 0, 'N', 'N',
|
||||
'N', 50074, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, description,
|
||||
help,
|
||||
iscentrallymaintained, seqno, ad_tab_id,
|
||||
ad_column_id, isdisplayed, displaylength, isreadonly,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50188, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_TIMESTAMP ('02/26/2007 12:30:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Mandatory Logic', 'Logic to determine if field is mandatory (applies only when field is not mandatory in general)',
|
||||
'Logic to determine if field is mandatory (applies only when field is not mandatory in general).
|
||||
format := {expression} [{logic} {expression}]<br>
|
||||
expression := @{context}@{operand}{value} or @{context}@{operand}{value}<br>
|
||||
logic := {|}|{&}<br>
|
||||
context := any global or window context <br>
|
||||
value := strings or numbers<br>
|
||||
logic operators := AND or OR with the previous result from left to right <br>
|
||||
operand := eq{=}, gt{>}, le{<}, not{~^!} <br>
|
||||
Examples: <br>
|
||||
@AD_Table_ID@=14 | @Language@!GERGER <br>
|
||||
@PriceLimit@>10 | @PriceList@>@PriceActual@<br>
|
||||
@Name@>J<br>
|
||||
Strings may be in single quotes (optional)',
|
||||
'Y', 275 ,101,
|
||||
50218, 'Y', 60, 'N',
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
|
||||
|
||||
ALTER TABLE ad_column ADD MandatoryLogic character varying(2000);
|
||||
|
||||
|
||||
|
||||
DROP VIEW IF EXISTS AD_FIELD_V;
|
||||
CREATE OR REPLACE VIEW AD_FIELD_V AS
|
||||
SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||
f.Name, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat, c.DefaultValue, c.IsKey, c.IsParent,
|
||||
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
|
||||
c.IsSelectionColumn,
|
||||
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||
fg.Name AS FieldGroup, vr.Code AS ValidationCode
|
||||
FROM AD_Field f
|
||||
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||
LEFT OUTER JOIN AD_FieldGroup fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
|
||||
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||
WHERE f.IsActive = 'Y'
|
||||
AND c.IsActive = 'Y';
|
||||
|
||||
DROP VIEW IF EXISTS AD_FIELD_VT;
|
||||
CREATE OR REPLACE VIEW AD_FIELD_VT AS
|
||||
SELECT trl.AD_Language, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
|
||||
trl.Name, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
|
||||
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
|
||||
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
|
||||
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat, c.DefaultValue, c.IsKey, c.IsParent,
|
||||
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
|
||||
c.IsIdentifier, c.IsTranslated, c.AD_Reference_Value_ID,
|
||||
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
|
||||
c.AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
|
||||
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
|
||||
tbl.TableName, c.ValueMin, c.ValueMax,
|
||||
fgt.Name AS FieldGroup, vr.Code AS ValidationCode
|
||||
FROM AD_Field f
|
||||
INNER JOIN AD_Field_Trl trl ON (f.AD_Field_ID = trl.AD_Field_ID)
|
||||
INNER JOIN AD_Tab t ON (f.AD_Tab_ID = t.AD_Tab_ID)
|
||||
LEFT OUTER JOIN AD_FieldGroup_Trl fgt ON
|
||||
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_Language=fgt.AD_Language)
|
||||
LEFT OUTER JOIN AD_Column c ON (f.AD_Column_ID = c.AD_Column_ID)
|
||||
INNER JOIN AD_Table tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
|
||||
INNER JOIN AD_Reference r ON (c.AD_Reference_ID = r.AD_Reference_ID)
|
||||
LEFT OUTER JOIN AD_Val_Rule vr ON (c.AD_Val_Rule_ID=vr.AD_Val_Rule_ID)
|
||||
WHERE f.IsActive = 'Y'
|
||||
AND c.IsActive = 'Y';
|
||||
|
||||
|
||||
COMMIT;
|
|
@ -1,21 +0,0 @@
|
|||
INSERT INTO ad_message
|
||||
(ad_message_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
value, msgtext, msgtype
|
||||
)
|
||||
VALUES (50017, 0, 0, 'Y',
|
||||
TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'PrintPreview','Print preview','I'
|
||||
);
|
||||
|
||||
COMMIT ;
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_message_id) + 1
|
||||
FROM ad_message
|
||||
WHERE ad_message_id < 1000000)
|
||||
WHERE NAME = 'AD_Message';
|
||||
|
||||
COMMIT ;
|
|
@ -1,9 +0,0 @@
|
|||
UPDATE AD_COLUMN
|
||||
SET istranslated = 'N'
|
||||
WHERE ad_column_id = 7604;
|
||||
|
||||
UPDATE AD_COLUMN
|
||||
SET istranslated = 'Y'
|
||||
WHERE ad_column_id = 6256;
|
||||
|
||||
COMMIT;
|
|
@ -1,62 +0,0 @@
|
|||
---
|
||||
-- Feature 1741222 - Add Post code lookup infrastructure
|
||||
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1741222&group_id=176962&atid=879335
|
||||
--
|
||||
|
||||
--- Modify C_COUNTRY Table
|
||||
ALTER TABLE C_COUNTRY ADD
|
||||
IsPostcodeLookup CHAR(1) DEFAULT 'N' NOT NULL;
|
||||
ALTER TABLE C_COUNTRY ADD
|
||||
LookupClassname VARCHAR(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE C_COUNTRY ADD
|
||||
LookupClientID VARCHAR(50) DEFAULT NULL NULL;
|
||||
ALTER TABLE C_COUNTRY ADD
|
||||
LookupPassword VARCHAR(50) DEFAULT NULL NULL;
|
||||
ALTER TABLE C_COUNTRY ADD
|
||||
LookupUrl VARCHAR(100) DEFAULT NULL NULL;
|
||||
|
||||
-- Add Postcode Constraint
|
||||
ALTER TABLE C_COUNTRY ADD CHECK (IsPostcodeLookup IN ('Y','N'));
|
||||
|
||||
-- Insert Element Definitions
|
||||
|
||||
INSERT INTO ad_element VALUES (51000, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:09:22', 100, 'IsPostcodeLookup', 'D', 'IsPostcodeLookup', 'IsPostcodeLookup', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO ad_element VALUES (51001, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:09:54', 100, 'LookupClassName', 'D', 'LookupClassName', 'LookupClassName', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO ad_element VALUES (51002, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:10:06', 100, 'LookupClientID', 'D', 'LookupClientID', 'LookupClientID', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO ad_element VALUES (51003, 0, 0, 'Y', '2007-06-19 22:43:07', 100, '2007-06-19 23:10:19', 100, 'LookupUrl', 'D', 'LookupUrl', 'LookupUrl', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO ad_element VALUES (51004, 0, 0, 'Y', '2007-06-22 02:03:37', 100, '2007-06-22 02:04:31', 100, 'LookupPassword', 'D', 'LookupPassword', 'LookupPassword', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
-- Insert Column Definitions
|
||||
INSERT INTO ad_column VALUES (51000, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:14:47', 100, 100, 'IsPostcodeLookup', NULL, NULL, 0, 'D', 'IsPostcodeLookup', 170, 20, NULL, NULL, 1, 'N', 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51000, NULL, 'N', 'N', NULL, NULL);
|
||||
INSERT INTO ad_column VALUES (51001, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:04:48', 100, 100, 'LookupClassName', NULL, NULL, 0, 'D', 'LookupClassName', 170, 10, NULL, NULL, 255, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51001, NULL, 'N', 'N', NULL, NULL);
|
||||
INSERT INTO ad_column VALUES (51002, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:04:48', 100, 100, 'LookupClientID', NULL, NULL, 0, 'D', 'LookupClientID', 170, 10, NULL, NULL, 50, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51002, NULL, 'N', 'N', NULL, NULL);
|
||||
INSERT INTO ad_column VALUES (51003, 0, 0, 'Y', '2007-06-19 22:43:07', '2007-06-19 23:04:48', 100, 100, 'LookupUrl', NULL, NULL, 0, 'D', 'LookupUrl', 170, 10, NULL, NULL, 100, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51003, NULL, 'N', 'N', NULL, NULL);
|
||||
INSERT INTO ad_column VALUES (51004, 0, 0, 'Y', '2007-06-22 02:03:37', '2007-06-22 02:05:17', 100, 100, 'LookupPassword', NULL, NULL, 0, 'D', 'LookupPassword', 170, 10, NULL, NULL, 50, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 51004, NULL, 'N', 'N', NULL, NULL);
|
||||
|
||||
-- Insert Field Definitions
|
||||
INSERT INTO ad_field VALUES (51000, 0, 0, 'Y', '2007-06-19 23:17:05', 100, '2007-06-19 23:17:05', 100, 'IsPostcodeLookup', NULL, NULL, 'Y', 135, 51000, NULL, 'Y', NULL, 1, 'N', 220, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||
INSERT INTO ad_field VALUES (51001, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-20 09:10:31', 100, 'LookupClassName', NULL, NULL, 'Y', 135, 51001, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 255, 'N', 260, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||
INSERT INTO ad_field VALUES (51002, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-20 09:10:17', 100, 'LookupClientID', NULL, NULL, 'Y', 135, 51002, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 50, 'N', 240, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||
INSERT INTO ad_field VALUES (51003, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-20 09:10:12', 100, 'LookupUrl', NULL, NULL, 'Y', 135, 51003, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 100, 'N', 230, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||
INSERT INTO ad_field VALUES (51004, 0, 0, 'Y', '2007-06-19 23:17:06', 100, '2007-06-22 02:07:11', 100, 'LookupPassword', NULL, NULL, 'Y', 135, 51004, NULL, 'Y', '@IsPostcodeLookup@ = ''Y''', 50, 'N', 250, NULL, 'N', 'N', 'N', 'N', 'D', NULL, NULL, NULL);
|
||||
|
||||
-- Update Sequences
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_element_id) + 1
|
||||
FROM ad_element
|
||||
WHERE ad_element_id < 1000000)
|
||||
WHERE NAME = 'AD_Element';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_column_id) + 1
|
||||
FROM ad_column
|
||||
WHERE ad_column_id < 1000000)
|
||||
WHERE NAME = 'AD_Column';
|
||||
|
||||
UPDATE ad_sequence
|
||||
SET currentnextsys = (SELECT MAX (ad_field_id) + 1
|
||||
FROM ad_field
|
||||
WHERE ad_field_id < 1000000)
|
||||
WHERE NAME = 'AD_Field';
|
||||
|
||||
COMMIT;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue