Class BM_Production_ui

Known SubClasses

BM_ProductionInquiry_ui

Properties

LOCAL cBT_PrintTask$="BM_ProductionRegister_ui"  
LOCAL cFirstScreenID=ProductionNo.Ctl  
LOCAL cFirstTime=isTRUE  
LOCAL cForm$="BM_PRODUCTION"  
LOCAL cFormGrid$="GD_LINES"  
LOCAL cGridViewPanel$="pLines"  
LOCAL cInquiryProgram=isFALSE  

If true, inquiry only. Set to true in BM_ProductionInquiry_ui.

LOCAL cEntityName$="Production Entry"  
LOCAL cDistBusObj$="BM_ProductionTierDistribution_bus"  
LOCAL cDistUIObj$="BM_ProductionTierDistribution_ui"  
LOCAL cDistQtyVar$  
LOCAL cDistRefDate$  
LOCAL cDistRefDateDesc$  
LOCAL cForceDistBalance  

Methods

FUNCTION LOCAL BT_Batch()  
FUNCTION LOCAL BT_BatchTransfer()  

Transfer current document from this batch to another batch

Returns [boolean] True = success
FUNCTION LOCAL BT_Defaults()  
FUNCTION LOCAL BT_NextNum()  
FUNCTION LOCAL ChangeBillNo()  

Override of same function in BM_CommonEntry_ui that in addition will enable/disable the lot/serial expiration date for the production item

Returns [boolean] return value from BM_CommonEntry_ui
FUNCTION LOCAL ChangeLotSerialExpirationDate()  

Performs logic when the LotSerialExpirationDate changes. This logic will display a prompt if the date is prior to the Production Date

Returns <[return value type - string, numeric, date, boolean, filehandle, objhandle] put return values, or explanation of what gets returned.>
FUNCTION LOCAL ChangeProductionDate()  

Function that sets Production Date into business logic as well if Tracking lot/serial expiration dates may prompt for the recalculation of expiration date and/or the re-distribution of tiers that contain lot/serial expiration dates

Returns [integer]
ValueDescription
retSUCCESS(1) if date is a valid date
retFAILURE(0) if date is invalid
retWARNING(-1) if date is valid but is out of document date range
FUNCTION LOCAL ChangeProductionNo()  
FUNCTION LOCAL HeaderBillEnable()  
FUNCTION LOCAL OnFocusLotSerialExpirationDate()  

Function fires on the focus of the lot serial expiration date, used to save off previous value of field

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusProductionDate()  

Function fires on the focus of the production date, used to save off previous value of field

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL PostLoad()  
FUNCTION LOCAL PostReadRec()  

Properties inherited from: BM_CommonEntry_ui

cItemLookup$, cItemLookupTypeFilter$, cResetFolder$, cResetFolderID, cNewRecordFolderID, cNewRecordFolderNames$, cBillOptionIOL$, cAllowItemOTF, cOTFSecurityEvent$, cDistItemCode$, cDistWarehouseCode$, cDistUnitOfMeasure$

Methods inherited from: BM_CommonEntry_ui

LaunchMemoItem(), BT_Accept(), BT_ExtDesc(), BT_ItemInquiry(), BT_OK(), BT_Options(), BT_RowDel(), BT_RowReset(), BT_RowResetAll(), ChangeBillNo(), ChangeComponentItemCode(), ChangeExtendedQuantity(), ChangeML_Bill_Options(), ChangeML_Ext_Desc(), ChangeQuantityPerBill(), ChangeRevision(), DefaultWarehouseWarning(), DRBT_ItemInquiry(), DRBT_ItemMaint(), DRBT_ItemStatus(), PERFORM GetBillDescription(), GetCurrentBillOptions$(), GetLineRecord(), HeaderBillEnable(), OnExit(), OnExitpHeader(), OnExitpLines(), OnFocusBillNo(), OnFocusRevision(), PostLoad(), PostLoadpHeader(), PostLoadpLines(), PostReadRec(), RowMods(), SetGridColumns(), ShowItemMaint(), ShowMemoItem(), TranslateColumns()