﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4623	Nested record cannot be used directly in a class.	jabozzo@…	Per Östlund	"When using a record, which in turns has an array of records, the fields of the records in the array cannot be accessed directly without the Check Model function complaining.

In the example, the record B contains instances of record A. Verbose, is a model which first extracts A from B (field z) and stores in a parameter named hack. Then hack fields (in this case, x) is accessed and stored in another parameter. Bug model in the other hand, access directly x through z, without intermediate variables and Check Model Complains.

Here is the output for each Check model.

[1] 22:54:48 Scripting Notification
Check of RecordUse.Verbose completed successfully.

[1] 22:54:52 Translation Error
Internal error Expression.subscriptExp failed on {{RecordBag.A(0.0, 0.0), RecordBag.A(0.0, 0.0)}, {RecordBag.A(0.0, 0.0), RecordBag.A(0.0, 0.0)}, {RecordBag.A(0.0, 0.0), RecordBag.A(0.0, 0.0)}}


[2] 22:54:52 Scripting Notification
Check of RecordUse.Bug completed successfully."	defect	closed	high	1.19.0	Frontend	v1.13.0-dev-nightly	fixed		
