Hi Ergün,
Thank you for your answer.
The solution on blog was :
[ExtensionOf(classStr(InterCompanySyncPurchLineType))]
final class SWInterCompanySyncPurchLineType_Extension
{
protected void synchronizeInTradeCompany()
{
next synchronizeInTradeCompany();
AxSalesLine axSalesLineLocal = this.axSalesLine;
if (create || purchLine.fieldChanged(fieldNum(PurchLine, InventDimId)))
{
axSalesLineLocal.axInventDim().productDimensions(axInventDim);
changecompany (purchLine.company())
{
this.copyPurchaseBatchNumberToSalesTable(purchLine);
}
}
}
}
My field is on salesLine, and needs to be updated on salesline of intercompany too, and its custom. Should all those conditions above be the same even on my case?