|
CI_ActivityCode_val, CI_APDivision_val, CI_MFGEmployee_Val, CI_StatusCode_val, CI_ToolCode_val, CI_VendorNo_val, CI_WorkCenter_val, PM_Constant, SY_Customization, SY_LineEntryDetail_bus |
| LOCAL cMainTable$="PM_WorkTicketStep" |
[string] Main table for class |
| LOCAL cIsSysDB=isFALSE |
[boolean] True/False flag denoting whether the main table is a system table |
| LOCAL cNoUpdateUI=-1 |
[integer] Flag to not update into UI record when setting a partial record in the copy from process |
| LOCAL cHeaderTotalVar$="OriginalBudgetHours, OriginalBudgetLaborCost, OriginalBudgetMaterialsCost, RevisedBudgetHours, RevisedBudgetLaborCost, RevisedBudgetMaterialsCost, TotalHours, "+"ScheduledHours, RemainingScheduledHours, TotalLaborCost, TotalLaborVariableOverheadCost, TotalLaborFixedOverheadCost, TotalMaterialsCost, TotalMaterialsOverheadCost, "+"TotalOtherCost, TotalOtherOverheadCost, " |
[string] List of numeric variables in the PM_WorkTicketHeader record that are updated when changes are made to PM_WorkTicketStep |
| LOCAL itmCOMMENT$="4" |
[string] Constant for item type of Comment |
| LOCAL cScheduleDays$="Sunday"+SEP+"Monday"+SEP+"Tuesday"+SEP+"Wednesday"+SEP+"Thursday"+SEP+"Friday"+SEP+"Saturday"+SEP |
[string] List of days of the week used for scheduling |
| LOCAL cAddtlSetCols$="StepText$" |
| LOCAL cPerformVendorStatusChecking |
| PROPERTY BudgetVar$ * Read Only * |
[string] Variable name to use for budget value based work ticket status |
| PROPERTY Distribution * Read Only * |
[object handle] Value is always 0, this is required when switching detail object handles between steps and materials |
| PROPERTY UseRevisedBudget * Read Only * |
[boolean] True/False flag for whether to use the revised budget. This is true when the work ticket status is released |
| PROPERTY StepListFH * Read Only * |
[filehandle] File handle to a *memory* table containing step records for the current work ticket |
| PROPERTY NewStepNo$ |
[string] New Step Number to assign when copying steps |
| PROPERTY SubassemblyStep |
[boolean] True/False flag for whether the steps being copied are for a subassemblies' template |
| PROPERTY SubassemblyScalingFactor |
[numeric] Subassembly Scaling Factor. Used when creating steps for a subassemblies' template. |
| PROPERTY SkipTemplateMaterials |
[boolean] True/False flag for whether to skip copying template materials when copying template steps |
| PROPERTY StepRenumber |
[boolean] True/False flag for whether to renumber step numbers when copying from a template |
| PROPERTY StepStart |
[integer] Starting step number when renumbering steps during the copy from a template |
| PROPERTY StepIncrement |
[integer] Step increment value when renumbering steps during the copy from a template |
| PROPERTY StepRenumberFH |
[filehandle] File handle to a *memory* table that is populated during the copy of template steps when a template step number is renumbered in the work ticket |
| PROPERTY StepScheduleFH |
[filehandle] File handle to a *memory* table that is populated during the scheduling of the work ticket |
| PROPERTY ScaleWorkTicketCopy |
[boolean] True/False flag for whether to scale budgets when copying from a existing work ticket or historical work ticket |
| PROPERTY SchedulingRequired |
[boolean] True/False flag for whether scheduling is required for the current work ticket. Only applies when enhanced scheduling is being used. |
| PROPERTY StepTextObj * Read Only * |
[object handle] Object handle to the CI_ExtendedDescription_bus |
| FUNCTION AddInStep(stepLineKey$, data$, IOList$) | ||||||||||||||||
Add In Step information for calculating totals | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION AddStepNo(tmpStepNo$, newLineKey$) | ||||||||||||||||
Add Step Number | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION BuildStepList$() | ||||||||||||||||
Build a list of step numbers for the current work ticket | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ChangeStepCostActivity(stepLineKey$, flag$) | ||||||||||||||||
Change Step Cost Activity | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION CheckAllStepsRequiredUDI() | ||||||||||||||||
Check All Steps for Required User Defined Information fields | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ClearCopiedList() | ||||||||||||||||
Clear Copied List of template steps | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ClearSetFiles() | ||||||||||||||||
Function overridden from SY_LineEntryDetail_bus, overridden to setup memory table with secondary keys | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ClearUDI() | ||||||||||||||||
Clear User Defined Info fields from a step record | ||||||||||||||||
| ||||||||||||||||
| FUNCTION CopySingleTemplateStep(templateNo$, templateRevNo$, templateStep$, srcWTClass$, qtyBasis, tmpCopyStepMemo$) | ||||||||||||||||
Copy single template step into current work ticket | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION CopySingleWorkTicketHistoryStep(srcWorkTicketKey$, srcStep$, srcWTClass$, qtyBasis, tmpCopyStepMemo$, tmpCopyBudget$) | ||||||||||||||||
| FUNCTION CopySingleWorkTicketHistoryStep(srcWorkTicketKey$, srcStep$, srcWTClass$, qtyBasis, tmpCopyStepMemo$, tmpCopyBudget$, scaleParam) | ||||||||||||||||
Copy single work ticket history step into current work ticket | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION CopySingleWorkTicketStep(srcWorkTicketKey$, srcStep$, srcWTClass$, qtyBasis, tmpCopyStepMemo$) | ||||||||||||||||
| FUNCTION CopySingleWorkTicketStep(srcWorkTicketKey$, srcStep$, srcWTClass$, qtyBasis, tmpCopyStepMemo$, scaleParam) | ||||||||||||||||
Copy single work ticket step into current work ticket | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION CopyTemplateSteps(tempNo$, templateRevNo$, srcWTClass$, tmpCopyStepMemo$) | ||||||||||||||||
| FUNCTION CopyTemplateSteps(tempNo$, templateRevNo$, srcWTClass$, tmpCopyStepMemo$, templateSeq$) | ||||||||||||||||
Copy template steps into current work ticket | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION CopyWorkTicketHistorySteps(srcWorkTicketKey$, tmpCopyBudget$, srcWTClass$, tmpCopyStepMemo$, tmpStartDate$) | ||||||||||||||||
Copy Work Ticket Steps from a source work ticket into current work ticket | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION CopyWorkTicketSteps(srcWorkTicketKey$, srcWTClass$, tmpCopyStepMemo$, tmpStartDate$) | ||||||||||||||||
Copy Work Ticket Steps from a source work ticket into current work ticket | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION CreateStepZero() | ||||||||||||||||
Create Step Zero for a new work ticket and steps are not allowed | ||||||||||||||||
| ||||||||||||||||
| FUNCTION DeleteLine(delKey$) | ||||||||||||||||
Function overridden from SY_LineEntryDetail_bus, overridden to manage materials relationships with steps | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION DistributionRequired() | ||||||||||||||||
Function overridden from SY_LineEntryTierDetail_bus, overridden to manage having two detail classes, one for steps and one for materials | ||||||||||||||||
| ||||||||||||||||
| FUNCTION DoStepsOnHoldExist() | ||||||||||||||||
Method to determine if steps that are on hold exist. | ||||||||||||||||
| ||||||||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||||||||
Get the contexts available for a table | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||||||||
Get the source table for a context | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION GetNextStepNo$() | ||||||||||||||||
Get Next Step Number | ||||||||||||||||
| ||||||||||||||||
| FUNCTION GetStepLineKey$(tmpStepNo$) | ||||||||||||||||
Get Step Line Key value | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION GetStepLineKeyList$() | ||||||||||||||||
Get Step Line Key List | ||||||||||||||||
| ||||||||||||||||
| FUNCTION GetStepNo$(tmpStepLineKey$) | ||||||||||||||||
Get Step Number value for a specific step line key | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION InitWorkTable() | ||||||||||||||||
Function overridden from SY_LineEntryDetail_bus, overridden to add a field for the step text which is stored in CI_ExtendedDescription | ||||||||||||||||
| ||||||||||||||||
| FUNCTION PrepareStepList$() | ||||||||||||||||
Prepare Step List, both as a list of step numbers and populating a *memory* table accessible with the file handle property StepListFH | ||||||||||||||||
| ||||||||||||||||
| FUNCTION PrepareStepsToSchedule$() | ||||||||||||||||
Prepare Steps To Schedule, both as a list of step numbers to schedule and populating a *memory* table accessible with the file handle property StepScheduleFH | ||||||||||||||||
| ||||||||||||||||
| FUNCTION RecalcBudget() | ||||||||||||||||
| FUNCTION RecalcBudget(step$) | ||||||||||||||||
| FUNCTION RecalcBudget(step$, recalcMatlsOnly) | ||||||||||||||||
Recalculate budget for a specific step or all steps | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION ResetRow(tmpKey$) | ||||||||||||||||
Function overridden from SY_LineEntryDetail_bus, overridden to allow for step text to be reset | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ScaleSteps(tmpOriginalQuantity, tmpRevisedQuantity) | ||||||||||||||||
Scale Steps. When quantity planned is changed on the header, steps and materials will be scaled. tmpOriginalQuantity [input, numeric] Original quantity planned tmpRevisedQuantity [input, numeric] Revised quantity planned to scale to | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ScheduleApply() | ||||||||||||||||
Schedule Apply when using enhanced scheduling | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ScheduleCleanup() | ||||||||||||||||
Schedule Cleanup when using enhanced scheduling | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ScheduleWorkTicket(tmpScheduleDirection$, tmpFirstStep$, tmpDate$, tmpOverrideMax, tmpCalcStart$, tmpCalcDue$) | ||||||||||||||||
| FUNCTION ScheduleWorkTicket(tmpScheduleDirection$, tmpFirstStep$, tmpDate$, tmpOverrideMax, tmpCalcStart$, tmpCalcDue$, tmpApplySchedule) | ||||||||||||||||
Schedule Work Ticket | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION SetActCodeAndWorkCenter(value1$, value2$) | ||||||||||||||||
Set the Activity Code and Work Center fields | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION SetHeader(header$) | ||||||||||||||||
Set current header information in the step business object | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION SortSteps() | ||||||||||||||||
Sort Step Lines by Step Number | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ValidateCopyFrom(tmpCopyFrom$, tmpCopyTemplate$, tmpCopyTemplateRev$, tmpCopyWTKey$, tmpCopyStep$, tmpHasStepMemos$, tmpStepDesc$) | ||||||||||||||||
Validate Copy From. Used when copying from a template, open work ticket or work ticket from history. | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION ValidateGroupAdminRights() | ||||||||||||||||
Validation Group, Does current user have administrative rights? | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ValidateGroupAdvanced() | ||||||||||||||||
Validation Group, Is P/M Options set to use enhanced scheduling? | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ValidateGroupPurchaseOrder() | ||||||||||||||||
Validation Group, Does parent item code bill have options? | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ValidateGroupStepRequired() | ||||||||||||||||
Validation Group, Is the Purchase Order module integrated with Production Management? | ||||||||||||||||
| ||||||||||||||||
| FUNCTION ValidateStepLineKey(stepLineKey$) | ||||||||||||||||
| FUNCTION ValidateStepLineKey(stepLineKey$, stepRec$, stepIOL$) | ||||||||||||||||
Validate Step Line Key exists for current work ticket. Optionally can return step record and iolist. | ||||||||||||||||
| ||||||||||||||||
| FUNCTION Write() | ||||||||||||||||
Function overridden from SY_LineEntryDetail_bus, overridden to check for required user defined info fields | ||||||||||||||||
|
|
HoldPayment, SeparateCheck |
|
actClassEMPLOYEE$, actClassGENERAL$, actClassMACHINE$, actClassOUTSIDESVC$, capTimeNO$, capTimeNOEDIT$, capTimeYES$, earnTypeALLOCTIPS$, earnTypeEXCLUDETIPCALC$, earnTypeEXEMPTTIPS$, earnTypeFRINGE$, earnTypeMISC$, earnTypeOVERTIME$, earnTypeREGULAR$, earnTypeTAXABLETIPS$, earnTypeTIMEOFF1$, earnTypeTIMEOFF2$, earnTypeTIMEOFF3$, cAllEarningsTypes$, earnMethodADDAMOUNT$, earnMethodFIXED$, earnMethodSTANDARD$, cAllEarnMethods$, lttLABOR$, lttCREW$, lttMISC$, lttINOUT$, lttCOST$, dpcSTANDARD$, dpcAVERAGE$, dpcLAST$, overheadTypeAMOUNT$, overheadTypePERCENT$, prtPickNONE$, prtPickBYWHSE$, prtPickBYTICK$, tcmCodeACTUAL$, tcmCodeBUDGET$, tcmCodeSTANDARD$, tcmCodeLOWER$, tcmDescACTUAL$, tcmDescBUDGET$, tcmDescSTANDARD$, tcmDescLOWER$, trnLABOR$, trnMATERIALS$, trnCLOSE$, trnCOMPLETION$, trcSTATUS$, trcLABOR$, trcINVENTORY$, trcDIRECTCHARGE$, trcINVOICE$, trcCLOSE$, trcSCRAP$, udiSTRING$, udiNUMBER$, udiYESNO$, udiCODE$, udiDATE$, mftCodeSALESORDER$, mftCodeSALESORDERLINE$, mftCodeWORKTICKET$, mftCodeINVENTORY$, mftDescSALESORDER$, mftDescSALESORDERLINE$, mftDescWORKTICKET$, mftDescINVENTORY$, wtsOPEN$, wtsQUOTE$, wtsRELEASED$, wtsCLOSED$, wtsDELETED$, lbrIssMethodAUTOISSUE$, lbrIssMethodBACKFLUSH$, lbrIssMethodMANUAL$, matIssMethodAUTOISSUE$, matIssMethodBACKFLUSH$, matIssMethodMANUAL$, prtWORKTICKET$, prtOPERATIONTICKET$, prtCOMPLETEMISSINGCOST$, prtCOMPLETEVARFROMSTD$, prtCLOSEMISSINGCOST$, prtCLOSEVARFROMSTD$, prtCLOSECOSTLEDGER$, prtPICKSHEET$, drtBACKOUT$, drtADDIN$, drsNEW$, drsUPDATED$, drsCOMPLETED$, schFIXED$, schACTSPERHOUR$, schHOURSPERACT$, scaleNOSCALING$, scalePRODUCTIONRUN$, scalePARENTSPERTEMPLATE$, scaleTEMPLATESPERPARENT$, stepZERO$, dfltClosureWorkCenter$ |
|
cDummyIol$ |
|
cActivityLogDelete$, cActivityLogDtlLevel$, HeaderKy$, HeaderHasLines, ReloadGrid, ValidHeader, NumberOfLines |
|
ClassValidateActivityCode() |
|
ClassValidateAPDivision() |
|
ClassValidateMFG_Employee() |
|
ClassValidateStatusCode() |
|
ClassValidateToolCode() |
|
ClassValidateVendorNo() |
|
ClassValidateWorkCenter() |
|
BuildAlternateIOL$(), BuildMemoryFile(), ConvertCalendarToJulian(), ConvertJulianToCalendar$(), FormatTime$(), HHMMToMinutes(), HHMMToNum(), LoadCustomLabelConstants(), NumToHHMM$(), TimeToHHMM() |
|
GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite() |
|
AccumulateBatchTotals(), AddIn(), AddLine(), AddPrimarySrc(), BackOut(), ClearBindings(), ClearLine(), ClearSetFiles(), CommitRow(), DeleteLine(), EditLine(), GetBatchTotalVars(), GetEditKey$(), GetInsertSeq$(), GetSequenceLengths(), InitWorkTable(), InsertLine(), QuickRowLoad(), RemovePrimarySrc(), ResequenceLine(), ResetLine(), ResetRow(), SetBatchTotalVars(), SetHeader(), SetKey(), SwapLines(), ValidateLines(), Write(), ClearSetFileDeleteWorkTable(), ClearSetFileWorkTable(), CommitRowRemove(), CommitRowWrite(), PostDeleteRec(), PostWriteRec(), RenumberSequence(), WriteWorkTable() |
|