Log on to the customers SQL Management Studio and connect to the correct instance with the following details:
username: sa
password: Gs0y1tuAs6yrt
If vStockHeader error
Click the '+' button next to 'Databases', '[Customer's FM Database]', 'Views'
FInd the view specified in the error message (will be vWorksOrderHeader or vStockHeader)
Right click on the view and go to 'Script view as' and then 'Alter to'; and click New Query Window
Find the places in the view where it references 'STANDARD_COST_LABOUR' (should be 2 occurrences)
Change these to 'STANDARD_COST_LABOUR_TIME'
press F5 to run the script
If vWorksOrderHeader error
Click the '+' button next to 'Databases', '[Customer's FM Database]', 'Views'
FInd the view specified in the error message (will be vWorksOrderHeader or vStockHeader)
Right click on the view and go to 'Script view as' and then 'Alter to'; and click New Query Window
Find the places in the view where the reference to 'Stock_Type' is underlined in red as an error (should be 4 occurrences
Change these to say 'STKHEAD.Stock_Type'
press F5 to run the script
