Class PO_VendorPriceLevel_svc

Properties

LOCAL cIsSysDB=isFALSE  
LOCAL cMainTable$="PO_VendorPriceLevel"  
PROPERTY MaxSteps   * Read Only *

Methods

FUNCTION CalculateExtendedCost(div$, vendor$, item$, qtyOrdered, unitOfMeasure$, unitCost, extension)  
FUNCTION CheckVendorPriceLevels(div$, vendor$, item$, umConvFactor, lastTotalUnitCost, standardUnitCost, qtyOrdered, unitCost, extension)  
FUNCTION RecordsExistForVendor(div$, vendor$)  
FUNCTION VendorPriceLevelExists(div$, vendor$, item$)  
FUNCTION VendorPriceLevelExists(div$, vendor$, item$, useStdCost)  

Check if vendor price level record exists for specific vendor and item or the item's product line

ParameterDescription
div$ [input, string] AP Division Number
vendor$ [input, string] Vendor Number
item$ [input, string] Item Code
useStdCost (optional) [output, boolean] true if vendor price level exists and standard cost should be used
Returns [boolean] true if vendor price level record exists, false if vendor price level record does not exist

Properties inherited from: PO_Constant

allocateByCOST$, allocateByQUANTITY$, allocateByVOLUME$, allocateByWEIGHT$, ordTypeDROPSHIP$, ordTypeMASTER$, ordTypeMATERIALREQ$, ordTypeREPEATING$, ordTypeSTANDARD$, ordTypeDROPSHIPDesc$, ordTypeMASTERDesc$, ordTypeMATERIALREQDesc$, ordTypeREPEATINGDesc$, ordTypeSTANDARDDesc$, dataEntryRECEIPTGOODS$, dataEntryRECEIPTINVOICE$, dataEntryRETURNORDER$, dataEntryMATERIALISSUE$, openOrderItem$, openOrderJOBWORKORDER$, ordStatusNEW$, ordStatusOPEN$, ordStatusBACKORDERED$, ordStatusCHANGE$, ordStatusCOMPLETE$, ordStatusCANCELLED$, priceTypeVENDOR$, priceTypePRODUCT$, priceTypeITEM$, priceMethodCOSTDISC$, priceMethodDISCPERCENT$, priceMethodSTANDARD$, QuantityMask$, CostMask$, PriceMask$, ExtensionAmtMask$, UnitOfMeasureMask$

Properties inherited from: SY_Service

BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess

Methods inherited from: SY_Service

BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl()