Skip to main content

Cambio de Cuenta Bancaria en Facturas Proveedor

Problema / Problem: 

Cuando hay un cambio de cuenta bancaria de alguno de nuestros proveedores y tenemos documentos abiertos y necesitamos actualizar la nueva cuenta en estos documentos sin hacer el cambio Manual.

When a Supplier change their Bank account and we have open Suppliers Invoice, we need to update the Bank account after change the account in 28.20.1.2

Versión / Version: 

QAD EE 2013, 2014,2016

Solución / Solve


Se pude hacer el cambio manualmente eliminando la fila de banco por la nueva, ingresando a la opción 28.1.1.2 a la sección Financiera y dan click derecho sobre la cuenta, eliminar fila y después agregar fila para ingresar la nueva cuenta

We can made the change Manual in Supplier Invoice Modify deleting the old account and adding the new bank account.


Para la versión 2018 EE, existe la opción Bank Number Change 28.1.1.14 and 28.1.1.15
For version 2018 EE there is option 28.1.1.14 and 28.1.1.15 Supplier Invoice Bank Number Change

Programa / Program


Por medio de programa, pueden utilizar la siguiente utileria, este programa busca la cuenta default que tenga el proveedor en la tabla Creditor con la unión de la tabla banknumber.
Después busca en la Cinvoice todas las facturas que estén abiertas.
Para este programa primero se debe hacer el cambio de cuenta en el proveedor 28.20.1.2

This program look for the Supplier Code which it's the default account and look for open documents in Cinvoice and update the Banking Id.


FOR EACH  creditor WHERE creditorcode = 'COD_PVE' NO-LOCK,
    EACH  banknumber WHERE ParentObject_ID = Creditor.Creditor_ID  AND
                       BankNumberIsDefault = TRUE NO-LOCK:

      DISPLAY creditor_id FORMAT "-9999999999"
          BankNumber.BankNumber
              BankNumber.banknumber_id FORMAT "-9999999999" .

      FOR EACH cinvoice WHERE Cinvoice.Creditor_ID = Creditor.Creditor_ID AND                                                                               cinvoiceisopen = yes NO-LOCK,
              EACH cinvoicebank OF cinvoice EXCLUSIVE-LOCK:
       IF Cinvoicebank.banknumber_id <>  BankNumber.banknumber_id  THEN DO:
                        DISPLAY Creditor_ID                FORMAT "-9999999999"
                  CInvoiceReference          FORMAT "X(30)"
   Cinvoicebank.banknumber_id FORMAT "-9999999999" .                 
   /* ASSIGN cinvoicebank.banknumber_id = BankNumber.BankNumber_ID. */
   END.
      END.                                                                     
END.


Esta utileria les mostrara en pantalla que documentos actualizó 

Comments

Popular posts from this blog

Guía Completa de Oficinas Tributarias y Tax ID por País

Gestionar los impuestos puede ser un proceso complejo, especialmente cuando se trata de cumplir con las normativas internacionales. Cada país tiene sus propias reglas fiscales, oficinas tributarias y formas de identificación fiscal, conocidas comúnmente como Tax ID o NIF (Número de Identificación Fiscal). Esta guía está diseñada para simplificar esa tarea, proporcionando una lista de oficinas tributarias y los tipos de Tax ID que utilizan en distintos países. Con esta herramienta, podrás mantenerte al día con las obligaciones tributarias internacionales y asegurarte de cumplir con las normativas específicas de cada país de manera eficiente. Les comparto el listado también en una hoja de cálculo Listado países Si les interesa que agreguemos alguno más dejen sus comentarios.

Qad browse maintenance

En esta ocasión les quiero platicar acerca de un reporte nuevo en QAD, que son los Browse o Vistas. In new version of QAD we have new time of reports they name are Browse or View. Para crear un browse, necesitamos acceso a la opción Browse Maintenance o Mantenimiento de Vista To modify or create a new browse we need access to option Browse Maintenance Los pasos para crear un nuevo reporte /The steps to create a new browse are: Agregar tablas en esta parte debes agregar todas las tablas que requieras utilizar  Add tables like the entity diagram  Enlazar las tablas por los campos indice solo seleccionando el campo de una tabla y arrastrando el mouse. Made the relation with the index fields pick a filed in the table and drag to the field in the other table. Agregar los campos que quieres mostrar en el reporte en la parte de abajo. I n the button of the screen add fields that you need in your report  Guarda los cambios y ...

QAD cloud version

Since 2019 QAD launched the ERP cloud version, this version has many different names, Channel island Cloud version Adaptive ERP QAD Adaptive UX The last one is the official name QAD Adaptive ERP. In the last release in September 2022 , almost all modules are in this version, I can said the main transactions are migrated. I have experience using this ERP , I think has many good thinks ,let me mentioned some of those, Approval process flow using different criteria and define multiple approvers Business Components more easy to made customization  Import/Export tools (no more CIM) Some video trainings Budget load is more easy You could attach image to the records and use to show like a picture For fixed asset exist a very easy way to load all the asset, more reports The metrics now are dinamyc dashboard,easy to build using a browse There is an APP to connect using you mobile devices Other think that happen to QAD is they was absorbed by Thomas Bravo company  Thomas Bravo complete...