AP_CHECKS_ALL表存储着关于供应商付款与供应商退款的信息,记录中的每一行都记录着供应商付款或供应商退款,ORACLE应付应用为了审计目的,记录着供应商的名称与银行帐号的信息。如果您修改了手工付款或快速付款的供应商付款地址,您的Oracle应付账款应用程序维护在此表中新的地址信息。您的Oracle应付账款应用程序使用BANK_ACCOUNT_NUM,BANK_NUM,和BANK_ACCOUNT_TYPE来记录供货商的银行信息。您的Oracle应付应用程序为退款记录了CHECK_STOCK_ID虚值。
AP_INVOICE_PAYMENTS_ALL存储着为供应商做的付款发票信息,一行就是一笔付款的发票。
以下是别人的成果:
AP_INVOICES_ALL stores all of the invoices recorded in the system.
AP_INVOICE_PAYMENTS_ALL stores the records of all of the payments recorded against the invoices in AP_INVOICES_ALL
AP_CHECKS_ALL stores the records of all the checks paidinthe system
One of the functions of AP_INVOICE_PAYMENTS_ALL is that it presents the cross-reference between an invoice and a check. While, hopefully, an invoice is only paid once, a check can pay more than one invoice.
Anothrr way of stating it is that each check can have multiple invoice_payments. Each invoice could also have multiple invoice payments if you allow partial payments of invoices or if an invoice payment has been voided.
AP_INVOICES_ALL joins to AP_INVOICE_PAYMENTS_ALL via invoice_id. AP_CHECKS_ALL joins to AP_INVOICE_PAYMENTS_ALL via check_id.
With regard to your date range issue, the question of which date arises. Are you interested in invoice date or date entered into the system.
Processed is a bit of a vague term. If you mean entered in A/P, then you can mereley select count(*) from ap_invocies_all. Each invoice appears in this table only once.
With reference to total amount paid are you interested in invoice currency, ledger currency or payment currency? The amount_paid field in ap_invoices_all provides a reasonable representation of this value but you do need to consider currency so you dont add dollars to euros.
total number of invoices paid could also potentially be obtained from ap_invoices_all by select count(*) from ap_invoices_all where amount_paid = invoice_amount. This should give you a count of fully paid invoices. You could also try selecting count(distinct(invoice_id)) from ap_invoice_payments_all
There are a number of other issues to consider, including the effects of voids and stops and how they are reflected in each table
分享到:
相关推荐
AP_CHECKS_ALL AP_INVOICE_PAYMENTS_ALL AP_BANK_ACCOUNTS_ALL AP_BANK_BRANCHES AP_CHECK_STOCKS_ALL AP_EXPENSE_REPORT_HEADERS_ALL AP_EXPENSE_REPORT_LINES_ALL AP_EXPENSE_REPORTS_ALL AP_EXPENSE_...
Oracle ebs AP基表和总账关联表结构Oracle ebs AP基表和总账关联表结构
google_checks.xml 谷歌编码风格 eclipse eclipse-java-google-style.xml
《PyPI官网下载 | grumpy_checks-0.1.7.tar.gz:深入解析Python库的构建与分发》 PyPI(Python Package Index)是Python社区的重要资源库,它为全球Python开发者提供了一个集中地发布、查找和安装Python库的平台。...
checks_results = run_checks() for result in checks_results: print(result) ``` 在实际的开发流程中,这样的工具可能会集成到持续集成/持续部署(CI/CD)流程中,或者作为开发者本地开发环境的一部分,以确保代码...
python库。 资源全名:datadog_checks_base-10.2.1-py2.py3-none-any.whl
总的来说,alignak_checks_mysql-0.3.0是一个强大且实用的Python库,它简化了与MySQL数据库的交互,增强了对数据库的监控能力,对于从事Python后端开发,特别是涉及MySQL数据库的项目来说,是一个不可或缺的工具。...
本篇文章将详细探讨Python库`datadog_checks_base-11.10.0-py2.py3-none-any.whl`的核心概念、用途以及如何使用它来增强你的监控能力。 首先,让我们了解`datadog_checks_base`。这是一个由Datadog公司开发的开源库...
`docker_checks`很可能是一个与Docker容器监控或检查相关的库。 描述中的"资源来自pypi官网,资源全名:docker_checks-0.0.9.tar.gz"进一步确认了这个软件包的来源和完整名称。在PyPI上,开发者会发布他们的代码,...
`datadog_checks_dev`这个名字暗示它与Datadog有关,Datadog是一个流行的监控和日志管理平台,广泛用于跟踪应用程序性能、基础设施状态以及日志分析。`checks_dev`可能是指该库专门用于开发自定义的Datadog检查,...
soliddriver_checks库很可能包含了特定的功能模块或检查工具,可能用于测试、数据验证、性能监控或其他与驱动器(可能是硬件驱动或数据库驱动)相关的操作。"py3-none-any"部分表示这个库是为Python 3编写的,适用于...
当涉及到与MySQL数据库的交互时,`alignak_checks_mysql-1.2.0`这个Python库就显得尤为重要。这个库是专门为监控MySQL服务器状态而设计的,能够帮助开发者高效地检查和管理MySQL数据库的运行状况。 1. **Python与...
"Python库 | datadog_checks_base-20.1.0-py2.py3-none-any.whl" 是一个专门针对Python开发的库,名为datadog_checks_base的特定版本,即20.1.0版。这个库是通过Python的打包工具wheel(.whl文件)分发的,该格式...
资源来自pypi官网。 资源全名:docker_checks-0.0.11.tar.gz
资源分类:Python库 所属语言:Python 资源全名:datadog_checks_dev-3.11.0-py2.py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059