Add UOM Field to Existing Windows

The purpose of this page is to help you add a UOM field to existing windows where there is no UOM out of the box. Example windows include:

Without the UOM field on this windows, users are forced to perform mental math to convert quantities back to the UOM of the Product's core UOM (M_Product.C_UOM_ID).

Here are the steps to accomplish the goal:

  1. Add a new field called Chuboe_Qty to the line.
  2. Add a new field called Chuboe_UOM_ID to the line
  3. Create a callout plugin that performs math to convert between the Chuboe_UOM_ID and the M_Product.C_UOM_ID. The callout will ultimately set the existing Qty field accordingly.
  4. Make the existing Qty field read only to help simplify the callout logic.

Here is what I like about this solution:

An alternative (and also helpful above) solution would be to create a Quick Info widget to show common/possible conversions based on the product.

I hope this helps. Please be quick to ask questions in the mailing list of you need additional help.