Question

Error once I update the Customer Credit Limit

  • 2 February 2021
  • 5 replies
  • 69 views

Userlevel 1
Badge

Error when I update the Customer Credit Limit

 

Request:
PUT https://{Base_URL}/Customer?$select=CreditVerificationRules&$filter=CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'

 


Response: {"message":"An error has occurred.","exceptionMessage":"Syntax error: character '%' is not valid at position 10 in 'CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'

Team, could you help me with this error?
What I should do to eliminate the error?


5 replies

Userlevel 7
Badge +11

Hi @Andrew1986 

Can you clarify the following :

  • are you updating the credit limit from the UI (AR303000?)
  • are there any customizations on the screen, if yes, do unpublish customization and try again 
  • version and build of Acumatica your instance is on

Regards,

Userlevel 1
Badge

No, update the Credit Limit using API.

Request:
PUT https://{Base_URL}/Customer?$select=CreditVerificationRules&$filter=CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'

{
"CreditVerificationRules": {
"CreditLimit": {
"value": 1234.0
}
}
}

Userlevel 1
Badge

But I receive the following error:
Response:


{"message":"An error has occurred.","exceptionMessage":"Syntax error: character '%' is not valid at position 10 in 'CustomerID%20eq%20'0e31e8a5-08e3-ea11-a828-000d3ab2c384'

Userlevel 1
Badge

In this example

https://help-2020r1.acumatica.com/(W(5))/Help?ScreenId=ShowWiki&pageid=af48c02a-afbc-4fdb-b1e5-635ac7ebbaf1

is recommended use the same approach -
PUT ?$filter=MainContact/Email%20eq%20'demo@gmail.com'&

Userlevel 1
Badge

How I should rectify the request to eliminate error?

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved