I dont think the link is a problem, but I suspect the dynamic update does not work when the fields are key fields. That's why I suggest that you make aliases for these fields and apply the dynamic update using the aliases. You could possibly collapse everything into one table, but how well that works depends on your data structure. Creating the aliases does not affect your model structure.
To create the aliases, modify your load script, something like this...
NUMORD As duNUMORD,
RIGORD As duRIGORD,
TIPDOC As duTIPDOC,
NUMCAR As duNUMCAR
Then modify the dynamic update to use the fields with the du.... prefix
.... WHERE duTIPDOC = 'o' .... etc
Hope that helps
You're great!! Now it works, thank you so much.
Only a note: in the script fields are case-insensitive, but in DynamicUpdateCommand they are case-sensitive and they refer to the fieldnames loaded in-memory by QlikView, which become all upper-case (you can see it for instance in Table Viewer). So in DynamicUpdateCommand always use upper-case fields names, otherwise it will throw an error.