en:lenscatalog:version061001:lensprice.dat
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:lenscatalog:version061001:lensprice.dat [2014/02/24 14:57] – estermanns | en:lenscatalog:version061001:lensprice.dat [2014/03/04 12:14] (current) – estermanns | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== LensPrice.Dat ====== | ||
+ | |||
+ | ===== Description ===== | ||
+ | |||
+ | The LensPrice.Dat file contains the various prices of the base lenses. | ||
+ | |||
+ | ===== Table structure ===== | ||
+ | |||
+ | ^No. ^Field name ^Pos ^Length ^Format ^Comments ^ | ||
+ | |1*|Man. code base lens|1|6|T6| | | ||
+ | |2*|Diameter|7|4|9999|7080 or two digits followed by two blanks| | ||
+ | |3*|Elliptic|11|1|T1|blank=round \\ “E”=elliptic| | ||
+ | |4*|Sph group|12|2|99| | | ||
+ | |5*|Cyl. group|14|2|99|Please mind the “pricedefinition-cylinder” specification in the Head.Dat file. Before determining the prices, please convert to "plus cylinder" | ||
+ | |6*|Delivery range index|16|3|999| | | ||
+ | |7|Price 1|19|7|9999999|For definition, see Head.Dat| | ||
+ | |8|Price 2|26|7|9999999|For definition, see Head.Dat| | ||
+ | |9|Price 3|33|7|9999999|For definition, see Head.Dat| | ||
+ | |10|Price 4|40|7|9999999|For definition, see Head.Dat| | ||
+ | |11|Price 5|47|7|9999999|For definition, see Head.Dat| | ||
+ | |12*|Price valid from|54|8|D|Empty = effective immediately| | ||
+ | |13*|Price valid until|62|8|D|Empty = no expiry date| | ||
+ | |||
+ | ===== Notes ===== | ||
+ | |||
+ | The delivery range index is defined in the LensRange.Dat file. It permits differentiated pricing of a product in various power ranges and coating combinations. The delivery range index is part of the key, i.e. different prices can be specified for a product with given diameter and Sph/cyl power in dependence of the delivery range index. | ||
+ | |||
+ | The field "Price of Man. code coatings 1-5 contained in the lens price" in LensRange.Dat indicates whether the coatings defined in the LensRange.Dat file are contained in the lens price. | ||
+ | |||
+ | If only Price 1 and Price 2 are defined (see Head.Dat), the data fields (Price1, Price2 and Price3) can be deleted. As a result, the data set becomes shorter. | ||
+ | |||
+ | The fields 12 and 13 define the validity for a certain period. If two data sets exist which only differ in the validity range, then the data set has priority which has a date entry in one or both fields. | ||