Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Getting unit price to match unit cost

Getting unit price to match unit cost

Getting unit price to match unit cost

Using ACCPAC v5.0 modules Corporate Edition with Pervasive.SQL.  I have a unique situation where my users always sell items at the same cost they buy them at.  Is there any way to set up Order Entry or Inventory Control so that the unit price always matches the unit cost?  I know there are diffent costing methods (we are currently using FIFO), but how can I get the price to change when the cost changes?  For instance, if I bought 10 items at $10 and then another 5 at $15, I want the unit price when I enter an order to show as $10 until all of the 10 items at that price are used up, and then change to $15 when we get to those items.  Is anyone aware of any way to do this?

Thanks in advance,


RE: Getting unit price to match unit cost

The only way I can think of is ...
Create a  Price list that is linked to the ICILOC via an Update Trigger on your Pervasive database unfortunately you will have to always run a day end to get the latest costs


RE: Getting unit price to match unit cost

Thanks for the response Relloc.  So basically you are suggesting putting a trigger on the ICILOC table that will update the base price in the ICPRIC table so that it matches the "RecentCost" or "LastCost" value from the ICILOC table whenever that value changes. Sorry to reiterate, but I am just trying to wrap my head around it.  Why would I have to run a day end?  Is that because the ICLOC table costs fields only get updated when Day End is run?


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close