Skip to main content
Answer

User Defined Feild Access only

  • September 12, 2024
  • 4 replies
  • 90 views

Forum|alt.badge.img+3

Hi All, I have created one user define field and I want to get/put from Acumatica API but the problem is I dont want other data to be look in API. I have created User Define field in Customer Screen So how can I give permission to someone to just read and write That field and nothing else.

 

Please help

Best answer by andersen

if it is a UDF, I found out that I couldn’t use document, and I had to use Lead since I was doing it in the Lead section.  can you try changing Document to Customer?

4 replies

dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • September 12, 2024

You want the API to just be able to update this field. If so you could create a new end point and just add the fields into it they need access to.


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

OK. Thanks One more question I am using http://accumaticaInstance/AcumaticaSB/entity/AGRAN/22.200.001/Customer?$select=CustomerID&$custom=Customer.Attribute.AGDCRAN

 

but this query is not updating the UDF. There are other Attributes also.

Below is the body AGDCRAN is the udf

{

  "CustomerID": {

    "value": "0018293851"

  },

 

"custom": {        "Document": {            "AGDCRAN": {                "type": "CustomStringField",                "value": "Apple jam 8 oz."

      }

    }

  ]

}


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • November 13, 2024

Hi @tahayabali were you able to find a solution? Thank you!


  • Freshman II
  • Answer
  • December 6, 2024

if it is a UDF, I found out that I couldn’t use document, and I had to use Lead since I was doing it in the Lead section.  can you try changing Document to Customer?