FUNCTION AddIn()
Allows update of quantities needed for Pricing By Total Quantity calculation
|
Returns |
[numeric] Always returns success |
|
FUNCTION AllLinesComplete(key$, rowNo, tmpOrderLineKey$)
|
FUNCTION AllLinesComplete(key$, rowNo, tmpOrderLineKey$, tmpDistQtyVar$)
|
FUNCTION AssignAccounts(itemType$)
|
FUNCTION BackOut()
Allows update of quantities needed for Pricing By Total Quantity calculation
|
Returns |
[numeric] Always returns success |
|
FUNCTION CalculateProfitMargin(discount)
|
FUNCTION CalculateQtyAvailable()
|
FUNCTION CalculateQtyAvailable(stdQtyAvail)
|
FUNCTION CalculateQtyAvailable(stdQtyAvail, stdUM$)
|
FUNCTION CheckForMissingJobInfo()
|
FUNCTION CheckForPurchaseControlRecords(div$, cust$, State$, source$, status$)
|
FUNCTION ClearInvalidPurchaseItems()
|
FUNCTION ClearJobInfo()
|
FUNCTION ClearSetFiles()
|
FUNCTION CurrentQtyToBackOut()
|
FUNCTION DefaultPriceLevel$()
|
FUNCTION DefaultPriceLevel$(fromPLbyCust)
|
FUNCTION DeleteAllLines()
|
FUNCTION DeleteComponentLines(kit$)
|
FUNCTION DeleteLine(key$)
|
FUNCTION DistributionAutoAdjusted()
Function that returns the value of cDistAutoAdjusted, to be checked only after the validation methods that could auto adjust the distribution of a single lot
|
Returns |
[boolean] return True if distribution quantity was automatically adjusted and False if it did not adjust the distribution. |
|
FUNCTION DistributionRequired()
|
FUNCTION DistributionRequired(valuation$)
|
FUNCTION FindKitCount(kitLine$, row, dir$)
|
FUNCTION GetHeaderFields()
|
Returns |
[numeric] Always returns success |
|
FUNCTION GetItemCosts(item$, whse$, whseAvgCost, itmAvgCost, itmStdCost, itmLastCost)
|
FUNCTION GetItemCosts(item$, whse$, whseAvgCost, itmAvgCost, itmStdCost, itmLastCost, itmVal$)
|
FUNCTION RecalculateLinePricing()
|
FUNCTION RemoveJobInfo()
|
FUNCTION RemoveJobInfo(oldJob$)
|
FUNCTION ResetLine(lineKey$)
|
FUNCTION SetDefaultDate(date$)
|
FUNCTION SetHeader(header$)
|
FUNCTION SetHeaderInfo()
|
FUNCTION SetJobInfo(job$)
|
FUNCTION SetUnitOfMeasures()
|
FUNCTION SkipLineValidation(value)
Sets the value of the local property cSkipLineValidation, which controls whether the lines are validated when the header is written
|
Parameter | Description |
value |
[input, boolean] boolean value for the flag to be set too |
|
Returns |
Always returns retSUCCESS |
|
FUNCTION UpdateJobAccounts(job$)
|
FUNCTION UpdateJobAccounts(job$, oldJob$)
|
FUNCTION ValidateGroupARSalesTax()
|
FUNCTION ValidateGroupBMIntegrated()
|
FUNCTION ValidateGroupBMUseRevisions()
|
FUNCTION ValidateGroupCCLevel3Dtl()
Credit Card Level 3 Dtl Group Validation, used to ensure AddCorporateCardLevel3$ isYES$ before allowing value to be set
|
FUNCTION ValidateGroupIMIntegrated()
|
FUNCTION ValidateGroupItemRequired()
|
FUNCTION ValidateGroupItemTypes()
|
FUNCTION ValidateGroupJCIntegrated()
|
FUNCTION ValidateGroupLineDiscount()
|
FUNCTION ValidateGroupMultiWarehouse()
|
FUNCTION ValidateGroupNotCharge()
|
FUNCTION ValidateGroupNotComment()
|
FUNCTION ValidateGroupNotComponent()
|
FUNCTION ValidateGroupNotNulWarehouseCode()
|
FUNCTION ValidateGroupPOSetup()
|
FUNCTION ValidateGroupPostJCCosts()
|
FUNCTION ValidateGroupRMAOrder()
|
FUNCTION ValidateGroupSalespersonReporting()
|
FUNCTION ValidateGroupUseOptionBills()
|
FUNCTION ValidateGroupVendorDisplay()
|
FUNCTION ValidateGroupWarrantyTracking()
|
FUNCTION ValidateLines()
|
FUNCTION WRITE()
|
FUNCTION LOCAL CalculateCost()
|
FUNCTION LOCAL CalculatePrice(item$, qty, date$)
|
FUNCTION LOCAL CheckDistribution()
|
FUNCTION LOCAL CheckForAlias(alias$, item$)
|
FUNCTION LOCAL ClassValidateBillOption(col$, val$)
|
FUNCTION LOCAL ClearSetFilesAdjustIMForJC()
This function adjusts committed quantity in inventory when Sales Order is integrated with Job Cost. It is called from ClearSetFiles().
|
Returns |
[boolean] return Success |
|
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 ColumnOverrideCostCode(colInfo)
|
FUNCTION LOCAL ColumnOverrideCostType(colInfo)
|
FUNCTION LOCAL ColumnOverrideMasterOriginalQty(colInfo)
|
FUNCTION LOCAL ColumnOverrideMasterQtyBalance(colInfo)
|
FUNCTION LOCAL ColumnOverrideMasterQtyOrderedToDate(colInfo)
|
FUNCTION LOCAL ColumnOverrideQuantityBackOrdered(colInfo)
|
FUNCTION LOCAL ColumnOverrideQuantityOrdered(colInfo)
|
FUNCTION LOCAL ColumnOverrideQuantityPerBill(colInfo)
|
FUNCTION LOCAL ColumnOverrideQuantityShipped(colInfo)
|
FUNCTION LOCAL ColumnOverrideRepeatingQtyShippedToDate(colInfo)
|
FUNCTION LOCAL ColumnOverrideUnitCost(colInfo)
|
FUNCTION LOCAL ColumnOverrideUnitPrice(colInfo)
|
FUNCTION LOCAL ColumnOverrideWarrantyCode(colInfo)
|
FUNCTION LOCAL CommitRowWrite(inChn)
|
FUNCTION LOCAL DeleteComponentLine(compKey$)
|
FUNCTION LOCAL FindKitLine(componentKey$, kitKey$)
|
FUNCTION LOCAL GenerateFormatMask$(mask$, decimals)
|
FUNCTION LOCAL GetAccountsFromJob(cogs$, sales$)
|
FUNCTION LOCAL GetPriceRecord()
|
FUNCTION LOCAL GetWarehouseQty()
|
FUNCTION LOCAL IsJobInfoValid(job$, code$, type$, itemtype$, error$)
|
FUNCTION LOCAL LocalizeIOLIST(objHandle)
|
FUNCTION LOCAL LocalizeIOLIST(objHandle, recClause$)
|
FUNCTION LOCAL PostWriteRec()
|
FUNCTION LOCAL ProgressMeter()
|
FUNCTION LOCAL ProgressMeter(action$)
|
FUNCTION LOCAL ProgressMeter(action$, msg$)
|
FUNCTION LOCAL ResetRowAmounts()
|
FUNCTION LOCAL RetrieveWeight(item$)
|
FUNCTION LOCAL ReturnUDFs(fullIolist$, udfs$)
|
FUNCTION LOCAL SaveRowAmounts()
|
FUNCTION LOCAL SetCurrentKey(key$)
|
FUNCTION LOCAL SetDefaultAccounts(item$, type$)
|
FUNCTION LOCAL SetDefaultAccounts(item$, type$, acct$)
|
FUNCTION LOCAL SetDefaults()
|
FUNCTION LOCAL SetKey(LineKey$, InsertPoint$)
|
FUNCTION LOCAL SetKitComponentFromParentColumns(WorkField3, kitRec$)
|
FUNCTION LOCAL SetKitComponentLineColumns(kitRec$, itemRec$, qtyPerKit)
|
FUNCTION LOCAL UpdateCustomerLastPurchHistory(docType$, date$, qty)
|
FUNCTION LOCAL UpdateKitComponentLineColumns(kitRec$)
|
FUNCTION LOCAL UpdateKitLines(kitKey$)
Overridding this function from CI_SalesKit, need to turn off some flags after updating the components.
|
Parameter | Description |
kitkey$ |
[input, string] key to the parent kit item. |
|
Returns |
SUCCESS if kit lines updated or FAILURE if the lines were not updated |
|
FUNCTION LOCAL ValidateAPDivisionNo(value$)
|
FUNCTION LOCAL ValidateCostCode(value$)
|
FUNCTION LOCAL ValidateCostOfGoodsSoldAcctKey(value$)
|
FUNCTION LOCAL ValidateCostType(value$)
|
FUNCTION LOCAL ValidateDropShip(value$)
|
FUNCTION LOCAL ValidateExplodedKitItem$(value$)
|
FUNCTION LOCAL ValidateItemCode(value$)
|
FUNCTION LOCAL ValidateLineDiscountPercent(value)
|
FUNCTION LOCAL ValidatePriceLevel(value$)
|
FUNCTION LOCAL ValidatePromiseDate(value$)
|
FUNCTION LOCAL ValidateQuantityOrdered(value)
|
FUNCTION LOCAL ValidateQuantityShipped(value)
|
FUNCTION LOCAL ValidateSalesAcctKey(value$)
|
FUNCTION LOCAL ValidateTaxClass(value$)
Validates Tax Class for all but comment line types
|
Parameter | Description |
value$ |
[input,string] Value of Tax Class |
|
Returns |
[boolean] Success or failure. Fails when Tax Class is not on file |
|
FUNCTION LOCAL ValidateUnitCost(value)
|
FUNCTION LOCAL ValidateUnitOfMeasure(value$)
|
FUNCTION LOCAL ValidateUnitOfMeasure(value$, skipTier)
|
FUNCTION LOCAL ValidateUnitPrice(value)
|
FUNCTION LOCAL ValidateVendorNo(value$)
|
FUNCTION LOCAL ValidateWarehouseCode(value$)
|
FUNCTION LOCAL ValidateWarrantyCode(value$)
|
FUNCTION LOCAL WriteLineUpdateKitLines()
This function updates kit component lines when the parent item is written
|
Returns |
SUCCESS or FAILURE |
|