Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

A date field is an input field for a date value.


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.

Mob_GetReferenceData.addDefaultOrderFilter(..)
void addDefaultOrderFilter(XmlElement linesElement)
{
    // List with warehouses
    this.addDefaultWarehouseElement(linesElement, 1, #ReferenceDataTable_WarehouseFilterList);

    // Delivery date control
    this.addDefaultDeliveryDateElement(linesElement, 2);
}

Filter by label

There are no items with the selected labels at this time.

The date field in a Page Header

The Date picker

  • No labels