Prepare Replenishment Data View Override

  • 28 April 2023
  • 2 replies

Userlevel 1

Hi ,

Version -22R1

Added one Custom Ware house Selector Client wants to Change the Custom Selector of Warehouse When he changed the Selector Value According to the value in the Detail level three fields data has to change 



Tried Modified data view using delegate but it is not affecting and tried writing code in Row Selected event then also it is not working please suggest me with the Solution


        INReplenishmentFilterExt ext = filter.GetExtension<INReplenishmentFilterExt>();
        if (filter.ReplenishmentSiteID != ext.UsrPurchaseWarehouse)
                foreach (INReplenishmentItem item in Base.Records.Select())
                INReplenishmentItem Rep = PXSelectJoin<INReplenishmentItem, LeftJoin<INItemClass,
        Where<INReplenishmentItem.siteID, Equal<Required<INReplenishmentItem.siteID>>,
                Current<INReplenishmentFilter.itemClassCDWildcard>, IsNull,
                Or<INItemClass.itemClassCD, Like<Current<INReplenishmentFilter.itemClassCDWildcard>>>>,
                INReplenishmentItem.launchDate, IsNull,
                INReplenishmentItem.terminationDate, IsNull,

              >>>>>.Select(Base, ext.UsrPurchaseWarehouse);

                    if (Rep != null)
                        item.QtyReplenishment = Rep.QtyReplenishment;
                        item.QtyPOOrders = Rep.QtyPOOrders;
                        item.QtyPOPrepared = Rep.QtyPOPrepared;
                    }   //yield return item;


2 replies

Userlevel 1


Userlevel 7

Hi @FarhanaM60 were you able to find a solution? Thank you!


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved