Skip to main content
Answer

How to Update and Create User Defined Field Tab in Receipts Screen through API calls.

  • August 7, 2023
  • 7 replies
  • 372 views

Hi Team,
We have a requirement as we create a receipt via API calls and there is a User Defined Field tab in the form level on how to create and update those fields in the receipts screen through the API calls, can you please review and suggest the best way possible to achieve it.


Thank you!

Best answer by Vignesh Ponnusamy

Hi @SanthoshB09,

Use custom parameter like below,

<<Instance URL>>/entity/Default/22.200.001/InventoryReceipt?$filter=ReferenceNbr eq '002038'&$custom=receipt.AttributeAMBATCOLOR

In above, receipt is the view name and AMBATCOLOR is the attribute name, prefixed with Attribute keyword.

For more details on retrieving and updating UDFs from API refer,

Good Luck,

7 replies

RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • August 7, 2023

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

Hi @SanthoshB09,

Use custom parameter like below,

<<Instance URL>>/entity/Default/22.200.001/InventoryReceipt?$filter=ReferenceNbr eq '002038'&$custom=receipt.AttributeAMBATCOLOR

In above, receipt is the view name and AMBATCOLOR is the attribute name, prefixed with Attribute keyword.

For more details on retrieving and updating UDFs from API refer,

Good Luck,


  • Author
  • Freshman I
  • August 8, 2023

Hi @Vignesh Ponnusamy ,
Thank you for the response, I am able to update User Defined Field in the receipts screen through the API calls.


  • Author
  • Freshman I
  • August 8, 2023

Hi @RohitRattan88 ,
Thank you for the response, I will check with as you mentioned and get back to you.
 


RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • August 8, 2023

@SanthoshB09 

dont forget to mark the answer to help others with similar question(s).


dpruckus
Freshman I
Forum|alt.badge.img
  • Freshman I
  • November 16, 2023

Hey guys, trying to update UDF while create a new Project, but it passes only NULL value. what could be the issue? If I pass it again to the same Project it adds the value normally.

 

custom": {

        "Project": {

            "AttributePROMO": {

                "type": "CustomStringField",

                "value": null

            }

        }

    },


Forum|alt.badge.img+3
  • Captain I
  • September 17, 2024

hi I am trying to update UDF value but it null. Anyone can help please?
Json body


 

 

 

Reponse: