remove unnecessary nested objects since they can be joined in dwh
This commit is contained in:
parent
e2645814e4
commit
4cc9644feb
2 changed files with 0 additions and 4 deletions
|
|
@ -24,9 +24,7 @@ select
|
||||||
) as remaining_credit_in_gbp,
|
) as remaining_credit_in_gbp,
|
||||||
applied_amount,
|
applied_amount,
|
||||||
credit_note_status,
|
credit_note_status,
|
||||||
full_contact_details,
|
|
||||||
credit_note_due_date,
|
credit_note_due_date,
|
||||||
line_items,
|
|
||||||
date_string,
|
date_string,
|
||||||
due_date_string,
|
due_date_string,
|
||||||
allocations,
|
allocations,
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,8 @@ select
|
||||||
total_paid_local_curr,
|
total_paid_local_curr,
|
||||||
(total_paid_local_curr * exchange_rate_to_gbp)::numeric(18, 4) as total_paid_in_gbp,
|
(total_paid_local_curr * exchange_rate_to_gbp)::numeric(18, 4) as total_paid_in_gbp,
|
||||||
invoice_status,
|
invoice_status,
|
||||||
full_contact_details,
|
|
||||||
payments,
|
payments,
|
||||||
has_errors,
|
has_errors,
|
||||||
line_items,
|
|
||||||
credit_notes,
|
credit_notes,
|
||||||
prepayments,
|
prepayments,
|
||||||
overpayments,
|
overpayments,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue