evshvarov / restforms2-angularui-demo

An example of REST API and Angular UI generator for InterSystems IRIS persistent class
MIT License
1 stars 2 forks source link

Unexpected format on numeric datatypes (%Numeric, %Integer, %Float, %Double) #2

Open SylvainGuilbaud opened 1 year ago

SylvainGuilbaud commented 1 year ago

ERROR 9406 - Unexpected format for value of field "uid"

Class Data.order Extends (%Persistent, Form.Adaptor) {

Parameter FORMNAME = "order";

Parameter OBJPERMISSIONS = "CRUD";

Parameter DISPLAYPROPERTY = "customerName";

Property uid As %Integer(DISPLAYNAME = "uid");

Property customerName As %String(DISPLAYNAME = "customer name");

Property orderPlaced As %Date(DISPLAYNAME = "order placed", FORMAT = 4);

Property isValid As %Boolean(DISPLAYNAME = "valid");

SylvainGuilbaud commented 1 year ago

The error occurs while saving the form.