Pages

Banner 468 x 60px

 

Tuesday, March 14, 2017

Maxof and Minof X++

0 comments
Hi guys, i want to share Maxof and Minof X++ :

static void Addit_Maxof(Args _args)
{
    GG_FPJVoucher               _GG_FPJVoucher_AfterDP;
    ;
   
     select maxof(createdDateTime) from _GG_FPJVoucher_AfterDP where _GG_FPJVoucher_AfterDP.SalesId == 'SP0-1609-0158';
     info(strfmt('%1', _GG_FPJVoucher_AfterDP.createdDateTime));
}

static void Addit_Maxof(Args _args)
{
    GG_FPJVoucher               _GG_FPJVoucher_AfterDP;
    ;
   
     select minof(createdDateTime) from _GG_FPJVoucher_AfterDP where _GG_FPJVoucher_AfterDP.SalesId == 'SP0-1609-0158';
     info(strfmt('%1', _GG_FPJVoucher_AfterDP.createdDateTime));
}

0 comments:

A financial dimension value is based on the LAND-00013 record and has been used on a transaction. You cannot delete the LAND-00013 record AX 2012

 A financial dimension value is based on the LAND-00013 record and has been used on a  transaction. You cannot delete the LAND-00013 record ...