|
CI_ActivityCode_val, CI_Constant, CI_ItemCode_val, CI_UnitOfMeasure_val, CI_Warehouse_val, CI_WorkCenter_val, CI_WorkTicket_val, PM_Constant, SY_Customization, SY_LineEntryTierDetail |
| LOCAL cMainTable$="PM_TransactionDetail" |
[string] Table name being maintained by this business object. |
| LOCAL cIsSysDB=isFALSE |
[boolean] Flag to indicate whether table is located in the MAS_SYSTEM directory. |
| LOCAL cDistDstIOList$=CPL("IOLIST coHeader, TransactionNo$, LineKey$, WorkTicketKey$, ItemCode$, WarehouseCode$, Valuation$, "+"UnitOfMeasure$, UnitOfMeasureConvFactor, Quantity, TransactionType$, cLotSerRefDate$, cLotSerTransType") |
[string] IOList to receive field values passed into tier distribution object. |
| LOCAL cMatlSrcIOList$=CPL("IOLIST coHeader, TransactionNo$, LineKey$, WorkTicketKey$, MaterialsItemCode$, MaterialsWarehouseCode$, "+"Valuation$, UnitOfMeasure$, UnitOfMeasureConvFactor, QuantityIssued, TransType$, TransDate$, cLotSerTransType") |
[string] IOList of materials transaction fields used in tier distribution object. |
| LOCAL cCmplSrcIOList$=CPL("IOLIST coHeader, TransactionNo$, LineKey$, WorkTicketKey$, SubstituteItemCode$, SubstituteWarehouseCode$, "+"Valuation$, UnitOfMeasure$, UnitOfMeasureConvFactor, Quantity, TransType$, TransDate$, cLotSerTransType") |
[string] IOList of close/completion transaction fields used in tier distribution object. |
| LOCAL cDistObject$="PM_TransactionTierDistribution_bus" |
[string] Name of tier distribution class. |
| LOCAL cDistItemCode$="TBL(TransType$=trnMATERIALS$, SubstituteItemCode$, MaterialsItemCode$)" |
[string] Name of item code field used in tier distribution. |
| LOCAL cDistWarehouseCode$="TBL(TransType$=trnMATERIALS$, SubstituteWarehouseCode$, MaterialsWarehouseCode$)" |
[string] Name of warehouse code field used in tier distribution. |
| LOCAL cDistQtyVar$="TBL(TransType$=trnMATERIALS$, Quantity, QuantityIssued)" |
[string] Name of quantity field used in tier distribution. |
| LOCAL cItemTypes$ |
| LOCAL cItemValResetIOL$ |
| PROPERTY AllowUnbalancedLines |
[boolean] Flag to indicate whether incomplete tier distribution is allowed. |
| PROPERTY ExtensionQtyCol$ * Read Only * |
[string] Quantity field to reset when an alternate item number is selected, used in CI_ItemCideUI_Val. |
| PROPERTY HdrBatchNo$ |
[string] Header record batch number. |
| PROPERTY ML_FromStepNo$ |
[string] Default Scrap From Step Number, used in UI class. |
| PROPERTY ML_ToStepNo$ |
[string] Default Scrap To Step Number, used in UI class. |
| PROPERTY SkipBackFlush |
[boolean] If true, do not create backflush labor and materials transactions. |
| PROPERTY TransDate$ |
[string] Transaction date from transaction header. |
| PROPERTY TransType$ |
[string] Transaction type from transaction header. |
| PROPERTY UnitOfMeasures$ * Read Only * |
[string] List of units of measure set up for an item. Used by CI_ItemCodeUI_val to display in ML_Status$. |
| PROPERTY WarehouseDefault$ |
[string] Transaction header work ticket's materials warehouse code. |
| PROPERTY WorkTicketDefault$ |
[string] Transaction header work ticket key. |
| PROPERTY TrackCompletedQty$ |
[string] Work ticket class option 'Track Completed Quantity'. Set by header business class. |
| PROPERTY PieceRate |
[boolean] Flag to indicate whether activity code is set up for piece rate labor cost. |
| FUNCTION CopyFromWorkTicketMaterials(workTicket$) | ||||||||||
| FUNCTION CopyFromWorkTicketMaterials(workTicket$, selFH) | ||||||||||
| FUNCTION CopyFromWorkTicketMaterials(workTicket$, selFH, rnos$) | ||||||||||
Function will copy work ticket material lines into material transactions lines for a given work ticket. This will create a row for every work ticket material line that has a quantity remaining to issue. If given a selection file, will use the records within the table to create the material issue lines. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION DeleteLine(delKey$) | ||||||||||
Deletes detail line | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION DistributionRequired() | ||||||||||
| FUNCTION DistributionRequired(valuation$) | ||||||||||
Checks if tier distribution is required | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION DoesWorkTicketHaveUnIssuedLines(workTicket$) | ||||||||||
Function checks to see if work ticket detail has any unissued lines. This function used in the UI to determine whether to prompt to pull from work ticket. | ||||||||||
| ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||
Function returns the available contexts for a given file maintained by this class. This is used for mapping UDF's | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||
Function returns the file names for a given mapping context. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetStepLineKey$(workTicket$, step$) | ||||||||||
Function returns the step line key for the given work ticket and step number | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetWorkTicketLineKeys(wtLineKeys$) | ||||||||||
Function will read through the current memory table and return a list of work ticket line keys that are already in data entry. This function will only return this for Material transactions. | ||||||||||
| ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION ImportPhantomBill(billNo$, revNo$, toStepNo$, qtyIssue) | ||||||||||
Imports phantom bill. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION SetDistributionIOList() | ||||||||||
Sets distribution source iolist based on transaction type. | ||||||||||
| ||||||||||
| FUNCTION SetUnitOfMeasures() | ||||||||||
Concatenates all units of measure set up for the current materials item in cUnitOfMeasures$. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupActivityCodeRequired() | ||||||||||
Verifies that activity code is not null in labor transaction. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupCloseComplete() | ||||||||||
Verifies that transaction type is Close or Complete. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupLabor() | ||||||||||
Verifies that transaction type is Labor. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupLaborMaterials() | ||||||||||
Verifies that transaction type is Labor or Materials. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupMaterials() | ||||||||||
Verifies that transaction type is Materials. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupMatItemRequired() | ||||||||||
Verifies that materials item code is not null in materials transaction. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupNotLabor() | ||||||||||
Verifies that transaction type is not Labor. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupSO() | ||||||||||
Verifies that sales order module is set up. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupStepRequired() | ||||||||||
Verifies that step number and step line key are not null in labor/materials transaction. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupSubItemRequired() | ||||||||||
Verifies that substitute item code is not null in close/completion transaction. | ||||||||||
| ||||||||||
| FUNCTION ValidateGroupWorkTicketRequired() | ||||||||||
Verifies that work ticket key is not null in close/completion transaction. | ||||||||||
| ||||||||||
| FUNCTION ValidateLines() | ||||||||||
Verifies that at least one line exists and accumulates batch totals. | ||||||||||
|
|
itmREGULAR$, itmSPECIAL$, itmCHARGE$, itmCOMMENT$, itmMISC$, valSTANDARD$, valAVERAGE$, valFIFO$, valLIFO$, valLOT$, valSERIAL$, typFINISHEDGOODS$, typRAWMATERIALS$, typDISCONTINUED$, typKIT$, proMAKE$, proBUY$, proSUBCONTRACT$, proMAKETOORDER$, proBUYTOORDER$, tierFIFO$, tierLIFO$, tierLOT$, tierSERIAL$, upceanTYPENONE$, upceanTYPEOTHER$ |
|
cItemTypes$, cAllowAliasItems, cAliasItemTypes$, cItemCodeDescCol$, cItemTypeCol$, cExtDescKeyCol$, ItemTypes$, AllowAliasItems, AliasItemTypes$, ExtendedDescriptionBusiness, ItemCodeDescCol$, AllowPhantom, AllowEngineering, AllowInactive, InvalidPurchase, IMIntegrated |
|
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$ |
|
cDistItemCode$, cDistWarehouseCode$, Distribution, DistributionBalanced, DistributionIOL$, DistributionMessage, ResettingAllLines |
|
ClassValidateActivityCode() |
|
GetCalendarEndingDate(), GetDefaultExtendedDescriptionKey$(), UPCEANCheckDigit(), UPCEANFetch(), UPCEANUpdate() |
|
Write(), PERFORM CheckForAlias(), PERFORM CheckUseIn(), CheckValidBill(), ClassOverrideDescription(), ClassOverrideItemCode(), ClassValidateDescription(), ClassValidateItemCode(), ItemTypeSetDefaults(), PERFORM ItemTypeSetDefaults(), UpdateGridExtendedDescKey(), ValidateGroupNotCurrentItemType() |
|
ClassValidateUnitOfMeasure() |
|
SetAllowInactiveRestrictedWhse(), ClassValidateWarehouse(), GetClassName$() |
|
ClassValidateWorkCenter() |
|
ClassValidateWorkTicket() |
|
BuildAlternateIOL$(), BuildMemoryFile(), ConvertCalendarToJulian(), ConvertJulianToCalendar$(), FormatTime$(), HHMMToMinutes(), HHMMToNum(), LoadCustomLabelConstants(), NumToHHMM$(), TimeToHHMM() |
|
GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite() |
|
AddLine(), ClearLine(), ClearSetFiles(), CommitRow(), DeleteLine(), DistributionMissingInfo(), DistributionRequired(), RemoveTiersExpDate(), ResetLine(), SetHeader(), ValidateLines(), WRITE(), ClearLastLine(), DeleteTierLines(), GetMemoryEditKey$(), PostDeleteRec(), PostWriteRec(), ResetRow(), SetCurrentKey(), ValidateAccumulateLines() |
|