Class SO_SalesOrderDetail_Bus

Properties

LOCAL cDefaultNULLDate$="17990101"  
LOCAL cProgressTitle$="Sales Order"  
LOCAL cNoUpdateUI=-1  
LOCAL cDistDstIOList$=CPL("IOLIST SalesOrderNo$, LineKey$, ItemCode$, WarehouseCode$, Valuation$, UnitOfMeasureConvFactor, QuantityOrdered, cLotSerRefDate$, cLotSerTransType")  
LOCAL cDistSrcIOList$=CPL("IOLIST SalesOrderNo$, LineKey$, ItemCode$, WarehouseCode$, Valuation$, UnitOfMeasureConvFactor, cDistQty, header.ShipExpireDate$, lsTransSALE")  
LOCAL cDistObject$="SO_SalesOrderTierDistribution_bus"  
LOCAL cDistQtyVar$="QuantityOrdered - QuantityBackordered"  
LOCAL cFromPriceRecalc  
LOCAL cMainTable$="SO_SalesOrderDetail"  
LOCAL cItmCommonFields$="SalesOrderNo$, LineKey$, LineSeqNo$, ItemCode$, ItemType$, "+"SOHistoryDetlSeqNo$, SalesKitLineKey$, rowStatus$"  
PROPERTY Discountable   * Read Only *
PROPERTY IsCommentKitItem   * Read Only *
PROPERTY NotDiscountable   * Read Only *

Methods

FUNCTION AllLinesComplete(key$, rowNo, SO_LineKey$)  
FUNCTION CheckLinesForPurchaseOrders()  
FUNCTION CommitQuoteLines(order$)  
FUNCTION CopyInvoiceHistoryLines(invoice$, type$)  
FUNCTION CopyMasterRepeatingOrderLines(order$, type$)  
FUNCTION CopyOrderHistoryLines(order$, type$)  
FUNCTION CopyOrderLines(order$, type$)  
FUNCTION CreateOrderLinesFromRMA(RMANo$, RMAStatus$, UIObj)  
FUNCTION CurrentQtyToBackOut()  
FUNCTION DeleteLine(key$)  
FUNCTION DeleteLine(key$, invRec$, invIOL$)  
FUNCTION DistributionRequired()  
FUNCTION DistributionRequired(valuation$)  
FUNCTION GetContext$(destTable$)  
FUNCTION GetContextSourceTables$(context$)  
FUNCTION InitWorkTable()  
FUNCTION PriceRecalculation()  
FUNCTION QuoteToMasterOrBackOrder()  

Sets quantities for quote lines when changing to a master order or a back order

Returns [boolean] Always returns success
FUNCTION QuoteToStandardLotSer()  

Sets LotSerialFullyDistributed$ in the Lot/Serial lines of a Quote being changed to a Standard Order or Back Order Or if it stays as a Quote, removes any distributions that may have been entered

Returns [boolean] Success or failure. Fails if the header is not in EditState or there's no SalesOrderNo$
FUNCTION ResetSetFiles()  

Clean up needed by Sales Journal update to clean up set files following a clear

Returns [boolean] Success or failure from SY_Maint ClearSetFiles
FUNCTION SkipLineValidation()  
FUNCTION ValidateGroupMasterOrder()  
FUNCTION ValidateGroupNotMasterOrder()  
FUNCTION ValidateGroupNotMasterRepeating()  
FUNCTION ValidateGroupNotQuote()  
FUNCTION ValidateGroupRepeatingOrder()  
FUNCTION ValidateLines()  

Properties inherited from: CI_ItemWarehouse

cPrecisionQty, IM_IsSetup

Properties inherited from: SO_CommonEntryDetail

cDistAutoAdjusted, cItemChanged, cKitChanged, cKitUOMChanged, cKitUpdateUOMOnly, cQtyDigits, AP_Divisions$, Balance, ComponentLine, CostMask$, CreateFromRMA, ItemValuation$, KitLine, PriceMask$, QtyMask$, UnitOfMeasures$, ExtensionQtyCol$, PriceLevelByCustSvc, coSO_PurchaseControl

Properties inherited from: SY_Customization

cDummyIol$

Methods inherited from: CI_ItemWarehouse

CommitQuantity()

Methods inherited from: SO_CommonEntryDetail

