on 08-02-2011 9:37 PM
Estimados todos: tenemos la siguiente situacion, necesitamos hacer una factura de 450 lineas, claro que si lo hacemos manualmente, tenemos un mayor margen de error en la captura, entonces lo hacemos por DTW, primero corremos el Run Simulation y dice que paso sin problemas, enseguida lo haces en productivo y dice que lo hace bien, pero inmediatamente nos aparece la siguiente pantalla: transaction commit unsuccessfully. nos vamos al modulo Ventas-Clientes y no hace la factura.
¿a que se debe esto?
esto sucede en la 8.8 pl 20
Ademas de lo que dice felipe, revisa tambien si no tienes algun campo de usuario como obligatorio y que estes omitiendo en el template
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gracias Estimados, se soluciono, haciendo la OV por DTW de ahi, lo pasamos a Factura Electronica.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
¿Tienes algun Transaction notification corriendo?
Desactivalos y trata denuevo
Slds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Quizas necesites comentar esa parte del codigo para que pase tu factura, o agregar una validacion que cuando la interfaz (campo datasource de la tabla de facturas) sea diferente de 'O' que es la de DTW o DI API, inicie la validacion de tu Facturacion electronica
Edited by: Mauricio I Quintana on Aug 2, 2011 5:18 PM
-- DOCUMENTO FACTURA DE CLIENTES -
If @object_type = '13' and @transaction_type ='A' --or @transaction_type = 'U'
BEGIN
--SI ES FACTURA
If (Select OINV.docsubtype from OINV where OINV.DocEntry = @list_of_cols_val_tab_del) = '--' and (select OINV.UpdInvnt from OINV where OINV.DocEntry = @list_of_cols_val_tab_del) = 'I'
BEGIN
Select @Serie_Doc = (select OINV.series from OINV where OINV.DocEntry = @list_of_cols_val_tab_del)
Select @Nombre_Serie = (Select SeriesName from nnm1 where objectCode = 13 and DocSubType = '--' and Series = @Serie_Doc)
Select @Folio_Consulta = (Select OINV.DocNum from OINV where OINV.DocEntry = @list_of_cols_val_tab_del) - (SELECT isnull(U_Diferencia,0) as 'U_Diferencia' FROM [@CONFIG_SER_FAE] WHERE U_NumDoc = '133' AND U_CodSerie = @Nombre_Serie)
Select @FolioInicio = (SELECT isnull(U_FolioIni,0) as 'U_FolioIni' FROM [@CONFIG_SER_FAE] WHERE U_NumDoc = '133' AND U_CodSerie = @Nombre_Serie)
Select @FolioFin = (SELECT isnull(U_FolioFin,0) as 'U_FolioFin' FROM [@CONFIG_SER_FAE] WHERE U_NumDoc = '133' AND U_CodSerie = @Nombre_Serie)
Select @SV = (SELECT U_CodSerie FROM [@CONFIG_SER_FAE] WHERE U_NumDoc = '133' AND U_CodSerie = @Nombre_Serie)
IF @SV = '' Or @SV is Null
Set @SerieValida = ''
ELSE
set @SerieValida = 'S'
END
al parecer son 12 campos obligatorios, entonces lo que podemos hacer es, un pedido, y de ahi copiar a Factura, les comento que es lo que sucede.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.