on 04-20-2016 9:33 AM
Dear friends,
I create a custom fiori app to creat sale order, when I input sold-to number I want to validate it's value in my back-end system then return a bunch value of ship-to number for user to select, so any suggestion about this case or is there any example about back-end validation of the front-end input value ?
Thanks for your sincerely answer!
Zhang
Hi Zhang
Plenty of examples in the standard apps.
Depends how far you want to go and how it relates to your scenario.
If you want a simple option you could use an OData function import to validate and return the list of ship-to.
Or you could include it in your OData Model as a Navigation relationship between Sold-To and Ship-To. Given your OData Model looks like its based on Sales Order, this might make the best sense.
Also depends how many ship-to's you might return.
If there is potentially a large number you can go full on value help through a Smart Template - check the Smart Controls Tutorial in
You might want to rethink your controls choice. A combo box would be better for Ship-To.
A placeholder in your Sold-To or Ship-To or both could be used to reinforce that your user needs to enter the sold-to value first.
Rgds,
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.