Question

How customize query by current branch in processing create order requisition screen

  • 25 September 2023
  • 2 replies
  • 57 views

Userlevel 3
Badge

 


2 replies

Userlevel 3
Badge

How can we apply dynamic query in processing requisition create order screen ?

Userlevel 3
Badge

I try this but cannot solve

public class RQRequisitionProcess_Extension : PXGraphExtension<PX.Objects.RQ.RQRequisitionProcess>
{
    public virtual IEnumerable records()
    {
        foreach (var item in this.Base.Records.Select())
        {
            RQRequisition rQRequisition = (RQRequisition)item;
            if(rQRequisition.BranchID == PXContext.GetBranchID()) 
            { 
                yield return item;
            }
        }
    }
}

Reply


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