feat(dm): migrated all the dm topics
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s
This commit is contained in:
15
backend/prodSql/queries/datamart.invoiceAddress.sql
Normal file
15
backend/prodSql/queries/datamart.invoiceAddress.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
use [test1_AlplaPROD2.0_Read]
|
||||
|
||||
SELECT deliveryAddress.humanreadableid as deliveryAddress
|
||||
,invoice.HumanReadableId as invoiceAddress
|
||||
,[Default]
|
||||
|
||||
FROM [masterData].[InvoiceAddress] (nolock) as d
|
||||
|
||||
join
|
||||
[masterData].[Address] deliveryAddress (nolock) on deliveryAddress.id = d.AddressId
|
||||
|
||||
join
|
||||
[masterData].[Address] invoice (nolock) on invoice.id = d.InvoiceAddressId
|
||||
|
||||
where [Default] = 1
|
||||
Reference in New Issue
Block a user