Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

AX 2012 R2 Data Upgrade Issue(s)

$
0
0

I've already done all the up front work of upgrading our AX 2012 environment to 2012 R2.  I build up the test server, created the development server, upgraded all the code, imported it to the test server, etc.  Everything works fine on the test server.  Now I am doing a "live test upgrade".  It seemed straight forward.  Install the DB with new model store, upgrade AOS, install client, then run through the Data Upgrade Checklist - much like on the Test server.  The test server seemed to settle down and be happy after a few runs of compile/sync.  My "live test" however, isn't. 

Specifically, the InventJournalTrans and LedgerJournalTrans tables will just not sync, giving me the "Invalid column name 'PARTITIAN' everywhere.  The odd man out error is this:

SQL error description:
[Microsoft][SQL Server Native Client 10.0][SQL Server]Error converting data type nvarchar to numeric.

Info Synchronize database SQL statement:
INSERT INTO X212X SELECT JOURNALNUM,LINENUM,ACCOUNTTYPE,'',COMPANY,TXT,AMOUNTCURDEBIT,CURRENCYCODE,EXCHRATE,TAXGROUP,CASHDISCPERCENT,QTY,'','','','','',BANKNEGINSTRECIPIENTNAME,ENTERPRISENUMBER,PRICE,'','','','','',SETTLEVOUCHER,POSTINGPROFILE,VOUCHER,AMOUNTCURCREDIT,PAYMENTSTATUS,CASHDISCAMOUNT,ACKNOWLEDGEMENTDATE,VENDTRANSID,CUSTTRANSID,REMAINAMOUNT,TAXCODE,'',0,BANKDEPOSITVOUCHER,PAYMREFERENCE,BANKDEPOSITNUM,PAYMSPEC,PAYMMODE,MARKEDINVOICE,OFFSETACCOUNTTYPE,BANKTRANSTYPE,OFFSETCOMPANY,OFFSETTXT,TAX1099AMOUNT,'',PAYMENTNOTES,MARKEDINVOICERECID,FOREIGNVOUCHER,FOREIGNCOMPANY,TRANSFERRED,CANCEL,NOEDIT,INVISIBLE,TRANSDATE,TRANSACTIONTYPE,DOCUMENTDATE,DOCUMENTNUM,APPROVED,'',PAYMID,FREQVALUE,FREQCODE,DUE,DATECASHDISC,TRANSFERREDBY,LOADINGDATE,FILECREATED,PAYMENTACCOUNT,INVOICE,TRANSFERREDTO,TRANSFER,LASTTRANSFERRED,TRANSFERREDON,PURCHLEDGERPOSTING,BANKCHEQUENUM,PAYMENT,CASHDISCCODE,EXCHRATESECOND,TRIANGULATION,TAXITEMGROUP,VATNUMJOURNAL,LISTCODE,FURTHERPOSTINGTYPE,PURCHIDRANGE,POOLRECID,PREPAYMENT,IMPORTDATE,BANKCENTRALBANKPURPOSECODE,REASONREFRECID,BANKCENTRALBANKPURPOSETEXT,CUSTVENDBANKACCOUNTID,PAYMENTSEQUENCENUM,ERRORCODEPAYMENT,FURTHERPOSTINGRECID,TAXDIRECTIONCONTROL,CUSTVENDNEGINSTPROTESTREASON,BANKREMITTANCETYPE,BANKREMITTANCEFILEID,BANKACCOUNTID,BANKPROMISSORYNOTENUM,'','','','',RELEASEDATECOMMENT,INVOICERELEASEDATE,INVOICERELEASEDATETZID,BANKBILLOFEXCHANGENUM,NEGINSTID,TAXWITHHOLDGROUP,TAX1099STATEAMOUNT,TAX1099STATE,REMITTEECURRENCY,0,'','','','','',DEFAULTDIMENSION,OFFSETDEFAULTDIMENSION,LEDGERDIMENSION,REVERSEENTRY,REVERSEDATE,REVRECID,OFFSETLEDGERDIMENSION,'',BANKRECONCILEACCOUNTATPOST,BANKCHEQUEDEPOSITTRANSREFRECID,MARKEDINVOICECOMPANY,REMITTANCELOCATION,REMITTANCEADDRESS,RELEASEDATE,RELEASEDATETZID,CUSTEINVOICEPAYMDELIVERYNUM,CUSTEINVOICEPAYMSECTIONNUM,CUSTEINVOICEPAYMTRANSNUM,PAYMINSTRUCTION1,PAYMINSTRUCTION2,PAYMINSTRUCTION3,PAYMINSTRUCTION4,VENDINVOICEDECLARATION_IS,TAX1099FIELDS,GSTHSTTAXTYPE_CA,VENDBANKACCOUNT,CUSTBANKACCOUNT,BUDGETSOURCELEDGERENTRYUNPOSTED,OPERATIONTYPE_MX,TAXWITHHOLDITEMGROUPHEADING_TH,APPROVER,EUSALESLIST,0,'','',0,0,0,'','','',TAXWITHHOLDCALCULATE_TH,TAXWITHHOLDALTERNATEVENDORACCT_TH,'',0,0,0,0,0,0,0,'','1900-01-01 00:00:00.000',0,'','','',0,0,'',0,0,'','','',0,0,'','',0,'','','','','',0,0,0,0,'','',0,'',0,0,'','',0,'','',0,0,'','','',0,'','','','','',0,0,0,'','',0,'','',0,'','',0,0,'','',0,0,0,0,0,0,0,0,'',0,0,'','','','','','','','','','','','','','',0,0,0,'1900-01-01 00:00:00.000',0,0,'',0,'','','',0,0,'','','','','','',0,0,'','','',0,CASHDISCBASEDATE,CASHDISCBASEDAYS,SUFFIX,PACKINGSLIP,LEDGERJOURNALDLVDATE_ES,
{fn CONVERT(NAME,SQL_NUMERIC)},
0,'',0,'','',0,'','','','1900-01-01 00:00:00.000','','','','','','','','','','',0,'','','',0,'','','','',dateadd(ms, -datepart(ms,getutcdate()), getutcdate()),DATAAREAID,RECVERSION,5637144576,RECID FROM LEDGERJOURNALTRANS

Error Synchronize database Cannot execute a data definition language command on  (). The SQL database has issued an error.

 

The "NAME" field is an added nvarchar field on the CUS layer with the AX Extended Data Type of 'Name'.  Why on earth is it trying to convert a name to a numeric when I synchronize?  And what is this "X212" table?  I've seen other errors with odd table names like this. 

 


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>