PEPPOL_INVOICE_XV
PEPPOL_INVOICE_BILLING_REFERENCE_XV
PEPPOL_INVOICE_ADDITIONAL_DOCUMENT_REFERENCE_XV
PEPPOL_INVOICE_ACCOUNTING_SUPPLIER_PARTY_XV
PEPPOL_INVOICE_ACCOUNTING_CUSTOMER_PARTY_XV
PEPPOL_INVOICE_PAYEE_PARTY_XV
PEPPOL_INVOICE_TAX_REPRESENTATIVE_PARTY_XV
PEPPOL_INVOICE_DELIVERY_XV
PEPPOL_INVOICE_PAYMENT_MEANS_XV
PEPPOL_INVOICE_PAYMENT_TERMS_XV
PEPPOL_INVOICE_PREPAID_PAYMENT_XV
PEPPOL_INVOICE_ALLOWANCE_CHARGE_XV
PEPPOL_INVOICE_TAX_TOTAL_XV
PEPPOL_INVOICE_TAX_TOTAL_TAX_SUBTOTAL_XV
PEPPOL_INVOICE_INVOICE_LINE_XV
PEPPOL_INVOICE_INVOICE_LINE_DOCUMENT_REFERENCE_XV
PEPPOL_INVOICE_INVOICE_LINE_ALLOWANCE_CHARGE_XV
PEPPOL_INVOICE_INVOICE_LINE_ITEM_ADDITIONAL_ITEM_PROPERTY_XV
PEPPOL_INVOICE_INVOICE_LINE_ITEM_CLASSIFIED_TAX_CATEGORY_XV
PEPPOL_INVOICE_INVOICE_LINE_ITEM_COMMODITY_CLASSIFICATION_XV
ビューのDDLは記事の末尾に添付します。
alter table peppol_documents add (result xmltype);
update peppol_documents d
set
d.result =
(
select i."Invoice" from peppol_invoice_xv i
where d.id = i.invoice_id
)
;
<xd:delete-node xd:node-type="comment" xd:xpath="/oraxdfns_0:Invoice[1]/comment()[1]"/>
ビューを作成するDDL