Very often you may need to get a list of file name locaten in a specified folder, move them to the archive or get their size for adding a progress bar if file load is slow.
Here are few methods in X++ that maybe useful when working with files.
Very often you may need to get a list of file name locaten in a specified folder, move them to the archive or get their size for adding a progress bar if file load is slow.
Here are few methods in X++ that maybe useful when working with files.
Method displayOption has to be overridden on the form datasource to display cells in the grid in different colors.
Note, that the whole line i affected here, but only certain columns, and each line can have different colums affected.
Code example:
Method displayOption has to be overridden on the form datasource to display lines in different colors.
Code example:
Most of Ax people already are used to press Ctrl+Z in any field on a form and that brings full info about the field begind the control: table, field, type etc.
However, in contrary what some people may think, this is not standard Ax.
Below is the code that implement this nice feature.
Read More »Here is the XPO file with a template of file import to LedgerJournal.
Import class creates new journal header, lines, posts journal.
Class is designed to run in batch mode. It reads comma separated file.