Versions Compared

Key

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

...

See more: Setup schema files for XML in Visual Studio


Step 1

Copy \sdcard\MobileWMS\Configuration\application.cfg to local drive to be able to change the file.

...

Code Block
languagexml
<image id="mainmenupositiveadjustment" fileName="mainmenupositiveadjustment.png"/>


Step 2

  In <menuConfiguration><menuItems> add a new menuitem for postive adjustments. We this example we reuse displayName from negative adjustments, but new menuitem must have a new (unique) id.

...

Code Block
languagexml
<menuItem id="PosAdjustQty" displayName="@{MainMenuAdjustQuantity}" icon="mainmenupositiveadjustment"/>

...


Step 3

Copy existing page id="AdjustQty" to new page PosAdJustQty, change "id", "icon" and (Registration)"type".

...

Code Block
languagexml
	<page id="PosAdjustQty" type="UnplannedItemRegistration" icon="mainmenupositiveadjustment">
      <title defaultValue="@{PageAdjustQuantityTitle}"/>
      <unplannedItemRegistrationConfiguration type="AdjustQuantityPosAdjustQuantity">
        <header configurationKey="AdjustQuantityHeader"/>
      </unplannedItemRegistrationConfiguration>
	</page>


Step 4

Upload your modified application.cfg to the mobile device.

The new page is now defined at for the mobile device, but is not yet associated with any Mobile User Group in Business Central. We will address this later.

...