IDEMPIERE-3245 Sales Region force to be in * org
This commit is contained in:
parent
a35e66141a
commit
8bf9c7bb62
|
@ -33,8 +33,7 @@ public class MSalesRegion extends X_C_SalesRegion
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 8582026748675153489L;
|
private static final long serialVersionUID = -6166934441386906620L;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get SalesRegion from Cache
|
* Get SalesRegion from Cache
|
||||||
|
@ -80,18 +79,6 @@ public class MSalesRegion extends X_C_SalesRegion
|
||||||
super(ctx, rs, trxName);
|
super(ctx, rs, trxName);
|
||||||
} // MSalesRegion
|
} // MSalesRegion
|
||||||
|
|
||||||
/**
|
|
||||||
* Before Save
|
|
||||||
* @param newRecord new
|
|
||||||
* @return true
|
|
||||||
*/
|
|
||||||
protected boolean beforeSave (boolean newRecord)
|
|
||||||
{
|
|
||||||
if (getAD_Org_ID() != 0)
|
|
||||||
setAD_Org_ID(0);
|
|
||||||
return true;
|
|
||||||
} // beforeSave
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* After Save.
|
* After Save.
|
||||||
* Insert
|
* Insert
|
||||||
|
|
Loading…
Reference in New Issue