Not getting values of DACExtension

Userlevel 2

I am fetchig data from the DB. And I to show a read-only field in a shipment screen.

var worksheet = from p in graph.Select<SOPickingWorksheet>()
join q in graph.Select<SOPickingWorksheetShipment>() on p.WorksheetNbr equals q.WorksheetNbr
where q.ShipmentNbr == row.ShipmentNbr
select p;
SOPickingWorksheet tempWrksheet = worksheet.FirstOrDefault();
SOPickingWorksheetExt worksheetExt = tempWrksheet.GetExtension<SOPickingWorksheetExt>();

I am getting correct worksheet from the query but my worksheetExt variable does not have the value stored in DB table. Can anyone help me here. I am writing all of this code in SOShipmentEntry GraphExtension.

0 replies

Be the first to 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