...
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 | ||
---|---|---|
| ||
<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 | ||
---|---|---|
| ||
<menuItem id="PosAdjustQty" displayName="@{MainMenuAdjustQuantity}" icon="mainmenupositiveadjustment"/> |
Step 3
Copy Copy existing page id="AdjustQty" to new page PosAdJustQty, change "id", "icon" and (Registration)"type".
...
Code Block | ||
---|---|---|
| ||
<page id="PosAdjustQty" type="UnplannedItemRegistration" icon="mainmenupositiveadjustment"> <title defaultValue="@{PageAdjustQuantityTitle}"/> <unplannedItemRegistrationConfiguration type="AdjustQuantity"> <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.
...