cancel
Showing results for 
Search instead for 
Did you mean: 

Vinculo en consultas con tablas de SAP B1

Former Member
0 Kudos

Buenas tardes estimados,

Tengo una consulta que genera unos registros de transferencias de stock y que realiza el vínculo con el documento origen, es decir que desde alli puedo ingresar al documento sin ningún problema. Sin embargo, cuando pongo la consulta como ALARMA en el sistema no muestra el vínculo a pesar que la consulta funciona bien y por tal motivo muestra los datos pero no puedo acceder desde alli a los documentos listados.

Es de anotar que al finalizar la consulta uso el comando FOR BROWSE para generar este vínculo, por lo que se puede descartar de una vez que sea por la falta de este comando.

Agradezco indicarme si alguien le ha sucedido lo mismo y si existe solución para este problema.

Quedo atento a cualquier comentario.

Cordialmente,

AG

Accepted Solutions (1)

Accepted Solutions (1)

former_member188440
Active Contributor
0 Kudos

Intenta colocando la tabla que quieres consultar (con la flecha naranja) inmediatamente despues del FROM.

Former Member
0 Kudos

Buenas tardes Mauricio,

Muchas gracias por tu respuesta, pero en realidad la consulta es muy sencilla solamente, trae registros de una tabla y cuando ejecuto la consulta por query manager en la consulta trae la flecha naranja, pero cuando se crea una alarma con esta consulta no aparece esta flecha.

Por favor solicito de su colaboracion para resolver este inconveniente.

Cordial Saludo,

A.G

Former Member
0 Kudos

Hola...

Hasta donde sé, en las alarmas nunca es posible acceder al enlace. Sea cual sea el query.

Saludos Cordiales,

Former Member
0 Kudos

Hola...

Hasta donde sé, en las alarmas nunca es posible acceder al enlace. Sea cual sea el query.

Saludos Cordiales,

former_member188440
Active Contributor
0 Kudos

Te lo comento por una nota de SAP no. 861159


Summary

Symptom

Using queries in alert management

Other terms

Alert management, queries, query, drill down with orange arrow, sbo-fms, sbo-adm-alr, drill down, SAP Business One

Reason and Prerequisites

An alert must be defined with a query and the drill down function is required in the alert.

Solution

When using queries in Alerts  Management in Business One, the field which requires the orange arrow, drill down function, in the alert window must be in the first table defined after the 'FROM' part of the 'SELECT' statement.

Example:
In the query below I want to be able to drill down using the cardcode of the Business Partner. For the orange arrow to appear to allow me to drill down the OCRD table must be first and the ACRD table must be second.

Query used in Example:

SELECT distinct T0.CardCode, T0.CardName
FROM OCRD T0  INNER JOIN ACRD T1 ON T0.Cardcode = T1.Cardcode
WHERE Day(T0.UpdateDate) = Day(GetDate()) AND Month(T0.UpdateDate) =
Month(GetDate()) AND Year(T0.UpdateDate) = Year(GetDate())for browse



Header Data

  
Release Status:  
Released on: 02.08.2005  14:26:52 
Master Language: Inglés 
Priority:  
Category:  
Primary Component: SBO-ADM-ALR  

Edited by: Mauricio QUINTANA on Jan 11, 2010 4:26 PM

Answers (0)