$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****** Script for SelectTopNRows command from SSMS ******/ | |
SELECT TOP (1000) b.[id] | |
,[batchnumber] | |
,[invoicemonth] | |
,[invoiceyear] | |
,[sending_id] | |
,[vi_number] | |
,[reference] | |
,[identification_reference] | |
,[create_date] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with lijnen as (select fl.PraktijkInternNr, fl.PraktijkNaam, case when fl.BijkomendeVerstrekkerRizivNr is null then fl.ZorgverstrekkerRizivNr else fl.BijkomendeVerstrekkerRizivNr end as rizivnr, | |
f.IdentificatiePatient, f.PatientVoornaam, f.PatientAchternaam | |
from Factuurlijnen fl | |
inner join Facturen f on fl.FactuurId = f.Id | |
where fl.FacturatiePeriodeId = '93e056c9-7338-4d90-9fdc-7d450a0ebee5' | |
and | |
fl.PraktijkInternNr in (10156, |