AP INVOICES IMPORT API(NOT request)
时间: 2023-10-24 16:06:56 浏览: 38
AP Invoices Import API是一个基于文件的API,允许您将大量的供应商发票导入到Oracle Fusion Applications中。该API支持多种文件格式,例如CSV,Excel和XML,并允许您将文件中的列映射到Oracle Fusion Applications中相应的发票属性。API还提供了处理重复发票,验证发票数据以及为每个导入的发票创建审计记录的选项。您可以使用此API自动化AP发票导入过程,减少手动数据输入,并提高发票处理的准确性和效率。为了使用该API,您需要首先创建一个包含发票数据的文件,然后使用API将该文件上传到Oracle Fusion Applications中。您可以采用各种方法来创建和准备发票数据文件,例如使用Oracle E-Business Suite或第三方工具,手动编写脚本等。在使用该API之前,您需要确保您已经准备好了正确格式的发票数据文件,并已经配置好了API的参数和选项。
相关问题
ap_invoices_all发票头字段
ap_invoices_all是Oracle E-Business Suite中存储发票信息的表。该表记录了每张发票的头部信息,包括发票号码、发票日期、供应商、付款条件、发票金额、付款状态等等。
发票号码(invoice_number)是每张发票的唯一标识,可以用于发票的查找和区分。发票日期(invoice_date)记录了发票生成的日期。
供应商(vendor_id)是发票对应的供应商的唯一标识,可以用于建立供应商与发票的关联关系。
付款条件(payment_terms_id)表示对于该发票的付款条件,例如预付款、现金付款等。
发票金额(invoice_amount)是发票上的总金额,包括税金和运费等其他费用。
付款状态(payment_status_flag)记录了该发票的付款状态,可以是已付款、未付款等。
除了上述字段外,ap_invoices_all表还包含了一些其他的字段,如发票类型、发票描述、付款方式等等,用于更详细地描述和记录每张发票的信息。
通过ap_invoices_all表,我们可以方便地查询和管理所有发票的头部信息,对于财务管理和供应链管理等方面非常有用。
帮我把这段SQL从(+)写法修改为left join写法: SELECT temp.segment8, aia.* FROM ap_invoices_all aia, (SELECT aid.invoice_id, gcc.segment8, row_number() over(PARTITION BY aid.invoice_id, gcc.segment8 ORDER BY aid.invoice_id) row_num FROM ap_invoice_distributions_all aid, gl_code_combinations gcc WHERE gcc.code_combination_id = aid.dist_code_combination_id) temp WHERE aia.invoice_num = 'CBS202305041001' AND aia.invoice_id = temp.invoice_id(+) AND temp.row_num(+) = 1
当将(+)写法修改为left join写法时,我们需要将原始查询中的两个关联条件进行修改。下面是修改后的SQL查询:
SELECT temp.segment8, aia.*
FROM ap_invoices_all aia
LEFT JOIN
(SELECT aid.invoice_id,
gcc.segment8,
row_number() over(PARTITION BY aid.invoice_id, gcc.segment8 ORDER BY aid.invoice_id) row_num
FROM ap_invoice_distributions_all aid
INNER JOIN gl_code_combinations gcc ON gcc.code_combination_id = aid.dist_code_combination_id) temp
ON aia.invoice_id = temp.invoice_id AND temp.row_num = 1
WHERE aia.invoice_num = 'CBS202305041001'
相关推荐
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)