I have an updateable BAQ that I am calling from the REST API. In the UBAQ, I have the Company column set to mandatory and that it defaults to the constant CompanyID.
I can PATCH to create a new record in the table
{
“UD101_Key1”: “TestKey2”
}
without defining the company column in my JSON.
In the database, it creates a record with no company:
Shouldn’t the company default to what I’ve defined in the BAQ?
Ah makes sense. I see that if I GetNew it will return the Company defaulted in the BAQ. I wonder if that’s how they want to handle that GetNew>Modify Data>Patch