How to get a field auto populate from another module's (from subpanel view) field on create view?

I need to get a field from a module and set the value of this field on the name field when I'm creating a new record. For example, in a custom module, we have a field called "work product", when we are creating a new record in subpanel module we want to show the consecutive value (from our custom module) on the work product field. 

Below is the code : 

Although i am getting the field value from parent module but  it's showing the below error when i am trying to create new record from subpanel view using + button .

this.context.parent.get(...).get is not a function at ....