Class RA_CommonEntryDetail

Properties

LOCAL cHistHdrSrc$=CPL("IOLIST SalespersonDivisionNo$, SalespersonNo$")  
LOCAL cHistItmSrc$=CPL("IOLIST InvoiceNo$, HeaderSeqNo$, DetailSeqNo$, AppliedSalesOrderNo$, AppliedCustomerPONo$")  

RMA return/receipt detail source mappings

LOCAL cHistItmDst$=CPL("IOLIST InvoiceNo$, HeaderSeqNo$, DetailSeqNo$, SalesOrderNo$, CustomerPONo$")  
RMA return/receipt detail destination mappings
LOCAL cItemChanged=isFALSE  
LOCAL cKitChanged=isFALSE  
LOCAL cAliasItemTypes$  
LOCAL cItemTypes$  
PROPERTY ARHistDetailSeq$  
PROPERTY Balance  
PROPERTY CheckNonReturn  
PROPERTY ColumnMissing$  
PROPERTY ComponentLine   * Read Only *
PROPERTY ComponentsAdded   * Read Only *
PROPERTY CostMask$   * Read Only *
PROPERTY Discontinued   * Read Only *
PROPERTY DistributeKeys$   * Read Only *
PROPERTY InvoiceHeaderSequence$   * Read Only *
PROPERTY KitLine   * Read Only *
PROPERTY LastInvoiceNo$   * Read Only *
PROPERTY LineMissing  
PROPERTY PriceMask$   * Read Only *
PROPERTY QtyMask$   * Read Only *
PROPERTY UnitOfMeasures$   * Read Only *

Methods

FUNCTION CalculateExtension(qty)  
FUNCTION CalculateRestock(qty, custAction$, DS$, cost, price)  
FUNCTION CheckForPurchaseControlRecords(div$, cust$, State$, source$, status$)  
FUNCTION CheckWarehouse(whse$)  

Check warehouse code status

