When a New article is added, the leverancierNr is accepted but the artikellijsten page shows up with an Empty leverancierNr.
In addition, the artikellijst does not show the concat but only the artikelNr.
The artikelNr as well as the prijs however show the correct inputs.
What do I overlook?
'ArtikelLijsten': collection ['ArtikelLijst'] {
'LeverancierNr': text -> ^ .'Relaties'[] where 'Crediteur' -> $ .'Crediteur'?'ja'
'ArtikelNr': text
'prijs': number 'euro'
'ArtikelLijst': text @default: concat ( >'LeverancierNr'.'RelatieNr', .'ArtikelNr' )
}
'ArtikelLijst toevoegen': action {
'LeverancierNr': text -> .'Relaties'[] .'Crediteur'?'ja'
'ArtikelNr': text
'prijs': number 'euro'
} => update .'ArtikelLijsten' = create (
'ArtikelNr' = @ .'ArtikelNr'
'prijs' = @ .'prijs'
)