psdi.app.inventory

Class FldInventoryItemnum

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInventoryItemnum
    extends FldItemnum
    Inventory.Itemnum field validation 1) ensures the entered itemnum value exists in the Item object. (itemnum is required by this object) 2) If ITEM.CAPITALIZED = Y, set costs = 0.0 and stdcost flag to Read Only 3) Defaults the appropriate glaccount based on stocktype 4) Checks to be sure itemnum/location combo does not already exist in Inventory if user has already entered a location value. NOTES: Be aware of the Item method addToStore(1,2) - this method sets itemnum without validation. ` However, because it makes sense for some of the action to take place, logic has been included in item.addToStore which mimmics this action() method. Result - changes to action() may need to be reflected in addToStore()