Skip to content

Commit

Permalink
Added escape string for pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
downarowiczd committed Jul 23, 2023
1 parent 18bd27f commit e2f8e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2023-07-23-ReplenishmentTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ One of our clients was using AX2009 for the whole company and we had to migrate

## Solution

As the company had many product like cables where we need the inventory dimension **size** and so we needed to differentiate between products and product variants. In the import file I already set the productquerymode correctly to **item** or **variant**. And in the description field of the replenishment template line I put only the **itemid** in it if it was and item and if it was and **variant**, it put the following string in it **itemid|sizeid**. So now my runnable class can readout if it is an item or variant and create the correct query for us.
As the company had many product like cables where we need the inventory dimension **size** and so we needed to differentiate between products and product variants. In the import file I already set the productquerymode correctly to **item** or **variant**. And in the description field of the replenishment template line I put only the **itemid** in it if it was and item and if it was and **variant**, it put the following string in it **itemid\|sizeid**. So now my runnable class can readout if it is an item or variant and create the correct query for us.

The code can alos be run as a custom script!

Expand Down

0 comments on commit e2f8e0c

Please sign in to comment.