User parameters for Internal Invoicing Automation

This table shows the required arguments to run this solution:

User argument Description Data type Sample value
AccountingEntities List the M3 Accounting Entities that this RPA Process will run for, separated by comas and no spaces. An accounting entity concatenates the company and division values, 'company_division'.

Division cannot be left blank. And in case company number is lower than 100, you must write it with a leading 0. For example, company 80 must be written as 080.

String 100_AAA,200_BBB,770_BBB
ToDateCode This field relates to the To date field from (MFS101/E).

It can hold a fixed date in YYYY/MM/DD format or a positive or negative number of days to adjust from the current process execution date.

String 2025/05/28

+1

-1

ToAccDateExternalCode This field is related to the To acc dt - ext field from (MFS101/E).

It can hold a fixed date in YYYY/MM/DD format or a positive or negative number of days to adjust from the current process execution date.

String 2025/05/26

+1

-1

FromDeliveringWarehouse This field corresponds to the Delivering whs field from the From column on (MFS101/E). String 001
ToDeliveringWarehouse This field corresponds to the Delivering whs field from the To column on (MFS101/E) String 002
ReferenceOrderCategory This field corresponds to the Ref order cat field from the From column on (MFS101/E). String 0

1

3

FromOrderNumber This field corresponds to the Order number field from the From column on (MFS101/E). String 0010022122
ToOrderNumber This field corresponds to the Order number field from the From column on (MFS101/E). String 0122000022
FromReceivingCountry This field corresponds to the Receiving cntry field from the From column on (MFS101/E). String SE
ToReceivingCountry This field corresponds to the Receiving cntry field from the To column on (MFS101/E). String FR
FromReceivingDivision This field corresponds to the Receiving div field from the From column on (MFS101/E). String AAA
ToReceivingDivision This field corresponds to the Receiving div field from the To column on (MFS101/E). String BBB
CreditDebit This field corresponds to the Credit/debit field on (MFS101/E). String 1

2

Name This field corresponds to the Name field on (MFS101/E). This name is used to create the Internal Invoice Proposal. It can have up to 11 characters.

The process completes the Name with the Accounting Entity, and the execution Date-Time information.

String Proposal A
ReportText This field corresponds to the Report text filed on (MFS101/E). This is the Report Text of the Internal Invoicing proposal created. It can have up to 11 characters.

The process completes the Report Text with the Accounting Entity and the execution Date-Time information.

String Sel Rep 1

Report 10

Report A
PrintAndUpdate

This field determines whether the Print & Update option is processed on the created Internal Invoice Proposal.

If processing is required, this value should be set to 1; otherwise, leave blank or set to 0.
String 1
delayProposalFactor

This parameter delays the Print & Update action on a new Internal Invoice Proposal until it reaches status 0.

The factor set is multiplied by 10 seconds to determine the delay. The default value is 1.
String 1
InvoiceDateCode

This field is related to the Invoice date field from (MFS100/F).

It can hold a fixed date in YYYY/MM/DD format or a positive or negative number of days to adjust from the current process execution date.
String 2025/05/12

+1

-2
AccountingDateCode

This field is related to the Accounting date field from (MFS100/F).

It can hold a fixed date in YYYY/MM/DD format or a positive or negative number of days to adjust from the current process execution date.
String 2025/05/15

+2

-3
configurationFolder Local or shared file folder where logs are placed. String C:\...\ M3InternalInvoicingAutomation _100_AAA

\\FR00132\..\M3InternalInvoicingAutomation _100_AAA

logLevel When RPA process is run, it creates a log file per day named as JobsResults[yyyymmdd].txt in a Logs folder inside configurationFolder.
Different levels of logging exists.
  • Empty or space is the same as INFO which is the default value.
  • INFO logs time stamps for the process start and process end and identifies the name of the reports generated, if the report has been generated and submitted for invoicing, and success and failure count. In case of errors, exception messages are also logged.
  • DEBUG logs more technical details.
  • NONE results in no logging and is not recommended.
Results are reviewed in the log file.
String INFO

DEBUG

NONE

msgBoxLevel When RPA process is processed, it triggers pop-up messages to inform user about the process and immediate errors. It should not be activated in unattended mode as it results in the process not being able to continue after the first pop-up message is triggered.
Different levels of messaging exist.
  • Empty or space is the same as NONE which is the default value.
  • INFO triggers message boxes in process start, process end, and in case of errors.
  • DEBUG triggers more messages with technical details. To avoid activating the parameter you must set it to NONE or leave it blank.
String INFO

DEBUG

NONE
User The User ID to access Infor OS. String Initial.Name@infor.com
Password The password to access Infor OS for the User. String
M3UserID The user ID in M3 for the user. String JSMITH
generalDelay The generalDelay parameter enables web actions to wait for the browser to load required data. This value, expressed in milliseconds (ms), is helpful for slower browsers. Integer 100
userIdentifier

If distributionType is set to USER, the value in IFS User GUID for the user must be updated in this field. This value is found in OS > Security > Manage > Users by clicking the user details icon to reach the Details panel. This user receives an ION notification in M3 Inbox when the RPA process processing is finished. A user with a UserAdmin role is required to get this information.

If distributionType is set to GROUP, the Name of the user group created in OS > Security > Manage > Groups must be updated in this field. The users connected to the user group set in this field receives an ION notification in the M3 Inbox when the RPA process processing is finished.
String xxxx-xxxxx-xxxxx

M3InternalInvoicingGroup

distributionType This parameter determines the recipient of an ION notification generated when the RPA process execution is finished.

Set this parameter to USER when a specific user must receive the notification or set to GROUP when a certain user group must receive the notification.

String USER

GROUP