User arguments for Internal Invoicing Automation

This table shows the required user arguments in RPA:

User argument Description Data type Sample value
AccountingEntities Specify the M3 accounting entities for which this RPA process runs. Separate the values with commas and do not include spaces.

Each accounting entity combines the company and division in this format: company_division.

Ensure that the division is not left blank. If the company number is less than 100, include a leading zero. For example, 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 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 the RPA process runs, it can trigger pop-up messages to inform about the process and any errors encountered. This feature must not be enabled during unattended mode, as it causes the process to stop after the first pop-up message is triggered.
Types of messages:
  • NONE: To disable message prompts, specify this value. You can also specify a space, or leave this field blank, as this is the default setting.
  • INFO: Triggers message boxes at the start and end of the process, and when errors occur.
  • DEBUG: Triggers additional message boxes that show technical details.
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 Determine the recipient of an ION Notification generated after the RPA process is complete. Specify USER to send the notification to a specific user or GROUP to send the notification to a user group. String USER

GROUP