Permisos sobre parte de la ficha del interlocutor comercial
Hola a todos, me gustaría saber si es posible configurar para un usuario la ficha del Interlocutor Comercial como SOLO LECTURA pero que sí tenga acceso de escritura a la sección de Personas de Contacto que hay en esta ficha.
La información de esta sección está en la tabla OCPR y no en la OCRD (de IC`s) de modo que quizás haya algún modo de permitir el acceso de escritura exclusivamente sobre ella.
He comprobado que mediante las "Autorizaciones Generales" de SAP no puedo configurar con tanto detalle los permisos de los IC´s.
Esta cuestión surge al comprobar que el Addon de Outlook necesita acceder con permisos de escritura sobre las Personas de Contacto para poder modificarlas desde Outlook y en mi empresa los comerciales no pueden modificar la ficha de Interlocutor Comercial pero sí nos sería muy útil usar este AddOn.
Muchas gracias por su tiempo y un cordial saludo,
Miguel
Dear Miguel,
after checking the description of your issue and testing it in my environment, I came to the conclusion that using the available tools in Business One (authorization), it is not possible to have this kind of restriction. Its a missing functionality for the application.
I hope that it can clarifies the issue.
Regards,
Wesley Honorato
Similar Messages
-
Mensaje ID 480000044 el interlocutor comercial del documento anticipo copia
mensaje id 480000044
business partner advance copy of the document must be the same as the target document
el interlocutor comercial del documento anticipo copiado debe ser el mismo que el del documento destino
Estaba funcionando hasta hace 3 dias y ha dejado de funcionar. Hemos probado todo lo que se puede probar y no salimos del error. es un 8.8 PL 10Estoy pasando por el mismo tema
"Business partner of copied down payment document must be the same as business partner of target document"
No puedo copiar de una Entrada a una Factura.
encontre una nota relacionada #1475504#, la cual indica de actualizar el SQL2008, realizaré la prueba y veremos como me va, espero te funcione a ti.
Saludos,
Jorge Rios Aramayo
Soporte SAP
La Paz - Bolivia -
Preguntas sobre las estrellitas o insignias del foro
¿Para qué sirven los puntos que uno se gana y las estrellitas?
¿Los puntos ganados solo en foros sirven para ser un Topic Leader o hay que acumular puntos en otras áreas?
¿Y qué beneficios da ser un Topic Leader?Hola!
WHAT IS A TOPIC LEADER?
A Topic Leader is a member who is among the three leading contributors in a topic area on SCN. Points are considered for the current calendar year.
Tenes todo explicadito aqui:
Announcing the Contributor Recognition Program
y recomiendo que leas esto entero:
http://www.sdn.sap.com/irj/scn/submitcontent?rid=/webcontent/uuid/e7b06b5c-0501-0010-3c80-f82a07c9838a
El ultimo link es un FAQ sobre este tema, muy completo, muy interesante...
Saludos! -
Modificar cuenta asociada interlocutor comercial
Buenas tardes
Creo que mi duda está clara, como en SAP sólo puedes definir una cuenta de extranjero, la de intracomunitario no la puedes definir, me refiero en la determinación de cuentas de mayor, los usuarios a la hora de dar de alta a los interlocutores comerciales no se han fijado en la cuenta asociada, y resulta que ahora que la cuenta tiene movimientos, no la puedo cambiar.
Hay alguna forma de hacerlo? Algunos interlocutores si que me deja cambiar este campo, pero otros muchos no.
Espero que alguien me pueda ayudar.
Muchisimas gracias.Ignacio,
Efectivamente cuando tienes movimientos sobre un socio de negocios la cuenta asociada queda bloqueada y no HAY PODER HUMANO, para cambiarla. La única forma seria por debajo lo que SAP tiene completamente prohibido.
En ese caso te recomiendo bloquear el socio de negocio y crear uno nuevo con la cuenta asociada que corresponde. (Esa es la mejor solución)
La otra posibilidad es que coloques la cuenta de activos de ese socio de negocios con la cuenta que quieres, pero para eso los artículos que se le carguen a este socio de negocios deben estar configuradas como Activo Fijo. (Esto funciona pero es mas el problema y existen mas riesgos...)
Saludos -
Hola,
¿Dónde se puede indicar si un interlocutor comercial está sujeto a retenciones (por ejemplo autónomos) para que el apunte contable de recepción de factura se haga correctamente?
Muchas gracias.
Un saludo.Esto lo puedes hacer en la ficha del Interlocutor Comercial, en el apartado de Finanzas hay un subapartado que se llama IMPUESTO, ahi hay un check que debes marcar si es afecto a retencion, al hacerlo te apareceran otras opciones entre ellas una que se llama Indicadores de retencion con un boton al lado ahi deberas de asignar que retenciones podrian afectar al proveedor.
te adjunto imagen de ejemplo, espero haberte podido ayudar. -
La cuestión es que nos acaban de actualizar la versión de SAP. ANTES, cuando entraba al saldo del Interlocutor Comercial, directamente veía el saldo distribuido en cuentas asociadas. AHORA, al darle a visualizar saldo, sale directamente el libro mayor del cliente. Y me deja la opción de "VISUALIZAR POR CUENTA ASOCIADA". Mi cuestión es, ¿hay alguna manera de que al ir a ver el saldo del cliente salga directamente como ANTES, es decir, POR CUENTA ASOCIADA?
Gracias.Hola...
Según entiendo,esta no es una opción parametrizable, es decir, no puede ser modificada. Entiendo además que haces referencia a un cambio de versión de 2005 a 2007, si es así, comprenderás que no hay mucho que hacer. Existen otros casos en los cuales los usuarios plantean observaciones similares que no pueden ser modificadas, sin embargo, no se debe perder de vista que más que cambios perjudiciales para el usuario, los cambios son mayoritariamente en beneficio de los mismos.
Espero te sea de ayuda
Saludos Cordiales, -
Como doy solución al mensaje de "5.07 Error fusor"
ACVO de adquirir ONU multifuncional hice "Color LaserJet PRO200 MFO m276nw" su modelo es las Impresiones de prueba, but in Seguida se atasco el papel y me marca leyenda Una "50.7 Error de fusor, Apague y encienda."
-Esta acción de apagar y Encender del ya la HICE 3 Veces, Pero mi equipo no Responde, me MARCA La Misma leyenda, Que Puedo Hacer?Muchas Gracias por tu respuesta,
Al final lo que me faltaba era poner la cuenta de Deuda de Efecto Descontado que yo siguiendo el Plan Contable Español he puesto la 520800. Que como tu muy bien me has dicho estaba dentro de Cuentas de Banco Propio.
Y por si acado a alguien mas le pasa tambien tiene que estar configurado la de Banco Descontado para que funcione correctamente los Efectos descontados tambien dentro de Cuentas de Banco Propio.
Lo que tambien me lio mas el error que me decia que esta mal la cuenta de los datos maestros del interlocutor comercial.
Muchas gracias.
Un saludo -
W701ds or dell precision?
well i've come into a bit of cash and was looking at a dell precision then after looking at the dell forum was a bit put off by reliability.
what's the sensus on the w701ds? i'll be running solidworks.
would you go for a ssd primary and a hdd as a secondary?
bit concerned about 'wearing out' the ssd drive after reading a few comments here!
cheers
carl - uk
p.s. where's the best place to buy one? looking at ebay there are loads of usa salesNot biased because I currently have a Dell, Macbook Pro, HP and Rock CTX Pro, but just recently switched to a W701 (unfortunately not a DS) as for me its all about time (speed)
As a user of Solidworks 2011 + Win7 64bit the results so far have been excellent, very impressed. SW recommends 6GB for 64bit, but at the moment it runs in 4GB in single channel mode, soon that will change to 16GB.
As you mentioned, the OS runs on an Intel SSDSA2MH160G2C1 SSD with TRIM support (only 160GB) but its very fast compared to RAID (which I'll never go back to), data is stored on a 320GB 7200rpm.
So far it seems Lenovo offer great support, full documentation, exploded parts lists etc, etc,
Dell I have to say .... Well I can't say here but lets just say past and recent experiences are not good. Last xmas I bought two professionally refurbished Dell Latitude XT2 Laptops from NDC, Dell refused to support them in any way and tried to make out it was criminal not to buy from them, they wouldn't even sell a replacement stylus!
Can't comment on a Dell Precision ......
Incidentally I don't work for Lenovo either...
ThinkPad W701 25002LG, i7 2Ghz,FX 3800M, 4Gb,16GB, SSD 320GB, DVDRW, RGB WUXGA, Wacom, Col Sensor, Fingerprint reader, Mini Dock -
Non-authorized HP agent in Yemen sold the spare parts sent to me by authorized HP agent in Dubai
Hi,
First of all, you should not ban me like what you have done before since I have named the person's name who reps the non-authorized HP agent in Yemen.
My case hasn't been solved so far. The authorized HP agent in the UAE has been trying to solve my problem, however, since I am not residing in the UAE, the HP agent couldn't send my the spare parts(cooling fan, power jack, battery) I need. However, the HP agent in the UAE told me that he shipped the spare parts to the non-authorized HP agent in Yemen. And the HP agent in Dubai emailed me a message containing the quotation of spare parts as below:
When I called that non-authorized HP agent in Yemen, he told me that he sold the spare parts the HP agent in the UAE sent.
What do you say about that?
The HP agent in Yemen is not authorized by HP company since that store chosen as a non-authorized HP agent in Yemen sells many spare parts for any brands(Dell, Toshiba, ... and so on).
So, you must solve my problem instead of banning me when I named the person who working for the Non-authorized HP agent in Yemen. If my motherboard has been defective since the excessive heat, then the non-authorized store who claims that he reps HP agent in Yemen would be responsible since the HP agent in the middle east(UAE) sent the person the spare parts I needed according to my case number. However, the stupid person who claim that he work for HP sold those spare parts to others, although the HP agent in Duabai insist on saying he shipped the spare parts for me.Hi @cooperator ,
I have brought your issue to the attention of an appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post serial numbers and case details.
If you are unfamiliar with how the Forum's private message capability works, this post has instructions.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
Adobe Photoshop CS5 no me reconoce la tarjeta de vídeo
Hola, necesito trabajar con las funciones 3D, pero al querer acceder a ellas me sale un cuadro que me dice que mi tarjeta de video no cumple con los requisitos de aceleración de hardware 3D rendering.
Me dirijo a Edición-preferencias y en la parte de 3D todo esta bloqueado en gris.
mi tarjeta de video es ATI Radeon HD 5800 SERIES.
espero me puedan ayudar, gracias.A traves del Panel de Control o en WinXP pulsando sobre el botón derecho del ratón en el escritorio, escoge Propiedades luego en el panel que aparece escoge Avnazadas y ahí descubriras seguramente la tarjeta que tienes, supongo que el manual de tu portátil tambien lo dirá así como la CPU, y la memoria RAM que incluye.
Ahora si tu tarjeta de video esta integrada en la CPU y sólo utiliza memoria del sistema...
En el menú de Ayuda de Photoshop abre el comando de Información del sistema y ahí verás también toda la información, nos la puedes facilitar, los puntos comentados especialmente?
Exactamente que versión de Photoshop CS5 tienes? En el menú Ayuda>Acerca de lo muestra, también en el de Información del sistema.
Esta es la información de rendimiento de Photoshop CS5:
Photoshop CS5 uses the GPU when the installed video card supports
the OpenGL standard and has a least 256MB of VRAM (512MB or more
is better for 3D work).
Most basic models sold by leading computer manufacturers today meet
these minimum requirements, but the simplest way to verify is to check the
GPU Settings area of the Performance panel.
If Photoshop CS5 detects a compatible video card, it will be displayed,
and the Enable OpenGL option will be activated.
You can view the amount of VRAM present on your video card by
referring to the Video Card Memory information displayed in the System Info
dialog box (choose Help > System Info in Photoshop). -
LA SERIE NO TIEN ASIGNADA NUMERO DE CONTROL
Estimado foristas mi subject dice lo que me esta pasando, estoy trabajando con el SAP 8..8 y OK ONE localizacion Peru, este OK ONE me esta haciendo investigar y preguntar sobre algunas cosas que desconozco del mismo.
En este caso tengo el problema con uno de mis usuarios con licencia profesional, este usuario esta tratando de hacer una devolucion a partir de una entrada, pero me aparece el siguiente mensaje de error," LA SERIE NO TIENEASIGNADA NUMERO DE CONTROL " he verificado las autorizaciones de este usuario , tiene autorización total para la devolución ,y tiene autorización total para para todo el contenedor OK1_Best_Practices.
Me pueden decir en que ayuda este numero de control interno y como puedo saber si lo tengo activado en esta implementacion de SBO
saludos Sergio Chuquiyauri AmayaHola,
Esto es lo que i ndica Ok-One :
PROBLEMA = El numero de control no continuó asignando los numeros automaticamente.
SOLUCION = Verificar la configuración del servicio, en ocasiones se cambian las contraseñas de los usuarios parametrizados en la base de datos y no se actualizan los datos en la configuración del servicio, también es importante verificar que las compañias configuradas en él aún existan en el servidor. Las series de numeros de control deben ser asignadas despues de configurar el rango de numeración de las series de documentos de SAP Business One.
Te recomiendo verificar el manual de configuracion e instalacion del Add-In NUMERO DE CONTROL, que encuentras en la ayuda del Best Practice.
Saludos,
JAMS -
Hay algún manual que tenga ejemplos prácticos de interfaces (VI's) de Labview?
Hola.
Hasta ahora, la mayor parte de la documentación del Labview que circula en Internet solamente introduce al lector sobre las funcionalidades "tras bambalinas" del programa.
Es cierto que es uno de los softwares mejor documentados y con más características que haya conocido, pero encontré muy poco sobre las interfaces de usuario.
Tal vez porque sea neófito en este tema o porque todavía no puedo dar con la tecla, quisiera saber si hay, en algún lado de esta enorme base de conocimientos, un tutorial acerca de diseño y control de interfaces que comprenda dialog box, comandos de button jump y otros.
Antes que me digan algo, no alcanzo a comprender los ejemplos porque trato de reproducirlos con mis variables y no logro hacerlos funcionar.
Trabajo en Windows XP con Labview 2009.
Gracias.
LuisTranslation
Hello.
Until
now, most of the documentation Labview circulating on the Internet only
introduces the reader to the functionality "behind the scenes" program.
It
is true that software is one of the best documented and with more
features than ever known, but I found very little about the user
interfaces.
Perhaps because it is the
neophyte in this topic, or because I can not even find the key, I
wonder if, somewhere in this vast knowledge base, a tutorial on design
and control of interfaces comprising dialog box, command button jump and others.
Before I say something, not understand the examples because I try to play with my variables and I can not make them work.
Working in Windows XP with Labview 2009.
Thank you.
Spanish board -
Ciao a tutti, ho da circa una settimana un nuovo iphone 4s che mi sta dando dei problemi. I primi giorni funzionava una meraviglia ora ho grossi problemi ad effettuare una chiamata, spesso una volta partita la chiamata cade la linea e si interrompe invece quelle pochissime volte che parte la chiamata il mio interlocutore non riesce a sentire la mia voce o la sente a singhiozzi. Ho contattato l'operatore (vodafone) e dicono che sula sim nn ci sono problemi e mi hanno anche effettuato un reset della stessa ma la situazione non è migliorata.
Qualcuno con la stessa mia esperienza oppure che sappia aiutarmi?
grazie mille in anticipo a tutti coloro che risponderannociao anche io ho questo problema, mi hanno sostituito tre volte TRE VOLTE , mi hanno sostituito la sim e ancora ho lo stesso problema ! ora mi sono messo alla ricerca di una soluzione sperando di trovare assistenza migliore in questa community.
cmq a me durante le chiamate si interrompe la line ed esce Errore chiamata ....... non sò più cosa fare -
Hola buenas tardes.
A modo granito de arena adjunto recopilatorio de queries que pueden serles de ayuda.
No adjunto el autor de cada uno porque sería un trabajo minucioso. Si alguno de Ustedes quiere aportar algún otro sería estupendo.
Gracias a todos! Un saludo.
CLIENTES, TOTAL FACTURADO,IVA, GANACIA Y TOTAL FACTURADO.
SELECT T0.CardCode, T0.CardName, Count(T0.DocNum)'NºDoctos', SUM(T0.DocTotal)'Total Facturas', SUM(T0.VatSum)'Total Impuesto', SUM(T0.DocTotal-T0.VatSum)'Total Base o neto', SUM(T0.GrosProfit)'Ganancia', SUM(T0.DocTotal-T0.PaidToDate)'Pendiente'
FROM OINV T0
WHERE T0.DocDate BETWEEN '[%0]' AND '[%1]'
GROUP BY T0.CardCode, T0.CardName
UNION
SELECT T0.CardCode, T0.CardName, Count(T0.DocNum)'NºDoctos', -SUM(T0.DocTotal)'Total Facturas', -SUM(T0.VatSum)'Total Impuesto', -SUM(T0.DocTotal-T0.VatSum)'Total Base o neto', -SUM(T0.GrosProfit)'Ganancia', -SUM(T0.DocTotal-T0.PaidToDate)'Pendiente'
FROM ORIN T0
WHERE T0.DocDate BETWEEN '[%0]' AND '[%1]'
GROUP BY T0.CardCode, T0.CardName
PAGARÉS EN EL CAJÓN:
SELECT T0.BoeStatus As "Status de efecto", T0.CardCode As "Código IC", T0.CardName As "Nombre de interlocutor comercial", T0.BoeNum As "Número de efecto", T0.BoeType As "Clase de efecto", T0.DueDate As "Vencimiento de efecto", T0.BoeSumSC As "Importe de efecto (MS)", T0.DpsBankCod As "Proyecto", T0.BPBankCod As "IC Código de banco", T0.BPBankNam As "IC Nombre de banco", T0.BPBankAct As "Cuenta bancaria IC", T0.BPBankBrnc As "IC Sucursal bancaria", T0.BPBankCtr As "IC País del banco", T0.ControlKey As "ID interna control bancos IC", T0.PayMethCod As "Total del documento sin IVA", T0.PymMethNam As "Saldo Haber", T0.AgentCode As "Código de agente" FROM OBOE T0 WHERE T0.BoeStatus = N'G' ORDER BY T0.BoeStatus,T0.CardCode
LISTADO DE INCIDENCIAS
SELECT Num=T0.[ClgCode],Año=year(T0.[Recontact]),Mes=month(T0.[Recontact]) ,Fecha=T0.[Recontact], Hora=T0.[BeginTime],
T3.[Name] as 'Tipo',
T2.[Name] as 'Asunto',
T1.FirstName+' '+T1.LastName as 'Responsable',
T0.[Details] as 'Comentarios', T0.[Notes] as 'Contenido', T0.[U_SEIAcInm] as 'Acción Inmediata', T0.[U_SEI_feAc] as 'Fecha Acción Inmediata', T0.[U_SEI_Resp] as 'Responsable Acción Inmediata', T0.[U_SEI_Desc] as 'Descripción Cierre', T0.[U_SEI_RespC] as 'Responsable Cierre',T0.[Closed] as 'Cerrado', T0.[CloseDate] 'Fecha Cierre Sistema' , U_SEI_fecc as' Fecha Cierre', T0.[U_SEICOST] as 'Cost' FROM OCLG T0 LEFT JOIN OHEM T1 ON T0.AttendEmpl = T1.empID
LEFT JOIN [dbo].[OCLS] T2 ON T2.[Code] = T0.[CntctSbjct]
LEFT JOIN [dbo].[OCLT] T3 ON T3.[Code] = T2.[Type]
INCIDENCIAS SIN CERRAR:
SELECT T0.[ClgCode], T0.[CardCode], T0.[Notes], T0.[Action], T0.[CntctType]
FROM OCLG T0
WHERE ISNULL(cast(T0.[Notes] as varchar(10)), '') <> '' and closed='N'
QUE TRANSFERENCIA HEMOS RECIBIDO DEL CLIENTE Y EN QUE DIA:
SELECT DISTINCT
T1.DocDate,
T0.CardCode,
T0.CardName,
T2.DocNum AS 'Inc Pay Nbr',
T1.DocTotal AS 'Appl Amt'
FROM OCRD T0
LEFT OUTER JOIN ORCT T1
ON T0.CardCode = T1.CardCode
INNER JOIN ORCT T2
ON T1.DocNum = T2.DocNum
AND T2.TrsfrAcct IS NOT NULL
WHERE
T1.DocDate >= '[%0]'
AND T1.DocDate <= '[%1]'
ORDER BY
T1.DocDate DESC,
T0.CardCode,
T0.CardName,
T2.DocNum,
T1.DocTotal
FOR BROWSE
¿Cuánto DEBEN LOS CLIENTES Y EL TOTAL DE FACTURAS?:
SELECT T0.[CardCode], T0.[CardName], T0.[Balance], T0.[OrdersBal], T0.[DNotesBal], T0.[ChecksBal],
'Pedidos'=(SELECT SUM(T10.DocTotal) FROM ORDR T10 WHERE T10.CardCode = T0.CardCode
AND T10.DocDate BETWEEN '[%0]' AND '[%1]'),
/* Trae la suma de total de documento de pedidos en rango de fechas*/
'Facturas'=(SELECT SUM(T10.DocTotal) FROM OINV T10 WHERE T10.CardCode = T0.CardCode
AND T10.DocDate BETWEEN '[%0]' AND '[%1]' AND T10.DocSubType NOT LIKE 'DN'),
/*Trae suma facturas en el rango de fechas*/
'NC'=(SELECT SUM(T10.DocTotal) FROM ORPC T10 WHERE T10.CardCode = T0.CardCode AND T10.DocDate
BETWEEN '[%0]' AND '[%1]'),
'ND'=(SELECT SUM(T10.DocTotal) FROM OINV T10 WHERE T10.CardCode = T0.CardCode AND T10.DocDate
BETWEEN '[%0]' AND '[%1]' AND T10.DocSubType LIKE 'DN')
FROM OCRD T0
WHERE T0.[CardType] LIKE 'C'
TOP 10 CLIENTES:
SELECT TOP 10 T0.CardCode, MAX(T0.Cardname) as Customer, SUM(T0.doctotal) as "Amount(LC)"
FROM dbo.OINV T0
WHERE t0.docdate BETWEEN [%0] AND [%1]
GROUP BY T0.CardCode
Order by SUM(T0.doctotal) DESC
ALARMA STOCK AL MINIMO:
SELECT T0.ItemCode, T0.ItemName, T0.OnHand, T0.SuppCatNum, T0.MinLevel
FROM OITM T0
WHERE MinLevel ! = 0 and OnHand < MinLevel
¿QUE HAY EN EL ALMACEN?
SELECT T0.[WhsCode], T2.[WhsName], T0.[ItemCode], T1.[ItemName],
ROUND(SUM(CASE M.InQty
WHEN 0 THEN -1*M.CalcPrice*M.OutQty
ELSE M.CalcPrice*M.InQty
END),2) AS [Valor],
(ISNULL(SUM(M.InQty)-SUM(M.OutQty),0)) AS [Stock]
FROM OINM M
INNER JOIN OITW T0 ON M.ItemCode=T0.ItemCode AND M.Warehouse=T0.WhsCode
INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
INNER JOIN OWHS T2 ON T0.WhsCode = T2.WhsCode
WHERE M.DocDate <= '[%1]'
GROUP BY T0.WhsCode, T2.WhsName, T0.ItemCode, T1.ItemName
ORDER BY T0.[WhsCode], T0.[ItemCode]
FACTURAS DE PROVEEDORES PAGADAS POR MES Y DIA EN TABLA CALENDARIO:
SET LANGUAGE Spanish
DECLARE @TOP INT, @F_INI DATETIME, @F_FIN DATETIME, @COND_1 CHAR(1), @COND_2 CHAR(1)
SET @TOP=(SELECT TOP 1 A.TransId FROM [dbo].[JDT1] A WHERE A.RefDate>='[%0]' AND A.RefDate<='[%1]')
SET @F_INI='[%0]'
SET @F_FIN='[%1]'
SET @COND_1='N'
SET @COND_2='S'
SELECT DISTINCT B.DocDate AS DocDate, CONVERT(NVARCHAR, B.DocDate, 103) AS Fecha
INTO #FECHAS
FROM OVPM B
WHERE B.DocDate BETWEEN @F_INI AND @F_FIN
ORDER BY 1
DECLARE @pvt_table NVARCHAR(MAX)
SELECT @pvt_table = COALESCE(@pvt_table + ',[' + C.Fecha + ']', '[' + C.Fecha + ']')
FROM #FECHAS C
ORDER BY C.DocDate
DECLARE @Pvt NVARCHAR(MAX)
SET @Pvt =
N'
SELECT *
FROM (
SELECT DISTINCT T0.CardCode AS CardCode, T0.CardName AS CardName, CONVERT(NVARCHAR, T0.DocDate, 103) AS Fecha, SUM(T0.DocTotal) AS Pagos
FROM OVPM T0
WHERE T0.DocDate BETWEEN (@INI) AND (@FIN) AND T0.Canceled=(@C_1) AND T0.DocType=(@C_2)
GROUP BY T0.CardCode, T0.CardName, T0.DocDate ) AS A
PIVOT (
SUM(Pagos)
FOR Fecha IN ('+ @pvt_table +')
) AS Pvt
ORDER BY 1,3
EXEC sp_executesql @pvt, N'@pvt_table NVARCHAR(MAX), @INI DATETIME, @FIN DATETIME, @C_1 CHAR(1), @C_2 CHAR(1)',@pvt_table, @F_INI, @F_FIN, @COND_1, @COND_2
DROP TABLE #FECHAS
VACACIONES (RESUMEN EMPLEADOS)
SELECT T1.[empID], T1.[firstName], T1.[lastName], T0.[u_seiany], [Dias Pendientes]=SUM(T0.[U_Dias]) FROM HEM1 T0 INNER JOIN OHEM T1 ON T0.empID = T1.empID left JOIN [dbo].[@SEITIPVAC] T2 ON T0.U_SEITIPO = T2.Code
group by T1.[empID], T1.[firstName], T1.[lastName], T0.[u_seiany]
RELACION MERMAS LOTE:
SELECT T3.Docentry, T0.DocLine, T1.*,
--T0.ItemCode,T0.CardName,T0.ItemName ,T0.DocDate ,T0.DocType ,T0.DocNum as [Nº ALBARAN], T0.LocCode as [Cod. Almacén] ,t4.DistNumber as [Nº Lote], T1.Quantity, SELECT T3.Docentry, T0.DocLine, T1.*,
--T0.ItemCode,T0.CardName,T0.ItemName ,T0.DocDate ,T0.DocType ,T0.DocNum as [Nº ALBARAN], T0.LocCode as [Cod. Almacén] ,t4.DistNumber as [Nº Lote], T1.Quantity, T3.U_SEIECOE, T3.U_SEIECOC, T3.U_SEICALE, T3.U_SEITEOK,
Tipo= CASE T0.[DocType]
WHEN '59 ' Then 'Entrada'
WHEN '15 ' Then 'Salida'
Else 'Otros'
End,T4. U_SEIM1 ,T4.U_SEIM2,U_SEIMerma
FROM OITL T0
INNER JOIN [ITL1] T1 ON T1.[LogEntry] = T0.[LogEntry]
INNER JOIN OBTN T4 on T1.MdAbsEntry=T4.AbsEntry
INNER JOIN DLN1 T3 ON T3.[DocEntry] = T0.Docentry and T0.DocLine=T3.Linenum
WHERE isnull(U_SEIM1,0)+isnull(U_SEIM2,0)<>0 and T0.[DocType]='15'
and YEAR(T3.Docdate)>'2013'
LISTA DE FACTURAS QUE SE HAN PAGADO, COMO Y CUANDO:
SELECT distinct
T0.DocNum 'Factura',
T0.DocStatus 'Estatus',
T0.DocDate 'Fecha',
T0.CardCode 'Cliente',
T0.CardName 'Nombre',
T0.DocCur 'Moneda',
T0.DocTotal 'Total Factura',
T0.PaidToDate 'Total Pagado',
T1.SlpName 'Vendedor',
T2.PymntGroup 'Cond. Pago',
T0.DocTotalSy 'Total USD',
T3.DocNum 'No.Doc. Pago',
T3.CashSum 'Efectivo',
T3.CreditSum 'T.Crédito',
T3.CheckSum 'Cheque',
T3.TrsfrSum 'Transf',
T3.DocTotal, 'Total Pago',
T3.DocDate 'Fecha Pago'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum
INNER JOIN ORCT T3 ON T0.[ReceiptNum] = T3.DocNum
INNER JOIN NNM1 T4 ON T3.Series = T4.Series
INNER JOIN RCT2 T5 ON T3.DocEntry = T5.DocNum
WHERE T0.DocDate <= '[%1]'
AND T3.Canceled = 'N'
ORDER BY T0.DocNum
FACTURAS PROVEEDORES PROXIMAS A VENDER PARA EL CEO DE LA EMPRESA:
SELECT T0.DocNum AS 'Factura', T0.DocDueDate AS 'Fecha de vencimiento', T0.CardCode AS 'Código cliente',
T0.CardName AS 'Nombre'
FROM OPCH T0
WHERE DATEDIFF (DD, T0.DocDueDate, GETDATE( )) BETWEEN -7 AND 365
AND T0.DocStatus = 'O'
ORDER BY T0.DocDueDate
FOR BROWSE
PARA SABER QUE PRODUCTOS ESTAN EN NEGATIVO EN LOS ALMACENES:
SELECT T0.ItemCode AS 'Código', T1.ItemName AS 'Descripción', T0.WhsCode AS 'Almacen',
T0.OnHand AS 'Cantidad', T1.OnHand AS 'Disponible total'
FROM OITW T0
LEFT OUTER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
WHERE T0.OnHand < 0
FOR BROWSE
PARA SABER DE QUE ARTICULOS TENGO MINIMOS Y HAY QUE COMPRAR:
SELECT
T0.CardCode AS 'Pref Vend',
T2.CardName AS 'Pref Vend Name',
T0.ItemCode AS 'Item Code',
T0.ItemName AS 'Item Description',
T1.ItmsGrpNam AS 'Item Group',
T0.LeadTime AS 'Lead',
CASE
WHEN T0.MinLevel - (T0.OnHand + T0.OnOrder - T0.IsCommited) > T0.MinOrdrQty
THEN T0.MinLevel - (T0.OnHand + T0.OnOrder - T0.IsCommited)
WHEN T0.MinLevel - (T0.OnHand + T0.OnOrder - T0.IsCommited) < T0.MinOrdrQty
THEN T0.MinOrdrQty
END AS 'To Purch',
T0.MinOrdrQty AS 'Min Ord',
T0.DfltWH AS 'Whs',
T0.MinLevel AS 'Min Inv',
T0.PrchseItem AS 'Buy',
T0.OnHand AS 'On Hand',
T0.OnOrder AS 'On Order',
T0.IsCommited AS 'Committed'
FROM OITM T0
LEFT OUTER JOIN OITB T1
ON T0.ItmsGrpCod = T1.ItmsGrpCod
LEFT OUTER JOIN OCRD T2
ON T0.CardCode = T2.CardCode
WHERE
T0.InvntItem = 'Y'
AND T0.PrchseItem = 'Y'
AND T0.MinLevel - (T0.OnHand + T0.OnOrder - T0.IsCommited) > 0
AND T0.ItmsGrpCod <> 108
ORDER BY
T2.CardCode,
T0.ItemCode
FOR BROWSEExcelente aporte, gracias por compartir.
Salu2
César -
Add CodeBar to an Item using DI API (Add-On)
Hi you all.
I am developing a ADD -On for version 9 and I am having a problem to add the barcode of a item.
In this new version the barcode must already be created on the table obcd BEFORE assign it to an item, as opposed to 8 in which this was a text field and you could put anything you wanted .
My problem is that I have a method in my add-on that is responsible for generating an automatic bar code when the user creates a new item, but I can not directly assign this barcode to the item as before ( Item.BarCode = XXXXX ) as I explained previously . Also, if I do it this way a new window pops up to define barcodes and is not what I want.
I've checked the SDK and mention two objects: SAPbobsCOM.BarCodesService and SAPbobsCOM.BarCode .
The problem is that when I try to instantiate them, an error come up .
Dim As New SAPbobsCOM.BarCodesService BarCodeService
BarCode Dim As New SAPbobsCOM.BarCode
BarCode.ItemNo = Code
BarCode.BarCode = Generar_Codigo_Barras (Code)
BarCodeService.Add ( BarCode )
Someone have idea why this is happenning?
I have also seen that there is a class called SAPbobsCOM.ItemsBarCodes but I can not not instantiate eather
Thanks in advance
Greetings.Try this:
* Crea o actualiza un código de barras para un artículo en el formato correspondiente
void LOG_Util::creaActualizaEANSBO(const string &asItemCode, const string &asEAN, const string &asForm, const string &asDForm)
SAPbobsCOM::ICompanyServicePtr lpCmpSer;
SAPbobsCOM::IBarCodesServicePtr lpBCSer;
SAPbobsCOM::IBarCodeParamsPtr lpBCPar;
SAPbobsCOM::IBarCodePtr lpBC;
SAPbobsCOM::IRecordsetPtr lRS;
ostringstream sql;
long lUomEntry, lBcdEntry;
lRS = g->GetCmp()->GetBusinessObject(SAPbobsCOM::BoRecordset);
lUomEntry = dameUomEntry(asForm);
// Verificamos la existencia del EAN en la ficha del artículo de SBO
sql << "SELECT BcdEntry";
sql << " FROM OBCD";
sql << " WHERE ItemCode = '" << asItemCode << "'";
sql << " And Bcdcode = '" << asEAN << "'";
lRS->DoQuery(sql.str().c_str());
lpCmpSer = g->GetCmp()->GetCompanyService();
lpBCSer = lpCmpSer->GetBusinessService(SAPbobsCOM::BarCodesService);
if (lRS->GetEoF() == VARIANT_TRUE)
// Tenemos que crear el EAN
lpBC = lpBCSer->GetDataInterface(SAPbobsCOM::bsBarCode);
lpBC->PutItemNo(asItemCode.c_str());
lpBC->PutUoMEntry(lUomEntry);
lpBC->PutBarCode(asEAN.c_str());
lpBC->PutFreeText(asDForm.c_str());
lpBCSer->Add(lpBC);
lpBC.Release();
else
// Tenemos que actualizar el EAN
lBcdEntry = lRS->GetFields()->Item("BcdEntry")->GetValue();
lpBCPar = lpBCSer->GetDataInterface(SAPbobsCOM::bsBarCodeParams);
lpBCPar->PutAbsEntry(lBcdEntry);
lpBC = lpBCSer->Get(lpBCPar);
lpBC->PutUoMEntry(lUomEntry);
lpBC->PutFreeText(asDForm.c_str());
lpBCSer->Update(lpBC);
lpBC.Release();
lpBCPar.Release();
lpBCSer.Release();
lRS.Release();
Maybe you are looking for
-
Sudden stop in hotsync from Z22 to Mac OS 10.5.4
I have a palm z22 that I connect to my Mac (OS 10.5.4) with a USB chord. It has suddenly stopped connecting when I try to use hotsync. I've tried rebooting the palm, and using am alternative USB chord for the palm z22 known to work. Any ideas on what
-
Which collection to use in this case for best performance....
i have two text files having 10,0000(aprox) phone numbers , i wish to compare both the files and write the matching numbers in third file.. so which collection should i use to perform it.. so that performance is best...... plz send me the logic....
-
LDAP: Recommended way to add new objectclass to existing entries?
Can anyone help me with the preferred way to add a new objectclass (with attrributes) to existing entries within a directory (via the javax.naming API)? I have an application that uses a directory of users. Each user has objectclasses "top", "person"
-
How to send Outbound IDocs through an RFC-enabled FM
Good day to all; A partner system (AS/400) wants to use a Java Connection to execute a RFC Function Module, in SAP, that will then return a collection of IDocs. Currently, the Function Module builds the IDocs, but I'm not exactly sure how to simply s
-
Calculating Totals for a column in ALV Grid Display
Hi All, I frustrated with the problem of simple calculating total for a column. I wrote the following code: LW_CATALOG-TABNAME = P_GV_STRUCT. LW_CATALOG-FIELDNAME = 'ZSUMMS'. LW_CATALOG-DO_SUM = GC_X. APPEND LW_CATALOG TO G_FIELDCAT_TA