# Creating a foreign key to bind a field in the Part table to Order Entry Line detail

**URL:** <https://www.epiusers.help/t/creating-a-foreign-key-to-bind-a-field-in-the-part-table-to-order-entry-line-detail/83825>\
**Category:** Epicor ERP 10\
**Tags:** customization\
**Created:** [October 21, 2021, 7:39pm UTC](https://www.epiusers.help/t/creating-a-foreign-key-to-bind-a-field-in-the-part-table-to-order-entry-line-detail/83825 "2021-10-21T19:39:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gserra](https://www.epiusers.help/letter_avatar_proxy/v4/letter/g/8797f3/32.png) [@gserra](https://www.epiusers.help/u/gserra)\
**Post date:** [October 21, 2021, 7:39pm UTC](https://www.epiusers.help/t/creating-a-foreign-key-to-bind-a-field-in-the-part-table-to-order-entry-line-detail/83825/1 "2021-10-21T19:39:40Z")

</div>

New to E11 customizations… Need to add a field to the Order Entry Line tab which will bind to a field in the Part table. I will need to create a foreign key over to the part.mtlanalysiscode. I go into developer mode and open the Order Entry Line screen - customization, add my text field then open tools - data tools and try to create a new custom view with the Parent View set to OrderDtl, view type of Foreign Key but I cannot understand how to bring up a part field association to the field I need Any help would be appreciated. Tried to use the customization manual but it was rather short on answers. Thanks…
