Hi all
I want to create a generic paramteres Form/Table Holding following Information:
1. a prefix (integer value, 3-digits) (systemwide)
2. a single integer value added to the 3 Digits (can be up to 10 times (0-9))
0 - 4 Standard numbers, 5 - 9 fallback for 0 - 4 with a relation, means 0 -> 5, 1->6...
3. Name for the integer value added in 2.
Any ideas?
*This post is locked for comments
Maybe you could take a look on how the Number Sequences section is implemented in each AX module's parameters form. Basically there is a "fixed" (based on certain criteria in code and metadata) grid where user can enter setup for number sequences of that module.
Your form / grid would have 5 rows and 3 columns.
Ok, what I want to achieve is to have a Matrix/table on the form to enter the data.
I do have 5 Areas to create setupdata (SM, MB, FB, BT and EXT) this should be the lines in the table.
For each line have to fill 3 values (IdExtension, IdExtensionFallback, Name)
You should write your own logic for generate salesId and use it instead of Numbersequence.
Try to debug the sales order creation process to find a better place to put your own logic.
You do need to define "generic" a bit better (more accurate).
Maybe then we can also help you in how to implement it.
yes something like this. but I want to have those fields generic because it could happen that definition changes some time
Well, if you want to crate such parameters, do you face some issue? What kind of help do you exactly need?
If I understood correctly, you don't want to use a number sequence, so I guess you want to have some static parameters instead.
So just add one field for each of your required settings (prefix etc) and use them from your code.
Hi , yes it means, and no, Numbersequence is no option in this case
Hi ChrisR75!
Ordernumber - means SalesId of sales orders?
Hi
I have to create orders (template order in our case) from inside a project.
for the ordernumber I have to extend the project number with the 3digits prefix and the 1 digit num depending on some criteria. (called area in our system)
Hi ChrisR75,
Can you elaborate about the functional requirements? What exactly do you need to achieve. To be honest, I really don't understand this question.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156