1
是否可以在axapta中插入,更新或删除crossCompany?如何更新/插入/删除CrossCompany
我试图做到这一点,调试我的查询中,我有这样的:
select forUpdate crossCompany tlRemoteLocationInfo
where tlRemoteLocationInfo.RemoteLocationId == "someId";
if (tlRemoteLocationInfo.RecId)
{
ttsBegin;
changeCompany(tlRemoteLocationInfo.dataAreaId)
//then i make mi update to fields and then i make this:
tlRemoteLocationInfo.update();
ttsCommit;
}
我有一个尝试捕捉,调试,故障的方法tlRemoteLocationInfo.update()来更新,异常是:
$ {例外 “富硒produjo UNAexcepción德TIPO 'Microsoft.Dynamics.Ax.Xpp.ErrorException'。”} System.Exception的 {} Microsoft.Dynamics.Ax.Xpp.ErrorException
我错过了些什么?
几秒钟后,我找到了解决方案,比如你给,谢谢,它有帮助 –