#34133

Federico, gracias por la solucion al error.
Antes que me suceda a mi tambien quiero ya realizar la modificacion.
Confirmame que el fix sigue asi: (es un fichero .diff)

Code:
— CalloutInvoiceExt.java 2009-10-23 12:29:16.000000000 -0300
+++ CalloutInvoiceExt.java 2010-03-03 15:40:16.719604000 -0300
@@ -365,20 +365,29 @@
* PriceList int i = Env.getContextAsInt(ctx,
* “#M_PriceList_ID”); if (i != 0)
* mTab.setValue(“M_PriceList_ID”, new Integer(i)); }
*
*/

// Agregado para completar con lista de precio de la sucursal
// Modificado por Jorge Vidal – Disytel
// Fecha: 03/10/2006
setPriceList(ctx, WindowNo, mTab, mField, value);
+
+ // Verifica si la Entidad Comercial tiene asociada una lista de precios
+ // o setea una que figure como predeterminada
+ int priceListId = rs.getInt(“PO_Pricelist_ID”);
+ if (priceListId != 0) {
+ mTab.setValue(“M_PriceList_ID”, priceListId);
+ } else {
+ setPriceList(ctx, WindowNo, mTab, mField, value);
+ }

// PaymentRule
String s = rs.getString(IsSOTrx ? “PaymentRule”
: “PaymentRulePO”);
if (s != null && s.length() != 0) {
if (Env.getContext(ctx, WindowNo, “DocBaseType”).endsWith(
“C”)) // Credits are Payment Term
s = “P”;
else if (IsSOTrx && (s.equals(“S”) || s.equals(“U”))) // No
// Check/Transfer

Muchas Gracias
Hermann D. Schimpf