Default primary DeliveryMethod are not not set to Odyssey
The search and fill button is not filling in the Primary Delivery method correctly because Illiad is using the default from the FieldTranslation.xml file instead of the Docline Borrowing settings if the ShippingOptions value is left blank in the request. For example, the drop-down is set to Email PDF instead of Odyssey. While the default delivery methods are updated in ILLiad and the default FieldTranslation.xml files, the DeliveryMethods are not set to Odyssey, since the update doesn't automatically overwrite the FieldTranslation.xml file. This prevents the update from overwriting any customizations your site may have.
Workaround: To change how ILLiad handles the shipping options value if the field is left blank in the request, choose one of the following options and make the appropriate changes to the FieldTranslation.xml file:
Option 1- To not alter the drop-down when ILLiad fills out the request and leave the field as is, comment out the DeliveryMethod translation.
Change This:
<TranslationMap Type="DataSource" Name="DeliveryMethod" Target="OptionMap.NetworkShippingOption"/>
To This:
<!--<TranslationMap Type="DataSource" Name="DeliveryMethod" Target="OptionMap.NetworkShippingOption"/>-->v9.0.3
Option 2- To continue trying to set based on the value in the ILLiad request, change the DefaultValue in the OptionMap for NetworkShippingOption.
Change This:
<OptionMap Name="NetworkShippingOption" DataSource="Transaction.ShippingOptions" DefaultValue="email_pdf">
<Option SourceValue="E-mail" OptionValue="email_pdf"/> <!-- E-mail (PDF) -->
<Option SourceValue="Article Exchange" OptionValue="article_exchange"/> <!-- E-mail (TIFF) -->
<Option SourceValue="Fax" OptionValue="fax"/> <!-- Fax -->
<Option SourceValue="Mail" OptionValue="mail"/> <!-- Mail -->
<Option SourceValue="Odyssey" OptionValue="odyssey"/> <!-- Odyssey -->
<Option SourceValue="Pickup" OptionValue="pickup"/> <!-- Pickup -->
<Option SourceValue="Web" OptionValue="web_pdf"/> <!-- Web -->
</OptionMap>
To This:
<OptionMap Name="NetworkShippingOption" DataSource="Transaction.ShippingOptions" DefaultValue="odyssey">
<Option SourceValue="E-mail" OptionValue="email_pdf"/> <!-- E-mail (PDF) -->
<Option SourceValue="Article Exchange" OptionValue="article_exchange"/> <!-- E-mail (TIFF) -->
<Option SourceValue="Fax" OptionValue="fax"/> <!-- Fax -->
<Option SourceValue="Mail" OptionValue="mail"/> <!-- Mail -->
<Option SourceValue="Odyssey" OptionValue="odyssey"/> <!-- Odyssey -->
<Option SourceValue="Pickup" OptionValue="pickup"/> <!-- Pickup -->
<Option SourceValue="Web" OptionValue="web_pdf"/> <!-- Web -->
</OptionMap>
v9.0.3 & 8.7.3
Bug#4081 & 4025
Released in DOCLINE 3.1.2.1 Scripts