hougaard / Simple-Object-Designer

Issue tracking for the Simple Object Designer for Business Central
7 stars 0 forks source link

Make a field mandatory #297

Open CrazyOnesHN opened 9 months ago

CrazyOnesHN commented 9 months ago

hi guys,

Add these fields, however, I want to make these fields mandatory, but I'm not sure what action to use BC., could you help me.

BC1

Best regards

hougaard commented 9 months ago

First, you need to find the action (post, release, something?) where the mandatory check should be performed. Then you can add the fields and the criteria.

CrazyOnesHN commented 9 months ago

Hi Erik,

Thanks for the feedback, I just did some tests, and it works perfect, in my case I want to add that validation when the end-user opens a new Sales Order and is adding the lines. Example, natively BC when you make a new sales order place a Red Asterisk in the "Item" field, that is the validation that I am looking to replicate, but I do not know that "Action" is since BC saves the document automatically.

_Erik, I also need to buy another license for "Simple object Designer", as I need to buy it and assign it to the user. _

Best regards

hougaard commented 9 months ago

Yes, the mandatory asterisk is not always the greatest because we cannot prevent saving anyway. That's why the Simple Object Designer ties the mandatory thing into actions (like posting, releasing etc...)

"Another license" -> Our webshop is always open :)