1. New Document Interface Data
2. Create a data model, including documents, document lines, settings apply default features, and only one red item under each model tree
3. New action, the system does not abandon the audit branch as a button event by default
4. Add UI form, select the corresponding model tree and form category
5. When the selected template is not particularly appropriate, you can also select the Adjust form template in the property bar
6. When the selection card appears scroll bar, you need to adjust the container margin (such as the bottom margin in this example) to eliminate the scroll bar, list adjustment is also the case, to avoid page generation after the scroll bar, and the page deformation, as shown in
7. Layout form fields, each form form requires that the ID and transaction version two fields are first put to the page and hidden.
8. Layout form detail line, also need to set the ID and transaction version first
9. Set Line extension fields
10. Bound line entity references, such as the materials and units in this example, must introduce a reference namespace, a common namespace:
Ufida. U9. Cbo. Ref.CBOReferenceUI.MetaData
Ufida. U9. Cbo. Ref.BaseReferenceUI.MetaData
11. New Document Type Reference
12. Set the document type reference field and modify the reference name, as shown in the document type class to be moved before the other fields
13. Set the reference code and display field
14. Make document type form reference, first set the form parameter in the document type UI interface and associate it with the new entry parameter in the previous model tree
15. Association Provider Collection Parameters
16. Set Document page form reference (document type)
17. Configure binding reference parameters and return parameters
At this point, constructs the page, publishes the service group, the document UI Setup completes, next is the code this piece of writing.
Document UI Development