This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Methods definition

arif - Wednesday, January 18, 2012 1:39 AM:

Hi Community,

Is it possible to know what methods are called in response to set property in Item Type definition? Suppose in Item Type definition of “Part” the “Required” property of “item_number/Part Number” is checked by default, which oblige user to fill the “Part Number” field in Part form. Am I correct? Now, I want to find out the definition of the method (JavaScript/ C# etc.) or AML or any statement where the instruction is written that restrict user to have the field blank.

It would be great if anyone helps me.

Regards

Arif



Eric Domke - Monday, March 5, 2012 1:06 PM:

Setting the Required flag on a property will actually set a flag in the underlying database table prohibiting null values in that column of the table.  Therefore, there is not any specific code that is called to verify that a required property is filled in.  Rather, if a value is not specified for the property, the user will get a SQL error.