Steps to change or add fields in tag generation
To add a new field in tag you need to add field through additional field.
For instance, in Purchase requisition if you need to add sub project code-
You need to add that field through additional field as view field
Add default value as SQL
From customization write sql
Add relation fields as suggested in the images below
You can edit tag as per your requirements