Goodmorning all,
I work at a sawmilling company down here in New Zealand and we are looking at getting a new database designed rather than buying an off the shelf access system.
The timber products that we sell are made into packs (bundles).
Each pack has a unique number.
Each pack is made up of a certain amount of boards (depending on board size) that have the following criteria:
Grade
Treatment
Dryness
Finish
Nominal Width
Nominal Thickness
Actual Width
Actual Thickness
Length (3.0, 3.6, 4.2, 4.8, 5.4, 6.0, 6.6, 7.2m etc)
An individual pack usually has boards at several different lengths.
This is all fairly straight forward to put into a "Pack Details" table but where my design concept struggles is length critera.
Here in New Zealand we use the metric system and 99% of the time our sawmill produces, and our customers order standard lengths that can be allocated in a table as above using a new feild for each length. We have expressions that work out invoice calulations based on these lengths such as total peices, total meters, total cubic meters which is the amount of peices x length x nominal width x nominal thickness.
The problem comes when very ocassionally we get and order or produce a product that has a different length than we have allowed for in our pack details table and related invoice expressions.
What I need is some way to accomodate a couple of user definable length feilds in the database so that we can use our standard lengths most of the time but add one or two new lengths if required. This would also need to translate to all the expressions in the database.
Has anyone got any advice here?
At the moment I have all the pack details, including length in one table but I am not sure if this is the way to go as lengths and there related expressions are very fixed this way.
Any ideas would be appreciated.
JG
I work at a sawmilling company down here in New Zealand and we are looking at getting a new database designed rather than buying an off the shelf access system.
The timber products that we sell are made into packs (bundles).
Each pack has a unique number.
Each pack is made up of a certain amount of boards (depending on board size) that have the following criteria:
Grade
Treatment
Dryness
Finish
Nominal Width
Nominal Thickness
Actual Width
Actual Thickness
Length (3.0, 3.6, 4.2, 4.8, 5.4, 6.0, 6.6, 7.2m etc)
An individual pack usually has boards at several different lengths.
This is all fairly straight forward to put into a "Pack Details" table but where my design concept struggles is length critera.
Here in New Zealand we use the metric system and 99% of the time our sawmill produces, and our customers order standard lengths that can be allocated in a table as above using a new feild for each length. We have expressions that work out invoice calulations based on these lengths such as total peices, total meters, total cubic meters which is the amount of peices x length x nominal width x nominal thickness.
The problem comes when very ocassionally we get and order or produce a product that has a different length than we have allowed for in our pack details table and related invoice expressions.
What I need is some way to accomodate a couple of user definable length feilds in the database so that we can use our standard lengths most of the time but add one or two new lengths if required. This would also need to translate to all the expressions in the database.
Has anyone got any advice here?
At the moment I have all the pack details, including length in one table but I am not sure if this is the way to go as lengths and there related expressions are very fixed this way.
Any ideas would be appreciated.
JG