Overview: Add a similar property in all fields

If we add new custom fields to tables & pages such as Sales Order, Purchase Order, and Transfer Order and need to flow them to the posted tables as well we add the fields with the same ID in posted tables and expose the fields through page to capture the values after posting.

Now if we add a whole custom tab with a custom table i.e., Custom Ship-to-Code tab with new fields added in Custom Ship-to-Code Table, and add the tab in a posted document as well to capture the values.

The situation here is – By taking an example of Posted Transfer Receipts, we can add a Tab of Ship-to Code custom fields but they will be editable which not a good solution in Posted Documents is. We need to make them non-editable for the users.

Property Step:

Here we need to add the property “Editable = False” in all fields exposed through the page.

To use a property in all fields at once of a table or a page is possible in VS Code.

We can add the same property in all fields of a table or a page in one go.

Click CRTL+F2 -> End -> Enter -> add property i.e., Editable = False and Publish

add-property

The outcome is – that custom fields are visible but non-editable from Posted Transfer Receipts Page.

End-note

Be mindful that the separate steps will vary pivot on the table in similar fields you’re using. If you provide more details about the different software or systems with Business Central you’re working with, Business Central Consultants can offer more specific guidance.

Avatar photo

Sandip Sodha

Sandip Sodha is an experienced Microsoft Dynamics Business Central consultant. with the strong foundation in the concept, he knows how to make businesses run smoothly and works with organizations to create solutions that remove inefficiencies, simplify workflows, and bring real results. Sandeep is known for his clear strategy and focus on results. He ensures every Business Central rollout supports the company’s bigger goals, helping businesses grow, remain flexible, and succeed in a challenging market.

Scroll to Top