LOCAL cIsSysDB=isFALSE |
LOCAL cMainTable$="IM_Physical" |
LOCAL cRestartFile$ |
PROPERTY FromCancel |
PROPERTY IM_RequireMultipleWarehouses$ * Read Only * |
PROPERTY PhysicalQtyChanged * Read Only * |
PROPERTY QtyMask$ |
PROPERTY LotSerUserAllowChangeDate * Read Only * [boolean] Flag for corresponding security event to allow the modification to Lot/Serial Expiration Date |
PROPERTY RequireExpirationDate * Read Only * [boolean] Flag to indicate the current item requires a lot/serial expiration date to be entered |
PROPERTY TrackLotSerialExpiration * Read Only * [boolean] Flag to indicate the lot/serial expiration dates are being tracked for the current item |
FUNCTION AddLines() | ||||||||||||||||||
FUNCTION AddToPhysical(whse$, item$, bin$, lotSerial$, lotSerialExpDate$, qty) | ||||||||||||||||||
FUNCTION AddToPhysical(whse$, item$, bin$, lotSerial$, lotSerialExpDate$, qty, isLotSerial) | ||||||||||||||||||
FUNCTION AddToPhysical(whse$, item$, bin$, lotSerial$, lotSerialExpDate$, qty, isLotSerial, delRow) Create record for new item the the IM_Physical table | ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
FUNCTION CheckForMissingExpirationDates(firstMissing$) Checks through current line detail memory file for an expiration date that is missing if TrackLotSerExpiration is turned on and is required for item | ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
FUNCTION CheckLotSerDates(expDate$, lotSerNo$) Check Lot/Serial Expiration Date @prarm expDate$ [input, date] Lot Serial Expiration date to be used in calculation and comparisons | ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
FUNCTION CheckPhysicalForItemCode(item$, whse$, bin$) Validates new item being added, to see if already frozen, in item table whether item is discontinued, check to see if item/warehouse combination is on file | ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
FUNCTION CheckPhysicalForLotSerial(item$, whse$, lotSerial$) | ||||||||||||||||||
FUNCTION CheckTrackLotSerialExpiration(item$) Check TrackLotSerialExpiration for specified item code | ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
FUNCTION ClearPhysical() | ||||||||||||||||||
FUNCTION ClearSetFiles() | ||||||||||||||||||
FUNCTION CommitRow() | ||||||||||||||||||
FUNCTION CreateWarehouseLock(whse$) | ||||||||||||||||||
FUNCTION GetCalculatedValues() To populate read-only/calculated fields value while perform VI Import/Export, Since they are not avaialble in VI for processing | ||||||||||||||||||
| ||||||||||||||||||
FUNCTION ResetLotSerialDates(resetDate$) This function will reset the LotSerialExpirationDate back to the given date. | ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
FUNCTION SetKey(key$) | ||||||||||||||||||
FUNCTION ValidateGroupTrackExpiration() Validation group method to test whether expiration dates are being tracked for this item or at all for the system | ||||||||||||||||||
| ||||||||||||||||||
|
itmREGULAR$, itmSPECIAL$, itmCHARGE$, itmCOMMENT$, itmMISC$, valSTANDARD$, valAVERAGE$, valFIFO$, valLIFO$, valLOT$, valSERIAL$, typFINISHEDGOODS$, typRAWMATERIALS$, typDISCONTINUED$, typKIT$, proMAKE$, proBUY$, proSUBCONTRACT$ |
cItemTypes$, cAllowAliasItems, cAliasItemTypes$, cItemCodeDescCol$, cItemTypeCol$, ItemTypes$, AllowAliasItems, AliasItemTypes$, ExtendedDescriptionBusiness, ItemCodeDescCol$, AllowPhantom, AllowEngineering, AllowInactive, InvalidPurchase, IMIntegrated |
cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest |
FileChanged |
GetCalendarEndingDate(), GetDefaultExtendedDescriptionKey$() |
Write(), PERFORM CheckForAlias(), PERFORM CheckUseIn(), CheckValidBill(), ClassOverrideDescription(), ClassOverrideItemCode(), ClassValidateDescription(), ClassValidateItemCode(), ItemTypeSetDefaults(), PERFORM ItemTypeSetDefaults(), UpdateGridExtendedDescKey(), ValidateGroupNotCurrentItemType() |
ClassValidateProductLine() |
SetAllowInactiveRestrictedWhse(), ClassValidateWarehouse(), GetClassName$() |
ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule() |
ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode() |