AddIn(), AllLinesComplete(), AssignAccounts(), BackOut(), CalculateProfitMargin(), CalculateQtyAvailable(), CheckForMissingJobInfo(), CheckForPurchaseControlRecords(), ClearInvalidPurchaseItems(), ClearJobInfo(), ClearSetFiles(), CurrentQtyToBackOut(), DefaultPriceLevel$(), DeleteAllLines(), DeleteComponentLines(), DeleteLine(), DistributionAutoAdjusted(), DistributionRequired(), FindKitCount(), GetHeaderFields(), GetItemCosts(), RecalculateLinePricing(), RemoveJobInfo(), ResetLine(), SetDefaultDate(), SetHeader(), SetHeaderInfo(), SetJobInfo(), SetUnitOfMeasures(), SkipLineValidation(), UpdateJobAccounts(), ValidateGroupARSalesTax(), ValidateGroupBMIntegrated(), ValidateGroupBMUseRevisions(), ValidateGroupCCLevel3Dtl(), ValidateGroupIMIntegrated(), ValidateGroupItemRequired(), ValidateGroupItemTypes(), ValidateGroupJCIntegrated(), ValidateGroupLineDiscount(), ValidateGroupMultiWarehouse(), ValidateGroupNotCharge(), ValidateGroupNotComment(), ValidateGroupNotComponent(), ValidateGroupNotNulWarehouseCode(), ValidateGroupPOSetup(), ValidateGroupPostJCCosts(), ValidateGroupRMAOrder(), ValidateGroupSalespersonReporting(), ValidateGroupUseOptionBills(), ValidateGroupVendorDisplay(), ValidateGroupWarrantyTracking(), ValidateLines(), WRITE(), CalculateCost(), CalculatePrice(), CheckDistribution(), CheckForAlias(), ClassValidateBillOption(), ClearSetFilesAdjustIMForJC(), ColumnOverrideBillOption1(), ColumnOverrideBillOption2(), ColumnOverrideBillOption3(), ColumnOverrideBillOption4(), ColumnOverrideBillOption5(), ColumnOverrideBillOption6(), ColumnOverrideBillOption7(), ColumnOverrideBillOption8(), ColumnOverrideBillOption9(), ColumnOverrideCostCode(), ColumnOverrideCostType(), ColumnOverrideMasterOriginalQty(), ColumnOverrideMasterQtyBalance(), ColumnOverrideMasterQtyOrderedToDate(), ColumnOverrideQuantityBackOrdered(), ColumnOverrideQuantityOrdered(), ColumnOverrideQuantityPerBill(), ColumnOverrideQuantityShipped(), ColumnOverrideRepeatingQtyShippedToDate(), ColumnOverrideUnitCost(), ColumnOverrideUnitPrice(), ColumnOverrideWarrantyCode(), CommitRowWrite(), DeleteComponentLine(), FindKitLine(), GenerateFormatMask$(), GetAccountsFromJob(), GetPriceRecord(), GetWarehouseQty(), IsJobInfoValid(), LocalizeIOLIST(), PostWriteRec(), ProgressMeter(), ResetRowAmounts(), RetrieveWeight(), ReturnUDFs(), SaveRowAmounts(), SetCurrentKey(), SetDefaultAccounts(), SetDefaults(), SetKey(), SetKitComponentFromParentColumns(), SetKitComponentLineColumns(), UpdateCustomerLastPurchHistory(), UpdateKitComponentLineColumns(), UpdateKitLines(), ValidateAPDivisionNo(), ValidateCostCode(), ValidateCostOfGoodsSoldAcctKey(), ValidateCostType(), ValidateDropShip(), ValidateExplodedKitItem$(), ValidateItemCode(), ValidateLineDiscountPercent(), ValidatePriceLevel(), ValidatePromiseDate(), ValidateQuantityOrdered(), ValidateQuantityShipped(), ValidateSalesAcctKey(), ValidateTaxClass(), ValidateUnitCost(), ValidateUnitOfMeasure(), ValidateUnitPrice(), ValidateVendorNo(), ValidateWarehouseCode(), ValidateWarrantyCode(), WriteLineUpdateKitLines()

Methods inherited from: SY_Customization

GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite()

Methods inherited from: SY_SalesTaxClass_val

ClassValidateTaxClass()