IDEMPIERE-5148 PackOut DataSingle for Column doesn't create the column in the target database (#1126)

This commit is contained in:
Carlos Ruiz 2022-01-14 02:46:01 +01:00 committed by GitHub
parent 5cebb50f58
commit 327b32dc53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -185,6 +185,10 @@ public class GenericPOElementHandler extends AbstractElementHandler {
addTypeName(atts, "table"); addTypeName(atts, "table");
document.startElement("","", tableName, atts); document.startElement("","", tableName, atts);
PoExporter filler = new PoExporter(ctx, document, po); PoExporter filler = new PoExporter(ctx, document, po);
if (MColumn.Table_Name.equals(po.get_TableName())) {
filler.addString("IsSyncDatabase", "Y", new AttributesImpl());
excludes.add("IsSyncDatabase");
}
filler.export(excludes, true); filler.export(excludes, true);
ctx.packOut.getCtx().ctx.put("Table_Name",tableName); ctx.packOut.getCtx().ctx.put("Table_Name",tableName);
try { try {