-
Notifications
You must be signed in to change notification settings - Fork 3
PartKit
If I need to allow for supplier dependent procing of Part Kits, this could work by setting the contents of a part kit and when you add it to the quote setting the part supplier and markup for each line individually and then adding it as a single custom item. The problem with that approach is it is very hard then to be consistent with the prices that are quoted each time without then providing additional lookup and providing warnings like "You previously charged £... for this Part Kit to Joe Bloggs" being displayed.
This would require adding a Part/Part Kit radio option to the quote generation page which sets the controls for adding the next line, either displaying the existing single part line item creation or a new multiple part line item creation with fixed parts and quantities and allowing markup and supplier setting.
identifierFieldName = "kitId"
PartKit(val kitId: Identifier, val kitName: String, val parts: List[Part])
- kitId: Identifier - Mandatory id required for DB storage
- kitName: String - Mandatory short name for the part kit
- parts: List[Part] - Mandatory list of parts in this kit
- Add PartKit
- Edit PartKit
- Find the cost of a PartKit