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:
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.