Reputation: 85
We have a scenario where the desire is to have a different number sequence for replacement orders vs sales orders.
Sales Orders have a strictly numeric number sequence defined, ######. We've created a number sequence for Replacement orders, REP######.
Since both orders live in the SalesTable, this fails when creating the replacement order saying the REP###### number doesn't match the format ######.
1) Is it possible to use two differently formatted number sequences like this? 2) Assuming it is, is there somewhere I can disable some validation to allow this?
Upvotes: 1
Views: 462
Reputation: 5107
1) Yes, this is possible.
2) Take a look how standard AX does this e.g. for fixed assets. You can set up several asset groups with different number sequences that are then used to create numbers for new assets in the groups. So you do not disable a validation, you will customize the code that generates the number to control which number sequence is used to generate the number or to validate the number.
Some further reading:
Upvotes: 3