Solved

Mobile Sales Order Add Stocked Item

  • 12 May 2021
  • 2 replies
  • 153 views

Userlevel 3
Badge

Hi, I’m trying to add the Add Stocked Item popup to the mobile sales order (SO301000). I had success add the list of items (InventoryLookup), however I want to add the filters and its not working.

I’m trying to follow the documentation https://help-2020r1.acumatica.com/(W(4))/Help?ScreenId=ShowWiki&pageid=7244493f-a03a-4efa-9cef-18f2d4f08682 

RedirectToContainer="InventoryLookup$List$InventoryLookupInventory"

 

update screen SO301000 {
update container "OrderSummary" {
add recordAction "AddInvBySite" {
behavior = Void
redirect = True
redirectToContainer = "InventoryLookup$List$InventoryLookupInventory"
}
}

add container "InventoryLookup" {
visible = False
fieldsToShow = 6
listActionsToExpand = 2
formActionsToExpand = 3
containerActionsToExpand = 2
type =SelectionActionList

add field "InventoryIDInventoryCD"

add field "QtySelected"
add field "Description"
add field "Warehouse"
add field "SalesUnit"
add field "QtyAvailable"{
listDisplayFormat=CaptionValue
}
add field "QtyOnHand"

add listAction "AddInvSelBySite" {
icon = "system://Check"
behavior = Void
}
}

add container "InventoryLookupInventory" {
add field "BarCode"
add field "OnlyAvailable"
add field "Inventory"
add field "DisplayName"
}
}

What am I doing wrong?

icon

Best answer by Cesar Betances 15 December 2021, 19:03

View original

2 replies

Userlevel 4
Badge

Hi @yisroel39 ,

I don’t know if you have resolved your question but I have the code to expose the Item Lookup of the SO in the mobile and I have added the scanner button within the barcode field of the parameters so barcodes could be readed and applied to item filters:

update screen SO301000 {
  update container "OrderSummary" {
    formActionsToExpand = 3
    add recordAction "AddInvBySite" {
      displayName = "Add Stock Item"
      redirect = true
      redirectToDialog  = "SO301000D1"
    }
  }
    
  add dialog SO301000D1 {
    type = FilterListScreen
    openAs = List
    add dialogAction "Ok" {
      DisplayName = "Add&Close"
      DialogResult = "OK"
      closeDialog = true
    }
    add dialogAction "Cancel" {
      DisplayName = "Cancel"
      DialogResult = "Cancel"
      closeDialog = true
    }
    add dialogAction "AddInvSelBySite"
    {
      DisplayName = "Add"
      closeDialog = false
    }
    add container "InventoryLookupInventory"
    {
      add field "Inventory"
      add field "BarCode" {
      special = BarCodeScan
    }
      add field "ItemClass"
      add field "HistoryDate"    
    }
    
    add container "Filter" {
    type = SelectionActionList
    includeDialogActions = true
       add field "Filter"
      
          }
    
    
    add container "InventoryLookup"{
      type = SelectionActionList
      includeDialogActions = true
      add field "QtySelected"
      add field "Selected" {
        special = "ListSelection"
      }
      add field "InventoryIDInventoryCD"
      add field "Warehouse"
     
      add listAction "AddInvSelBySite" {
        DisplayName = "Add"
      }
      add containerAction "Cancel" {
        displayName = "Cancel"
      }
      add listAction "Ok"
      {
        DisplayName = "Add&Close"
        after = Close
      }
    }
  }
}

The only thing missing is to apply the filter of the grid:

 

Does anybody knows if it’s a container? I couln’t find it in the schema.

 

Userlevel 4
Badge +2

Hi,

I think you can find more details about mapping popup/smart panels on Acumatica Mobile App on this help article created by @brianstevens below: https://www.acumatica.com/blog/vlog_smartpanelsmobile/

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