Skip to end of banner
Go to start of banner

ERM-Agreements Costs - Cost Attributes

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »


Database schemaTableAttributesDerived tableEditorStatus
folio_agreementssubscription_agreementsa_id
sa_name
sa_description

 Plus possible vendor location:

subscripton_agreement:
sa_vendor_reference → agreements:org

subscripton_agreement_org
  - sao_org_fk → agreements:org
  - sao_role → rdv_value

Knowledgebase!!!!!
package:
pkg_vendor_id → agreements:org
https://github.com/folio-org/folio-analytics/blob/erm/sql/derived_tables/erm_agreements_subscription_agreement.sqlAxelneed to convert for MetaDB
folio_agreementsentitlementent_idhttps://github.com/folio-org/folio-analytics/blob/erm/sql/derived_tables/erm_agreements_subscription_agreement_entitlement.sqlAxelneed to convert for MetaDB
folio_agreementsremote_license_linkrll_owner (sa_id)
rol_remote_id (lic_id)

Stefan
folio_organizationsorganizationsname (for invoice & purchase order)purchase_order_transactions
invoice_transactions
Axeldone
folio_licenseslicenselic_id
lic_name

Stefan
folio_agreementsorder_linepol_owner_fk → ent_id
pol_id → po_line_id (purchase_order_transactions)
Add with left join to erm_agreements_subscription_agreement_entitlementAxel

folio_orders
folio_finance

purchase_order
po_lines
transactions
...https://github.com/folio-org/folio-analytics/blob/main/sql_2g/derived_tables/purchase_order_transactions.sqlAxeldone
folio_invoices
folio_finance

invoices
invoice_lines
transactions

...https://github.com/folio-org/folio-analytics/blob/main/sql_2g/derived_tables/invoice_transactions.sqlAxeldone
folio_agreementscustoms_properties ??? Needed?
https://github.com/folio-org/folio-analytics/blob/erm/sql/derived_tables/erm_agreements_custom_property.sqlAsk ERM Teamneed to convert for MetaDB
  • No labels