Grouping is a crucial feature when importing data with one-to-many relationships into Infor M3. This feature is particularly useful for managing orders and order lines, or items and item warehouse records. While Infor M3 typically stores such data across different tables, Excel represents this data in rows and columns. By applying grouping effectively, we can ensure accurate and efficient data import processes.
When preparing data in Excel, many rows will share common data such as requested delivery date, warehouse and supplier etc... When we enable grouping on the columns, the VXL will look for identical data in each row for the columns where grouping is applied. This identical data will be considered as the order header, and the rows that belong to that particular order header will be considered as order lines and linked to the order header.
Batch | Supplier number | Order type | Facility | Warehouse | Buyer | Item number | Purchase order U/M | Purchase price | Requested delivery date | Ordered quantity - alternate U/M | MSGN | PUNO | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
THB | SUPL001 | M10 | A01 | 001 | JANKIN84 | 3000009 | 100.00 | 20240710 | 10 | ||||
THB | SUPL001 | M10 | A01 | 001 | JANKIN84 | 3000008 | 100.00 | 20240717 | 10 | ||||
THB | SUPL001 | M10 | A01 | 001 | JANKIN84 | 3000011 | 100.00 | 20240717 | 10 |
In below above example when grouping is applied on Batch, Supplier number, order type, Facility warehouse, Buyer, requested delivery date, the data is organized into groups that correspond to unique combinations of these fields.
For example:
We have faced an issue when Grouping is applied on DO order creation, and below is the solution to resolve the issue.
When creating DO orders, if the line items have an item status that prevents them from being purchasable, an error message is displayed for each line. If the "End Run" option is enabled, the last transaction executes only for the unique records count, resulting in misleading error messages.
For example:
To avoid this issue:
This ensures each line is validated individually, displaying error messages only for the problematic items.