Revision history for SellingUnitConversions


Revision [2120]

Last edited on 2011-09-09 23:37:07 by PhilDaintree
Additions:
We can emulate this using the assembly which has a new assembly item created for each unit to be sold in. The new assembly item has a bill of material containing a quantity of the item. For some this solution will achieve all they need. Also, using assembly items defined in a specific unit means thant sales analysis can be run by each item and the value associated with selling in different units can be determined, it also avoids a lot of complexity in the code. Using assembly items for selling in different units is actually quite an elegant solution involving few compromises. For this reason I prefer not to include functionality to have prices by unit as described below.
Deletions:
We can emulate this using the assembly which has a new assembly item created for each unit to be sold in. The new assembly item has a bill of material containing a quantity of the item. For some this solution will achieve all they need. Also, using assembly items defined in a specific unit means thant sales analysis can be run by each item and the value associated with selling in different units can be determined, it also avoids a lot of complexity in the code. For this reason I prefer not to include functionality to have prices by unit as described below.


Revision [2119]

Edited on 2011-09-09 23:35:47 by PhilDaintree
Additions:
We can emulate this using the assembly which has a new assembly item created for each unit to be sold in. The new assembly item has a bill of material containing a quantity of the item. For some this solution will achieve all they need. Also, using assembly items defined in a specific unit means thant sales analysis can be run by each item and the value associated with selling in different units can be determined, it also avoids a lot of complexity in the code. For this reason I prefer not to include functionality to have prices by unit as described below.
Deletions:
We can emulate this using the assembly which has a new assembly item created for each unit to be sold in. The new assembly item has a bill of material containing a quantity of the item. For some this solution will achieve all they need.


Revision [2034]

Edited on 2011-03-19 01:36:20 by PhilDaintree
Additions:
=====Selling in Different Units - The problem=====
We can emulate this using the assembly which has a new assembly item created for each unit to be sold in. The new assembly item has a bill of material containing a quantity of the item. For some this solution will achieve all they need.
To allow the item to be sold directly in different units, pricing could be held in the same prices table simply by adding a unit field to the prices table, an additional field to store the conversionfactor between the unit in the prices table and the default stockmaster unit would also be required - the scripts that manipulate prices PricesByCost.php and Prices.php (and some others) would need modifiations to be able to cater for the additional field. The logic to get prices from include/GetPrice.php would need modification.
Deletions:
=====The problem=====
Pricing could be held in the same prices table simply by adding a unit field to the prices table, an additional field to store the conversionfactor between the unit in the prices table and the default stockmaster unit would also be required - the scripts that manipulate prices PricesByCost.php and Prices.php (and some others) would need modifiations to be able to cater for the additional field. The logic to get prices from include/GetPrice.php would need modification.


Revision [2033]

The oldest known version of this page was created on 2011-03-19 01:32:12 by PhilDaintree
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki