Class PO_ReceiptOfGoodsDetail_bus

Properties

LOCAL cDistDstIOList$=CPL("IOLIST ReceiptType$, ReceiptNo$, LineKey$, ItemCode$, WarehouseCode$, QuantityReceived, Valuation$, UnitOfMeasureConvFactor, cLotSerRefDate$, cLotSerTransType")  
LOCAL cDistSrcIOList$=CPL("IOLIST ReceiptType$, ReceiptNo$, LineKey$, ItemCode$, WarehouseCode$, QuantityReceived, Valuation$, UnitOfMeasureConvFactor, header.ReceiptDate$, lsTransRECEIPT")  
LOCAL cDistObject$  
LOCAL cDistQtyVar$="QuantityReceived"  
PROPERTY DistributeLine   * Read Only *
PROPERTY InventoryItems   * Read Only *

Methods

FUNCTION AddLine()  
FUNCTION CommitRow()  

Overrides base class function from SY_LineEntryTierDetail. This is done to add logic to handle clearing back orders.

Returns [boolean] True (1) if successful, False (0) if method fails
FUNCTION DistributionMissingInfo(distKey$, distRow, poLine$)  
FUNCTION GetWorkTicketInfo(workTicket$, stepKey$, pOrder$, pOrderLine$, pinHistory, lineBilled)  

Function will query several production management tables to determine if the work ticket/step combination is in history and whether the line has been billed or not.

ParameterDescription
workTicket$ [input, string] WorkTicketKey value to be used to query production management.
stepKey$ [input, string] StepLineKey value of the step to be used to query production management.
pOrder$ [input, string] Purchase Order number associated with the receipt, used to determine whether it has been billed or not.
pOrderLine$ [input, string] Purchase Order line key to be used to determine whether that line has been billed or not.
inHistory [output, boolean] Flag to indicate that work ticket step does not exist in the current work ticket tables, but has been moved to history.
lineBilled [output, boolean] Flag to indicate that the work ticket line associated with the purchase order line has been billed or not.
Returns [boolean] Always returns True (1)
FUNCTION SetDistributionCommon()  
FUNCTION ValidateAccumulateLines()  
FUNCTION ValidateGroupNewLine()  
FUNCTION ValidateGroupPORequired()  
FUNCTION ValidateLines()  
FUNCTION WRITE()  

Properties inherited from: PO_ReceiptDetail_bus

cIsSysDB, cItmCommonFields$, cMainTable$, InvalidUnreleaseWOLine, PoCopySrc$, PoCopyDest$, PMUnReleasedMsg$

Methods inherited from: PO_ReceiptDetail_bus

CheckSetOriginalUnitCost(), ClearSetFiles(), ClearSetFileWorkTable(), CopyPurchaseOrderLines(), GetBatchTotalVars(), GetContext$(), GetContextSourceTables$(), ResetPurchaseOrderRow(), ResetRowsWithDistribution(), RetrievePurchaseOrderLine(), SetKey(), UpdateInvoiceBalanceBatchTotal(), UpdateRequiredDate(), ValidateAccumulateLines(), ValidateGroupFAIntegration(), ValidateGroupSOSetup(), ValidateLines(), WRITE(), AddIn(), BackOut(), ColumnOverrideBalanceQtyBackordered(), ColumnOverrideOriginalOrderQty(), ColumnOverridePreviousQtyInvoiced(), ColumnOverridePreviousQtyReceived(), ColumnOverrideQuantityBackordered(), ColumnOverrideQuantityInvoiced(), ColumnOverrideQuantityReceived(), PERFORM CopyOrderLines(), PERFORM CopyOrderLinesSetup(), FixedAssetAccountVerify(), GetQuantityColumns(), SetChildColl(), SetCurrentKey(), SetDefaultJCWO(), SetDefaults(), SetPMChildColl(), ValidateAppliedPurchaseOrderNo(), ValidateItemCode(), ValidateJobInfo(), ValidateJobNo(), ValidatePurchasesAcctKey(), ValidateQuantityBackordered(), ValidateUnitCost(), ValidateWarehouseCode(), ValidateWorkOrderNo()