Skip to main content
Solved

Get User-Defind custom field using API

  • May 8, 2023
  • 2 replies
  • 186 views

Driss
Jr Varsity III
Forum|alt.badge.img

Hi All

happy to be part of this amazing community

 

I have a question in the SO you can see i have a value on this custom field i mapped it from Salesforce 

 

 

but when i call this Order using

 

/SalesOrder?$custom=document.attributeCPQORDNBR&$filter=OrderType eq 'SO'  and OrderNbr eq 'SO0016632'&$top=100

 

this is the response

 

it showing Null even i have a value as you can see in the 1st image i don’t know why 


Thanks

 

Best answer by Vignesh Ponnusamy

@Driss, Looks like the view name is case sensitive. Use Document instead of document in the request URL. Like try, Document.attributeCPQORDNBR instead of document.attributeCPQORDNBR.

2 replies

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

@Driss, Looks like the view name is case sensitive. Use Document instead of document in the request URL. Like try, Document.attributeCPQORDNBR instead of document.attributeCPQORDNBR.


Driss
Jr Varsity III
Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • May 8, 2023

@Vignesh Ponnusamy Thank youuu so much omg 🙏🙏🙏