Fix errors in rev 6180

Order Rate Variance duplicated
Operation Activity missing
Payroll already added in 140_FB1935325HRProcess.sql
This commit is contained in:
tspc 2008-08-22 00:30:34 +00:00
parent 13c23d78c6
commit 408e8a3364
2 changed files with 9 additions and 7 deletions

View File

@ -700,10 +700,10 @@ public final class MSetup
createDocType("Manufacturing Order Use Variance", "Use Variance",
MDocType.DOCBASETYPE_ManufacturingOrderUseVariance, null,
0, 0, 84100, GL_Manufacturing);
createDocType("Manufaturing Order Rate Variance","Rate Variance",
createDocType("Manufacturing Order Rate Variance","Rate Variance",
MDocType.DOCBASETYPE_ManufacturingOrderRateVariance, null,
0, 0, 84200, GL_Manufacturing);
createDocType("Manufaturing Order Rate Variance","Rate Variance",
createDocType("Manufacturing Operation Activity","Operation Activity",
MDocType.DOCBASETYPE_ManufacturingOperationActivity, null,
0, 0, 85000, GL_Manufacturing);
createDocType("Maintenance Order","Maintenance Order",

View File

@ -45,7 +45,8 @@ public class CreateDocType extends SvrProcess
//Manufacturing Document
int GL_Manufacturing = createGLCategory("Manufactuing", MGLCategory.CATEGORYTYPE_Document, false);
int GL_Distribution = createGLCategory("Distribution", MGLCategory.CATEGORYTYPE_Document, false);
int GL_Payroll = createGLCategory("Payroll", MGLCategory.CATEGORYTYPE_Document, false);
//Payroll GLCategory created in 140_FB1935325HRProcess.sql
//int GL_Payroll = createGLCategory("Payroll", MGLCategory.CATEGORYTYPE_Document, false);
createDocType("Manufacturing Order", "Manufacturing Order",
MDocType.DOCBASETYPE_ManufacturingOrder, null,
@ -65,10 +66,10 @@ public class CreateDocType extends SvrProcess
createDocType("Manufacturing Order Use Variance", "Use Variance",
MDocType.DOCBASETYPE_ManufacturingOrderUseVariance, null,
0, 0, 84100, GL_Manufacturing);
createDocType("Manufaturing Order Rate Variance","Rate Variance",
createDocType("Manufacturing Order Rate Variance","Rate Variance",
MDocType.DOCBASETYPE_ManufacturingOrderRateVariance, null,
0, 0, 84200, GL_Manufacturing);
createDocType("Manufaturing Order Rate Variance","Rate Variance",
createDocType("Manufacturing Operation Activity","Operation Activity",
MDocType.DOCBASETYPE_ManufacturingOperationActivity, null,
0, 0, 85000, GL_Manufacturing);
createDocType("Maintenance Order","Maintenance Order",
@ -80,11 +81,12 @@ public class CreateDocType extends SvrProcess
createDocType("Distribution Order","Distribution Orde",
MDocType.DOCBASETYPE_DistributionOrder, null,
0, 0, 88000, GL_Distribution);
//Payroll
/* //Payroll DocType created in 140_FB1935325HRProcess.sql
createDocType("Payroll","Payroll",
MDocType.DOCBASETYPE_Payroll, null,
0, 0, 90000, GL_Payroll);
return "ok";
*/
return "ok";
}