Solved

Can we record Audit History when doing direct DB Updates

  • 27 April 2022
  • 1 reply
  • 30 views

Userlevel 1
Badge

Hello, we need help in recording Audit History when doing direct DB Updates, for some reason we are doing direct DB Updates to one screen, the data is updating correctly but that is not getting recorded in Audit history, do we have any other way to record audit history even if we are doing direct DB Updates.

 

PXDatabase.Update<TableName>((PXDataFieldParam)new PXDataFieldAssign(“FieldName”, “FieldValue”),
(PXDataFieldParam)new PXDataFieldRestrict("TableId", TableId));

icon

Best answer by Naveen Boga 27 April 2022, 13:19

View original

1 reply

Userlevel 7
Badge +12

Hi @ckwiat46  Direct DB updates will not log any details on the Audit History.

I don’t think we have a workaround to store the details in the Audit History when we do direct DB updates.

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 — 2022  Acumatica, Inc. All rights reserved