if (getM_Locator_ID() > 0)
{
MLocator locator = MLocator.get(getCtx(), getM_Locator_ID());
if (getM_Warehouse_ID() != locator.getM_Warehouse_ID())
{
throw new WarehouseLocatorConflictException(
MWarehouse.get(getCtx(), getM_Warehouse_ID()),
locator,
getLine());
}
}