Field 'VATNum' in table 'CompanyInfo' has not been explicitly selected.

Field 'VATNum' in table 'CompanyInfo' has not been explicitly selected.

This is caused because of Field 'VatNum' in CompanyInfo Tables showing "Unretrieved values".

You can do like this to solve the issue:

 Update CompanyInfo directly in the table inside AOT
                                        - or -
Open SQL Server and use a script to update the DirPartyTable Table.
CompanyInfo table is on SQL level stored in the DirPartyTable table.

SQL Script:

UPDATE DIRPARTYTABLE 
SET VATNUM = ''
WHERE VATNUM IS NULL 
AND INSTANCERELATIONTYPE = 41 -- 41 is CompanyInfo TableID

Comments

Popular posts from this blog

AX 2012 R3: Cannot edit a record in Purchase order - update table (PurchParmTable).

AX 2012: The AOS server name or instance name is not correctly configured

AX 2012 Get Financial Dimension Value by Worker RecID