CAPITAL Office Business Software
CAPITAL Support Forum
FAQSearchMembersGroupsRegisterProfilePM'sLogin/Out
Average cost column on purchase order

 
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Scripting & Customisation
View previous topic :: View next topic  
Author Message
Paul
Guest





PostPosted: Wed Jan 10, 2007 3:36 pm    Post subject: Average cost column on purchase order Reply with quote

I would like to add an average cost column to my purchase orders so I can see what the average cost is as well as the last cost I bought the item for. In stock control database field "C" holds my average cost. Is this possible? Can a column be added like this?
Back to top
COBS Tech Support



Joined: 09 Sep 2005
Posts: 651

PostPosted: Wed Jan 10, 2007 3:40 pm    Post subject: Reply with quote

Using Notepad create a text file holding these characters:

Code:

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Scripting & Customisation All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

phpBB Template by Vereor
Protected by Anti-Spam ACP