I am building a custom quoting system.
1 Quote can have multiple Revisions. 1 Revision can have multiple items.
Example:
Quote 12345 Rev A
Item1 - $1.00
Item2 - $2.00
Item3 - $1.50
then, some changes can (does) occur, new items can be inserted, and price can change, therefore a Rev B is created:
Quote 12345 Rev B
Item1 - $1.75
Item2 - $2.00
Item3 - $1.50
Item4 - $13.00
My question is:
How can all the items from Rev A automatically be passed to Rev B when created? (at times there are 100’s of items, and we dont want to re-type them all)
What would be the correct method to pass the latest Rev items into the new one?
1 Quote can have multiple Revisions. 1 Revision can have multiple items.
Example:
Quote 12345 Rev A
Item1 - $1.00
Item2 - $2.00
Item3 - $1.50
then, some changes can (does) occur, new items can be inserted, and price can change, therefore a Rev B is created:
Quote 12345 Rev B
Item1 - $1.75
Item2 - $2.00
Item3 - $1.50
Item4 - $13.00
My question is:
How can all the items from Rev A automatically be passed to Rev B when created? (at times there are 100’s of items, and we dont want to re-type them all)
What would be the correct method to pass the latest Rev items into the new one?