IDEMPIERE-1178 2Pack exporting AD_Role_ID=0 as null
This commit is contained in:
parent
9cbe18feaf
commit
95bad1508c
|
@ -85,7 +85,8 @@ public class ReferenceUtils {
|
|||
public static String getTableReference(String tableName, String searchColumn, int id, AttributesImpl atts)
|
||||
{
|
||||
String keyColumn = tableName + "_ID";
|
||||
if (id > 0 && id <= PackOut.MAX_OFFICIAL_ID)
|
||||
if ( (id > 0 && id <= PackOut.MAX_OFFICIAL_ID)
|
||||
|| (id == 0 && MTable.isZeroIDTable(tableName)))
|
||||
{
|
||||
//official id
|
||||
atts.addAttribute("", "", "reference", "CDATA", "id");
|
||||
|
|
Loading…
Reference in New Issue