| LOCAL cMainTable$="BM_BillOptionHeader" |
| LOCAL cIsSysDB=isFALSE |
| LOCAL cCopyFromRec$ |
| LOCAL cCopyFromIOL$=CPL("IOLIST cCopyOptionCategory$, cCopyOptionCategoryDesc$, cCopyBillOption$, "+"cCopyBillOptionDesc$, cCopyEffectiveDate$") |
| LOCAL cGetCopyFromIOL$=CPL("IOLIST cCopyBillNo$, cCopyRevision$, cCopyBillDesc$, cCopyOptionCategory$, "+"cCopyOptionCategoryDesc$, cCopyBillOption$, cCopyBillOptionDesc$, cCopyEffectiveDate$") |
| LOCAL cSetDefaultsSrcIOL$=CPL("IOLIST BillDesc1$, BillDesc2$, DrawingNo$, DrawingRevision$, DateLastUsed$, "+"MaximumLotSize, YieldPercent") |
| LOCAL cSetDefaultsDstIOL$=CPL("IOLIST OptionDesc1$, OptionDesc2$, DrawingNo$, DrawingRevision$, DateLastUsed$, "+"MaximumLotSize, YieldPercent") |
| PROPERTY BillOptionFH=cBMBillOptionHeaderWorkFH |
| PROPERTY CopyBillOptionFH |
| PROPERTY BM_AllowEntryOfNegativeQty$ |
| PROPERTY BM_AllowPhantomBills$ |
| PROPERTY BM_AllowScrapYieldPercentFactors$ |
| PROPERTY BM_AllowDuplicateComponents$=isNO$ |
| PROPERTY BM_EnableEngineeringChangeControl$ |
| PROPERTY BM_RequireBillRevisions$ |
| PROPERTY BM_UseOptionBills$ |
| PROPERTY CurrentBillType$ |
| PROPERTY PMIntegrated |
[boolean] Flag to indicate that production management is installed and integrated with bill of materials |
| PROPERTY PrecisionCost |
| PROPERTY PrecisionQty |
| PROPERTY PriceMask$ * Read Only * |
| PROPERTY RecordsChanged |
| PROPERTY WOIntegrated |
| FUNCTION ClearCopyFrom() | ||||||||||||
| FUNCTION CopyFrom() | ||||||||||||
| FUNCTION Delete(key$) | ||||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||||
| FUNCTION GetCopyFrom(tmpRec$) | ||||||||||||
| FUNCTION IsMissingSteps() | ||||||||||||
Function will test all options for the current bill for required work ticket step numbers. | ||||||||||||
| ||||||||||||
True - One or more bill options are missing a required step number. False - All bill options have the required step numbers. | ||||||||||||
| FUNCTION SetBillHeaderInfo(bill$, billRev$, routing$) | ||||||||||||
| FUNCTION SetBillHeaderInfo(bill$, billRev$, routing$, template$, templateRev$) | ||||||||||||
Function used to push bill header information into the options business object. | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION SetCopyBillNo(tmpBillNo$) | ||||||||||||
| FUNCTION SetCopyBillOption(tmpBillOption$) | ||||||||||||
| FUNCTION SetCopyEffectiveDate(tmpEffectiveDate$) | ||||||||||||
| FUNCTION SetCopyOptionCategory(tmpOptionCategory$) | ||||||||||||
| FUNCTION SetCopyRevision(tmpRevision$) | ||||||||||||
| FUNCTION SetStepInfo(setOpt$) | ||||||||||||
Function reads through current bill options detail memory table and sets the work ticket step number based on the set option. If set option="X" then step will be cleared if set option="D" then the default step 000000 will be set for all bill options associated with the current bill. Option="R" will only replace the work ticket steps that are blank with the default step 000000. This is used when a template is cleared or changed from the header. | ||||||||||||
| ||||||||||||
| ||||||||||||
| FUNCTION WRITE() |
|
billTypeSTANDARD$, billTypeKIT$, billTypeINACTIVE$, billTypePHANTOM$, billTypeENGINEERING$, billTypeMRP$, disTypePRODUCED$, disTypePURCHASED$, disTypeREVERSAL$, billCATEGORYNUM |
|
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 |
|
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() |
|