Jump to content

Portal Calculation help


This topic is 2216 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Im currently using a portal to relay certain information from my main database, the information that is related between the two are the fields of 'Brand' and 'Part Number'.

 

The only other fields i have in my portal will be

 

1. Sale Or Purchase (a drop down list to select either sale or purchase).

2. Quantity

3. Date

4. Price

Is there any kind of calculation so that when i select either the 'sale' or 'purchase' option in the drop down list that it will either add or subtract the quantity i then enter into my quantity field, this way my stock list can keep up to date with the correct quantities?

 

Example

Brand - ddd

Part No. - 123

Sale selected

Quantity - 3

Date - 22/02/2013

 

so after i have entered all of this data because i have sold 3 i need my calculation to take 3 away from the overall stock, and for the calculation to add 3 if this was a purchase

 

hope this makes sense

 

thank you

Edited by Lee Smith
Removed General Topic Notice
Link to comment
Share on other sites

This topic is 2216 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.