IDEMPIERE-4687 : PackOut is writing twice the AD_Org_ID in each record (#2050)

This commit is contained in:
Zuhri Utama 2023-10-11 15:23:40 +07:00 committed by GitHub
parent e1202b37e0
commit 756b9e733f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -261,6 +261,10 @@ public class PoExporter {
continue; continue;
} }
// Skip AD_Org_ID except Table AD_Org
if (columnName.equals("AD_Org_ID") && !(I_AD_Org.Table_Name.equals(po.get_TableName())))
continue;
//only export official id //only export official id
if (columnName.equalsIgnoreCase(info.getTableName()+"_ID")) { if (columnName.equalsIgnoreCase(info.getTableName()+"_ID")) {
int id = po.get_ID(); int id = po.get_ID();