Outstanding Payments
This commit is contained in:
parent
d33e5ff2b2
commit
0fdfe651a2
4 changed files with 70 additions and 0 deletions
|
|
@ -1426,6 +1426,23 @@ models:
|
|||
data_type: numeric
|
||||
description: ""
|
||||
|
||||
- name: total_outstanding_in_gbp
|
||||
data_type: numeric
|
||||
description: |
|
||||
The total amount outstanding in GBP, which is the sum of all authorized documents
|
||||
or due amounts for the deal account. This includes both invoices and credit notes.
|
||||
|
||||
- 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: ""
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ select
|
|||
sdm.header_total_tax_in_gbp as header_total_tax_in_gbp,
|
||||
sdm.header_total_due_local_curr as header_total_due_local_curr,
|
||||
sdm.header_total_due_in_gbp as header_total_due_in_gbp,
|
||||
sdm.total_outstanding_in_gbp as total_outstanding_in_gbp,
|
||||
sdm.outstanding_type as outstanding_type,
|
||||
sdm.id_contact as id_contact,
|
||||
sdm.id_deal as id_deal,
|
||||
sdm.contact_name as contact_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue