| LOCAL billCATEGORYNUM=9 |
[integer] Constant value indicating the maximum number of bill option categories |
| LOCAL cMainTable$="PM_WorkTicketHeader" |
[string] Main table for class |
| LOCAL cIsSysDB=isFALSE |
[boolean] True/False flag denoting whether the main table is a system table |
| LOCAL cPM_DefaultNumberOfLabels=1 |
[integer] Default number of labels |
| LOCAL cPrimaryIndex$="kWORKTICKETNO" |
[string] Alternate key to use as the Primary Index for main table |
| LOCAL cRollOrder$="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
[string] String containing the sequence of characters for the roll order of the work ticket key field |
| LOCAL cAllowAliasItems |
| LOCAL cItemTypes$ |
| LOCAL cAllowInactive |
| LOCAL cAllowPhantom |
| LOCAL cAllowEngineering |
| LOCAL cExtDescKeyCol$="ParentExtendedDescriptionKey$" |
| LOCAL cUOMItemCol$ |
| LOCAL cUOMConvFactorCol$ |
| PROPERTY AllowInactiveItems |
[boolean] True/False flag for whether current user has rights to use inactive items in work ticket entry for parent items and material detail |
| PROPERTY AllowParentQtyChangesAfterRelease * Read Only * |
[boolean] True/False flag for whether current user has rights to change the parent quantity after the work ticket has been released |
| PROPERTY AllowWorkTicketRelease * Read Only * |
[boolean] True/False flag for whether current user has rights to release a work ticket |
| PROPERTY AmountMask$ * Read Only * |
[string] Mask to be used for amount fields |
| PROPERTY Attachments * Read Only * |
[object handle] Object handle to an instance of PM_WorkTicketAttachments_bus |
| PROPERTY BillHasOptions$ * Read Only * |
[string] Yes/No flag for whether the parent bill number has options |
| PROPERTY BillHasTemplate$ * Read Only * |
[string] Yes/No flag for whether the parent bill number has been assigned a template |
| PROPERTY BM_AllowPhantomBills$ * Read Only * |
[string] Yes/No flag for whether phantom bills are allowed. Source is BM_Options. |
| PROPERTY BM_EnableEngineeringChangeControl$ * Read Only * |
[string] Yes/No flag for whether engineering change control is enabled. Source is BM_Options. |
| PROPERTY BM_RequireBillRevisions$ * Read Only * |
[string] Yes/No flag for whether bill revisions are required. Source is BM_Options. |
| PROPERTY BM_UseOptionBills$ * Read Only * |
[string] Yes/No flag for whether bill options are used. Source is BM_Options. |
| PROPERTY CI_NumberOfDecimalPlacesInQty * Read Only * |
[integer] Number of decimal places in quantity fields. Source is CI_Options. |
| PROPERTY CI_NumberOfDecimalPlacesInCost * Read Only * |
[integer] Number of decimal places in cost fields. Source is CI_Options. |
| PROPERTY CI_NumberOfDecimalPlacesInUM * Read Only * |
[integer] Number of decimal places in unit of measure conversion factor fields. Source is CI_Options. |
| PROPERTY CostMask$ * Read Only * |
[string] Mask to be used for cost fields |
| PROPERTY DefaultMaterialsWarehouseCode$ * Read Only * |
[string] Default materials warehouse code |
| PROPERTY DefaultMaterialsWarehouseStatus$ * Read Only * |
[string] Status of the materials default warehouse |
| PROPERTY DefaultMaterialsWhseRestrictEndDate$ * Read Only * |
[string] Restriction End Date, if materials default warehouse is restricted |
| PROPERTY DefaultParentWarehouseCode$ * Read Only * |
[string] Default parent warehouse code |
| PROPERTY DefaultParentWarehouseStatus$ * Read Only * |
[string] Status of the parent default warehouse |
| PROPERTY DefaultParentWhseRestrictEndDate$ * Read Only * |
[string] Restriction End Date, if parent default warehouse is restricted |
| PROPERTY DeletingWorkTicket * Read Only * |
[boolean] True/False flag for whether the current work ticket is being deleted |
| PROPERTY ExtDescriptionText$ |
[string] Extended Description Text for the parent item code |
| PROPERTY HoursMask$ * Read Only * |
[string] Mask to be used for hours fields |
| PROPERTY IM_QuantityAvailableToInclude$ * Read Only * |
[string] Current value of Quantity Available To Include. Source is IM_Options. |
| PROPERTY IM_RequireMultipleWarehouses$ * Read Only * |
[string] Yes/No flag for require multiple warehouses. Source is IM_Options. |
| PROPERTY ItemTypes$=cItemTypes$ |
[string] List of valid item types allowed, used in CI_ItemCodeUI_val |
| PROPERTY LastErrorMsgSecuritySwitch$ |
[string] Last Error Message text for a security switch that is done due to a locking conflict or entry being processed by a transaction entry |
| PROPERTY Materials * Read Only * |
[object handle] Object handle to an instance of PM_WorkTicketDetail_bus |
| PROPERTY OrderCancelled * Read Only * |
[boolean] True/False flag for whether the work ticket number was cancelled, if work ticket exists only in history |
| PROPERTY OriginalQuantityPlanned |
[number] Original Quantity Planned |
| PROPERTY OriginalStatus$ * Read Only * |
[string] Original Status of Work Ticket |
| PROPERTY ParentItemIsBill * Read Only * |
[boolean] True/False flag for whether the parent item code is a bill |
| PROPERTY ParentValuation$ * Read Only * |
[string] Valuation of parent item code |
| PROPERTY PM_AutoIssueLabor$ * Read Only * |
[string] Yes/No flag for auto issue of labor is allowed. Source is PM_Options. |
| PROPERTY PM_AutoIssueMaterials$ * Read Only * |
[string] Yes/No flag for auto issue of materials is allowed. Source is PM_Options. |
| PROPERTY PM_AutoIssueMaterialShortageRpt$ * Read Only * |
[string] Print the Material Shortage Report when auto issuing a work ticket, N=None, I=Sort by Item Code, W=Sort by Work Ticket, B=Print Both. Source is PM_Options. |
| PROPERTY PM_AutoReleaseWorkTicket$ * Read Only * |
[string] Yes/No flag for auto release of a work ticket when saving the entry. Source is PM_Options. |
| PROPERTY PM_BackflushLabor$ * Read Only * |
[string] Yes/No flag for backflush of labor is allowed. Source is PM_Options. |
| PROPERTY PM_BackflushMaterials$ * Read Only * |
[string] Yes/No flag for backflush of materials is allowed. Source is PM_Options. |
| PROPERTY PM_CloseStatusCode$ * Read Only * |
[string] Status Code to denote a closed step |
| PROPERTY PM_CombineMaterialLineComments$ * Read Only * |
[string] Yes/No flag for whether to Combine Material Line Item Comments. Source is PM_Options. |
| PROPERTY PM_CreateWTWithMaterialsFrom$ * Read Only * |
[string] Create Work Ticket With Materials From. Source is PM_Options. |
| PROPERTY PM_DefaultMaterialsBudgetCost$ * Read Only * |
[string] Default Materials Budget Cost. Source is PM_Options. |
| PROPERTY PM_DynamicMaterials$ * Read Only * |
[string] Yes/No flag for Dynamic Materials. Source is PM_Options. |
| PROPERTY PM_EnableEnhancedScheduling$ * Read Only * |
[string] Yes/No flag for Enable Enhanced Scheduling. Source is PM_Options. |
| PROPERTY PM_ExplodeSubassemblies$ * Read Only * |
[string] Yes/No/subComponents only flag for explode subassemblies. Source is PM_Options. |
| PROPERTY PM_IncludeOpenWTMaterialsAsDemand$ * Read Only * |
[string] Yes/No flag for Include Open Work Ticket Materials As Inventory Demand. Source is PM_Options. |
| PROPERTY PM_IntegrateBillOfMaterials$ * Read Only * |
[string] Yes/No flag for whether Production Management is integrated with the Bill of Materials module. Source is PM_Options. |
| PROPERTY PM_IntegratePurchaseOrder$ * Read Only * |
[string] Yes/No flag for whether Production Management is integrated with the Purchase Order module. Source is PM_Options. |
| PROPERTY PM_PrintPickingSheets$ * Read Only * |
[string] Print picking sheets, N-No, W-Yes, Sort by Warehouse, T=Yes, Sort by Work Ticket. Source is PM_Options. |
| PROPERTY PM_PrintPickingSheetsUponRelease$ * Read Only * |
[string] Yes/No flag for whether to Print Picket Sheets Upon Release. Source is PM_Options. |
| PROPERTY PM_PrintWorkTicketLabels$ * Read Only * |
[string] Yes/No flag for whether to Print Work Ticket Labels. Source is PM_Options. |
| PROPERTY PM_PrintWorkTicketUponRelease$ * Read Only * |
[string] Yes/No flag for whether to Print Work Tickets Upon Release. Source is PM_Options. |
| PROPERTY PM_SummarizeMaterialLines$ * Read Only * |
[string] Yes/No flag for whether to Summarize Material Lines by Step and Item. Source is PM_Options. |
| PROPERTY PM_UseItemDefaultWhseParent$ * Read Only * |
[string] Yes/No flag for whether to Use Ttem Default Warehouse for Parent Items. Source is PM_Options. |
| PROPERTY PM_UseItemDefaultWhseMaterial$ * Read Only * |
[string] Yes/No flag for whether to Use Item Default Warehouse for Material. Source is PM_Options. |
| PROPERTY PriceMask$ * Read Only * |
[string] Mask to be used for price fields |
| PROPERTY QtyMask$ * Read Only * |
[string] Mask to be used for quantity fields |
| PROPERTY Steps * Read Only * |
[object handle] Object handle to an instance of PM_WorkTicketStep_bus |
| PROPERTY WasOpen * Read Only * |
[boolean] True/False flag for whether the current work ticket status was Open |
| FUNCTION AutoIssueLabor(batchNumber$, transNo$) | ||||||||||||||||||||||||||
Auto Issue Labor for Work Ticket | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION AutoIssueMaterials(batchNumber$, transNo$) | ||||||||||||||||||||||||||
Auto Issue Materials for Work Ticket | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CanBeDeleted(tmpWTKey$, tmpStepLineKey$) | ||||||||||||||||||||||||||
Checks whether a work ticket or work ticket step can be deleted | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION ChangeDefaults(record$) | ||||||||||||||||||||||||||
| FUNCTION ChangeDefaults(record$, iolist$) | ||||||||||||||||||||||||||
Logic to set defaults from the values set in the default dialog | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CheckCopyFromWarehouse(copyFromSource$, copyFromKey$) | ||||||||||||||||||||||||||
Check warehouse codes in the originating document | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
Warning if inactive/restricted whse exists for the target document and the default whse is active Failure if inactive/restricted whse exists for the target document and the default whse is also inactive/restricted | ||||||||||||||||||||||||||
| FUNCTION CheckForRequiredBillOptions() | ||||||||||||||||||||||||||
Check for required bill options | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CheckPODocuments(PONo$, docDesc$) | ||||||||||||||||||||||||||
Check Purchase Orders for activity | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION Clear() | ||||||||||||||||||||||||||
Overrides base class function from SY_LineEntryHeader_bus. This is done to add logic to handle step detail and other business objects | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CommitLines() | ||||||||||||||||||||||||||
Overrides base class function from SY_LineEntryHeader_bus. This is done to add logic to handle step detail | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CopyFromBill(tmpBillNo$, tmpRevNo$, tmpTemplateNo$, tmpTemplateRevNo$, tmpOptionCodes$, tmpExplodeSubassemblies$) | ||||||||||||||||||||||||||
| FUNCTION CopyFromBill(tmpBillNo$, tmpRevNo$, tmpTemplateNo$, tmpTemplateRevNo$, tmpOptionCodes$, tmpExplodeSubassemblies$, tmpCreateMtlsFrom$) | ||||||||||||||||||||||||||
Copy From Bill, creates step and material detail. Arguments for this method should match the current values of the fields in the work ticket header. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CopyFromWorkTicket(srcWorkTicketKey$, tmpQty, tmpScale$, tmpCopyMemo$, tmpCopyStepMemo$, tmpStartDate$) | ||||||||||||||||||||||||||
Copy From Work Ticket | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CopyFromWorkTicketHistory(srcWorkTicketKey$, tmpQty, tmpScale$, tmpCopyBudget$, tmpCopyMemo$, tmpCopyStepMemo$, tmpStartDate$) | ||||||||||||||||||||||||||
Copy From Work Ticket History | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION CreateDetail() | ||||||||||||||||||||||||||
| FUNCTION CreateDetail(tmpCreateMtlsFrom$) | ||||||||||||||||||||||||||
| FUNCTION CreateDetail(tmpCreateMtlsFrom$, tmpExpSubAssemblies$) | ||||||||||||||||||||||||||
Create Detail both step and materials for a new work ticket. Requires all parent values be set in header before executing. These are: Parent Item Code, Parent Revision and Bill Options 1-9 (if Parent Item Code is a bill), Template Number and Template Revision Number. The method will create Step and Material detail. If no template is specified a step zero will be created. After creating the detail, the step budgets will be calculated. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION Delete() | ||||||||||||||||||||||||||
Overrides base class function from SY_LineEntryHeader_bus. This is done to add logic to handle step detail | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION Delete(key$) | ||||||||||||||||||||||||||
Overrides base class function from SY_LineEntryHeader_bus. This is done to add logic to handle step detail | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION DeleteLine() | ||||||||||||||||||||||||||
Overrides base class function from SY_LineEntryHeader_bus. This is done to add logic to handle step detail | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||||||||||||||||||
Get the contexts available for a table | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||||||||||||||||||
Get the source table for a context | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION GetKeyPadded$() | ||||||||||||||||||||||||||
Overrides base class function from SY_LineEntryHeader_bus. This is done to add logic to handle surrogate key | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION GetNextWorkTicketNo(tmpWTNo$) | ||||||||||||||||||||||||||
Get Next Work Ticket Number | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION GetTemplateWTClass$(tmpTemplateNo$, tmpTemplateRevNo$) | ||||||||||||||||||||||||||
Get the work ticket class assigned to a template | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION HasCostActivity() | ||||||||||||||||||||||||||
Checks for whether the current work ticket has cost activity | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION SetHeader(header$) | ||||||||||||||||||||||||||
Overrides base class function from SY_LineEntryHeader_bus. This is done to add logic to handle step detail business object | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION SetLinesToMaterials() | ||||||||||||||||||||||||||
Set Lines To Materials. Switches Lines detail object handle to the object handle for Materials | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION SetLinesToSteps() | ||||||||||||||||||||||||||
Set Lines To Steps. Switches Lines detail object handle to the object handle for Steps | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION ValidateCopyFrom(tmpCopyFrom$, tmpCopyWTNo$, tmpCopyWTKey$, tmpHasMemos$, tmpHasStepMemos$, tmpManuallySchedule$, tmpItemCode$, tmpWTDesc$, tmpUOM$, tmpQuantity, tmpWTClass$, tmpAllowSameWT) | ||||||||||||||||||||||||||
Validate Copy From. Used when copying from an open work ticket or work ticket from history. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| FUNCTION ValidateGroupBMIntegrated() | ||||||||||||||||||||||||||
Validation Group, Is Production Management integrated with the Bill of Materials module returns [boolean] True if integrated, False if not | ||||||||||||||||||||||||||
| FUNCTION ValidateGroupWorkTicketNoDetail() | ||||||||||||||||||||||||||
Validation Group, Work Ticket No Detail Exists returns [boolean] True if current work ticket has no step or material detail, False if detail exists | ||||||||||||||||||||||||||
| FUNCTION ValidateGroupWorkTicketNotReleased() | ||||||||||||||||||||||||||
Validation Group, Work Ticket Not Released returns [boolean] True if current work ticket has not been released, False if has been released | ||||||||||||||||||||||||||
| FUNCTION Write() | ||||||||||||||||||||||||||
Function writes the current record into the PM_WorkTicketHeader table. | ||||||||||||||||||||||||||
|
|
ValidBillTypes$, RequireItemOnFile |
|
cItemTypes$, cAllowAliasItems, cAliasItemTypes$, cItemCodeDescCol$, cItemTypeCol$, cExtDescKeyCol$, ItemTypes$, AllowAliasItems, AliasItemTypes$, ExtendedDescriptionBusiness, ItemCodeDescCol$, AllowPhantom, AllowEngineering, AllowInactive, InvalidPurchase, IMIntegrated |
|
cPrecisionQty, IM_IsSetup |
|
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$ |
|
HistoryUpdated, WorkTicketInHistory, WorkTicketLineInHistory |
|
BatchEnabled, Lines, ScriptPreTotalsDone |
|
ClassValidateBillOption() |
|
ClassValidateBillNo(), ClassValidateRevision(), PERFORM SetValidBillTypesMessage() |
|
ClassValidateBuyerPlannerCode() |
|
Write(), PERFORM CheckForAlias(), PERFORM CheckUseIn(), CheckValidBill(), ClassOverrideDescription(), ClassOverrideItemCode(), ClassValidateDescription(), ClassValidateItemCode(), ItemTypeSetDefaults(), PERFORM ItemTypeSetDefaults(), UpdateGridExtendedDescKey(), ValidateGroupNotCurrentItemType() |
|
CommitQuantity() |
|
ClassValidateTemplate() |
|
ClassValidateUnitOfMeasure() |
|
SetAllowInactiveRestrictedWhse(), ClassValidateWarehouse(), GetClassName$() |
|
ClassValidateWorkTicketClass() |
|
ClassValidateWorkTicket() |
|
BuildAlternateIOL$(), BuildMemoryFile(), ConvertCalendarToJulian(), ConvertJulianToCalendar$(), FormatTime$(), HHMMToMinutes(), HHMMToNum(), LoadCustomLabelConstants(), NumToHHMM$(), TimeToHHMM() |
|
AddInHistoryLine(), AddInHistoryStep(), BackOutHistoryLine(), BackOutHistoryLineDeleteStep(), BackOutHistoryStep(), CheckForHistoryLine(), UpdateDetailLineDescription(), CheckForHistory(), DeleteWorkTicketHistory(), WriteWorkTicketHistory() |
|
ActivityLogOverride(), ActivityLogPrepare(), AddLine(), AFMapTotalColumns(), CLEAR(), CommitLines(), DELETE(), Delete(), DeleteLine(), EditLine(), InsertLine(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ResetLine(), ScriptPreTotals(), SetCurrentKey(), SetHeader(), Write(), WriteLine(), ActivityLogCreateFile(), ActivityLogWasLineRenumbered(), ClearLastRecord() |
|