Error calling printing of a map in vba V9

Asked

Viewed 74 times

-1

Good afternoon,

I need help to invoke in Runtime the printing of a map based on GCPVLS70, which uses the table "DESCVIAS":

When using:

Aplicacao.PlataformaPRIMAVERA.Mapas.ImprimeListagem tSeries!Config, "Documento de Venda", "W", 1

Gives the Error:

The table 'Descvias' was not located. Error in LS-ORC file P {D4C75E32-84CC-4314-9C1C-A0602CD78744}. rpt: the table was not located.

How to solve ? I appreciate help, p.f.

1 answer

0

Good morning, I think that this problem may have to do with the fact that there are tables on the map that are not located. You must edit the map with Crystal Reports and make its location. Being a sales map, you can also experiment with this method:

BSO.Comercial.Vendas.ImprimeDocumento TipoDoc, Serie, NumDoc, Filial
  • Good morning, the table 'Descvias' has to be "Fed" by code has nothing to do with Crystal Reports

  • What’s the name of the map?

  • The map is LS-ORC P.rpt

  • Check if the map has such table Descvias. It is a temporary table and is even giving error, because it is not located. But it should be located from the base, you should put a ticket to solve it. Try an impression with the GCPVLS70 sales map, it should also give you the same error.

  • The map has the table, the problem is in "feed it". In any other base map works correctly, except in the "run". In print in ERP this map works, so the problem is in vba...

  • Yes, I tested it and I can also think of the same mistake, so you should put a ticket so that it can be fixed.

  • But then this mistake should not also happen when printing a document in the ERP?

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.