Skip to content

Instantly share code, notes, and snippets.

@tocohara
Created May 17, 2022 03:40
Show Gist options
  • Save tocohara/9c879a1e6670adeb921c6296c7fd1bc6 to your computer and use it in GitHub Desktop.
Save tocohara/9c879a1e6670adeb921c6296c7fd1bc6 to your computer and use it in GitHub Desktop.
Exploring the Sales Order Processing Functions - 2
protected virtual void ARRetainageFilter_RowSelected(PXCache sender, PXRowSelectedEventArgs e)
{
ARRetainageFilter filter = e.Row as ARRetainageFilter;
if (filter == null) return;
bool isAutoRelease = ARSetup.Current.RetainageInvoicesAutoRelease == true;
DocumentList.SetProcessDelegate(delegate (List<ARInvoiceExt> list)
{
ARInvoiceEntry graph = CreateInstance<ARInvoiceEntry>();
ARInvoiceEntryRetainage retainageExt = graph.GetExtension<ARInvoiceEntryRetainage>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment