Learn about step to calculate remain order unit at back office screen.
1. From ONEWEB workspace, create java file name "com.manual.doc.order.java.OrderRequestItemBackOfficeUpdateMode" in MasterWeb and override method "modifyInsertMany(String moduleID, HashMap hStoreHashMap, String processMode, int row)" with coding below.
2. Replace "MD9443222701_session" with module id of module "Order Item" in entity "Doc Order Request Item - Back Office" (concatenate module id with "_session")
Click edit at module "Order Item" and find module id at property name "Module ID"
3. From ONEWEB workspace, export EafMasterEar.ear and deploy update to server. The class name "com.manual.doc.order.java.OrderRequestItemBackOfficeUpdateMode" will update to server.
4. Go to App Designer and open entity name "Doc Order Request Item - Back Office" to edit.
5. From Tools > Action drag Module Action to the box under module Supplier (Tab Supplier List). The action name "SEARCH" shows then click icon pencil to edit it. The dialog of Action Field Configuration opens.
Change Process Name to "UPDATE"
Put "com.manual.doc.order.java.OrderRequestItemBackOfficeUpdateMode" to Class Action.
Click OK.
6. Click Save this Entity.
7. Test by log in to FrontWeb.
Login with Back Office user.
Go to To Do List and claim job.
Click edit Order Item.
Click edit Supplier.
The system must calculate remain order unit.