I have a job tracking site with three node types:

Job Ticket
Task
Task Variable

Each Job Ticket can have one or many Tasks. Each Task can have one or many Task Variables, which determine the rate the task is billed at. All three content types have reciprocal entity references.

The Tasks for a Job Ticket are generated by a Rule after the Job Ticket is created. Tasks can be added or deleted based on the needs of the ticket. Tasks are Typed: Prep, Translation, Production, Proofing, Administrative, etc.

Task Variables are specific to Task Type (Production, Administrative, Proofing, etc.) and Client. There are a couple of hundred of them at this point.

To simplify the selection process, the Task Variable Entity Reference field for each Task is using a View to do Entity Selection, based on Client and Task Type.

So far, so good.

What I would like to do is set up a QuickTab in the Job Ticket that contains a View of all the Tasks referenced by the Job Ticket. I have set this up as an editable table so all the tasks can be updated (estimated time, actual time, etc.) from one location. That way, when a new Job Ticket is created, an estimate can be created by setting the Task Variable and estimated units for all of the Tasks, then using calculated fields to generate a total.

The issue is that I'd like to include the Task Variable field for each Task as an editable field.

Because I've now got a View inside a View, the Task Variable field breaks.

Is there some way to pass the Node nid of each View row as an argument to the View that sets the Task Variable field? It seems like this should be doable; perhaps some PHP code as the default argument. But at this point I haven't been able to make it work.

Comments

drupup created an issue.