1. Open the Store component in the editor.
2. Add code to the PopulateDocument method to set the p_TITLE property for the Document object. Your code should look like the following:
#Document.p_TITLE := #xEmployeeTitle
Note: The Store component's Open method fetches all fields for the Employee record, so no change is necessary to this logic.
3. Add code to the ExtractDocument routine to set Employee Title from the corresponding Document property. Your code should look like the following:
#xEmployeeTitle := #Document.p_TITLE
4. Compile the Store component.