Question

We have an Atlas Template (Excel document) containing a number of formulas. One of these formulas is causing the exception message:

Failed to build Atlas formula: =AtlasTable("Production Support",$C$3,"T.CCFRAR_LedgerTransExtended","%VendInvoice","","","","","","","AccountNum|Voucher",$G12,$P12)) Column output field: Field 'VendInvoice' not found in table 'CCFRAR_LedgerTransExtended' (Production)

Atlas 5.1 Error Message Screenshot

NB: Production Support is the name of a test environment - exactly the same exception is displayed if used in Production, only the formula is changed from reading Production Support to Production.

The table CCFRAR_LedgerTransExtended does contain a column called VendInvoice (this is the name when viewed through the AOT and also when viewed in SQL directly).

Exactly the same formula works if I replace %VendInvoice with %DocumentNum or %VendAccount (e.g. other column names from the same table).

The table CCFRAR_LedgerTransExtended is a customization, but this table has existed for a long time (i.e. more than 1 year, with no changes to its definition).

The AOT is synchronised with the database, and both AOS and Atlas Service have been restarted, with all caches being flushed.

Has anyone got any thoughts on what may be causing Atlas to not see this column?

Was it helpful?

Solution

The error occurred when we were running Atlas 5.1.3491.

On both Atlas Client (TS/RD Server) and Atlas Service Server I did the following:

  1. I ran a repair (control panel, programs & features, Atlas, Change, Repair) which uninstalled Atlas then crashed with an error saying it couldn't find Atlas.40.Resources (or similar).
  2. I then downloaded the latest version of Atlas (5.1.3558) from Globe (http://globesoftware.com/Resources/Download-Atlas-5-1).
  3. I ran the install for this version as Admin

After the above I restarted the services, logged into Atlas and retested - all worked correctly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top