special price of product would be changes as per Discount if Auto Update is False.

special price of product would be changes as per Discount if Auto Update is False.

Product Version: 

iVend 6.6 (Actual functionality of Ivend for all version)


Problem Statement: 

(INC0010921) special price of product would be changed as per Discount if AutoUpdt field is updated as False.


Proposed Solution and steps taken:   

While creating a special price for a product, we used to add the product info, its price, discount (if any) with type, UOM details if any and date duration of Special price applicable.


This all info used to store in database table “PrcSpecialPriceListDate” with a column named “AutoUpdt” as 1 by default.


While performing any transaction over the product it used to fetch the price detail from this table using SP “uspGetItemSpecialPrice” and special price would be applied if used in between the mentioned duration of date.


This “AutoUpdt” column used to get updated by Customer manually from SAP to Zero (0) as per their requirement and then a special calculation would go for getting the selling price of the product, mentioned below:


  1. If Discount Type is 2 (indicates percentage discount) then selling price of product would be specially calculated as Price = (Price *100) / (100 – Discount%)


  1. If Discount Type is 1 (indicates Amount discount) then selling price of product would be specially calculated as Price = Price + Discount amount


Formula in SP - uspGetItemSpecialPrice

         if (@pDiscountType = 2) --indicates percentage discount 

          BEGIN 

           set @pItemPrice = (@pItemPrice *100 ) / (100 - @pDiscount) 

          END  

         if (@pDiscountType = 1) --indicates AMOUNT discount 

          BEGIN 

           set @pItemPrice = @pItemPrice +  @pDiscount  

          END  

        end 


This “AutoUpdt” column used to get control by ERP as per requirement and that makes an auto calculation over the price on product sell transaction.


    • Related Articles

    • Price Lists and Special Price Lists

      Price Lists and Special Price Lists iVend Retail provides a comprehensive and multifaceted pricing engine. There is a great array of flexible features that can add a depth of highly configurable methods for setting prices that can be used at the ...
    • Product at POS does not show discount as per special price list

      ********** Internal Article ********** Problem Statement Prices are not correctly picked at POS. Special price list updated with discount in SAP, it integrates to HO and replicated to Store as well. But the POS discount does not work. Issue Items are ...
    • Which Price gets effective after special price-list expires

      Version: 6.5 Update 6, not the version-specific. Query: I wanna enquire what's happened if a product is included in a special price list for a specific duration, When this duration expires, Is this product return to its regular price or to the base ...
    • Special price list configured but didn't pick correct price on iVend POS Transaction Screen

      Problem Statement: Special price list configured but didn’t pick correct price on iVend POS Transaction Screen Environment: iVend 6.5 Update 6 With SAP B1 9.2 Check Points: There is one parameter in Enterprise Screen > Pricing Resolution Note: If set ...
    • Discount Resolution Setup

      Discount Resolution Setup The Discount Resolution Setup grouping feature helps in determining how the discounts will be calculated on an item in the event that multiple discounts are applied in a single transaction. The discounts have been ...