29 September 2016

String length align to export in Notepad AX 2012

public str strAlign(str _string, int _length)
{
str ret;

ret = _string + strRep(' ', _length);
ret = subStr(ret, 1, _length);

return ret;
}

2 comments:

  1. Wow, thank you so much, it's exactly what I've needed! I've just searching some information about string length align to export in Notepad AX 2012 .

    ReplyDelete
  2. Thank you so much for such a great share,, this is the information i have been looking for.. i will be in your debt forever.

    ReplyDelete

Give me the commetns and solutions

Customer inbound custom service in D365 F&O with X++

  [DataContractAttribute] class GOD_CustomerCreateContract {     str                 accountNum;     // Optional; if blank, a number sequenc...