Date Fields
Date properties are defined as complex type properties in the XSD and as simple type properties in the WSDL.
The XML API handles standard date fields as compound fields using the Date
element.
The XML API handles custom date fields as a string using the format YYYY-MM-DD
or YYYY-MM-DD HH:MM:SS
.
The SOAP API handles every date field as a string. Most date values use the format YYYY-MM-DD HH:MM:SS
.
Always double check date values in your requests to ensure they are in the correct format and avoid any potential errors or unexpected behavior.
The database version that SuiteProjects Pro currently uses has much stricter requirements for date values than previous versions. It can behave differently with incorrect dates and return errors. Strict date validation makes sense because wrong dates could lead to potential issues.