Skip to main content
Solved

Question About Payment Issue

  • 11 February 2022
  • 1 reply
  • 152 views

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:

 

Best answer by praveenpo

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 .



 

View original
Did this topic help you find an answer to your question?

1 reply

praveenpo
Semi-Pro II
Forum|alt.badge.img+3
  • Semi-Pro II
  • 92 replies
  • Answer
  • February 12, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings