New model for deals total due amount
This commit is contained in:
parent
2746977671
commit
d50442e887
6 changed files with 129 additions and 82 deletions
|
|
@ -322,17 +322,6 @@ models:
|
|||
data_type: numeric
|
||||
description: ""
|
||||
|
||||
- name: outstanding_type
|
||||
data_type: character varying
|
||||
description: |
|
||||
Field indicating whether Truvi ows more money to the deal account ('Outstanding Resolutions')
|
||||
or the deal account owes more money to Truvi ('Outstanding Invoices').
|
||||
data_tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- "Outstanding Resolutions"
|
||||
- "Outstanding Invoices"
|
||||
|
||||
- name: id_contact
|
||||
data_type: character varying
|
||||
description: ""
|
||||
|
|
@ -567,4 +556,48 @@ models:
|
|||
data_type: character varying
|
||||
description: "The currency of the transaction, represented in ISO 4217 format."
|
||||
|
||||
- name: int_xero__deals_due_amounts
|
||||
description: |
|
||||
This model provides a view on outstanding amounts related to deals,
|
||||
specifically focusing on the amounts owed by Truvi or to Truvi.
|
||||
This includes all AUTHORISED invoices and credit notes.
|
||||
|
||||
columns:
|
||||
|
||||
- name: id_contact
|
||||
data_type: character varying
|
||||
description: |
|
||||
Unique identifier of a contact.
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: id_deal
|
||||
data_type: character varying
|
||||
description: |
|
||||
Identifier of the account.
|
||||
data_tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: contact_name
|
||||
data_type: character varying
|
||||
description: "Name of the contact associated with the deal."
|
||||
|
||||
- name: total_due_amount_in_gbp
|
||||
data_type: numeric
|
||||
description: |
|
||||
Total outstanding amount in GBP, which is the sum of all AUTHORISED invoices and credit notes
|
||||
for the deal, converted to GBP.
|
||||
|
||||
- name: outstanding_type
|
||||
data_type: character varying
|
||||
description: |
|
||||
Field indicating whether Truvi ows more money to the deal account ('Outstanding Resolutions')
|
||||
or the deal account owes more money to Truvi ('Outstanding Invoices').
|
||||
data_tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- "Outstanding Resolutions"
|
||||
- "Outstanding Invoices"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue