| LOCAL cDocument$="InvoiceNo$" |
| LOCAL cErrorMsg$="Invoice Number" |
| LOCAL cMainTable$="SO_InvoiceTierDistribution" |
| LOCAL cQuantity$="QuantityShipped" |
| LOCAL cOrigQuantity$="old.QuantityShipped" |
| LOCAL cAlreadyCommittedVar$ |
Used in Write method when checking QuantityAvailable. |
| LOCAL cCommitQuantityVar$ |
Used in AddIn method for updating IM_ItemCost. |
| LOCAL cOrigCommitQuantityVar$ |
Used in BackOut method for updating IM_ItemCost. |
| FUNCTION AccumulateSODistQty(soNo$, soLineKey$, item$, whse$) | ||||||||||
Accumulates the distributed Quantity from Lot/Serial tiers for a Sales Order detail line. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION AutoAdjustInvLot(qtyToDist) | ||||||||||
Automatically adjusts a balanced, single-Lot distribution when the detail line Quantity is reduced. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CheckForCreditMemo() | ||||||||||
| FUNCTION CopyInvoiceHistoryTiersToCreditMemo(tmpInvoiceNo$, tmpHeaderSeqNo$, tmpDetailSeqNo$) | ||||||||||
Copies Lot/Serial tiers from a Invoice History detail line to a Credit Memo Invoice detail line. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CopySOTiersToInvoice(soNo$, soLineKey$) | ||||||||||
Copies Lot/Serial tiers from a Sales Order detail line to an Invoice detail line. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||
Gets Contexts for UDF flow. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||
Gets Source tables for UDF flow. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION SetCommonInfo(rec$, iol$) | ||||||||||
| FUNCTION Write() |
|
cIsSysDB, tierFIFO$, tierLIFO$, tierLOT$, tierSERIAL$, Available, Balance, CommitTierQty, DistReverseQty, DocumentNo$, DocumentType$, FileHasItemWhse, FileHasUOMConvFactor, LineFileChanged, ItemCode$, RequireExpirationDate, TierOnFile, TotalToDistribute, TrackLotSerialExpiration, UnitOfMeasure$, UnitOfMeasureConvFactor, UpdateIMItemCost, WarehouseCode$, QtyColumn$ |
|
cDummyIol$ |
|
AccumulateDistQty(), AddDistributionLine(), Addin(), BackOut(), CalcLotSerialDate(), CancelDistribution(), CheckDistributedQuantity(), CheckForDuplicateSerialNumbers(), CheckForMissingExpirationDates(), CheckLotSerDates(), CheckQuantity(), CheckTiersForClearExpDate(), CheckTiersForRecalcExpDate(), CleanUpLine(), ClearLine(), ClearSetFiles(), CommitDistributionRows(), CommitLineDistribution(), CommitRow(), DeleteTierLines(), DistributeNextLot(), EditDistributionLine(), FromCancel(), FromDelete(), FromTierDistributionCancel(), GenerateFormatMask$(), GetColumnLengths(), GetCurrentExpSettings(), GetOrderLineKey(), GetSerialRecords(), IgnoreRequiredExpDate(), IsSerialUsed(), LoadLots(), RecalcBalance(), RecalcExpDates(), RemoveTierLines(), RemoveZeroLots(), ResetBalance(), ResetDistributionLine(), ResetLotSerialDates(), RestoreDefaults(), RowResetAllFromMemFile(), RowResetFromMemFile(), RowResetFromPhysicalFile(), SetCommonInfo(), SetDistributionFilter(), SetFilterValues(), SetUIHandle(), ValidateGroupExpUseRefDate(), ValidateGroupTrackExpiration(), Write(), PostDeleteRec(), PostWriteRec(), ResolveTierKeyLength(), SetCurrentKey(), SetDefaults(), SetDistSecurity(), ValidateDistributionQty(), ValidateItemCode(), ValidateLineKey(), ValidateLotSerialExpirationDate(), ValidateLotSerialNo(), ValidateWarehouseCode() |
|
GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite() |
|