Skip to main content
Solved

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


Forum|alt.badge.img+1
  • Jr Varsity II
  • 23 replies

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?

Best answer by Nayan Mansinha

jon95 wrote:

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
  }
}

View original
Did this topic help you find an answer to your question?

4 replies

Nayan Mansinha
Community Manager
Forum|alt.badge.img+2
  • Acumatica Developer Support
  • 49 replies
  • March 22, 2021

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.


Forum|alt.badge.img+1
  • Author
  • Jr Varsity II
  • 23 replies
  • March 22, 2021

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:

 


Nayan Mansinha
Community Manager
Forum|alt.badge.img+2
  • Acumatica Developer Support
  • 49 replies
  • Answer
  • March 23, 2021
jon95 wrote:

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
  }
}


Forum|alt.badge.img+1
  • Author
  • Jr Varsity II
  • 23 replies
  • March 23, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings