IDEMPIERE-1547 value of M_Warehouse>C_Location>IsValid is wrong when export
This commit is contained in:
parent
32c7dcf9c4
commit
402fa7e782
|
@ -266,6 +266,12 @@ public class GridTabCSVExporter implements IGridTabExporter
|
|||
sValue = queryExecute(columnRef,tableRef,record_id);
|
||||
}else{
|
||||
sValue = address.get_Value(columnName);
|
||||
if (DisplayType.YesNo == MColumn.get(Env.getCtx(), MLocation.Table_Name, columnName).getAD_Reference_ID()) {
|
||||
if (sValue != null && (Boolean) sValue)
|
||||
sValue = "Y";
|
||||
else if (sValue != null && ! (Boolean) sValue)
|
||||
sValue = "N";
|
||||
}
|
||||
}
|
||||
row.put(gridTab.getTableName()+">"+specialHeader,sValue);
|
||||
idxfld++;
|
||||
|
@ -385,6 +391,12 @@ public class GridTabCSVExporter implements IGridTabExporter
|
|||
sValue = queryExecute(columnRef,tableRef,record_id);
|
||||
}else{
|
||||
sValue = address.get_Value(columnName);
|
||||
if (DisplayType.YesNo == MColumn.get(Env.getCtx(), MLocation.Table_Name, columnName).getAD_Reference_ID()) {
|
||||
if (sValue != null && (Boolean) sValue)
|
||||
sValue = "Y";
|
||||
else if (sValue != null && ! (Boolean) sValue)
|
||||
sValue = "N";
|
||||
}
|
||||
}
|
||||
row.put(childTab.getTableName()+">"+specialHeader,sValue);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue