Class BM_Bill_bus

Properties

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 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.

Methods

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 SetCopyAllBillOptions(tmpAllBillOptions$)  
FUNCTION SetCopyAllOptionCategories(tmpAllOptionCategories$)  
FUNCTION SetCopyBillNo(tmpBillNo$, tmpBillHasOptions$)  
FUNCTION SetCopyBillOption(tmpBillOption$)  
FUNCTION SetCopyEffectiveDate(tmpEffectiveDate$)  
FUNCTION SetCopyOptionCategory(tmpOptionCategory$)  
FUNCTION SetCopyRevision(tmpRevision$, tmpBillHasOptions$)  
FUNCTION WRITE()  

Properties inherited from: BM_Constant

billTypeSTANDARD$, billTypeKIT$, billTypeINACTIVE$, billTypePHANTOM$, billTypeENGINEERING$, billTypeMRP$, disTypePRODUCED$, disTypePURCHASED$, disTypeREVERSAL$, billCATEGORYNUM

Properties inherited from: CI_Bill_val

ValidBillTypes$, RequireItemOnFile

Properties inherited from: CI_Constant

itmREGULAR$, itmSPECIAL$, itmCHARGE$, itmCOMMENT$, itmMISC$, valSTANDARD$, valAVERAGE$, valFIFO$, valLIFO$, valLOT$, valSERIAL$, typFINISHEDGOODS$, typRAWMATERIALS$, typDISCONTINUED$, typKIT$, proMAKE$, proBUY$, proSUBCONTRACT$

Properties inherited from: SY_Customization

cDummyIol$

Properties inherited from: SY_LineEntryHeader_bus

BatchEnabled, Lines, ScriptPreTotalsDone

Methods inherited from: CI_Bill_val

ClassValidateBillNo(), ClassValidateRevision(), PERFORM SetValidBillTypesMessage()

Methods inherited from: CI_Constant

GetCalendarEndingDate(), GetDefaultExtendedDescriptionKey$()

Methods inherited from: SY_Customization

GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite()

Methods inherited from: SY_LineEntryHeader_bus

ActivityLogOverride(), ActivityLogPrepare(), AddLine(), AFMapTotalColumns(), CLEAR(), CommitLines(), DELETE(), Delete(), DeleteLine(), EditLine(), InsertLine(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ResetLine(), ScriptPreTotals(), SetCurrentKey(), SetHeader(), Write(), WriteLine(), ActivityLogCreateFile(), ActivityLogWasLineRenumbered(), ClearLastRecord()