RE: Add custom field in Dialog D365FO Cloud POS
Hi Oksana
The business scenario is about to add transfer reason code into transfer order and transfer line. The reason code is from custom tables, because there will be different reasons of each country (there are 4 countries). Reason codes must be in option list.
MS engineer also explain alternative solution: -
"The other option is we can add post rigger to this dialog, so after the standard dialog is shown you can show custom dialogs to capture the custom fields, the drawback of this approach is the user experience, first the standard dialog will show then the custom dialog will show up. The user will not be able to enter all the details in one go but this less work because you gone add code only for your custom fields/dialogs."
Difficulties: -
1. If we pop-up 2nd (custom) dialog after saving transfer order, I don't know how to bind custom entities into option list yet.
2. In new mode, how to pass transfer order transaction from 1st dialog to 2nd (custom) dialog and save record.
2. In edit mode, how to pass transfer order transaction from datalist to custom dialog
Not too much example in Retail SDK.