The field has a drop-down calendar - "date picker".
Format
The date format "dd-MM-yyyy"
Parameters
Default
The initial date value.
ClearOnClear
Will the field revert back to Default value when "Reset" is selected.
Label
The text shown above the date.
AcceptBarcode
Will the field accept scanned values or require manual entry.
MinDate
Lowest allowed value
MaxDate
Highest allowed value
Optional
Is the field mandatory.
EanAi
If specified, the field accepts GS1 barcodes with the specified application identifiers.
A comma-separated list of GS1 Application Identifiers (e.g. "30,37") that the field will accept.
AX
In AX the header is specified in the class Mob_GetReferenceData. Use addDefaultExpirationDateElement(..), addDefaultAnyDateElement(..), addDefaultDeliveryDateElement(..) etc. Alternative use addHeaderConfigurationElement(..) with type #InputTypeDate.
void addDefaultOrderFilter(XmlElement linesElement)
{
// List with warehouses
this.addDefaultWarehouseElement(linesElement, 1, #ReferenceDataTable_WarehouseFilterList);
// Delivery date control
this.addDefaultDeliveryDateElement(linesElement, 2);
}
Related articles
Filter by label
There are no items with the selected labels at this time.