Hi iDempiere developers,
we are still working on Replication and discovered next issue. In ImportHelper.java there is a line to initialize PO by table ID:
PO po = MTable.get(ctx, expFormat.getAD_Table_ID()).getPO(0,trxName);MTable is initialized with specified ctx but PO is created with Env.getCtx() context. MTable uses IModelFactory interface where is no place to set ctx (only trx)... This leads that initialized PO has unwanted values (like AD_Client, Created, CreatedBy etc..)
Have som ideas how can be PO initialized with specified context?
Thanks for reply