【发布时间】:2016-02-12 01:07:42
【问题描述】:
可以在axapta中进行插入、更新或删除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;
}
我有一个try catch,调试,在tlRemoteLocationInfo.update()方法中更新失败,异常是:
$exception {"Se produjo una excepción de tipo 'Microsoft.Dynamics.Ax.Xpp.ErrorException'。"} System.Exception {Microsoft.Dynamics.Ax.Xpp.ErrorException}
我错过了什么吗?
【问题讨论】:
标签: axapta x++ dynamics-ax-2012-r2