SBarnes wrote:What determines what parameters are passed into a custom form tabs stored procedure and is there a way to override it so say for example hand in extra parameters?
Those parameters are always the ID of the record (eg: InventoryID when looking at inventory maintenance form) (parameter RecID), the current logical warehouse (parameter IN_LogicalID) and the current staff member (parameter StaffIDSQLParam).
If you need more / different parameters then you'll need to add a tab the long way using a bit of code in a plugin, and handle the read, createend and copy events to display the contents.