#46484
carlosfd
Participante

Los mensajes en en el log son los siguientes (esta remarcado el mensaje del problema) :

———–> MPayment.setR_PnRef: Length > 20 – truncated [111]
———–> MPayment.setDocumentNo: Length > 30 – truncated [111]
———–> MPayment.setDocumentNo: Length > 30 – truncated [111]
===========> MPayment.set_Value: Column not updateable – TenderType – NewValue=X – OldValue=K [111]
===========> MPayment.set_Value: CreditCardExpMM=0 – MinValue=1(1) – compared with Numeric Value=0(0) – results in 1 [111]
===========> MPayment.set_Value: CreditCardExpYY=0 – MinValue=3(3) – compared with Numeric Value=0(0) – results in 1 [111]
===========> MPayment.saveError: SaveError – La fecha de emisión es obligatoria [111]
———–> MPayment.save: beforeSave failed – MPayment[0-Libro de Caja: Caja ,Receipt=true,PayAmt=1000.00,Discount=0,WriteOff=0,OverUnder=0 [111]
===========> MWFActivity.run: run [111]
java.lang.Exception: @PaymentError@: No se pudieron guardar los cambios: : La fecha de emisión es obligatoria
at org.openXpertya.wf.MWFActivity.performWork(MWFActivity.java:1069)
at org.openXpertya.wf.MWFActivity.run(MWFActivity.java:904)
at java.lang.Thread.run(Thread.java:662)

************************************************************************************************************************************************************
************************************************************************************************************************************************************

(Estoy usando la version 16.04 de Libertya)
Lo que ocurre es que en la clase :
base/src/org.openXpertya.model.MCashLine

linea 788 esta invocando
pay.set_Value( “TenderType”,”X” );

y deberia ser
pay.setTenderType(“X”);

Debido a esto el sistema toma el modo de pago como CHEQUE en lugar de TRANSFERENCIA BANCARIA.
El mensaje de error de fecha de emisión, hace referencia a la fecha de emisión del cheque.

  • Esta respuesta fue modificada hace 6 años, 11 meses por carlosfd.