Skip to main content

Hi there! We have been facing an issue related to Myob Advance (Accumatica) Payment.
When api is called with query parameter '$expand=OrdersToApply,ApplicationHistory', which gives us the error:

"Optimization cannot be performed.The following fields cause the error:
 \r\nOrdersToApply.AppliedToOrder: View SOAdjustments has BQL delegate\r\nOrdersToApply.OrderNbr: View SOAdjustments has BQL delegate\r\nOrdersToApply.OrderType: View SOAdjustments 
 has BQL delegate\r\nApplicationHistory.LineNbr: View Adjustments_History has BQL delegate\r\n"

Is there any solution/api/help available to get information/list of SaleOrders or Invoices on which the payment is applied.

 

SC:

 

Hi @junaidbasit ,

We will get this error when we are trying to get All the Payment records and if any of the Expand section view contains view delegate.

We have to pass particular Payment RefNbr as filter to fetch the required details using expand.We can not fetch all the payment records with expand .



 


Reply