#36824
Dario Parente
Miembro
dparente wrote:
Hola.
estuve importando articulos desde una lista de precios para probar si se corrijio un fallo que tenia libertya en su version 11.05 la cual no actualizaba el articulo si ya estaba cargado y daba error de clave duplicada, y debo decir que en esta version esta corregido y ya se puede importar listas de articulos.

Siguiendo mis pruebas ahora tengo problemas con las tarifas, una ves importada la lista de articulos la cual tiene el precio de tarifa, quiero generar una tarifa de costo por ejemplo aplicando una regla definida y sin colocar en el modulo de tarifa – version la tarifa base, cosa que me tome el precio de tarifa base de la lista importada, aplico crear y luego cuando voy al menu importar listas no me crea ningun precio ni para tarifa base, ni precio de referencia.

Puede existir algun error?, alguien provo generar tarifas en 12.04?
Gracias dejo grafico de dos pantallas, para que se vea mejor.

[attachment=309]tarifa12_04.png[/attachment]

[attachment=310]tarifa12_05.png[/attachment]

Ampliando un poco y como no habia visto el error aca se los dejo.
Algo parecido habia ocurrido en una prueba que realice en libertya 11.05 que era con respecto a PL/JAVA. segun este post https://www.libertya.org/comunidad/foro-libertya/7-instalacion-y-configuracion/3407-instalacion-nueva-de-libertya-1105?limit=6&start=18

Pero en esta instalacion beta no lleva PL/JAVA, sera por eso que no anda?
Bueno les dejo el error.

DB.executeUpdate: Update=Update I_ProductPrice SET Pricelist=(select COALESCE(currencyconvert( po.PriceList, po.C_Currency_ID, 118, mdsl.ConversionDate, 114, 1010016, 0),0) FROM M_Product_PO po, M_DiscountSchemaLine mdsl,I_ProductPrice tpp, M_Product p WHERE p.M_Product_ID = po.M_Product_ID AND po.M_Product_ID = tpp.M_Product_ID AND tpp.M_Product_ID=1019317 AND po.IsCurrentVendor = ‘Y’ AND po.IsActive = ‘Y’ AND mdsl.M_DiscountSchemaLine_ID=1010165 AND p.M_AttributeSet_ID is null), PriceStd=(select COALESCE(currencyconvert( po.PriceList, po.C_Currency_ID, 118, mdsl.ConversionDate, 114, 1010016, 0) , 0) FROM M_Product_PO po, M_DiscountSchemaLine mdsl,I_ProductPrice tpp, M_Product p WHERE p.M_Product_ID = po.M_Product_ID AND po.M_Product_ID = tpp.M_Product_ID AND tpp.M_Product_ID=1019317 AND po.IsCurrentVendor = ‘Y’ AND po.IsActive = ‘Y’ AND mdsl.M_DiscountSchemaLine_ID=1010165 AND p.M_AttributeSet_ID is null), PriceLimit=(select COALESCE(currencyconvert( po.PricePO, po.C_Currency_ID, 118, mdsl.ConversionDate, 114, 1010016, 0) , 0) FROM M_Product_PO po, M_DiscountSchemaLine mdsl,I_ProductPrice tpp, M_Product p WHERE p.M_Product_ID = po.M_Product_ID AND po.M_Product_ID = tpp.M_Product_ID AND tpp.M_Product_ID=1019317 AND po.IsCurrentVendor = ‘Y’ AND po.IsActive = ‘Y’ AND mdsl.M_DiscountSchemaLine_ID=1010165 AND p.M_AttributeSet_ID is null) WHERE CreatedBy = 1010717 AND M_DiscountSchemaLine_ID=1010165 AND I_ProductPrice.m_product_id= 1019317 [null] [108]
org.postgresql.util.PSQLException: ERROR: function currencyconvert(numeric, integer, integer, timestamp without time zone, integer, integer, integer) does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 54; State=42883; ErrorCode=0
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:455)
at $Proxy1.executeUpdate(Unknown Source)
at org.openXpertya.util.CPreparedStatement.executeUpdate(CPreparedStatement.java:245)
at org.openXpertya.util.DB.executeUpdate(DB.java:907)
at org.openXpertya.util.DB.executeUpdate(DB.java:892)
at org.openXpertya.util.DB.executeUpdate(DB.java:848)
at org.openXpertya.process.ProductPriceTemp.copyPrices(ProductPriceTemp.java:562)
at org.openXpertya.process.ProductPriceTemp.discountLine(ProductPriceTemp.java:364)
at org.openXpertya.process.ProductPriceTemp.doIt(ProductPriceTemp.java:159)
at org.openXpertya.process.SvrProcess.process(SvrProcess.java:158)
at org.openXpertya.process.SvrProcess.startProcess(SvrProcess.java:114)
at org.openXpertya.apps.ProcessCtl.startProcess(ProcessCtl.java:582)
at org.openXpertya.apps.ProcessCtl.run(ProcessCtl.java:291)