Solved

Modifying default receive and issue locations for Inventory items via mobile app

  • 18 March 2021
  • 4 replies
  • 352 views

Userlevel 1
Badge

Curious if anyone has attempted to modify the default Receipt To and Ship From locations from the mobile app.  It does not appear the mobile platform can load these as they are from the Stock Items → Warehouse Defaults area (throws an error that it is unable to load the view “Item Settings”.  I am referring to these fields below:

I have tried instead to load them from the “Warehouse Details” tab which will display the data, but it is not modifyable here.  I used a redirect to the item warehouse settings form using container action “Add Warehouse Detail” but this always wants to add a new record, not modify an existing record.  On the form there is also a pencil button which will redirect to the Item Warehouse Settings form and load the existing record.  I can’t seem to invoke this action through the mobile app though.  Anyone else come across this or have some ideas how this could be accomplished?

icon

Best answer by Nayan Mansinha 23 March 2021, 15:37

View original

4 replies

Userlevel 4
Badge +2

Define them as part of StockItemSummary container as follows:

      add field "GeneralSettingsWarehouseDefaults#DefaultWarehouse"
      add field "GeneralSettingsWarehouseDefaults#DefaultIssueFrom"
      add field "GeneralSettingsWarehouseDefaults#DefaultReceiptTo"

this will cause them to see the needed view.

Userlevel 1
Badge

Your suggestion was my first attempt to make this work.  This is my customization:

this is the error I receive on the app when it is loading the screen:

 

Userlevel 4
Badge +2

Your suggestion was my first attempt to make this work.  This is my customization:

this is the error I receive on the app when it is loading the screen:

 

Try to update to latest version of app and check.  I tested on iPhone and also on Android simulator with latest version of app and it works.  See below screenshot and the code for reference.

On Android Simulator

add screen IN2025PL {
  add container "Result" {
    add field "InventoryID"
    add field "Description"
    add field "Type"
    add field "ItemStatus"
    add containerAction "EditDetail" {
      behavior = Open
      redirect = True
    }
  }
}

add screen IN202500 {
  add container "StockItemSummary" {
    add field "InventoryID"
    add field "Description"
    add field "ItemStatus"
    add field "ProductWorkgroup"
    add field "ProductManager"
    add group "Warehouse_Defaults" {
      displayName = "Warehouse Defaults"
      collapsable = true
      add field "GeneralSettingsWarehouseDefaults#DefaultWarehouse"
      add field "GeneralSettingsWarehouseDefaults#DefaultIssueFrom"
      add field "GeneralSettingsWarehouseDefaults#DefaultReceiptTo"
    }
    add recordAction "Save" {
      behavior = Save
    }
    add recordAction "Cancel" {
      behavior = Cancel
    }
  }
}

update sitemap {
  add item "IN2025PL" {
    displayName = "Stock Items"
    icon = "system://NewsPaper"
  }
    
  add item "IN202500" {
    displayName = "Stock Item"
    visible = False
  }
}

Userlevel 1
Badge

I have discovered my issue.  My app was up to date, however I had not configured the list view for stock items (IN2025PL) only the form view (IN202500).  Many thanks for your assistance!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved