[INTERNAL ERROR] TypeError: Cannot use 'in' operator to search for 'LineNum' in null
at InsertBuilder._traverseValue (/Users/gwolf/Documents/Projects/cap/sap-business-one-odata-cap/node_modules/@sap/cds-runtime/lib/cds-sql/sql-builder/InsertBuilder.js:222:16)
as soon as I try to fill the data in init.js also with the array DocumentLines from the result that is returned by the sandbox service from api.sap.com.
I guess this is caused by the limitation described for array of. Would be good to know when this feature will be supported.
Hello CAP Team,
when I execute
cds watch
for the branch cleared-b1-metadata of the project sap-business-one-odata-cap I get the following error:[INTERNAL ERROR] TypeError: Cannot use 'in' operator to search for 'LineNum' in null at InsertBuilder._traverseValue (/Users/gwolf/Documents/Projects/cap/sap-business-one-odata-cap/node_modules/@sap/cds-runtime/lib/cds-sql/sql-builder/InsertBuilder.js:222:16)
as soon as I try to fill the data in init.js also with the array DocumentLines from the result that is returned by the sandbox service from api.sap.com.
I guess this is caused by the limitation described for array of. Would be good to know when this feature will be supported.
Best regards Gregor