Clone Order Request Item Entity for Back Office

Learn about step to clone entity for role Back Office who will select supplier from supplier lists.

1. From ONEWEB App Designer screen, click Entities > Clone Entity. The dialog of Clone Entity opens.

2. Select existing entity to "Doc Order Request Item - Admin" at Select Existing Entity, put new entity name to "Doc Order Request Item - Back Office" at Name of Clone Entity and click Clone. Wait until message "Entity has been imported successfully" and button name "Open Cloned Entity" show.

3. Click Open Cloned Entity. (The popup dialog of Search Entities shows all entities. Now click on icon pencil to edit.)

4. From module Order Request Item, click icon append row. The system will append new row to the table.

5. From Tools > Field drag Text Box to the first cell of new row (from step 4). The textLabel shows.

  • Click icon pencil. The dialog of Text box Configuration opens.

  • Put "readonly" to Source tag.

  • Select "Currency" at Number Formatter.

  • Change FIELD_ID to "SUMMARY_PRICE".

  • Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Summary Price".

  • Click OK.

6. From module Supplier, edit Supplier Name by click icon pencil.

  • Switch viewFlag to "Y".

  • Click OK.

7. From module Supplier, edit In Stock by click icon pencil.

  • Switch viewFlag to "Y".

  • Click OK.

8. From module Supplier, edit Unit Price by click icon pencil.

  • Switch viewFlag to "Y".

  • Click OK.

9. From module Supplier, edit Remark by click icon pencil.

  • Switch viewFlag to "Y".

  • Click OK.

10. From Tools > Field drag Text Box to Module Supplier. The noLabel shows.

  • Click icon pencil. The dialog of Text Box Configuration opens.

  • Select "Integer" at Number Formatter.

  • Change FIELD_ID to "REMAIN_ORDER_UNIT".

  • Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Remain Order Unit".

  • Change FieldGroup to "3" and change Seq to "1".

  • Switch onlyGuiFlag to "Y".

  • Switch viewFlag to "Y".

  • Click OK.

11. From Tools > Field drag Text Box to Module Supplier. The textLabel shows.

  • Click icon pencil. The dialog of Text box Configuration opens.

  • Select "Integer" at Number Formatter.

  • Change FIELD_ID to "UNIT_BY_BACK_OFFICE".

  • Put "Order Unit" to ShowFieldName.

  • Change FieldGroup to "4" and change Seq to "1".

  • Switch ShowSearch to "Y".

  • Put "4" to showSearchSeq.

  • Click OK.

12. From Tools > Field drag Text Box to Module Supplier. The textLabel shows.

  • Click icon pencil. The dialog of Text box Configuration opens.

  • Put "readonly" to Source tag.

  • Select "Currency" at Number Formatter.

  • Change FIELD_ID to "TOTAL_PRICE".

  • Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Total Price".

  • Change FieldGroup to "4" and change Seq to "2".

  • Switch ShowSearch to "Y".

  • Put "5" to showSearchSeq.

  • Click OK.

13. From Tools > Field drag Textarea to Module Supplier. The textareaLabel shows.

  • Click icon pencil. The dialog of Text Area Configuration opens.

  • Change FIELD_ID to "BACK_OFFICE_REMARK".

  • Click icon Populate from FIELD_ID. The system will auto generate ShowFieldName to "Back Office Remark".

  • Change FieldGroup to "5" and change Seq to "1".

  • Click OK.

14. From module button, delete button "ADD" and "DELETE".

15. Click Save this Entity.

The completed entity looks as shown below

Last updated