Class BM_Production_bus

Properties

LOCAL cMainTable$="BM_ProductionHeader"  
LOCAL cIsSysDB=isFALSE  
LOCAL cProgressBarTitle$="Production Entry"  
LOCAL cBatchModule$="B/M"  
LOCAL cBatchTotalVars$=$$  
LOCAL cBatchType$  
PROPERTY QtyMask$   * Read Only *
PROPERTY QuantityToProduce   * Read Only *
PROPERTY TrackLotSerialExpiration   * Read Only *

[boolean] Flag to indicate that current Bill is tracking lot/serial expiration dates

PROPERTY RequireExpirationDate   * Read Only *

[boolean] Flag to indicate that the lot/serial expiration date is required

Methods

FUNCTION Delete(Key$)  
FUNCTION GetNextProductionNo(tmpProductionNo$)  
FUNCTION IsExpDateCalculated()  

Function returns whether the current production bill is an item where the expiration date is being calculated or not

Returns [boolean]
ValueDescription
isTRUE if bill number is a lot/serial item which is tracking lot/serial expiration dates and that date is a calculated date
isFALSE if bill is not lot/serial or not using lot/serial expiration dates and not calculated the lot/serial expiration date
FUNCTION RecalcExpDate(newDate$)  

Recalculates the lot/serial expiration date if applicable for the current bill

ParameterDescription
newDate$ [input, date] date to base the calculation on
Returns Always returns retSUCCESS(1)
FUNCTION ResetExpDate(resetDate$)  

Function to reset the expiration date to a specific value. This will not redo the validation for the field.

ParameterDescription
resetDate$ [input, date] date to reset the expiration date to
Returns returns [boolean]
ValueDescription
retSUCCESS(1) if valid date or blank
retFAILURE(0) if invalid date

Properties inherited from: BM_CommonEntry

cMiscChgSrcIOL$, cMiscChgDstIOL$, BillHasOptions$, BillUnitOfMeasure$, BillType$, BM_PostMiscChargesToGLByWhse$, BM_RequireBillRevisions$, BM_UseOptionBills$, BM_EnableEngineeringChangeControl$, BM_AllowKitBills$, DfltComponentWhseCode$, DfltComponentWhseStatus$, DfltComponentWhseRestrictEnd$, DfltParentWhseCode$, DfltParentWhseStatus$, DfltParentWhseRestrictEnd$, IMIntegrated, IM_SegmentForWhsePostings$, IM_RequireMultipleWarehouses$, PrecisionCost, PrecisionQty

Properties inherited from: CI_ItemConstant

itmREGULAR$, itmSPECIAL$, itmCHARGE$, itmCOMMENT$, itmMISC$, valSTANDARD$, valAVERAGE$, valFIFO$, valLIFO$, valLOT$, valSERIAL$, lsTransOTHER, lsTransRECEIPT, lsTransSALE, lsTransISSUE, lsTransSHIPPING, lsTransRETURN

Methods inherited from: BM_CommonEntry

ChangeDefaults(), CheckForRequiredBillOptions(), ExplodeBill(), CheckDefaultWarehouses(), ClassValidateBillOption(), ColumnOverrideBillOption1(), ColumnOverrideBillOption2(), ColumnOverrideBillOption3(), ColumnOverrideBillOption4(), ColumnOverrideBillOption5(), ColumnOverrideBillOption6(), ColumnOverrideBillOption7(), ColumnOverrideBillOption8(), ColumnOverrideBillOption9(), GenerateFormatMask$(), PERFORM GetBillInfo(), RetrieveOptions(), SetDefaults(), SetOptions(), StripRequiredVal$(), ValidateBillNo(), ValidateDefaultComponentWhseCode(), ValidateGroupBillNoRequired(), ValidateGroupBillOptions(), ValidateGroupBillRevisions(), ValidateGroupEngineeringChangeControl(), ValidateGroupLinesExist(), ValidateGroupMultiWarehouse(), ValidateParentWarehouseCode(), ValidateRevision()

Methods inherited from: CI_TierCostCalc

CalcCost(), ClearCCByBatch(), ClearCCByDeKey(), ClearCCByJournal(), ClearCCWorkFile(), PERFORM ClearCommits(), PERFORM PostTableReadCI_TierCostCalc(), PERFORM PreNextRecordCI_TierCostCalc(), PERFORM PreTableWriteCI_TierCostCalc(), PERFORM ProcessTierDistribution()