RetailPricingDataManager Class [AX 2012]
This implements the actual queries for the AxPricingDataManager found in the Channels.Headquarters.PricingProxy project.
These queries search for pricing rules and product details from the AX database. They are mostly executed in the context of a particular retail channel in order to mimic the records it would find in its database.
Syntax
class RetailPricingDataManager
Run On
Called
Methods
Method | Description | |
---|---|---|
buildCatalogPriceGroupContainer | ||
buildDiscountTier | ||
buildMixMatchLineGroupContainer | ||
buildPriceGroupContainer | ||
buildRetailDiscountContainer | ||
buildRetailDiscountPriceGroupContainer | ||
buildTradeAgreementsContainer | ||
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
findPriceAdjustments | Finds all price adjustments that meet given search criteria | |
findTradeAgreements | This function retrieves all possible price agreements for the given args (item, customer, currency, etc), item relation code (item/group/all), and account relation code (customer/price group/all). | |
getAffiliationPriceGroups | Finds all price groups associated with affiliations. | |
getAllDiscountCodes | Get all retail discount codes. | |
getAllPriceTradeAgreements | Fetch the superset of price trade agreements which could apply to all of these items and customer for the given date. | |
getAllQuantityDiscountLevels | Get all quantity discount discount levels. | |
getAllRetailDiscountLines | Get all retail discount lines. | |
getAllRetailDiscountPriceGroups | Get all retail discount price groups. | |
getAllRetailDiscounts | Get all retail discounts. | |
getAllThresholdDiscountTiers | Get all retail discount threshold tiers. | |
getCatalogPriceGroups | Finds all price groups associated with catalogs. | |
getCategoryIdsForProduct | ||
getChannelPricingConfiguration | Gets channel price configuration. | |
getDiscountCodesByOfferId | Finds discount codes associated with any of the given offer Ids | |
getDiscountTradeAgreements | Get discount trade agreements. | |
getDistinctItemsFromItemIds | ||
getItems | Gets the items using the specified item identifiers. | |
getMixAndMatchLineGroupsByOffer | Gets all the mix and match line group configurations for given offer. | |
GetMixAndMatchLineGroupsByOfferIds | Gets mix and match line groups by offer IDs. | |
getMultipleBuyDiscountLinesByOfferIds | Gets multibuy discount lines by offer IDs. | |
getPeriodicDiscounts | Gets the periodic discount configurations to apply to the product/variant | |
getPriceAdjustmentsForItems | Fetch all price adjustments for the given items, striped by item Id and dimension Id. | |
getPriceGroups | Finds all price groups associated with the data manager's channel | |
getPriceParameters | Retrieves PriceParameters from the database. This indicates which types of trade agreements are active for various combinations of customer and item types | |
getQuantityDiscountLevelByQuantity | Get the quantity discount configuration satisfying given quantity for given offer. | |
getRetailCategoryMembersForItems | Gets categories for product or variant IDs. | |
getRetailDiscountPriceGroups | Finds all price groups associated with retail discounts. | |
getRetailDiscountsForItems | Get retail discounts for items. | |
getRetailDistinctItems | ||
getRetailTmpRecId | ||
getThresholdTiersByOfferIds | Get threshold tiers by offer Ids. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
getTmpAccountRelations | ||
getTmpCategoryIdsForDistinctItems | ||
getTmpCategoryIdsForProduct | ||
getTmpOfferIds | ||
getTmpPriceGroupTable | ||
getTmpPriceGroupTableFromGroupIds | ||
getValidationPeriodById | Finds the retail discount validation period matching the given period Id | |
getValidationPeriodsByPeriodIds | Gets all retail discount validation periods for the given | |
getVariantByItemIdAndInventDimId | Gets the variant info for given item identifier and variant inventory dimension identifier. | |
getVariantDimensionsByItemIds | Get the variant dimensions populated for the given dimension Ids. This is lightweight and only returns the dimension Ids, not translations. | |
getVariants | Gets the variant info for given item identifiers and variant inventory dimension identifiers. | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | ||
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns description of this data manager | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Constructs new instance of a RetailPricingDataManager which operates in context of given channel |
Top
Inheritance Hierarchy
Object Class
RetailPricingDataManager Class