updated inventory pojos; added datatype for inventories, added
fetchByCode; added reference_Type for fetchByCode;