Class SY_LineEntryTierDetail

Properties

LOCAL cDistItemCode$="ItemCode$"  
LOCAL cDistWarehouseCode$="WarehouseCode$"  
PROPERTY Distribution   * Read Only *

Object handle to the distribution object.

PROPERTY DistributionBalanced   * Read Only *
PROPERTY DistributionIOL$   * Read Only *
PROPERTY DistributionMessage  
Message type to return when attempting to update document without distributing all of the lines. 0 - Generic Message, 1 - Indicates first Line # missing distribution By default will be set to 1 for the line # specific message.
PROPERTY ResettingAllLines  
Used to indicate that current action is resetting all document lines

Methods

the paramters above

FUNCTION AddLine()  
FUNCTION ClearLine()  
FUNCTION ClearSetFiles()  
FUNCTION CommitRow()  
FUNCTION DeleteLine(delKey$)  
FUNCTION DeleteLine()  
FUNCTION DistributionMissingInfo(key$, row)  

This function returns info about the first row that is missing the required distribution

ParameterDescription
key$ is returned and is the key to the row that has unbalanced distribution
row is the visual row number to the row that has unbalanced distribution
Returns SUCCESS if there was an error situation and the function was able to return
Returns FAILURE if there was no error and could not return information.
FUNCTION DistributionRequired()  
FUNCTION DistributionRequired(valuation$)  
FUNCTION RemoveTiersExpDate(linesToRemove$)  

Remove tiers that need to be re-distributed due to a change in the document date

ParameterDescription
linesToRemove$ [input, string] SEP separated list of line keys that need to have the tier distribution removed
Returns [boolean]
ValueDescription
retSUCCESS(1) If all tiers were removed successfully
retFAILURE(0) An issue was encountered during removal
FUNCTION ResetLine(line$)  
FUNCTION SetHeader(hdr$)  
FUNCTION ValidateLines()  
FUNCTION WRITE()  
FUNCTION LOCAL ClearLastLine()  
FUNCTION LOCAL DeleteTierLines(line$)  
FUNCTION LOCAL GetMemoryEditKey$(lineK$)  

Get full display key of the line for a given lineK$ from the current working memory table

ParameterDescription
lineK$ [input, string] line key for a line to retrieve the entire display key of the memory table
Returns [string] returns entire key of the memory table for the given linekey$
FUNCTION LOCAL PostDeleteRec()  
FUNCTION LOCAL PostWriteRec()  
FUNCTION LOCAL ResetRow()  
FUNCTION LOCAL SetCurrentKey(key$)  
FUNCTION LOCAL ValidateAccumulateLines()  

Properties inherited from: SY_LineEntryDetail_bus

cActivityLogDelete$, cActivityLogDtlLevel$, HeaderKy$, HeaderHasLines, ReloadGrid, ValidHeader, NumberOfLines

Methods inherited from: SY_LineEntryDetail_bus

AccumulateBatchTotals(), AddIn(), AddLine(), AddPrimarySrc(), BackOut(), ClearBindings(), ClearLine(), ClearSetFiles(), CommitRow(), DeleteLine(), EditLine(), GetBatchTotalVars(), GetEditKey$(), GetInsertSeq$(), GetSequenceLengths(), InitWorkTable(), InsertLine(), QuickRowLoad(), RemovePrimarySrc(), ResequenceLine(), ResetLine(), ResetRow(), SetBatchTotalVars(), SetHeader(), SetKey(), SwapLines(), ValidateLines(), Write(), ClearSetFileDeleteWorkTable(), ClearSetFileWorkTable(), CommitRowRemove(), CommitRowWrite(), PostDeleteRec(), PostWriteRec(), RenumberSequence(), WriteWorkTable()