Solved

Row data disappears after processing

  • 22 September 2022
  • 4 replies
  • 63 views

Badge +10

I created a custom processing screen with the following data view:

public SelectFrom<INLocationStatus>.
InnerJoin<InventoryItem>.
On<InventoryItem.inventoryID.IsEqual<INLocationStatus.inventoryID>>.
Where<
Brackets<INLocationStatus.siteID.IsEqual<PrintLabelsFilter.siteID.FromCurrent>.
Or<PrintLabelsFilter.siteID.FromCurrent.IsNull>>.
And<Brackets<INLocationStatus.locationID.IsEqual<PrintLabelsFilter.locationID.FromCurrent>.
Or<PrintLabelsFilter.locationID.FromCurrent.IsNull>>>.
And<Brackets<InventoryItem.itemClassID.IsEqual<PrintLabelsFilter.itemClassID.FromCurrent>.
Or<PrintLabelsFilter.itemClassID.FromCurrent.IsNull>>>>.
ProcessingView.FilteredBy<PrintLabelsFilter> Items;

The view displays great and it processing like expected. However, when the processing has finished, the rows that were processed display, but there is data missing from the joined tables.

Does anyone know why this happens?

 

icon

Best answer by jinin 23 September 2022, 12:24

View original

4 replies

Userlevel 7
Badge +11

Hi @darylbowman 

If we use the Join, the data disappears after the process. Better you can create an Unbound DAC and add all the required fields and insert the record into the DAC. Load the data in the grid using the Unbound DAC. So all the data will load and not vanish after the process also.

Badge +10

I’m curious if this is just a known workaround or an accepted practice? It feels like a bug.

Userlevel 7
Badge +11

Hi @darylbowman 

May be its a bug. I did this workaround to resolve the problem. 😉

Userlevel 7
Badge +11

Hi @darylbowman 

We can use projection View and DAC. That is a good approach. Please try with Projection.

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