for displaying deliveryDateTime based on given minutes in salesparmtable

for displaying deliveryDateTime based on given minutes in salesparmtable

display String30 deliveryDateTime()
{
    String30 strvalue;
    if(this.INC_DeliveryTime !=0)
    {
        strvalue = strFmt("%1 %2",today(), time2str((timeNow() + this.INC_DeliveryTime * 60),TimeSeparator::Auto,TimeFormat::Auto));
        return strvalue;
    }
    else
    {
        return '';
    }
}

Comments

Popular posts from this blog

We will follow the following steps in the AX development.

Need to provide “ItemId lookup” based on "ItemType" field, which selected while creating SalesOrder

How to retrieve multiple selected records from Grid using X++