Minor code formating.
This commit is contained in:
parent
f4413ff0d1
commit
d2740a76b7
|
@ -179,19 +179,19 @@ public class ImportHelper {
|
||||||
if(ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE ||
|
if(ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE ||
|
||||||
ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE_REPLICATION ||
|
ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE_REPLICATION ||
|
||||||
ReplicationEvent == ModelValidator.TYPE_DELETE)
|
ReplicationEvent == ModelValidator.TYPE_DELETE)
|
||||||
resultSave=po.delete(true);
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
|
resultSave=po.delete(true);
|
||||||
|
} else {
|
||||||
//TODO: Create a Replication Type "BROADCAST" now we are using MERGE
|
//TODO: Create a Replication Type "BROADCAST" now we are using MERGE
|
||||||
if(ReplicationType.equals(X_AD_ReplicationTable.REPLICATIONTYPE_Merge))
|
if(ReplicationType.equals(X_AD_ReplicationTable.REPLICATIONTYPE_Merge))
|
||||||
{
|
{
|
||||||
resultSave = po.saveReplica(true);
|
resultSave = po.saveReplica(true);
|
||||||
MReplicationStrategy rplStrategy = new MReplicationStrategy(client.getCtx(), client.getAD_ReplicationStrategy_ID(), null);
|
MReplicationStrategy rplStrategy = new MReplicationStrategy(client.getCtx(), client.getAD_ReplicationStrategy_ID(), null);
|
||||||
ExportHelper expHelper = new ExportHelper(client, rplStrategy);
|
ExportHelper expHelper = new ExportHelper(client, rplStrategy);
|
||||||
expHelper.exportRecord( po, MReplicationStrategy.REPLICATION_TABLE,X_AD_ReplicationTable.REPLICATIONTYPE_Reference,ModelValidator.TYPE_AFTER_CHANGE);
|
expHelper.exportRecord( po, MReplicationStrategy.REPLICATION_TABLE, X_AD_ReplicationTable.REPLICATIONTYPE_Reference, ModelValidator.TYPE_AFTER_CHANGE);
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
resultSave = po.saveReplica(true);
|
resultSave = po.saveReplica(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
result.append("ResultSave=").append(resultSave).append("; ");
|
result.append("ResultSave=").append(resultSave).append("; ");
|
||||||
|
|
Loading…
Reference in New Issue