Solved

PO505000 Mass Processing - Data disappears in custom Status


Userlevel 3
Badge

Hello!

We are trying to work with the PO505000 Massprocessing but we stumbled upon a problem without a clear solution. If the Order with the Articles marked for Purchase (SOLine.PoCreate) is in the Status Open, the screen PO505000 displays everything right. As soon as we switch to a custom defined Status (In Production) that we implemented with workflow changes, some data seems to disappear from the screen.

Please take a look at the following Screenshot for Reference.
Line 1 is in Status Open
Line 2 is in our Custom Status
 

As you can see, line 2 is missing several details like the Customer or the Order Nbr.
Yet it is still possible to click on the order nbr and it will redirect to the correct Order.
Is this a bug? Or do we have to implement something specific?

Greetings

icon

Best answer by Leonardo Justiniano 21 July 2022, 19:29

View original

2 replies

Userlevel 6
Badge +4

Hi @jwestermann17 

You need to change (override) the query view for POCreate.FixedDemand to include your new states

 

Also consider to reviewing POCreate.SelectFromFixedDemandView which adds some additional conditions to that query. If you need to override it please do your new query with the same name and also override this function if you need to add such condition in a more dynamic way

namespace PX.Objects.PO
{
public class POCreate_Extension : PXGraphExtension<POCreate>
{
[PXFilterable]
public PXFilteredProcessingJoin<POFixedDemand, POCreateFilter,
. . .
. . . > FixedDemand;

#region Event Handlers

public delegate PXResultset<POFixedDemand> SelectFromFixedDemandViewDelegate();
[PXOverride]
public PXResultset<POFixedDemand> SelectFromFixedDemandView(SelectFromFixedDemandViewDelegate baseMethod)
{
// add your additional conditions here to the View BQL command
// PXView query = new PXView(this, false, FixedDemand.View.BqlSelect);
// query.WhereAnd<Where<. . .>>();

return baseMethod();
}


#endregion
}
}

 

Userlevel 3
Badge

Thank you @Leonardo Justiniano! Works!

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