When processing orders, it can be useful to have a means to select an alternative lens if the chosen lens is not possible. For example, it a finished lens is chosen but the powers are outside the finished range. Sometimes there is a cascade of alternatives; Lab stocked finished, Bought in finished for an extended range, and finally a prescription order.
This can be achieved in Annapurna by using a file called Altlensloop.txt in the files folder.
If this file is present then there is a ‘nucleus’/orbit image in the right hand lens selection area. If this is clicked then the next in the alternatives is shown, so allowing the operator to move down, trying alternatives until the order is accepted.
If automatic processing of orders is enabled then the Use Alternative on the EDI processing (top right) needs to be ticked and then the alternatives will be applied in turn. Each pass will move to the next in the alternative list and the current status will be shown in the comments. So an order could have a comment of “Outside Finished Range[ALT1]” where the [ALT1] indicates that this was the result on the first pass. On the next pass, the second choice in the cascade will be tried and so until a match is reached or there are no more alternatives. There is a maximum of 6 alternatives in the cascade.
The format of the Altlenslook.txt is a text file of name value pairs. A line will be like this
Startcode=Choice1:Choice2:Choice3
Up to 6 choices can be set. A choice can be stated in the form as Lens or Lens+Coat or Lens+Coat+Tint. If the wish is for Lens and tint without a coat then set this as Lens+None+Tint.
No comments:
Post a Comment