Thursday 8 January 2015

code to generate random numbers in AX every time

static void Job150(Args _args)
{

//code to generate the random number
int dice;

dice = (xGlobal::randomPositiveInt32() mod 6) + 1;

print dice;
pause;
}

1 comment:

  1. how to add background colour for tables,forms and buttons in ax 2012?

    ReplyDelete

intercompany PO multiple product receipt by x++

public void processStampICPO(PackingSlipId _deliveryNote,                             Transdate _deliverydate,                             ...