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

In CustCreditLimit class need to check the salesqty to be not more than as given in custom table

Creditinvoice report

Simple string functions to fill in built-in function gaps