Interview Questions

Thursday, May 29, 2014

How to get Sales Orders created by Current User only in AX

static void GetCurrentUsrRecord(Args _args)
{
             SalesTable  salesTable;
             while select * from salesTable where salesTable.createdBy ==  curUserId()
             info (strfmt("%1",salesTable.SalesId));
}

No comments:

Post a Comment