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

Procedure

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


  1. 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.


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


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


  1. 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.


  1. From module Supplier, edit Supplier Name by click icon pencil.
    • Switch viewFlag to "Y".
    • Click OK.


  1. From module Supplier, edit In Stock by click icon pencil.
    • Switch viewFlag to "Y".
    • Click OK.


  1. From module Supplier, edit Unit Price by click icon pencil.
    • Switch viewFlag to "Y".
    • Click OK.


  1. From module Supplier, edit Remark by click icon pencil.
    • Switch viewFlag to "Y".
    • Click OK.


  1. 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.


  1. 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.


  1. 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.


  1. 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.


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


  1. Click Save this Entity.

The completed entity looks as shown below