Re:Re: Certificado de retención

Inicio Foros Foro principal Ayuda Certificado de retención – solucionado Re:Re: Certificado de retención

#36780
Carranza Carlos
Participante

Estimados :
Es muy preocupante.
Activé el log a nivel ALL

[attachment=304]Herramientas.png[/attachment]

Puse en ejecución el servidor de aplicaciones y se generaron 3 logs, todos en el subdirectorio /ServidorOXP/log, los cuales contienen lo siguiente :

el 0
*** 2012-09-19 08:03:44.262 OpenXpertya Log (CLogFile) ***
08:02:25.944 CLogMgt.setLevel: ALL
08:02:25.944 Env.setContext: En setContext1 con ctx={$Element_PJ=Y, $C_AcctSchema_ID=1010016, #ShowTrl=Y, #User_Level= CO, #AD_Role_ID=1010092, $Element_MC=Y, #IsPOSJournalActive=N, $HasAlias=Y, #ShowAcct=Y, #C_BP_Group_ID=1010045, #AD_Role_Name=Total, #Date=2012-09-19 00:00:00, #C_TaxCategory_ID=1010048, #AD_Session_ID=1028010, #M_Product_Category_ID=1010146, P|AtributosHeterogeneos=Y, #C_ConversionType_ID=114, $Element_OO=Y, P103|Type=S, #AD_Client_Name=Vaguitas S.R.L., #M_Locator_ID=1010290, #AD_Client_ID=1010016, #M_Warehouse_ID=1010052, P189|DataType=S, #User_Org=0,1010057, #C_Region_ID=1000027, #AD_User_ID=1010717, P|InfoRowCountMethod=C, #AD_User_Name=AdminLibertya, #AD_PrintPaper_ID=103, #C_PaymentTerm_ID=1010083, P|LOCAL_AR=Y, java.naming.provider.url=jnp://localhost:1099, $Element_BP=Y, $C_Currency_ID=118, 0|WindowName=Menú, AutoCommit=Y, #C_Country_ID=119, P|TransferDueDateDays=1, #SalesRep_ID=1010717, #M_ProductUPC_ID=1010018, #Printer=HP-Officejet-Pro-8000-a809, #AD_Org_Name=Fábrica, P|C_Dockey=018a9567ea15470312c40d3e5d6bbcd4, #PrintPreview=Y, #AD_PrintTableFormat_ID=1000006, #C_CashBook_ID=1010044, #AD_PrintFont_ID=130, #YYYY=Y, #AD_PrintColor_ID=100, #C_UOM_ID=1000000, P|InfoMaxRowsAllowed=1000, #AD_Language=es_AR, #ShowAdvanced=Y, #AD_Org_ID=1010057, #C_Letra_Comprobante_ID=1010010, #GL_Category_ID=1010098, P|L_AR_CFMontoMaximo=1000, #M_PriceList_ID=1010595, P|AD_FTDoc=1002145, #C_Tax_ID=1010084, $Element_PR=Y, $Element_SR=Y, #StdPrecision=2, P1010098|InventoryKind=IO, $Element_AC=Y}
Contex= #Printer
value= HP-Officejet-Pro-8000-a809
08:02:25.944 Env.setContext: Context #Printer==HP-Officejet-Pro-8000-a809
08:02:25.944 AEnv.showCenterScreen: Aparicion de la ventana
08:02:25.944 Msg.getMsg: En getMsg:—> Ad_languaje=es_AR Y AD_Message= MemoryInfo
08:02:25.944 DB_PostgreSQL.convertStatement: En DBposgresSQL.java/convertStatement -sql:= SELECT COUNT(*) FROM R_Request WHERE (SalesRep_ID=? OR AD_Role_ID=?) AND Processed=’N’ AND (DateNextAction IS NULL OR TRUNC(DateNextAction) <= TRUNC(SysDate)) AND AD_Client_ID=1010016 AND AD_Org_ID IN(1010057,0)
08:02:25.944 Convert.convertIt: En Conver.java/converIT, con la sql convertida:= [SELECT COUNT(*) FROM R_Request WHERE (SalesRep_ID=? OR AD_Role_ID=?) AND Processed=’N’ AND (DateNextAction IS NULL OR DATE_Trunc(‘day’,DateNextAction) <= DATE_Trunc('day',CURRENT_TIMESTAMP)) AND AD_Client_ID=1010016 AND AD_Org_ID IN(1010057,0)]
08:02:25.944 CPreparedStatement.executeQuery: estamos p_stmt= Pooled statement wrapping physical statement SELECT COUNT(*) FROM R_Request WHERE (SalesRep_ID=’1010717′ OR AD_Role_ID=’1010092′) AND Processed=’N’ AND (DateNextAction IS NULL OR DATE_Trunc(‘day’,DateNextAction) <= DATE_Trunc('day',CURRENT_TIMESTAMP)) AND AD_Client_ID=1010016 AND AD_Org_ID IN(1010057,0)
08:02:25.944 DB_PostgreSQL.convertStatement: En DBposgresSQL.java/convertStatement -sql:= SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=? AND t.AD_Language=?
08:02:25.944 Convert.convertIt: En Conver.java/converIT, con la sql convertida:= [SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=? AND t.AD_Language=?]
08:02:25.944 CPreparedStatement.executeQuery: estamos p_stmt= Pooled statement wrapping physical statement SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=’R_REQUEST_ID’ AND t.AD_Language=’es_AR’
08:02:25.944 DB_PostgreSQL.convertStatement: En DBposgresSQL.java/convertStatement -sql:= SELECT COUNT(*) FROM AD_Note WHERE AD_Client_ID=? AND AD_User_ID IN (0,?) AND Processed=’N’
08:02:25.944 Convert.convertIt: En Conver.java/converIT, con la sql convertida:= [SELECT COUNT(*) FROM AD_Note WHERE AD_Client_ID=? AND AD_User_ID IN (0,?) AND Processed=’N’]
08:02:25.944 CPreparedStatement.executeQuery: estamos p_stmt= Pooled statement wrapping physical statement SELECT COUNT(*) FROM AD_Note WHERE AD_Client_ID=’1010016′ AND AD_User_ID IN (0,’1010717′) AND Processed=’N’
08:02:25.944 DB_PostgreSQL.convertStatement: En DBposgresSQL.java/convertStatement -sql:= SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=? AND t.AD_Language=?
08:02:25.944 Convert.convertIt: En Conver.java/converIT, con la sql convertida:= [SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=? AND t.AD_Language=?]
08:02:25.944 CPreparedStatement.executeQuery: estamos p_stmt= Pooled statement wrapping physical statement SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=’AD_NOTE_ID’ AND t.AD_Language=’es_AR’
08:02:25.944 DB_PostgreSQL.convertStatement: En DBposgresSQL.java/convertStatement -sql:= SELECT * FROM AD_WF_Activity a WHERE a.Processed=’N’ AND a.WFState=’OS’ AND ( a.AD_User_ID=? OR EXISTS (SELECT * FROM AD_WF_Responsible r WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND COALESCE(r.AD_User_ID,0)=0 AND (a.AD_User_ID=? OR a.AD_User_ID IS NULL)) OR EXISTS (SELECT * FROM AD_WF_Responsible r WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND r.AD_User_ID=?) OR EXISTS (SELECT * FROM AD_WF_Responsible r INNER JOIN AD_User_Roles ur ON (r.AD_Role_ID=ur.AD_Role_ID) WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND ur.AD_User_ID=?)) ORDER BY a.Priority DESC, Created
08:02:25.944 Convert.convertIt: En Conver.java/converIT, con la sql convertida:= [SELECT * FROM AD_WF_Activity a WHERE a.Processed=’N’ AND a.WFState=’OS’ AND ( a.AD_User_ID=? OR EXISTS (SELECT * FROM AD_WF_Responsible r WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND COALESCE(r.AD_User_ID,0)=0 AND (a.AD_User_ID=? OR a.AD_User_ID IS NULL)) OR EXISTS (SELECT * FROM AD_WF_Responsible r WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND r.AD_User_ID=?) OR EXISTS (SELECT * FROM AD_WF_Responsible r INNER JOIN AD_User_Roles ur ON (r.AD_Role_ID=ur.AD_Role_ID) WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND ur.AD_User_ID=?)) ORDER BY a.Priority DESC, Created]
08:02:25.944 CPreparedStatement.executeQuery: estamos p_stmt= Pooled statement wrapping physical statement SELECT * FROM AD_WF_Activity a WHERE a.Processed=’N’ AND a.WFState=’OS’ AND ( a.AD_User_ID=’1010717′ OR EXISTS (SELECT * FROM AD_WF_Responsible r WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND COALESCE(r.AD_User_ID,0)=0 AND (a.AD_User_ID=’1010717′ OR a.AD_User_ID IS NULL)) OR EXISTS (SELECT * FROM AD_WF_Responsible r WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND r.AD_User_ID=’1010717′) OR EXISTS (SELECT * FROM AD_WF_Responsible r INNER JOIN AD_User_Roles ur ON (r.AD_Role_ID=ur.AD_Role_ID) WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND ur.AD_User_ID=’1010717′)) ORDER BY a.Priority DESC, Created
08:02:25.944 WFActivity.loadActivities: #0(7ms)
08:02:25.944 DB_PostgreSQL.convertStatement: En DBposgresSQL.java/convertStatement -sql:= SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=? AND t.AD_Language=?
08:02:25.944 Convert.convertIt: En Conver.java/converIT, con la sql convertida:= [SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=? AND t.AD_Language=?]
08:02:25.944 CPreparedStatement.executeQuery: estamos p_stmt= Pooled statement wrapping physical statement SELECT t.Name, t.PO_Name FROM AD_Element_Trl t, AD_Element e WHERE t.AD_Element_ID=e.AD_Element_ID AND UPPER(e.ColumnName)=’AD_WF_ACTIVITY_ID’ AND t.AD_Language=’es_AR’
08:02:25.944 AMenu.updateInfo: Total de Memoria usada por la máquina virtual Java 210.048 Kb – Libres 81.479 Kb, Processors=2, Requests=0, Notes=2, Activities=0,localhost{ThinkPad-T60-vaguitas_dat-libertya}
08:02:25.944 ADialog.ask: ExitApplication? – null

El .1
*** 2012-09-19 08:02:50.282 OpenXpertya Log (CLogFile) ***


> MSystem.setDBInstance: Length > 60 – truncated
===========> Doc_Invoice.post: Cannot lock Document – ignored: C_Invoice_ID=1011621 [12]
===========> Doc_Order.post: Cannot lock Document – ignored: C_Order_ID=1003903 [12]
===========> Doc_Order.post: Cannot lock Document – ignored: C_Order_ID=1003909 [12]
===========> Doc_Order.post: Cannot lock Document – ignored: C_Order_ID=1003924 [12]


> EMail.isValid: No To [16]


> EMail.isValid: No To [16]
===========> EMail.send: send(ME): Unknown SMTP host: smtp.openxpertya.org;
nested exception is:
java.net.UnknownHostException: smtp.openxpertya.org: smtp.openxpertya.org [16]


> EMail.isValid: No To [16]


> EMail.isValid: No To [16]


> EMail.isValid: No To [16]


> EMail.isValid: No To [16]
===========> EMail.send: send(ME): Unknown SMTP host: smtp.openxpertya.org;
nested exception is:
java.net.UnknownHostException: smtp.openxpertya.org: smtp.openxpertya.org [16]


> EMail.isValid: No To [16]


> EMail.isValid: No To [16]

*** 2012-09-19 08:06:36.652 OpenXpertya Log (CLogFile) ***

y el .2
*** 2012-09-19 08:06:18.555 OpenXpertya Log (CLogFile) ***
===========> VOrdenPagoModel.doPostProcesarNormal: doPostProcesarNormal [11]
java.lang.Exception: @CollectorInvoiceLineSaveError@
at org.openXpertya.process.RetencionIIBB.crearFacturaRecaudador(RetencionIIBB.java:253)
at org.openXpertya.process.RetencionIIBB.save(RetencionIIBB.java:186)
at org.openXpertya.process.GeneratorRetenciones.save(GeneratorRetenciones.java:168)
at org.openXpertya.apps.form.VOrdenPagoModel.doPostProcesarNormal(VOrdenPagoModel.java:1855)
at org.openXpertya.apps.form.VOrdenPagoModel.doPostProcesar(VOrdenPagoModel.java:1714)
at org.openXpertya.apps.form.VOrdenPago.cmdProcessActionPerformed(VOrdenPago.java:1553)
at org.openXpertya.apps.form.VOrdenPago.access$500(VOrdenPago.java:84)
at org.openXpertya.apps.form.VOrdenPago$11.actionPerformed(VOrdenPago.java:537)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)

*** 2012-09-19 08:06:27.552 OpenXpertya Log (CLogFile) ***

No encuentro otro mensaje más que este.
Ayer estuve debuggeando el código pasó por la generación c_invoiceline, con datos todos lógicos, buenos y el insert bien armado; siguió de largo en el commit y fue a generar el taxheader y creo que allí falló.
Al la operación la probé con el artículo “retención de iiBB” como Exento y como con IVA General (21%) y el error fue el mismo. Cuál debería tener?
Será algo del plan de cuentas? Este artículo debería tener alguna cuenta especial?
La entidad comercial AFIP, debería tener un plan de cuentas especial?