Hi @oshadhat83,
To handle the event when a user selects a Reference Nbr in the "DOCUMENT TO APPLY" grid on the Payments and Applications Screen (AR302000), the best approach is to use the FieldUpdated event for the appropriate field. In this case, you would typically handle the event for the ARAdjust.AdjdRefNbr field, which corresponds to the reference number of the document being applied.
public class ARPaymentEntry_Extension : PXGraphExtension<ARPaymentEntry>
{
protected void ARAdjust_AdjdRefNbr_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e)
{
var row = (ARAdjust)e.Row;
if (row == null) return;
}
}
Hope, it helps!