|
BM_Constant, CI_Bill_val, CI_Constant, CI_Template_val, SY_Customization, SY_LineEntryHeader_bus |
| LOCAL cMainTable$="BM_BillHeader" |
| LOCAL cIsSysDB=isFALSE |
| LOCAL cOptionInteractionKeyIOL$=CPL("IOLIST BillOption1$, BillOption2$, BillOption3$, BillOption4$, "+"BillOption5$, BillOption6$, BillOption7$, BillOption8$, BillOption9$") |
| LOCAL cCopyFromRec$ |
| LOCAL cCopyFromIOL$=CPL("IOLIST cCopyBillNo$, cCopyRevision$, cCopyBillDesc$, "+"cCopyAllOptionCategories$, cCopyOptionCategory$, cCopyOptionCategoryDesc$, "+"cCopyAllBillOptions$, cCopyBillOption$, cCopyBillOptionDesc$, cCopyEffectiveDate$") |
| PROPERTY BillNoNOF * Read Only * |
| PROPERTY BillOptionBusObj * Read Only * |
| PROPERTY BillWhereUsedBusObj * Read Only * |
| PROPERTY BM_RequireBillRevisions$ * Read Only * |
| PROPERTY BM_UseOptionBills$ * Read Only * |
| PROPERTY BM_EnableEngineeringChangeControl$ * Read Only * |
| PROPERTY BM_AllowKitBills$ * Read Only * |
| PROPERTY BM_AllowEntryOfNegativeQty$ * Read Only * |
| PROPERTY BM_AllowPhantomBills$ * Read Only * |
| PROPERTY BM_AllowScrapYieldPercentFactors$ * Read Only * |
| PROPERTY BM_AllowDuplicateComponents$ * Read Only * |
| PROPERTY CurrentRevision$=cCurrentBillRevision$ |
| PROPERTY CurrentBillType$=BillType$ |
| PROPERTY ItemCodeNOF |
| PROPERTY ItemProductType$ * Read Only * |
| PROPERTY MultipleRevisionsExist * Read Only * |
| PROPERTY OptionCategoryBusObj * Read Only * |
| PROPERTY OldBillType$=cCurrentBillType$ |
| PROPERTY OptionIntBusObj * Read Only * |
| PROPERTY OptionInteractionsExist |
| PROPERTY PMIntegrated * Read Only * |
[boolean] Flag to indicate that Production Management is Integrated with Bill of Materials. |
| PROPERTY PrecisionCost * Read Only * |
| PROPERTY PrecisionQty * Read Only * |
| PROPERTY RecordChanged * Read Only * |
| PROPERTY ValidBillTypes$ |
| PROPERTY WOIntegrated * Read Only * |
| PROPERTY SyncItemDescription |
When true, following a successful Write() in WriteRec() changes made to bill description will be sync'd to IM item code description, if before the change the item description was the same as bill description. |
| PROPERTY PostWriteError$ * Read Only * |
Stores LastErrorMsg$ set when a post write exception has occurred following a successful write of the main record. |
| FUNCTION BillOptionsExist() | ||||||
| FUNCTION BillOptionsExist(tmpOptionCategory$) | ||||||
| FUNCTION BillOptionsExist(tmpOptionCategory$, tmpBillOption$) | ||||||
| FUNCTION CLEAR() | ||||||
| FUNCTION ClearCopyFrom() | ||||||
| FUNCTION ConfirmDelete() | ||||||
| FUNCTION ConfirmDelete(fromUtil) | ||||||
| FUNCTION ConfirmDelete(fromUtil, bill$) | ||||||
| FUNCTION CopyFrom() | ||||||
| FUNCTION Delete(key$) | ||||||
| FUNCTION Delete(key$, fromUtil) | ||||||
| FUNCTION GetContext$(destTable$) | ||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||
| FUNCTION GetCopyFrom(tmpRec$) | ||||||
| FUNCTION IsMissingSteps() | ||||||
Function will check for required work ticket steps in detail component lines, option records, and option interaction records. | ||||||
| ||||||
| ||||||
| FUNCTION SetCopyAllBillOptions(tmpAllBillOptions$) | ||||||
| FUNCTION SetCopyAllOptionCategories(tmpAllOptionCategories$) | ||||||
| FUNCTION SetCopyBillNo(tmpBillNo$, tmpBillHasOptions$) | ||||||
| FUNCTION SetCopyBillOption(tmpBillOption$) | ||||||
| FUNCTION SetCopyEffectiveDate(tmpEffectiveDate$) | ||||||
| FUNCTION SetCopyOptionCategory(tmpOptionCategory$) | ||||||
| FUNCTION SetCopyRevision(tmpRevision$, tmpBillHasOptions$) | ||||||
| FUNCTION SetStepInfo(setOpt$) | ||||||
Function will set step information on the component lines, option header, and option interaction header records associated with the current bill. If set option="D" then the default step 000000 will be set for all component lines, options, and option interactions . This is used when a template is cleared in the head of the bill or if that template is changed to a new value. | ||||||
| ||||||
| ||||||
| FUNCTION Write() |
|
billTypeSTANDARD$, billTypeKIT$, billTypeINACTIVE$, billTypePHANTOM$, billTypeENGINEERING$, billTypeMRP$, disTypePRODUCED$, disTypePURCHASED$, disTypeREVERSAL$, billCATEGORYNUM |
|
ValidBillTypes$, RequireItemOnFile |
|
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$ |
|
cDummyIol$ |
|
BatchEnabled, Lines, ScriptPreTotalsDone |
|
ClassValidateBillNo(), ClassValidateRevision(), PERFORM SetValidBillTypesMessage() |
|
GetCalendarEndingDate(), GetDefaultExtendedDescriptionKey$(), UPCEANCheckDigit(), UPCEANFetch(), UPCEANUpdate() |
|
ClassValidateTemplate() |
|
GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite() |
|
ActivityLogOverride(), ActivityLogPrepare(), AddLine(), AFMapTotalColumns(), CLEAR(), CommitLines(), DELETE(), Delete(), DeleteLine(), EditLine(), InsertLine(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ResetLine(), ScriptPreTotals(), SetCurrentKey(), SetHeader(), Write(), WriteLine(), ActivityLogCreateFile(), ActivityLogWasLineRenumbered(), ClearLastRecord() |
|