Skip to content

Access master model data from the detail create form #250

Answered by LukeTowers
envas asked this question in Q&A
Discussion options

You must be logged in to vote

Are you using a relation controller to create the OrderItem, and you're looking to get the Order ID from the OrderItem create form? This should be easy enough by looking directly at the values sent over the AJAX request, although that won't work as well if the Order record itself doesn't exist prior to the OrderItem being created.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@envas
Comment options

@LukeTowers
Comment options

@envas
Comment options

@LukeTowers
Comment options

Answer selected by envas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants