How to get custom field value from Payment and Application screen to Bank Deposit screen document level

  • 8 October 2021
  • 1 reply

Hi Everyone ,

We have  below requirement , can anyone suggest best possible way to achieve it please?

  • Added a new field in Payment and Application header level


  • Should display the above custom field value in Bank Deposit Document level grid

    Thanks in advance.


Best answer by Naveen Boga 8 October 2021, 18:38

View original

1 reply

Userlevel 7
Badge +12

Hi @lakshmim85,

You can have logic at persist delegate() at cache inserted block to fetch custom field and assign it to Grid field. Please find the sample code below for your reference.

 public class CADepositEntryExtension : PXGraphExtension<CADepositEntry>
public delegate void PersistDelegate();
public void Persist(Action del)
if (Base.Document.Cache.GetStatus((object)Base.Document.Current) == PXEntryStatus.Inserted)

foreach(var paymentrecord in Base.DepositPayments.Select())
// Write a logic to fetch the custom field value based on the Payment Type and Reference Nbr and assign it to grid field.





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