Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleapp.config - ISearchService
linenumberstrue
collapsetrue
<configuration>
  <serviceSettings>
    <services>
      :
	  <!-- Service for search inquiries -->
	  <add type="TaskletFactory.WMS.Services.ISearchService, TaskletFactory.WMS.Services.Interfaces"
	       factory="TaskletFactory.WMS.Services.Configuration.SearchServiceFactory, TaskletFactory.WMS.Services.Search"
	       startup="true">
        <configuration xmlns="http://schemas.taskletfactory.com/MDMF/MobileWMS/Services/2010/10/SearchServiceConfiguration.xsd">
          <SearchRequestDocumentName>Search</SearchRequestDocumentName>
  	    </configuration>
      </add>
      :
      <!-- Service containing common configuration -->
      <add type="TaskletFactory.WMS.Services.CommonConfigurationService, TaskletFactory.WMS.Services.CommonConfiguration"
           factory="TaskletFactory.WMS.Services.Configuration.CommonConfigurationServiceFactory, TaskletFactory.WMS.Services.CommonConfiguration"
           startup="true">
        <configuration xmlns="...">
		   :
		   <tasklet>
            <orderLines>
              <behaviourAfterPost enabled="true" value="STAY" /> <!-- STAY, ASK -->
              <scanToSelectBehaviour behaviour="USER" searchTerm="ALL" /> <!-- behaviour: {AUTO,USER} searchTerm: {ITEM,ALL}-->
            </orderLines>
          </tasklet>
          <searchResultListConfiguration xmlns="...">
            <debug>false</debug>
            <rowHeight>49</rowHeight>
            <scrollBarWidth>20</scrollBarWidth>
            <fonts>
              <add id="header"  name="Verdana" size="9" fontStyle="Bold"></add>
              <add id="normal"  name="Verdana" size="8" fontStyle="Regular"></add>
            </fonts>
            <rowElements>
              <textElements>
                <add id="1"  type="textElement" text="{0}" x="2" y="1" width="400" height="16" font="header">
                  <dataMembers>
                    <add id="DisplayLine1" />
                  </dataMembers>
                </add>
                <add id="2" type="textElement" text="{0}" x="2" y="17" width="400" height="16" font="normal">
                  <dataMembers>
                    <add id="DisplayLine2" />
                  </dataMembers>
                </add>
                <add id="3" type="textElement" text="{0}" x="2" y="33" width="400" height="20" font="normal">
                  <dataMembers>
                    <add id="DisplayLine3" />
                  </dataMembers>
                </add>
              </textElements>
            </rowElements>
          </searchResultListConfiguration>
        </configuration>
      </add>
      : 
    </services>
  </serviceSettings>
</configuration>
Tip
titleAX

In AX (2012R3) the class Mob_SearchService will handle the Search calls. The method doSearch is a place for your custom search methods.
There is a default method for Item, Customer and Vendor searching. Use the searchType #Search_Item, #Search_Customer or #Search_Vendor to use them.

In class Mob_GetReferenceData the method addDefaultItemNumberElement will automatically use #Search_Item.



Info
This is an online feature - since the backed is queried.

Filter by label (Content by label)
showLabelsfalse
max5
spacesTU
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "TU"
labelskb-how-to-article

 
Page Properties
hiddentrue
Related issues