Using Notepad create a text file holding these characters:
Code: Select all
Return { "Average Cost", "Average Cost", 10, 2, 2, "Str(Stock->C, 10, 2)" }
Place the above text file in your \CAPITAL folder, then rename the file to: R-POCOL0.MAC
Start CAPITAL and open a purchase order. From the menu select Customise|Column Options|Complete Column List. Near the bottom of the list you'll find a new user column called "Average Cost". Select this to add it to your transaction screen.