Greetings
On that day you really took nice interest and tried to help
just to update it was done in this way
SELECT TOP 10 'Sales Order' AS "Type", "DocNum", "DocDate", "CardCode", "CardName", '17' AS "ObjectType", "DocEntry" FROM "ORDR"
-----where $[$40.0.0]='C'
regards