Error regla condición tipo contrato
Buenas tardes,
Tenemos un empleado que tiene un contrato temporal que finaliza y se le crea otro contrato nuevo a partir del día siguiente. P.e:
01.01.2005 - 15.01.2013 Contrato p.e: 441
16.01.2013 - 31.12.9999 Contato p.e: 430
He detectado que cuando se ejecuta una regla de nómina que tiene una condición en función del contrato no se comporta correctamente. En el subesquema EBD0 sí lee el contrato correcto con la función P0480 y el resultado se puede ver en la tabla SV. Pero posteriormente para establecer la condición con el contrato utilizamos TABLEP0480 y VARGBIDCON pero se aprecia que en lugar de tomar el primer contrato del mes (441) está tomando el segundo (430).
La regla es:
TABLEP0480
VARGBIDCON
ELIMI *
RESET R
NUM= /3FQ
NUM*1000
NUM/365
NUM*8
NUM/1000
GCY ZSPA
00441
ELIMI *
RESET R
NUM= /3FQ
NUM*1000
NUM/365
NUM*12
NUM/1000
GCY ZSPA
A alguien se le ocurre como modificar la regla para que tenga en cuenta el contrato correcto y tome el del primer intervalo?
Como workaround se me ocurre crear una función en ABAP pero entiendo que sin necesidad de desarrollar se tendría que poder solventar.
Muchas gracias por vuestra ayuda.
Saludos,
Julián
Hola.
Para preguntar por el contrato, ¿habéis probado con la operación ESVVAIDSEG?.
Por cierto, en cuanto a los días de indemnización por año trabajado, existe la constante estándar NDIND, en la T511K :
NDIND 31.12.2011 01.01.1800 8,00
NDIND 31.12.2012 01.01.2012 9,00
NDIND 31.12.2013 01.01.2013 10,00
NDIND 31.12.2014 01.01.2014 11,00
NDIND 31.12.9999 01.01.2015 12,00
Saludos.
Similar Messages
-
[SOLVED] DWM+pertag+bstack error
hi
i'm trying to compile dwm with pertag diff patch and bstack.c
i get an error while compiling it:
CC dwm.c
In file included from config.h:42,
from dwm.c:254:
bstack.c: En la función 'bstack':
bstack.c:7: error: puntero deferenciado a tipo de dato incompletoº
bstack.c:11:error:puntero..
make: *** [dwm.o] Error 1
==> ERROR: Falló la compilación.ª
Abortando...
º means: dereference pointer to incomplete data type
ª means: Compilation failed.
it sucks 'cos i want to read pdf on top of my 10" screen and write documents at bottom, without the problem of change to another desktop and have to move to another layout, i.e., floating for gimp
another thing: for write this post i must to write the code manually, 'cos a don't know how to copy from urxvt and paste it to firefox.. yep, that's a newbie question
Edit: solved here
Last edited by kismet010 (2010-02-08 05:51:09)Looks like this workaround isn't enough to get it to compile on the latest hg clone.
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.8" -DXINERAMA
LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
CC = cc
CC dwm.c
dwm.c: In function 'gaplessgrid':
dwm.c:262: error: dereferencing pointer to incomplete type
dwm.c:276: error: dereferencing pointer to incomplete type
dwm.c:276: error: dereferencing pointer to incomplete type
dwm.c:279: error: dereferencing pointer to incomplete type
dwm.c:282: error: dereferencing pointer to incomplete type
dwm.c:282: error: dereferencing pointer to incomplete type
dwm.c:283: error: dereferencing pointer to incomplete type
dwm.c:284: error: dereferencing pointer to incomplete type
make: *** [dwm.o] Error 1
Line 262 for me is:
for(n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next))
I've tried many things and maybe i'm missing something very simple here. -
[SOLVED] DWM patch error
Hi. I want to apply the Bottom Stack patch to my dwm. I did for 5.6 but i don't know how
This is my PKGBUILD
# $Id: PKGBUILD 3133 2009-09-28 09:01:18Z spupykin $
# Maintainer: Sergej Pupykin <[email protected]>
# Contributor: Dag Odenhall <[email protected]>
# Contributor: Grigorios Bouzakis <[email protected]>
pkgname=dwm
pkgver=5.7.2
pkgrel=1
pkgdesc="A dynamic window manager for X"
url="http://dwm.suckless.org"
arch=('i686' 'x86_64')
license=('MIT')
options=(zipman)
depends=('libx11')
install=dwm.install
source=(http://code.suckless.org/dl/dwm/dwm-$pkgver.tar.gz \
config.h bstack.c)
md5sums=()
build() {
cd $srcdir/$pkgname-$pkgver
cp $srcdir/config.h config.h
patch -p0 -i /home/kismet/.dwm/patch/bstack.c
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
make PREFIX=/usr DESTDIR=$pkgdir install || return 1
install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
I don't how exactly put the patch.. this is the error i get
~/.dwm makepkg -efi
==> Creando el paquete: dwm 5.7.2-1 i686 (mié dic 16 18:02:39 CET 2009)
==> Comprobando Dependencias en tiempo de Ejecución...
==> Comprobando Dependencias en tiempo de Compilación...
==> PRECAUCIÓN: Saltando obtención de fuentes -- usando el arbol src/ existente
==> PRECAUCIÓN: saltando pruebas de integridad -- usando el arbol src/ existente
==> PRECAUCIÓN: Saltando extracción de las fuentes -- usando src/tree existente
==> Eliminando directorio pkg/ existente...
==> Entrando a un ambiente fakeroot...
==> Comenzando build()...
patch: **** Only garbage was found in the patch input.
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.7.2" -DXINERAMA
LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
CC = cc
CC dwm.c
En el fichero incluído de dwm.c:274:
config.h:37:20: error: bstack.c: No existe el fichero o el directorio
In file included from dwm.c:274:
config.h:44: error: 'bstack' no se declaró aquí (no en una función)
make: *** [dwm.o] Error 1
==> ERROR: Falló la compilación.
Abortando...
~/.dwm
What's happen?
Last edited by kismet010 (2010-02-08 05:51:28)well, new error..
applying another patch:
patch -i ~/.dwm/src/dwm-5.7.2/bstack.c
patch -i ~/.dwm/src/dwm-5.7.2/dwm-5.7.2-pertag.diff
get this:
~/.dwm makepkg -efi
==> Creando el paquete: dwm 5.7.2-1 i686 (mié dic 16 19:28:13 CET 2009)
==> Comprobando Dependencias en tiempo de Ejecución...
==> Comprobando Dependencias en tiempo de Compilación...
==> PRECAUCIÓN: Saltando obtención de fuentes -- usando el arbol src/ existente
==> PRECAUCIÓN: saltando pruebas de integridad -- usando el arbol src/ existente
==> PRECAUCIÓN: Saltando extracción de las fuentes -- usando src/tree existente
==> Eliminando directorio pkg/ existente...
==> Entrando a un ambiente fakeroot...
==> Comenzando build()...
patch: **** Only garbage was found in the patch input.
patching file dwm.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 120.
Hunk #2 succeeded at 303 with fuzz 2 (offset 30 lines).
Hunk #3 FAILED at 1475.
Hunk #4 FAILED at 1493.
Hunk #5 FAILED at 1534.
Hunk #6 FAILED at 1645.
Hunk #7 FAILED at 1665.
Hunk #8 FAILED at 1937.
7 out of 8 hunks FAILED -- saving rejects to file dwm.c.rej
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.7.2" -DXINERAMA
LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
CC = cc
CC dwm.c
In file included from config.h:37,
from dwm.c:254:
bstack.c: En la función 'bstack':
bstack.c:7: error: puntero deferenciado a tipo de dato incompleto
bstack.c:11: error: puntero deferenciado a tipo de dato incompleto
bstack.c:12: error: puntero deferenciado a tipo de dato incompleto
bstack.c:12: error: puntero deferenciado a tipo de dato incompleto
bstack.c:13: error: puntero deferenciado a tipo de dato incompleto
bstack.c:13: error: puntero deferenciado a tipo de dato incompleto
bstack.c:13: error: puntero deferenciado a tipo de dato incompleto
bstack.c:13: error: puntero deferenciado a tipo de dato incompleto
bstack.c:17: error: puntero deferenciado a tipo de dato incompleto
bstack.c:18: error: puntero deferenciado a tipo de dato incompleto
bstack.c:18: error: puntero deferenciado a tipo de dato incompleto
bstack.c:19: error: puntero deferenciado a tipo de dato incompleto
bstack.c:20: error: puntero deferenciado a tipo de dato incompleto
bstack.c:20: error: puntero deferenciado a tipo de dato incompleto
bstack.c:20: error: puntero deferenciado a tipo de dato incompleto
bstack.c:20: error: puntero deferenciado a tipo de dato incompleto
bstack.c:22: error: puntero deferenciado a tipo de dato incompleto
bstack.c:25: error: puntero deferenciado a tipo de dato incompleto
bstack.c:25: error: puntero deferenciado a tipo de dato incompleto
bstack.c:26: error: puntero deferenciado a tipo de dato incompleto
dwm.c: En el nivel principal:
dwm.c:281: error: redefinición de 'struct Monitor'
dwm.c:306: error: redefinición de 'struct Monitor'
make: *** [dwm.o] Error 1
==> ERROR: Falló la compilación.
Abortando...
~/.dwm
Edit: same error (without hunks) althought not patching for bstack.c
Last edited by kismet010 (2009-12-16 18:36:13) -
Chain Process execute does not runs...
Hi all,
One day ago had a problem with an ODS load and tried to resolve with tihs post Error while activating data in DSO
It was not possible (maybe I try to reloaded fully) to solve it, but now the problem is that process chains (alls) is not runnig after plannification (immediate or programmed)!
I see the jobs WAIT but not executed...
thanks!Thanks! With SM66 I see one error:
Servidor Número Tipo PID Status Espera Semáf. Iniciar Error CPU Tiempo Usuario Report Acción Tabla
dbciPBW_PBW_44 25 BTC 12295 hält CPIC ja 1 285314 ADMIN CL_SLD_A
and with de Sm55, also 1 error:
BTC 12295 esperan RFC Sí 1 285468 CL_SLD_ACCESSOR===============CP 100 ADMIN
I'm not sure what to do? -
I have upgraded arch recently.
$ uname -r
3.9.5-1-ARCH
After upgrading oss does not work, it says:
"$ sudo soundon
modprobe: ERROR: could not insert 'osscore': Invalid argument
Loading the osscore module failed"
I have oss 4.2_2007-4 installed.
If I reboot a starting file is created in /usr/lib/oss folder.
If I remove this file and perform a soundon again, the file is recreated again and the same message error is shown.
Any ideas?
Last edited by toni (2013-07-27 12:52:49)As said in previous post I was using oss-4.2_2007-2 as oss-4.2_2007-4 was not working with the kernel 3.9.5-1-ARCH so I downgraded oss and the issue was solved.
Now I have upgraded kernel to 3.10.2-1-ARCH and neither oss-4.2_2007-2 nor oss-4.2_2007-4 are working with this kernel version so I have no sound in my arch.
output for 4.2_2007-4:
$ systemctl status oss.service
oss.service - Open Sound System v4
Loaded: loaded (/usr/lib/systemd/system/oss.service; enabled)
Active: failed (Result: exit-code) since sáb 2013-07-27 16:08:36 CEST; 5min ago
Process: 453 ExecStart=/usr/bin/soundon (code=exited, status=20)
$ sudo soundon
Relinking OSS kernel modules for ""
This may take few moments - please stand by...
OSS build environment set up for REGPARM kernels
Building module osscore
Failed to compile OSS
make -C /usr/lib/modules/3.10.2-1-ARCH/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-3.10.2-1-ARCH'
CC [M] /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: En la función ‘init_proc_fs’:
/usr/lib/oss/build/osscore.c:287:8: error: declaración implícita de la función ‘create_proc_entry’ [-Werror=implicit-function-declaration]
create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
^
/usr/lib/oss/build/osscore.c:286:22: aviso: la asignación crea un puntero desde un entero sin una conversión [activado por defecto]
if ((oss_proc_root =
^
/usr/lib/oss/build/osscore.c:293:26: aviso: la asignación crea un puntero desde un entero sin una conversión [activado por defecto]
if ((oss_proc_devfiles =
^
/usr/lib/oss/build/osscore.c:300:20: error: puntero deferenciado a tipo de dato incompleto
oss_proc_devfiles->proc_fops = &oss_proc_operations;
^
/usr/lib/oss/build/osscore.c: En la función ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:964:14: aviso: asignación desde un tipo de puntero incompatible [activado por defecto]
fop->fsync = oss_no_fsync;
^
/usr/lib/oss/build/osscore.c: En la función ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1638:3: aviso: la devolución descarta el calificador ‘const’ del tipo del destino del puntero [activado por defecto]
return dev_name(&dip->pcidev->dev);
^
In file included from include/linux/kernel.h:12:0,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /usr/lib/oss/build/osscore.c:15:
/usr/lib/oss/build/osscore.c: En la función ‘oss_fp_check’:
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:73:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:112:3: nota: in expansion of macro ‘raw_local_save_flags’
raw_local_save_flags(flags); \
^
/usr/lib/oss/build/osscore.c:1862:3: nota: in expansion of macro ‘local_save_flags’
local_save_flags (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:78:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:102:7: nota: in expansion of macro ‘raw_irqs_disabled_flags’
if (raw_irqs_disabled_flags(flags)) { \
^
/usr/lib/oss/build/osscore.c:1864:3: nota: in expansion of macro ‘local_irq_restore’
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:103:4: nota: in expansion of macro ‘raw_local_irq_restore’
raw_local_irq_restore(flags); \
^
/usr/lib/oss/build/osscore.c:1864:3: nota: in expansion of macro ‘local_irq_restore’
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:107:4: nota: in expansion of macro ‘raw_local_irq_restore’
raw_local_irq_restore(flags); \
^
/usr/lib/oss/build/osscore.c:1864:3: nota: in expansion of macro ‘local_irq_restore’
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:73:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:112:3: nota: in expansion of macro ‘raw_local_save_flags’
raw_local_save_flags(flags); \
^
/usr/lib/oss/build/osscore.c:1866:3: nota: in expansion of macro ‘local_save_flags’
local_save_flags (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:78:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:102:7: nota: in expansion of macro ‘raw_irqs_disabled_flags’
if (raw_irqs_disabled_flags(flags)) { \
^
/usr/lib/oss/build/osscore.c:1871:3: nota: in expansion of macro ‘local_irq_restore’
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:103:4: nota: in expansion of macro ‘raw_local_irq_restore’
raw_local_irq_restore(flags); \
^
/usr/lib/oss/build/osscore.c:1871:3: nota: in expansion of macro ‘local_irq_restore’
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:107:4: nota: in expansion of macro ‘raw_local_irq_restore’
raw_local_irq_restore(flags); \
^
/usr/lib/oss/build/osscore.c:1871:3: nota: in expansion of macro ‘local_irq_restore’
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:73:3: nota: in expansion of macro ‘typecheck’
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:112:3: nota: in expansion of macro ‘raw_local_save_flags’
raw_local_save_flags(flags); \
^
/usr/lib/oss/build/osscore.c:1873:3: nota: in expansion of macro ‘local_save_flags’
local_save_flags (flags_reg);
^
cc1: algunos avisos se tratan como errores
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.2-1-ARCH'
make: *** [default] Error 2
Relinking the OSS kernel modules failed
Any ideas?
Last edited by toni (2013-07-27 12:20:59) -
ORA-20001 - Importing CSV file
Hi, i get this error when importing a CSV file
ORA-20001: No se ha podido crear la recopilación: ORA-20001: Error al obtener el tipo de dato: ORA-01403: no se han encontrado datos
I can open de CSV file and it looks normal for me
thanks[email protected],
Please describe the steps you used to import a CSV file. Also, please show us a sample of the data. Finally, what version of HTML DB and the database are you running?
Sergio -
Difficoltà nell'installazione di Adobe 11
Ciao, stò cercando da diversi giorni di installare adobe 11, ma ogni volta succedono due cose :
il sistema lo installa , ma poi quando vado a vedere un filmato/applicazione, mi viene richiesta una nuova installazione.
si blocca al 47% invitandomi a chiudere tutte le applicazioni. A quel punto riparte ma non installa nulla.
Il fatto è che se vado a vedere nei programmi, Adobe 11 risulta correttamente installato.
Ho win vista 7, internet expoler 9 e processore Intel core i3.
GrazieOk i do it and this one of the errors: 01/01/2013 02:32 Windows Error Reporting Bucket errato , tipo 0
Nome evento: ServiceHang
Risposta: Non disponibile
ID CAB: 0

Firma problema:
P1: ServUpdater
P2: ServiceUpd.exe"
P3: 0.0.0.0
P4: 10
P5: 2
P6: 
P7: 
P8: 
P9: 
P10: 

File allegati:

I file potrebbero essere disponibili qui:


Simbolo analisi: 
Nuova ricerca di soluzioni: 0
ID rapporto: 8bc707f5-53bb-11e2-9b9f-c417fe213d72
Stato rapporto: 0
There's about ten errors like this.Now what i can do ?
Thanks -
Firefox non mi visualizza alcuni siti internet
da alcuni giorni Mozilla non mi da accesso ad alcuni siti internet:
Ex: www.wind.it
www.asromastore.it
Mi visualizza "Errore caricamento pagina"
Verificare se l'indirizzo contiene errori di battitura del tipo
ww.example.com invece di
www.example.com
Se non è possibile caricare alcuna pagina, controllare la connessione di rete del computer.
Se il computer o la rete sono protetti da un firewall o un proxy, assicurarsi che Firefox abbia i permessi per accedere al web.
Poi se mi connetto con altro pc di casa e stessa connessione/antivirus mi visualizza correttamente tutto.Allow Plug-ins.
Safari > Preferences > Security
Internet Plug-ins > "Allow plug-ins"
Enable it.
Lasciare Plug-in.
Safari> Preferenze> Sicurezza
Internet Plug-ins> "Consenti plug-in"
Abilitarlo. -
I'm from Colombia, i have used mozilla since 3 years and i nerver had to have problems with it, but this new version is so unstable.
whenever I open a page that aperece:
''''''Servidor no encontrado
Firefox no puede encontrar el servidor en
Compruebe que la dirección no tiene errores de escritura
del tipo ww.ejemplo.com en lugar de
www.ejemplo.com
Si no puede cargar ninguna página, compruebe la conexión
de red de su equipo.
Si su equipo o red están protegidos por un cortafuegos
o proxy, asegúrese de que Firefox tiene permiso
para acceder a la web.''''''
I'm very bored with my mozilla, not what else to do.This article has troubleshooting information for that error message:
https://support.mozilla.com/kb/Server%20not%20found
Also, it is possible your profile might have become damaged during the upgrade. You could try creating a new one.
Step 1 is to make a backup of your existing profile in a safe place. More information: [https://support.mozilla.com//kb/Backing+up+your+information Backing up your information].
Step 2 is to start Firefox in the Profile Manager and create a new profile. More information: [https://support.mozilla.com/kb/Managing+profiles Managing profiles].
If it works well, step 3 is to move your bookmarks (and other settings if you like) to the new profile. More information: [https://support.mozilla.com/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
Hope this helps. -
Duda tipo cotización por desempleo contratos duración determinada a tiempo parcial
Buenas! Tengo una duda sobre el tipo de cotización por desempleo en contratos de duración determinada a tiempo parcial:
http://www.boe.es/boe/dias/2013/12/21/pdfs/BOE-A-2013-13426.pdf
http://www.boe.es/boe/dias/2013/12/26/pdfs/BOE-A-2013-13616.pdf
Tendría que pasar del BOE del 21 de Diciembre y tener en cuenta el BOE del 26 de diciembre? y aplicar el porcentaje del 9,30?
Se sabe algo acerca de esta nota de SAP?
Un saludo.Buenos Días Iván:
Para liberar la modificación se está esperando al correspondiente Boletín RED de la seguridad social.
Tan pronto esté disponible con las instrucciones para este cambio se trabajará en la modificación.
Adicionalmente informaremos oportunamente en el hilo de novedades 2014.
Un saludo, Lucía Iturbe -
Error Imposible modificar un contrato
Hola buenas tardes expertos, les escribo por lo siguiente. Tengo un contrato que me está arrojando el siguiente error.. Imposible modificar un contrato utilizado por una llamada de servicio, hasta donde yo se tengo entendido que no se puede borrar una línea de un equipo que ya posea llamadas de servicio, el detalle es que no me deja ni siquiera colocar una descripción del contrato. Por todo al dar al botón de actualizar me arroja ese error. Saben como se puede resolver..
Desde ya, muchas gracias y en espera de su pronta ayuda,.
Me despido cordialmente de ustedes.
SaludosHola
comprueba esta nota: 1020488 - Error message while updating a Service Contract
Un saludo
Agustín Marcos Cividanes -
Hola. Quiero usar Adobe digital editions y me sale error tipo clr20r3. No se que hacer. Alguien podria ayudarme?
Use the forum for Adobe Digital Editions.
-
Hello,
I'm trying to upload a CSV file with the next format but i receive the following error in the slg1 transaction of SRM.
Error in the CSV file in the following line:
tent;;;;;;;;;;;;;;;
The CSV file format is this:
SAP CATALOG CSV 2.0 <;> update;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Defaults;ES;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1. catalog export for /CCM/MASTER_CATALOG by user XE06241 at 08.10.2008 12:13:31 (CET)
Model;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1. Catalog;CatalogID;CatalogType;Catalog Characteristic(s);Catalog short text(s);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Catalog;IMP_CAT_PROVEEDORES;2;cat_prov;{ES-ES}IMP_CAT_PROVEEDORES;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Content;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#;Texto materal;Activo;Divisa;GLG Responsable;Nombre Proveedor;Texto pedido;Unidad;U.M.B. Maestro de materiales;Posición de contrato;Número de contrato;Plazo de entrega;Texto largo de material;Unidad de medida del pedido;Grupo de artículos;URL;Tipo de objeto MIME;Código del fabricante;núm. material del fabricante;ID de Proveedor;ID del material;Material del proveedor;Núm. anterior del material;Descripción breve del material;Texto adicional;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;Vista;
ItemValuation;Comment;ACTIVO;WAERS;GLGRESPONSABLE;NAME1;TEXTOPEDIDO;UNIDAD;/CCM/BASE_UOM;/CCM/CONTRACT_ITEM_ID;/CCM/CONTRACT_ID;/CCM/LEAD_TIME;/CCM/LONG_DESCRIPTION;/CCM/ORDER_UNIT;/CCM/PRODUCT_GROUP;/CCM/PICTURE#/CCM/URL;/CCM/PICTURE#/CCM/MIME_TYPE;/CCM/MNFCTR_ID;/CCM/MNFCTR_PART_NO;/CCM/SUPPLIER_ID;/CCM/PRODUCT_ID;/CCM/SUPPLIER_PART_NO;CODIGOANTIGUO;SHORT_DESCRIPTION;TEXTOADICIONAL;T_DAR_S;T_DAR_N;T_DAR_E;T_DAR_NW;T_DAR_CAN;T_DAR_CEN;T_DAR_CAT;S_BCL;S_FACTORING;FINANZIA_RED;FINANZIA_SSCC;FINANZIA_UNOE;NAVIDAD;INSTITUCIONAL;SSCC;OPERACIONES;ORGANIZACION;ALMACEN;RED;INMUEBLES;
000000000000000112;Prueba Catálogo;TRUE;EUR;INMUEBLES;PROVEEDOR000726;Texto pedido de este material y ocupa las 2 líneas que me permite la tr.;Unidad;Unidad;00010;4610000045;005;Este texto pertenece al texto de datos básicos del material, que debe ser leído por el proceso para ser incluído en el campos del fichero LONG_DESCRIP;Unidad;110100500;
REDCARPETAUBICACION.GIF;GIF;0020000060;9017829237282939373987393873987375610917;0010000782;000000000000000112;21789123784973849734893748934789347;123456789012345678;Prueba Catálogo;GRANO FINO, CALIDAD ALTA;FALSE;FALSE;FALSE;TRUE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE;You might be best to open a support incident about this so you can work directly with an engineer on this. Infoview is using the Java SDK, its possible there is an issue with the .NET SDK that needs to be looked at.
-
is giving this error:
107/20 PLS-00103: Encountered the symbol "(" when one of the following
symbols was expected:
: =), Default character varying large
The symbol ": =" has been replaced by "(" to continue.Why?
this line in my editor, is not refering to this...
How can I locate the correct line??
thanksFriends, please, I´m having difficult to resolve the errors in package... Please help me;;
Package:
-- Package : pkg_frota_empresa
-- Descrição:
-- Este package contém as funções para implementação do módulo frota, para todos os processos
-- e telas que são referente a Cadastro de Empresas para o Módulo de Frota
-- Definir os PKG utilizado no módulo:
-- Histórico:
-- 28/12/2009 - André - Implementação.
-- @D:\RepositNovo\FwCard\Des\Modulos\Card_Frota\Package\pkg_frota_empresa.sql
-- @C:\CARD_DES\Modulos\Card_Frota\Package\pkg_frota_empresa_teste.sql
CREATE OR REPLACE PACKAGE pkg_frota_empresa_teste
IS
-- Definicao dos Tipos de Tabelas Dinamicas
-- Definicao de constantes
-- Definição de Variaveis globais
g_frota_cliente frota_cliente%ROWTYPE;
g_contrato_cliente contrato_cliente%ROWTYPE;
TYPE regemprec_type IS RECORD
( id_frota_cliente NUMBER
, id_cliente VARCHAR2(50)
, id_pessoa_juridica VARCHAR2(50)
, cnpj VARCHAR2(50)
, id_tipo_documento VARCHAR2(50)
, ie VARCHAR2(50)
, im VARCHAR2(50)
, razao_social VARCHAR2(50)
, nome_fantasia VARCHAR2(50)
, ddd VARCHAR2(50)
, telefone VARCHAR2(50)
, fax VARCHAR2(50)
, ddd_cel VARCHAR2(50)
, fone_cel VARCHAR2(50)
, email VARCHAR2(50)
, nome_impresso VARCHAR2(50)
, id_ramo_atividade VARCHAR2(50)
, fatura_enviada VARCHAR2(50)
, id_estado_cartao VARCHAR2(50)
, id_matriz VARCHAR2(50)
, id_cliente_categoria VARCHAR2(50)
, end_extrato_cnv_empresa VARCHAR2(50)
, id_agente VARCHAR2(50)
, aceitar_cpf_nulo VARCHAR2(1));
TYPE regemp_type IS TABLE OF regemprec_type INDEX BY BINARY_INTEGER;
-- Definição de Procedures e Funçoes que deverão ser publica, acesso de outras funçoes
PROCEDURE inicializar;
--Frota Cliente
PROCEDURE inc_altfrotacliente(
p_reg frota_cliente%ROWTYPE
--Frota Cliente
/*PROCEDURE inc_alt_frotacliente_exec(
p_id_frota_cliente IN OUT frota_cliente.id_frota_cliente%TYPE,
p_id_cliente IN frota_cliente.id_cliente%TYPE,
p_limite_mensal IN frota_cliente.limite_mensal%TYPE DEFAULT 0,
p_limite_trans IN frota_cliente.limite_trans%TYPE DEFAULT 0,
p_qtd_max_litros IN frota_cliente.qtd_max_litros%TYPE DEFAULT 0,
p_valor_max IN frota_cliente.valor_max%TYPE DEFAULT 0,
p_ver_agenda_condutor IN frota_cliente.ver_agenda_condutor%TYPE DEFAULT '0',
p_ver_km IN frota_cliente.ver_km%TYPE DEFAULT '0',
p_ver_valor_max IN frota_cliente.ver_valor_max%TYPE DEFAULT '0',
p_diaval_carta_credito IN frota_cliente.diaval_carta_credito%TYPE DEFAULT 0
-- Empresa+Frota_Cliente+Frota_Cliente_Veiculo
PROCEDURE excluir(
p_id_frota_cliente IN frota_cliente.id_frota_cliente%TYPE
-- Chama o procedimento acima
PROCEDURE excluirexec(
p_id_frota_centro_custo IN frota_centro_custo.id_frota_centro_custo%TYPE
--Empresa
PROCEDURE inc_alt(
p_reg RegEmp_type
--Chama o procedimento acima
PROCEDURE inc_altexec(
p_id_frota_cliente IN OUT VARCHAR2,
p_id_empresa IN OUT VARCHAR2,
p_id_pessoa_juridica IN OUT VARCHAR2,
p_cnpj IN VARCHAR2,
p_id_tipo_documento IN VARCHAR2,
p_ie IN VARCHAR2,
p_im IN VARCHAR2,
p_razaosocial IN VARCHAR2,
p_fantasia IN VARCHAR2,
p_ddd IN VARCHAR2,
p_telefone IN VARCHAR2,
p_fax IN VARCHAR2,
p_ddd_cel IN VARCHAR2,
p_fone_cel IN VARCHAR2,
p_email IN VARCHAR2,
p_nome_impresso IN VARCHAR2,
p_ramo IN VARCHAR2,
p_fatura_enviada IN VARCHAR2,
p_id_estado_cartao IN VARCHAR2,
p_id_matriz IN VARCHAR2,
p_cliente_categoria IN VARCHAR2,
p_end_extrato_cnv_empresa IN VARCHAR2,
p_agente IN VARCHAR2,
p_cpf_nulo IN VARCHAR2
PROCEDURE vrf_empresa(
p_cnpj IN VARCHAR2,
p_id_tipo_documento IN tipo_documento.id_tipo_documento%TYPE
PROCEDURE inc_alt_contrato(
p_operacao CHAR(1),
p_reg contrato_cliente%ROWTYPE
PROCEDURE inc_alt_contratoexec(
p_operacao IN VARCHAR(1),
p_id_cliente IN contrato_cliente.id_cliente%TYPE,
p_id_produto IN produto.id_produto%TYPE,
p_data_inicio IN contrato_cliente.data_inicio%TYPE,
p_data_fim IN contrato_cliente.data_fim%TYPE,
p_comissao_1 IN contrato_cliente.comissao1%TYPE,
p_comissao_2 IN contrato_cliente.comissao2%TYPE,
p_forma_comissao1 IN contrato_cliente.forma_comissao1%TYPE,
p_forma_comissao2 IN contrato_cliente.forma_comissao2%TYPE,
p_dia_entrega IN contrato_cliente.dia_entrega%TYPE,
p_agente IN contrato_cliente.id_agente%TYPE
END;
SHOW ERRORS
--------------------------Inicio das Definições dos Procedimento e Funçoes ------------------------------
-- Os Procedimentos e Funçoes devem ter um cabeçalho explicando a função os parametros de entrada e saida
-- As Definições das Variaveis de parametros de funcao e procedures devem iniciar com: p_
-- As Definições de Variaveis locais deve sempre iniciar com: v_
CREATE OR REPLACE PACKAGE BODY pkg_frota_empresa
IS
-- Function : inicializar
-- Descrição: Função que inicializa variaveis do PKG
PROCEDURE inicializar
IS
BEGIN
RETURN;
END;
-- Procedimento : inc_alt_frotacliente
-- Descrição: Cadastro de Empresa
-- Entrada
-- p_reg : Valores a serem operados
-- OBS: Sem Commit e tratamento de excessão
-- Histórico
-- DATA - DESENVOLVIMENTO - REQUISITO - INFORMAÇÃO
-- 20/01/2010 - [ATILIO] - #79165 - Implementação
PROCEDURE inc_alt_frotacliente(
p_reg frota_cliente%ROWTYPE
IS
BEGIN
IF p_reg.id_frota_cliente IS NULL THEN
SELECT SEQ_FROTA_CLIENTE.NEXTVAL INTO p_reg.id_frota_cliente FROM DUAL;
INSERT INTO FROTA_CLIENTE VALUES p_reg;
ELSE
UPDATE FROTA_CLIENTE
SET id_cliente = p_reg.id_cliente,
limite_mensal = p_reg.limite_mensal,
limite_trans = p_reg.limite_trans,
qtd_max_litros = p_reg.qtd_max_litros,
valor_max = p_reg.valor_max,
ver_agenda_condutor = p_reg.ver_agenda_condutor,
ver_km = p_reg.ver_km,
ver_valor_max = p_reg.ver_valor_max,
diaval_carta_credito= p_reg.diaval_carta_credito
WHERE id_frota_cliente = p_reg.id_frota_cliente;
END IF;
END;
-- Procedimento : inc_alt_frotacliente_exec
-- Descrição : Incluir ou Alterar um registro referente a tabela: FROTA_CLIENTE
-- Entrada: p_id_frota_cliente - Identificador do frota_cliente, quando( =NULL -> Incluir <>NULL -> Alterar)
-- p_id_cliente - Identificador do cliente
-- p_limite_mensal - Limite mensal por veiculo
-- p_limite_trans - Limite por transação por veiculo
-- p_qtd_max_litros - Quantidade maxima de litros por abestecimento
-- p_valor_max - Valor máximo por abastecimento
-- p_ver_agenda_condutor - Configuração se deve ser verificado o agendamento para permitir abastecimento
-- p_ver_km - Configuração se deve verificar a KM no abastecimento
-- p_ver_valor_max - Configuração se deve ser verificado o valor máximo no abastecimento
-- p_diaval_carta_credito - Configura o maximo de dias para vigencia de uma carta frete
-- Historico
-- DATA - DESENVOLVEDOR - REQUISITO - INFORMAÇÃO
-- 20/01/2010 - Atilio - Implementação de Defaults
/*PROCEDURE inc_alt_frotacliente_exec(
p_id_frota_cliente IN OUT frota_cliente.id_frota_cliente%TYPE,
p_id_cliente IN frota_cliente.id_cliente%TYPE,
p_limite_mensal IN frota_cliente.limite_mensal%TYPE DEFAULT 0,
p_limite_trans IN frota_cliente.limite_trans%TYPE DEFAULT 0,
p_qtd_max_litros IN frota_cliente.qtd_max_litros%TYPE DEFAULT 0,
p_valor_max IN frota_cliente.valor_max%TYPE DEFAULT 0,
p_ver_agenda_condutor IN frota_cliente.ver_agenda_condutor%TYPE DEFAULT '0',
p_ver_km IN frota_cliente.ver_km%TYPE DEFAULT '0',
p_ver_valor_max IN frota_cliente.ver_valor_max%TYPE DEFAULT '0',
p_diaval_carta_credito IN frota_cliente.diaval_carta_credito%TYPE DEFAULT 0
IS
BEGIN
--preencho o type
g_frota_cliente.id_frota_cliente := p_id_frota_cliente;
g_frota_cliente.id_cliente := p_id_cliente;
g_frota_cliente.limite_mensal := nvl(p_limite_mensal,0);
g_frota_cliente.limite_trans := nvl(p_limite_trans,0);
g_frota_cliente.qtd_max_litros := p_qtd_max_litros;
g_frota_cliente.valor_max := p_valor_max;
g_frota_cliente.ver_agenda_condutor := p_ver_agenda_condutor;
g_frota_cliente.ver_km := p_ver_km;
g_frota_cliente.ver_valor_max := p_ver_valor_max;
g_frota_cliente.diaval_carta_credito := p_diaval_carta_credito;
inc_alt_frotacliente(g_frota_cliente);
COMMIT;
EXCEPTION
WHEN OTHERS THEN
fwerr.gerar_exception(p_procedimento => 'pkg_frota_empresa.inc_alt_frotacliente');
END;*/
-- Procedimento : excluir
-- Descrição : Excluir um registro referente a tabela: FROTA_CLIENTE
-- Entrada: p_id_frota_cliente - Identificador do frota_cliente
-- OBS: Este procedimento não gera COMMIT, deixando para a função que chama esta responsabilidade
-- Historico
-- DATA - DESENVOLVEDOR - REQUISITO - INFORMAÇÃO
-- 12/01/2010 - JOAO - - Implementação
-- 20/01/2010 - ATILIO -
PROCEDURE excluir(
p_id_frota_cliente IN frota_cliente.id_frota_cliente%TYPE
IS
BEGIN
DELETE FROTA_CLIENTE_VEICULO WHERE id_frota_cliente = p_id_frota_cliente;
DELETE FROTA_CLIENTE WHERE id_frota_cliente = p_id_frota_cliente;
END;
-- Procedimento : excluirexec
-- Descrição : Excluir um registro referente a tabela: FROTA_CLIENTE
-- Entrada: p_id_frota_cliente - Identificador de frota_cliente
-- OBS:
-- Historico
-- DATA - DESENVOLVEDOR - REQUISITO - INFORMAÇÃO
-- 20/01/2010 - ATILIO - - Implementação
PROCEDURE excluirexec(
p_id_frota_cliente IN frota_cliente.id_frota_cliente%TYPE DEFAULT NULL
IS
v_ret PLS_INTEGER;
v_id_cliente NUMBER;
BEGIN
IF p_id_frota_cliente IS NULL THEN
FOR i IN 1..htmldb_application.g_f01.COUNT LOOP
SELECT id_cliente INTO v_id_cliente FROM frota_cliente WHERE id_frota_cliente = htmldb_application.g_f01(i);
excluir(p_id_frota_cliente => htmldb_application.g_f01(i));
v_ret := pkg_limpeza.lmp_empresa(v_id_cliente);
fwerr.verificar(v_ret=0,v_ret);
END LOOP;
ELSE
SELECT id_cliente INTO v_id_cliente FROM frota_cliente WHERE id_frota_cliente = p_id_frota_cliente;
excluir(p_id_frota_cliente => p_id_frota_cliente);
v_ret := pkg_limpeza.lmp_empresa(v_id_cliente);
fwerr.verificar(v_ret=0,v_ret);
END IF;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
fwerr.gerar_exception(p_procedimento => 'excluirexec');
END;
-- Procedimento : inc_alt
-- Descrição : Inclusão/Alteração Empresa
-- Entrada: p_reg - Referência a tabela temporária
-- OBS:
-- Historico
-- DATA - DESENVOLVEDOR - REQUISITO - INFORMAÇÃO
-- 20/01/2010 - ATILIO - - Implementação
PROCEDURE inc_alt(
p_reg regemp_type
IS
v_id_emp NUMBER;
v_encontrou BOOLEAN DEFAULT TRUE;
BEGIN
IF p_reg(2) IS NULL THEN
v_encontrou := FALSE;
ELSE
BEGIN
SELECT id_cliente INTO v_id_emp FROM frota_cliente WHERE id_cliente = p_reg(2);
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_encontrou:=FALSE;
END;
END IF;
IF NOT v_encontrou THEN
ca_empresa_incluir_alterar(p_reg(2) ,p_reg(3) ,p_reg(4) ,p_reg(5) ,p_reg(6) ,p_reg(7) ,p_reg(8) ,p_reg(9) ,p_reg(10),
p_reg(11),p_reg(12),p_reg(13),p_reg(14),p_reg(15),p_reg(16),p_reg(17),p_reg(18),p_reg(19),
p_reg(20),p_reg(21),p_reg(22),p_reg(23),p_reg(24));
--Constraint - com tab cliente
SELECT id_cliente INTO v_id_emp FROM cliente WHERE id_cliente = p_reg(2);
inc_altfrotacliente(p_id_frota_cliente => p_reg(1),
p_id_cliente => v_id_emp);
ELSE
ca_empresa_incluir_alterar(p_reg(2) ,p_reg(3) ,p_reg(4) ,p_reg(5) ,p_reg(6) ,p_reg(7) ,p_reg(8) ,p_reg(9) ,p_reg(10),
p_reg(11),p_reg(12),p_reg(13),p_reg(14),p_reg(15),p_reg(16),p_reg(17),p_reg(18),p_reg(19),
p_reg(20),p_reg(21),p_reg(22),p_reg(23),p_reg(24));
END IF;
END;
-- Procedure: inc_altexec
-- Descrição:
-- Incluir ou Alterar cadastro de empresa (FROTA)
-- Entrada:
-- cadastro de empresa
-- p_id_frota_cliente : identificação da empresa dentro do módulo
-- p_id_empresa : Identificador da empresa
-- p_id_pessoa_juridica : Identificador da empresa
-- p_cnpj : CNPJ da empresa
-- p_id_tipo_documento : Indica o tipo de documento
-- p_ie : Inscrição Estadual
-- p_im : Inscrição Municipal
-- p_razaosocial : Razão Social
-- p_fantasia : Nome Fantasia
-- p_ddd : DDD do telefone
-- p_telefone : Número do telefone
-- p_fax : Número do fax
-- p_ddd_cel : DDD do celular
-- p_fone_cel : Número do celular
-- p_email : Email da empresa
-- p_nome_impresso : Nome que será impresa na fatura
-- p_ramo : Ramo de Atividade
-- p_fatura_enviada : Idicador se a empresa pode reimprimir fatura pelo portal que já
-- foram enviada para o banco
-- p_id_estado_cartao : Estado que ficará o cartão após ser confeccionado
-- p_id_matriz : Identificador da empresa matriz
-- p_cliente_categoria : Categoria do Cliente
-- p_end_extrato_cnv_empresa : Endereço Extrato Conferência
-- p_agente : Agente relacionado
-- p_cpf_nulo : Cpf nulo
-- Histórico:
-- 20/01/2010 - Atílio - Implementação
PROCEDURE inc_altexec(
p_id_frota_cliente IN OUT VARCHAR2,
p_id_empresa IN OUT VARCHAR2,
p_id_pessoa_juridica IN OUT VARCHAR2,
p_cnpj IN VARCHAR2,
p_id_tipo_documento IN VARCHAR2,
p_ie IN VARCHAR2,
p_im IN VARCHAR2,
p_razaosocial IN VARCHAR2,
p_fantasia IN VARCHAR2,
p_ddd IN VARCHAR2,
p_telefone IN VARCHAR2,
p_fax IN VARCHAR2,
p_ddd_cel IN VARCHAR2,
p_fone_cel IN VARCHAR2,
p_email IN VARCHAR2,
p_nome_impresso IN VARCHAR2,
p_ramo IN VARCHAR2,
p_fatura_enviada IN VARCHAR2,
p_id_estado_cartao IN VARCHAR2,
p_id_matriz IN VARCHAR2,
p_cliente_categoria IN VARCHAR2,
p_end_extrato_cnv_empresa IN VARCHAR2,
p_agente IN VARCHAR2,
p_cpf_nulo IN VARCHAR2
IS
BEGIN
RegEmp_type(1) := p_id_frota_cliente;
RegEmp_type(2) := p_id_empresa;
RegEmp_type(3) := p_id_pessoa_juridica;
RegEmp_type(4) := p_cnpj;
RegEmp_type(5) := p_id_tipo_documento;
RegEmp_type(6) := p_ie;
RegEmp_type(7) := p_im;
RegEmp_type(8) := p_razaosocial;
RegEmp_type(9) := p_fantasia;
RegEmp_type(10) := p_ddd;
RegEmp_type(11) := p_telefone;
RegEmp_type(12) := p_fax;
RegEmp_type(13) := p_ddd_cel;
RegEmp_type(14) := p_fone_cel;
RegEmp_type(15) := p_email;
RegEmp_type(16) := p_nome_impresso;
RegEmp_type(17) := p_ramo;
RegEmp_type(18) := p_fatura_enviada;
RegEmp_type(19) := p_id_estado_cartao;
RegEmp_type(20) := p_id_matriz;
RegEmp_type(21) := p_cliente_categoria;
RegEmp_type(22) := p_end_extrato_cnv_empresa;
RegEmp_type(23) := p_agente;
RegEmp_type(24) := p_cpf_nulo;
inc_alt(RegEmp_type);
EXCEPTION
WHEN OTHERS THEN
fwerr.gerar_exception(p_procedimento => 'inc_altexec');
END;
-- Procedimento : vrf_empresa
-- Descrição : Procedimento responsável por verificar se o documento que esta sendo
-- incluído já não pertence a uma empresa ou pessoa juridica, e para qual
-- página do sistema será redirecionado.
-- Entrada p_cnpj - Documento
-- p_id_tipo_documento - Tipo do documento da tabela TIPO_DOCUMENTO
-- Histórico
-- DATA - DESENVOLVEDOR - REQUISITO - INFORMAÇÃO
-- 15/01/2010 - ATILIO - #79229 - Implementação
PROCEDURE vrf_empresa(
p_cnpj IN VARCHAR2,
p_id_tipo_documento IN tipo_documento.id_tipo_documento%TYPE)
IS
v_cnpj pessoa_juridica.cnpj%TYPE;
v_id_empresa cliente.id_cliente%TYPE DEFAULT NULL;
BEGIN
v_cnpj:= fwutl.limpar_numero(p_cnpj);
FOR lst IN ( SELECT fc.id_cliente as "Cliente",c.id_cliente, pj.id_pessoa_juridica
FROM cliente c, pessoa_juridica pj, frota_cliente fc
WHERE pj.id_pessoa_juridica = c.id_pessoa_juridica(+)
AND c.id_cliente = fc.id_cliente
AND pj.cnpj = v_cnpj)
LOOP
v_id_empresa := lst.id_cliente;
EXIT;
END LOOP;
IF ( v_id_empresa IS NOT NULL ) THEN
fwapl.redirecionar('f?p='||v('APP_ID')||':15011:'||v('APP_SESSION')||
'::NO::P15011_CODIGO:'||v_id_empresa);
ELSE
fwapl.redirecionar('f?p='||v('APP_ID')||':15013:'||v('APP_SESSION')||
'::NO:15013:P15013_PAGINA,P15013_CNPJ,P15013_ID_TIPO_DOCUMENTO:15012,'||formatar_docto(v_cnpj,p_id_tipo_documento)||','||p_id_tipo_documento);
END IF;
RETURN;
EXCEPTION
WHEN OTHERS THEN
fwerr.gerar_exception(p_procedimento => 'pkg_frota_empresa.vrf_empresa');
END;
-- Procedimento : inc_alt_contrato
-- Descrição : Incluir/Alterar contrato para a empresa
-- Histórico
-- 18/01/2010 - Atilio - (79234) - Implementação
PROCEDURE inc_alt_contrato(
p_operacao CHAR(1),
p_reg contrato_cliente%ROWTYPE
IS
BEGIN
IF p_operacao = 'I' THEN
ca_empresa_contrato_incluir(p_reg.id_cliente,p_reg.id_produto,p_reg.data_inicio,p_reg.data_fim,p_reg.comissao1,p_reg.comissao2,
p_reg.forma_comissao1,p_reg.forma_comissao2,p_reg.dia_entrega,p_reg.id_agente);
ELSE
ca_empresa_contrato_incluir(p_reg.id_cliente,p_reg.id_produto,p_reg.data_inicio,p_reg.data_fim,p_reg.comissao1,p_reg.comissao2,
p_reg.forma_comissao1,p_reg.forma_comissao2,p_reg.dia_entrega,p_reg.id_agente);
END IF;
END;
-- Procedimento : inc_alt_contratoexec
-- Descrição : Incluir/Alterar contrato para a empresa
-- Histórico
-- 18/01/2010 - Atilio - (79234) - Implementação
PROCEDURE inc_alt_contratoexec(
p_operacao IN VARCHAR(1),
p_id_cliente IN contrato_cliente.id_cliente%TYPE,
p_id_produto IN produto.id_produto%TYPE,
p_data_inicio IN contrato_cliente.data_inicio%TYPE,
p_data_fim IN contrato_cliente.data_fim%TYPE,
p_comissao_1 IN contrato_cliente.comissao1%TYPE,
p_comissao_2 IN contrato_cliente.comissao2%TYPE,
p_forma_comissao1 IN contrato_cliente.forma_comissao1%TYPE,
p_forma_comissao2 IN contrato_cliente.forma_comissao2%TYPE,
p_dia_entrega IN contrato_cliente.dia_entrega%TYPE,
p_agente IN contrato_cliente.id_agente%TYPE
IS
BEGIN
g_contrato_cliente.p_id_cliente := p_id_cliente;
g_contrato_cliente.p_id_produto := p_id_produto;
g_contrato_cliente.p_data_inicio := p_data_inicio;
g_contrato_cliente.p_data_fim := p_data_fim;
g_contrato_cliente.p_comissao_1 := p_comissao_1;
g_contrato_cliente.p_comissao_2 := p_comissao_2;
g_contrato_cliente.p_forma_comissao1:= p_forma_comissao1;
g_contrato_cliente.p_forma_comissao2:= p_forma_comissao2;
g_contrato_cliente.p_dia_entrega := p_dia_entrega;
g_contrato_cliente.p_agente := p_agente;
inc_alt_contrato(p_operacao => p_operacao
,p_reg => g_contrato_cliente);
EXCEPTION
WHEN OTHERS THEN
fwerr.gerar_exception(p_procedimento => 'pkg_frota_empresa.inc_alt_contratoexec');
END;
---------------------------Final das Definições dos Procedimento e Funçoes ------------------------------
BEGIN
inicializar;
END;
SHOW ERRORSERRORS:
105/20 PLS-00103: Encountered the symbol "(" when one of the following
symbols was expected:
: =), Default character varying large
The symbol ": =" has been replaced by "(" to continue.
110/42 PLS-00103: Encountered the symbol "(" when one of the following
symbols was expected:
: =. ), @% Default character
The symbol ": =" has been replaced by "(" to continue.
Warning: Package Body created with compilation errors.
PROCEDURE inc_alt (
ERROR at line 1:
ORA-00900: invalid SQL statement
Errors for PACKAGE BODY PKG_FROTA_EMPRESA:
LINE / COL ERROR
169 / 4 PLS-00103: Encountered the symbol "end-of-file" when one of
following symbols was expected:
begin end function package pragma procedure form -
Hi,
When I try to deploy a bpel process using JDeveloper I'm having the following xml parse error:
Error(21):
[Error ORABPEL-10900]: xml parser error
[Description]: in line 21 of "file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel", XML parsing failed because file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel<Line 21, Column 63>: XML-24538: (Error) Can not find definition for element 'process'.
[Potential fix]: Fix the invalid XML.
I don't understand why... Any idea?Ok.
This is my BPEL code. The sapattern tags are from a program that is generating part of the code. The JDeveloper doesn't show any error, I only get the error when I try to deploy.
<?xml version = "1.0" encoding = "UTF-8" ?>
<process name="CriarProjectoSA"
targetNamespace="http://xmlns.oracle.com/CriarProjectoSA"
suppressJoinFailure="no"
xmlns="http://xmlns.oracle.com/CriarProjectoSA"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns4="http://xmlns.oracle.com/CriarProjectoSA"
xmlns:ns7="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns5="http://schemas.oracle.com/xpath/extension"
xmlns:ns6="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:ns11="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:ns9="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ns1="http://xmlns.oracle.com/ValidacaoProjectos"
xmlns:ns3="http://www.nerga.pt" xmlns:ns2="http://tempuri.org/"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:ns10="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns8="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<!--Generated by Telelogic System Architect on 05/01/2007 11:06:18 by easm-->
<sapattern>
<guid>41207640-d934-480f-902a-b3764f3d9c9f</guid>
</sapattern>
<partnerLinks>
<partnerLink name="client" partnerLinkType="ns4:CriarProjectoSA"
myRole="CriarProjectoSAProvider"/>
<partnerLink name="NergaIS" partnerLinkType="ns2:ServiceSoap_PL"
myRole="ServiceSoap_Role" partnerRole="ServiceSoap_Role"/>
<partnerLink name="ValidacaoProjectos"
partnerLinkType="ns1:ValidacaoProjectos"
myRole="ValidacaoProjectosRequester"
partnerRole="ValidacaoProjectosProvider"/>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
<guid>3111d1af-0b31-4d02-b3fc-73d14ce95405</guid>
<guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
</sapattern>
</partnerLinks>
<variables>
<variable name="outputVariable"
messageType="ns4:CriarProjectoSAResponseMessage"/>
<variable name="inputVariable"
messageType="ns4:CriarProjectoSARequestMessage"/>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>2503e820-3add-4cd1-bbc5-5cc5fff57090</guid>
<guid>8bcc3532-46b7-4e88-816f-72ecdaee76ab</guid>
</sapattern>
<variable name="invocaVP_initiate_InputVariable"
messageType="ns1:ValidacaoProjectosRequestMessage"/>
<variable name="recebeVP_onResult_InputVariable"
messageType="ns1:ValidacaoProjectosResponseMessage"/>
<variable name="InvocaAdicionarProjecto_InputVariable"
messageType="ns2:AdicionarProjectoSoapIn"/>
<variable name="InvocaAdicionarProjecto_OutputVariable"
messageType="ns2:AdicionarProjectoSoapOut"/>
</variables>
<sequence>
<receive name="recebeTemplate" joinCondition="False" partnerLink="client"
portType="ns4:CriarProjectoSA" operation="process"
variable="inputVariable" createInstance="yes">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
<guid>68e62379-55ac-48eb-b681-aee8f5a7696d</guid>
</sapattern>
</receive>
<scope variableAccessSerializable="no" name="ValidarExigências"
joinCondition="False">
<faultHandlers>
<catchAll>
<assign name="assignInvalid">
<bpelx:append>
<bpelx:from expression="concat(ns8:getVariableData('inputVariable','payload','/ns3:Template/ns3:Projecto/ns3:Observacoes'), string('Projecto inválido!!'))"/>
<bpelx:to variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto/ns3:Observacoes"/>
</bpelx:append>
</assign>
</catchAll>
</faultHandlers>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
</sapattern>
<sequence name="ValidarExigências" joinCondition="False">
<assign name="assignVPIn">
<copy>
<from variable="inputVariable" part="payload"/>
<to variable="invocaVP_initiate_InputVariable" part="payload"/>
</copy>
</assign>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
</sapattern>
<invoke name="invocaVP" joinCondition="False"
partnerLink="ValidacaoProjectos" portType="ns1:ValidacaoProjectos"
operation="initiate"
inputVariable="invocaVP_initiate_InputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>f3bc9c04-f4d2-4e96-acc8-7a6c88a8ced5</guid>
</sapattern>
</invoke>
<receive name="recebeVP" joinCondition="False"
partnerLink="ValidacaoProjectos"
portType="ns1:ValidacaoProjectosCallback" operation="onResult"
createInstance="no" variable="recebeVP_onResult_InputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
<guid>1eba96a8-330a-4e4d-a14b-cdf6641fa614</guid>
</sapattern>
</receive>
<assign name="assignVPOut">
<copy>
<from variable="recebeVP_onResult_InputVariable" part="payload"/>
<to variable="inputVariable" part="payload"/>
</copy>
</assign>
</sequence>
</scope>
<scope variableAccessSerializable="no" name="AdicionarProjecto"
joinCondition="False">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
</sapattern>
<sequence name="InvocarISAdicionarProjecto" joinCondition="False">
<assign name="assignIS">
<copy>
<from variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto/ns3:NomeProjecto"/>
<to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
query="/ns2:AdicionarProjecto/ns2:nome"/>
</copy>
<copy>
<from variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto/ns3:TipoProjecto"/>
<to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
query="/ns2:AdicionarProjecto/ns2:tipo"/>
</copy>
</assign>
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
</sapattern>
<invoke name="InvocaAdicionarProjecto" joinCondition="False"
partnerLink="NergaIS" portType="ns2:ServiceSoap"
operation="AdicionarProjecto"
inputVariable="InvocaAdicionarProjecto_InputVariable"
outputVariable="InvocaAdicionarProjecto_OutputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>76519bd3-c506-4c79-8190-8ff09abdd27d</guid>
</sapattern>
</invoke>
</sequence>
</scope>
<assign name="assignOutput">
<copy>
<from variable="inputVariable" part="payload"
query="/ns3:Template/ns3:Projecto"/>
<to variable="outputVariable" part="payload"/>
</copy>
</assign>
<reply name="devolveProjecto" joinCondition="False" partnerLink="client"
portType="ns4:CriarProjectoSA" operation="process"
variable="outputVariable">
<sapattern>
<!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
<guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
<guid>0dbefef0-3d04-4356-abbc-b291ea40d256</guid>
</sapattern>
</reply>
</sequence>
</process>
Maybe you are looking for
-
I cannot figure out which shortcut changed my keyboard configuration and how to go back. See if somebody out there can help. Two examples. 1. When I hit enter, Exposé pops up. I need to hit ctrl-enter to change a line. 2. When I hit delete (backspa
-
Auto shot down no longer works
I pulled a power plug out of my iMac. And now my 2 external Seagate drives no longer auto shut down. They stay on unless I pull my firewires 800 and 400 out. The new Free agent Seagate doesn't have the on and off buttons. Its very frustrating. What h
-
How to get which query is using by reports using OEM
Hi, can any one help me how to get the queries whcih are used by reports by clent by using OEM. Its same like using profiler in sql server Thanks in advance Edited by: user8884944 on Nov 6, 2010 2:18 AM
-
Hello I have a JTable with 33 nessesary columns. The row count can be from 1 to 50. That gives maximum 1650 diffrent values to save to the database. The current system, creates a object for each line(33 values) and fill them into a arraylist, send it
-
What is the field in system extract for FSA annual election
Hi, Thanks in advance for your help. I am new to System Extract, I want to generate a file for our FSA vendor, but I cannot find which field is for FSA annual election, I have found "Enrollment Rate - Employee Total Contribution" is for deduction of