Class CI_SalesKit

Properties

PROPERTY BM_Integrated$   * Read Only *
PROPERTY BM_UseOptionBills$   * Read Only *
PROPERTY BillOptionEntryRequired  
PROPERTY KitLinesExploded  
PROPERTY KitLinesUpdated   * Read Only *
PROPERTY KitStartingRow   * Read Only *
PROPERTY RefreshAllRows  

Methods

FUNCTION KitExists(kit$)  
FUNCTION SeedKitRow()  
FUNCTION LOCAL CheckComponentItemDataSources()  

Get component item UDF iolists

Returns [boolean] True = success
FUNCTION LOCAL CheckSalesKit(item$, options, optExplode$, billKit$, exploded$, drop$)  
FUNCTION LOCAL ExplodeKitLines(kitKey$, date$)  
FUNCTION LOCAL ExplodeKitLines(kitKey$, date$, arDivNo$, custNo$)  

Explode kit

ParameterDescription
kitkey$ [input, string] key to the parent kit item.
date$ [input, string] bill explosion effective date.
arDivNo$ {optional} [input, string] AR division number used to find customer alias item number.
custNo$ {optional} [input, string] Customer number used to find customer alias item number.
Returns [numeric] 1 = success, 0 = failure, -1 = warning
FUNCTION LOCAL ExplodeKitToWorkTable(fileHdl)  
FUNCTION LOCAL KitExplosionProcessDetail(hdrKey$, workFH, dtlFh)  
FUNCTION LOCAL PERFORM PopulateWorkFile(fileHdl)  
FUNCTION LOCAL ResetKitLines(kitKey$, kitLineKey$)  
FUNCTION LOCAL SetKitComponentLineColumns(kitRec$, itemRec$, qtyPerKit)  
FUNCTION LOCAL UpdateKitComponentLineColumns(kitRec$)  
FUNCTION LOCAL UpdateKitLines(kitKey$)  

Properties inherited from: CI_BillExplosion

billCATEGORYNUM, cBillExpMiscChgGLAcctField$, cBillExpWarehouseField$, cBMExpOptionSvc, BM_UseOptionBills$, ExplodingBill, SkipMaxLevelsCheck, SkipScrapPercent, SkipMiscCharges, BM_PostMiscChargesToGLByWhse$, IM_SegmentForWhsePostings$, WO_BillExplosion, IncludeAllBillRecords, IncludePhantomBlowThrough, ResolveBillRevision, PrintForReports, IncludeAllBillOptions, SkipBillOptions, IncludeAllBillOptionInteractions, SkipBillOptionInteractions, SkipMaxLevelMsg, FromBM, SkipIntegerUOMRounding

Methods inherited from: CI_BillExplosion

BillHasOptions(), ExplodeBillToWorktable(), KitExists(), SegmentSubstitution(), BillExplosionProcessDetail(), ExplodeAllBillOptions(), IsBill(), ProgressMeter(), RoundQuantityToWholeInteger()