ParameterDescription
whse$ [input, string] Warehouse Code
Returns [boolean] Success if warehouse active, Failure if warehouse is inactive or restricted
FUNCTION ClearDistributeKeys$()  
FUNCTION ClearInvalidPurchaseItems()  
FUNCTION ClearLastInvoice()  
FUNCTION CommitRow()  
FUNCTION CreateRMALineFromHist(defaultRcd$, defaultIOL$)  
FUNCTION DeleteComponentLines(kit$)  
FUNCTION DeleteLine()  
FUNCTION DeleteLine(key$)  
FUNCTION DistributionRequired()  
FUNCTION DistributionRequired(valuation$)  
FUNCTION FindKitCount(kitLine$, row, dir$)  
FUNCTION GetFieldInfo(key$, Col$, Var$)  
FUNCTION GetFieldInfo(key$, Col$, Var$, fromDeleteFh)  
FUNCTION GetItemCosts(item$, whse$, whseAvgCost, itmAvgCost, itmStdCost, itmLastCost, itmStdPrice)  
FUNCTION ResetDetailRec()  
FUNCTION ResetRowsWithDistribution()  
FUNCTION ResetVendor(vendor$)  
FUNCTION SaveDistribution()  
FUNCTION SetAlias(alias$, item$)  
FUNCTION SetHeader(header$)  
FUNCTION SetHeaderInfo()  
FUNCTION SetReplaceRepairOptionPrice()  
FUNCTION ValidateAccumulateLines()  
FUNCTION ValidateGroupARSalesTax()  
FUNCTION ValidateGroupBMIntegrated()  
FUNCTION ValidateGroupHistory()  
FUNCTION ValidateGroupIMIntegrated()  
FUNCTION ValidateGroupItemRequired()  
FUNCTION ValidateGroupItemTypes()  
FUNCTION ValidateGroupLineDiscount()  
FUNCTION ValidateGroupMultiWarehouse()  
FUNCTION ValidateGroupNotCharge()  
FUNCTION ValidateGroupNotComment()  
FUNCTION ValidateGroupNotComponent()  
FUNCTION ValidateGroupNotHistory()  
FUNCTION ValidateGroupOnFileInvioce()  
FUNCTION validateGroupPOIntegrated()  
FUNCTION ValidateGroupRegularItem()  
FUNCTION ValidateGroupReplacementRequired()  
FUNCTION ValidateGroupRestocking()  
FUNCTION ValidateGroupRplItemRequired()  
FUNCTION ValidateGroupRplRegularItem()  
FUNCTION ValidateGroupSalespersonReporting()  
FUNCTION ValidateGroupUseOptionBills()  
FUNCTION ValidateGroupVendorActionRequired()  
FUNCTION ValidateGroupWarrantyTracking()  
FUNCTION ValidateLines()  
FUNCTION WRITE()  
FUNCTION LOCAL AddComponentHistory(selectedKeys$)  
FUNCTION LOCAL AddIn()  
FUNCTION LOCAL AssignAccounts(itemType$)  
FUNCTION LOCAL BackOut()  
FUNCTION LOCAL CalculatePrice(item$, qty)  
FUNCTION LOCAL CheckForAlias(alias$, item$)  
FUNCTION LOCAL CheckHistoryInvoice(invoice$)  
FUNCTION LOCAL CheckItemOnInvoice(invoice$, invoiceItem$)  
FUNCTION LOCAL CheckReplacementSalesKit(kitItem$)  
FUNCTION LOCAL CheckSalesKit(kitItem$)  
FUNCTION LOCAL ClassValidateBillOption(col$, val$)  
FUNCTION LOCAL ColumnOverrideBillOption1(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption2(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption3(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption4(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption5(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption6(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption7(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption8(colInfo)  
FUNCTION LOCAL ColumnOverrideBillOption9(colInfo)  
FUNCTION LOCAL ColumnOverrideInvoiceUnitCost(colInfo)  
FUNCTION LOCAL ColumnOverrideInvoiceUnitPrice(colInfo)  
FUNCTION LOCAL ColumnOverrideItemCode(value)  
FUNCTION LOCAL ColumnOverrideQuantityPerBill(colInfo)  
FUNCTION LOCAL ColumnOverrideQuantityReceived(colInfo)  
FUNCTION LOCAL ColumnOverrideQuantityRemaining(colInfo)  
FUNCTION LOCAL ColumnOverrideQuantityReturned(colInfo)  
FUNCTION LOCAL ColumnOverrideWarrantyCode(colInfo)  
FUNCTION LOCAL CommitRowWrite(inChn)  
FUNCTION LOCAL DefaultCOGSAcct()  
FUNCTION LOCAL FindKitLine(componentKey$, kitKey$)  
FUNCTION LOCAL GenerateFormatMask$(mask$, decimals)  
FUNCTION LOCAL GetAliasItem(alias$)  
FUNCTION LOCAL GetPriceRecord()  
FUNCTION LOCAL GetWarehouseQty()  
FUNCTION LOCAL LocalizeIOLIST(objHandle)  
FUNCTION LOCAL LocalizeIOLIST(objHandle, recClause$)  
FUNCTION LOCAL ProgressMeter()  
FUNCTION LOCAL ProgressMeter(action$)  
FUNCTION LOCAL ProgressMeter(action$, msg$)  
FUNCTION LOCAL ResetRowAmounts()  
FUNCTION LOCAL RetrieveCustomer(div$, customer$)  
FUNCTION LOCAL SaveRowAmounts()  
FUNCTION LOCAL SetChildColl()  
FUNCTION LOCAL SetCurrentKey(key$)  
FUNCTION LOCAL SetKey(LineKey$, InsertPoint$)  
FUNCTION LOCAL SetKitComponentFromParentColumns(WorkField3, kitRec$)  
FUNCTION LOCAL SetKitComponentLineColumns(kitRec$, itemRec$, WorkField3)  
FUNCTION LOCAL SetLineDefaults()  
FUNCTION LOCAL SetUnitOfMeasures()  
FUNCTION LOCAL UpdateKitComponentLineColumns(kitRec$)  
FUNCTION LOCAL ValidateCostOfGoodsSoldAcctKey(value$)  
FUNCTION LOCAL ValidateCreditFreight(value$)  
FUNCTION LOCAL ValidateCustomerAction(value$)  
FUNCTION LOCAL ValidateDropShip(value$)  
FUNCTION LOCAL ValidateExpirationDate(value$)  
FUNCTION LOCAL ValidateExtensionAmt(value)  
FUNCTION LOCAL ValidateInvoiceNo(value$)  
FUNCTION LOCAL ValidateInvoiceUnitCost(value)  
FUNCTION LOCAL ValidateInvoiceUnitPrice(value)  
FUNCTION LOCAL ValidateItemAction(value$)  
FUNCTION LOCAL ValidateItemCode(value$)  
FUNCTION LOCAL ValidateLineDiscountPercent(value)  
FUNCTION LOCAL ValidatePriceLevel(value$)  
FUNCTION LOCAL ValidateReplacementItemCode(value$)  
FUNCTION LOCAL ValidateRestockingCharge(value)  
FUNCTION LOCAL ValidateReturnReasonCode(value$)  
FUNCTION LOCAL ValidateUnitOfMeasure(value$)  
FUNCTION LOCAL ValidateVendorAction(value$)  
FUNCTION LOCAL ValidateWarehouseCode(value$)  
FUNCTION LOCAL ValidateWarrantyCode(value$)  

Properties inherited from: CI_Constant

itmREGULAR$, itmSPECIAL$, itmCHARGE$, itmCOMMENT$, itmMISC$, valSTANDARD$, valAVERAGE$, valFIFO$, valLIFO$, valLOT$, valSERIAL$, typFINISHEDGOODS$, typRAWMATERIALS$, typDISCONTINUED$, typKIT$, proMAKE$, proBUY$, proSUBCONTRACT$

Properties inherited from: CI_ItemCode_Val

cItemTypes$, cAllowAliasItems, cAliasItemTypes$, cItemCodeDescCol$, cItemTypeCol$, ItemTypes$, AllowAliasItems, AliasItemTypes$, ExtendedDescriptionBusiness, ItemCodeDescCol$, AllowPhantom, AllowEngineering, AllowInactive, InvalidPurchase, IMIntegrated

Properties inherited from: CI_ItemConstant

itmREGULAR$, itmSPECIAL$, itmCHARGE$, itmCOMMENT$, itmMISC$, valSTANDARD$, valAVERAGE$, valFIFO$, valLIFO$, valLOT$, valSERIAL$, lsTransOTHER, lsTransRECEIPT, lsTransSALE, lsTransISSUE, lsTransSHIPPING, lsTransRETURN

Properties inherited from: CI_ItemPrice

cFieldsFromItem$, SO_EnablePriceByTotalQtyBasedOn$, SO_UnitOfMeasureForTotalQty$, SO_ApplyPricingByTotalQtyAuto$, PreventItemPriceByTotQtyCalc, ApplyPriceByTotalQty

Properties inherited from: CI_RMAConstant

actionCredit$, actionNone$, actionRepair$, actionReplacement$, actionScrap$, actionStock$

Properties inherited from: CI_SalesKit

BM_Integrated$, BM_UseOptionBills$, BillOptionEntryRequired, KitLinesExploded, KitLinesUpdated, KitStartingRow, RefreshAllRows

Properties inherited from: CI_VendorNo_Val

HoldPayment, SeparateCheck

Properties inherited from: SY_LineEntryTierDetail

cDistItemCode$, cDistWarehouseCode$, Distribution, DistributionBalanced, DistributionIOL$, DistributionMessage, ResettingAllLines

Methods inherited from: CI_Account_val

ClassOverrideAccount(), ClassValidateAccount(), ResetAccountIndex()

Methods inherited from: CI_APDivision_val

ClassValidateAPDivision()

Methods inherited from: CI_BillOption_Val

ClassValidateBillOption()

Methods inherited from: CI_Constant

GetCalendarEndingDate(), GetDefaultExtendedDescriptionKey$()

Methods inherited from: CI_CostCode_Val

SetValidCostTypeForSOCC(), ClassValidateCostCode()

Methods inherited from: CI_ItemCode_Val

Write(), PERFORM CheckForAlias(), PERFORM CheckUseIn(), CheckValidBill(), ClassOverrideDescription(), ClassOverrideItemCode(), ClassValidateDescription(), ClassValidateItemCode(), ItemTypeSetDefaults(), PERFORM ItemTypeSetDefaults(), UpdateGridExtendedDescKey(), ValidateGroupNotCurrentItemType()

Methods inherited from: CI_ItemPrice

AddInItemPriceByQty(), BackOutItemPriceByQty(), CalculateItemPrice(), CalculateOptionsPrice(), RecalcLinePriceByTotQty(), ResetItemPriceByQtyTotals(), SetApplyPriceByTotalQty(), WriteItemPriceByQtyTotals(), LoadPriceByTotQtyWorkTable(), PERFORM ReadItemData(), PERFORM RegularItemPricing(), PERFORM SetPriceByTotQtyVariables(), UpdatePricingByTotalQty(), ValidateGroupItemPriceByTotQty()

Methods inherited from: CI_ReturnReasonCode_val

ClassValidateReturnReasonCode()

Methods inherited from: CI_SalesKit

KitExists(), SeedKitRow(), CheckComponentItemDataSources(), CheckSalesKit(), ExplodeKitLines(), ExplodeKitToWorkTable(), KitExplosionProcessDetail(), PERFORM PopulateWorkFile(), ResetKitLines(), SetKitComponentLineColumns(), UpdateKitComponentLineColumns(), UpdateKitLines()

Methods inherited from: CI_UnitOfMeasure_val

ClassValidateUnitOfMeasure()

Methods inherited from: CI_VendorNo_Val

ClassValidateVendorNo()

Methods inherited from: CI_Warehouse_val

SetAllowInactiveRestrictedWhse(), ClassValidateWarehouse(), GetClassName$()

Methods inherited from: CI_WarrantyCode_val

ClassValidateWarrantyCode()

Methods inherited from: SY_LineEntryTierDetail

AddLine(), ClearLine(), ClearSetFiles(), CommitRow(), DeleteLine(), DistributionMissingInfo(), DistributionRequired(), RemoveTiersExpDate(), ResetLine(), SetHeader(), ValidateLines(), WRITE(), ClearLastLine(), DeleteTierLines(), GetMemoryEditKey$(), PostDeleteRec(), PostWriteRec(), ResetRow(), SetCurrentKey(), ValidateAccumulateLines()