errors SELECT dbo.InventUpdateOnHandSqlTransactionHashing() shows up during PO confirmation

 

Hi All,

 

 facing the below error message during the confirmation of purchase order. So, if you are facing the same issue in your dev machine below is the fix which needs to be perform.

 

PROBLEM :- errors SELECT dbo.InventUpdateOnHandSqlTransactionHashing().

 



 

SOLUTION:-  A new SQL function is introduced InventUpdateOnHandSqlTransactionHashing to improve the performance.  However, this SQL function will be added during post actions of database synchronization. 

 

The issue should only happen in dev box. And as a quick fix, please run below script in command window( Run as Admin) with proper parameter value updated:

 

K:\AOSService\PackagesLocalDirectory\bin\Microsoft.Dynamics.AX.Deployment.Setup.exe -bindir "K:\aosservice\packageslocaldirectory" -metadatadir "K:\aosservice\packageslocaldirectory" -setupmode sync -sqlserver "wg-dev-4" -sqldatabase "AxDB" -sqluser axdbadmin -sqlpwd xxxxxxx> DbSync.log 2> DbSync.err


Example command :- K:\AOSService\PackagesLocalDirectory\bin\Microsoft.Dynamics.AX.Deployment.Setup.exe -bindir "K:\aosservice\packageslocaldirectory" -metadatadir "K:\aosservice\packageslocaldirectory" -setupmode sync -sqlserver "wg-dev-4" -sqldatabase "AxDB" -sqluser axdbadmin -sxxxx> DbSync.log 2> DbSync.err

 

It will take a time to complete the execution process, but once finished put the complete model build n sync to resolve error.

Comments

Popular posts from this blog

Customization on Sales invoice Report in D365 F&O

75) COC - Create a coc of the table modified method

46) D365 FO: SHAREPOINT FILE UPLOAD USING X++