User Tools

Site Tools


en:lenscatalog:version061001:lensrange.dat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:lenscatalog:version061001:lensrange.dat [2014/02/24 12:31] estermannsen:lenscatalog:version061001:lensrange.dat [2014/03/04 12:12] (current) estermanns
Line 1: Line 1:
 +====== LensRange.Dat ======
 +
 +===== Beschreibung =====
 +
 +The LensRange.Dat file contains the description of the production and delivery ranges of base lenses. The production and delivery ranges are described for each base lens and diameter.
 +
 +As many delivery ranges as required can be specified for a base lens with a given diameter. If several power sets are defined for a diameter, the lens can be delivered if the conditions of at least one set are met (no matter whether a diameter has been specified or not).
 +
 +\\
 +\\
 +\\
 +\\
 +\\
 +\\
 +\\
 +\\
 +\\
 +\\
 +\\
 +
 +
 +===== 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*|Strongest principal meridian from|12|5|+9999|+99.99|
 +|5*|Strongest principal meridian to|17|5|+9999|+99.99|
 +|6*|Cylinder from|22|4|9999|99.99|
 +|7*|Cylinder to|26|4|9999|99.99 \\ Please mind the “pricedefinition-cylinder” specification in the Head.Dat file. \\ If minus cylinder is specified, it is assumed that the value in this field is automatically negative. No sign is indicated. The same applies to field 6, Cylinder from)|
 +|8*|Cylinder power for "Strongest principal meridian from"|30|3|999|0 bis 100% \\ See "Various definitions". Page 59|
 +|9*|Cylinder power for "Strongest principal meridian to"|33|3|999|0 bis 100% \\ See "Various definitions". Page 59|
 +|10*|Prism to|36|4|9999|99.99 cm/m|
 +|11*|From Add|40|4|9999|99.99 D|
 +|12*|To Add|44|4|9999|99.99 D|
 +|13|Add step|48|1|9|1=1.00 D \\ 2=0.50 D \\ 4=0.25 D \\ 8=0.125 D \\ 9=0.01 D|
 +|14*|Man. code coating 1|49|6|T6|Code from Options.Dat|
 +|15*|Man. code coating 2|55|6|T6|Code from Options.Dat|
 +|16*|Man. code coating 3|61|6|T6|Code from Options.Dat|
 +|17*|Man. code coating 4|67|6|T6|Code from Options.Dat|
 +|18*|Man. code coating 5|73|6|T6|Code from Options.Dat|
 +|19|Price of "Man. code coatings 1-5" contained in the lens price|79|1|B|Does not apply to coatings resulting from the specification of wildcards "%%******%%". \\ See 8.3.5, Coating range (Man. code coatings 1-5) page 25|
 +|20|Deliverable from|80|8|D|Empty = only limited by "deliverable until"|
 +|21|Deliverable until|88|8|D|Empty = no expiry date|
 +|22|Stock lens|96|1|B| |
 +|23|Estimated delivery time|97|3|999| Number of working days until delivery \\ Value 000 means no information on delivery time|
 +|24|Not completed|100|1| | 
 +|25|Discountable|101|1|B| |
 +|26|RDT discount|102|1|B|1=RDT discount is granted for electronically placed orders|
 +|27|Online order possible|103|1|B| |
 +|28|Delivery range index of lens|104|3|999|Index for lens pricing|
 +|29|Smallest diameter in this power range|107|4|9999|7080 or two digits followed by two blanks. \\ Can remain empty if field 30 has value 0.|
 +|30|Graduation down to smallest diameter in mm|111|2|99|0 = smaller diameters not possible \\ >1 = graduation in mm For a description, see the notes.|
 +|31|Sph step|113|1|9|1=1.00 dpt \\ 2=0.50 D \\ 4=0.25 D \\ 8=0.125 D \\ 9=0.01 D|
 +|32|Cyl step|114|1|9|1=1.00 dpt \\ 2=0.50 D \\ 4=0.25 D \\ 8=0.125 D \\ 9=0.01 D|
 +|33|Variable decentration. \\ Smallest decentration|115|2|99|0 = No variable decentration \\ Value = Smallest optical diameter. \\ See remarks|
 +
 +
 +===== Notes ===== 
 +
 +In LensRange.Dat, not the extras already contained in the base lens are defined, but only the deviating prices and/or delivery conditions for the base lens product / power range / extras combinations.
 +
 +==== Elliptic: ====
 +If a lens is available in elliptic and round shape in the same power range, the power range must be defined twice.
 +
 +==== Power range overlaps: ====
 +Power ranges can overlap. If the power range of two entries overlaps, priority is given to the entry (incl. its definitions such as delivery time) for which a coating with "man. code coating 1-5" was defined and/or features a delivery index >000. 
 +
 +==== Principal meridians ====
 +For the definition, please see 21.2, Cylinder power, page 59
 +
 +==== Delivery range index of lens ====
 +This value is used to determine a price that deviates from the standard price of a lens because of a special power range or a certain combination of lens and coating. The price in LensPrice.Dat is determined by means of the combination from lens IT code and delivery range index. 
 +
 +==== Coating range (Man. code coatings 1-5): ====
 +The power range applies to the lens including the coatings specified in Man. code coatings 1-6. Wildcards are permitted or even required. Blanks are defined as "no coating".
 +The field "Price of man. code coatings 1-5 contained in the lens price" indicates whether the coating specified in the "man code coatings 1-5" is contained in the lens price. This only applies for directly defined coatings. Coatings resulting from wildcards are not contained in the price.
 +
 +**Examples:**
 +
 +If the power range is deliverable with all coatings, the fields "Man. code coatings 1-5" are filled with '******'.
 +
 +If the power range applies for only one coating and no further coating is permitted, "Man. code coating 1" is assigned with the IT code of the coating. The fields "Man. code coatings 2-5" are filled with blanks.
 +
 +If the power range applies for a certain coating in combination with all further coatings (as far as permissible in Combination.Dat), "Man. code coating 1" is assigned with the IT code of the coating. The fields "Man. code coatings 2-6" are filled with '******'.
 +
 +
 +==== (Man. code coatings 1-5) and Combination.dat ====
 +If a coating is completely excluded for a lens in the Combination.dat file, this coating is deliverable nonetheless if it is specified in LensRangeDat in the "Man. code coatings 1-5" field.
 +
 +==== Field 29/30: smaller diameters in the power range ====
 +Field 29, "Smallest diameters in this power range", is required to enable further smaller diameters in the same delivery range to be specified in addition to the determined (principal) diameter (for example, diameter 65 also contains diameters 61 to 64 in the same delivery range). This information is important to enable the software to allocate these interim diameters to a delivery range.
 +
 +**Example:**
 +
 +Field 2 = 60 / Field 29 = 56 / Field 30 = 1.
 +This means that diameters 56,57,58,59 and 60 belong to the same power range.
 +
 +==== Field 33: Variable Decentration ====
 +
 +Value 0: The field is not considered. \\
 +Value >0: Smallest optical diameter. \\
 +
 +Example:
 +
 +Diameter from field 2 = 70/75. \\
 +Variable decentration = 71. \\
 +Available diameters: 70/71, 70/72, 70/73, 70/74, 70/75 \\
 +
 +
 +==== Fields 13,31,32: Add-Steps, Sph-Steps, Cyl-Steps – Finer step contains broader step ====
 +
 +The finer step always contains the values of the broader step.
 +
 +Remark: If the steps are strictly followed, then the step 8 (0.125D) contains values which cannot appear in step 9 (0.01D), e.g. the value 0.125D. However, this does not comply with the standard supply practice of the lens suppliers.
 +
 +
 +=== Examples relating to the LensRange.Dat file =====
 +
 +**Question:** \\
 +n some countries, the prices are different for the price groups in the plus and minus ranges. However, the LensPrice.Dat file only permits price groups to be specified regardless of minus or plus ranges.
 +
 +**Answer:** \\
 +Two power ranges are specified in the LensRange.Dat file, one in the plus range, the other in the minus range. Price index=0 is allocated to the plus range,  and price index=1 to the minus range. Different prices for the same price group can now be specified in the LensPrice:Dat file.