...
- The organization defines the pricing behavior for a product and determines that the behavior is beyond the scope of a Pricing Matrix or Price Rule and requires a Pricing Object.
- A developer writes and compiles an object in Visual Studio .NET that provides the required pricing logic.
- The object needs to implement Aptify's standard IProductPrice interface. See the Aptify Software Development Kit (SDK) for more information on this interface.
- The object needs to implement Aptify's standard IProductPrice interface. See the Aptify Software Development Kit (SDK) for more information on this interface.
- A developer or administrator adds the pricing object to the Aptify Object Repository.
- See the "Creating Object Repository Objects" section in the Object Repository chapter of the Aptify 5.5.1 Administration Guide for for details.
- See the "Creating Object Repository Objects" section in the Object Repository chapter of the Aptify 5.5.1 Administration Guide for for details.
- An administrator or user opens the Products record for the product to which the pricing object applies.
- If the Products record does not already exist, create one for the product.
- If the Products record does not already exist, create one for the product.
- Click the Prices tab.
- Click the Advanced sub-tab.
- Enter the object's Object Repository location in the Pricing Object field.
- Enter the object's class name that contains the pricing functionality in the Pricing Class field.
- Enter the object's assembly name in the Pricing Assembly field.
- Save and close the Products record.
- Close and reopen Aptify.
Confirm that the pricing object operates as expected by adding the product to a new test order.
Note If the logic in a pricing object applies to all products in a particular category, you can specify this object at the Product Category level. Whenever a new product or sub-category is added to that category, Aptify automatically flows down the pricing object information to the new record. See Specifying Category Level Pricing for details.