Hi,I want to create a JSON body when user clicking the REMOVE HOLD in PO Screen.public IEnumerable ReleaseFromHold(PXAdapter adapter, ReleaseFromHoldDelegate baseMethod){ RootObject obj = new RootObject(); obj.OrderNbr = order.OrderNbr?.ToString(); obj.PromisedOn = order.ExpectedDate?.ToString(); obj.Status = order.Status?.ToString(); foreach (PXResult<POLine> result in polineIntview.Select()){ POLine line = result; Details detail = new Details(); detail.Amount = line.CuryExtCost?.ToString(); detail.CustomerOrderNbr = SOOrder.PK.Find(Base,"SO",line.SOOrderNbr).CustomerOrderNbr?.ToString(); detail.DiscountAmount = line.CuryDiscAmt?.ToString(); detail.DiscountPercent = line.DiscPct?.ToString(); if (obj.Details == null) obj.Details = new List<Details>(); obj.Details.Add(detail);
Is there a way to configure the scenario we use for “Export AP Payment to ACH” to not use=Left(Provider.Coalesce([APPaymentList.ExtRefNbr],[APPaymentList.RefNbr]),10)But to instead use the [APInvoice.InvoiceNbr] field? There is another question about this in the community:but it has never been answered. Is there a way to join to the APInvoice table in order to bring this field into the ACH export file?
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.