Acumatica:将货件中的添加订单添加到移动应用程序

时间:2019-07-16 13:08:50

标签: acumatica

我正在将发货屏幕添加到Acumatica移动应用程序中。到目前为止,我已经拥有了标题和船线的一部分。我能够添加按钮,但是我被卡住了添加3个过滤器(看图片): add order dialog box

我看到人们是如何向通用查询屏幕添加过滤器的,但是您能以某种方式这样做吗?如果没有,如何将其添加到移动应用程序中?

代码:

add screen SO302000 {
  add container "ShipmentSummary" {
    add layout "ShipmentHeader" {
      displayName = "ShipmentHeader"
      layout = "HeaderSimple"
      add layout "ShipmentHeaderRow1" {
        displayName = "ShipmentHeaderRow1"
        layout = "Inline"
        add field "ShipmentNbr"
        add field "Status"
      }
      add layout "ShipmentHeaderRow2" {
        displayName = "ShipmentHeaderRow2"
        layout = "Inline"
        add field "Customer"
        add field "ShippedQuantity"
      }
      add layout "ShipmentHeaderRow3" {
        displayName = "ShipmentHeaderRow3"
        layout = "Inline"
        add field "WarehouseID"
      }
    }
    add recordAction "Save" {
      behavior = Save
    }
    add recordAction "Cancel" {
      behavior = Cancel
    }
    attachments {
    }

    add layout "DocDetails" {
      displayName = "DocDetails"
      layout = "DataTab"
      add containerLink "DocumentDetails" {
        control = "ListItem"
      }
    }
  }
  add container "DocumentDetails" {
    containerActionsToExpand = 1
    add field "LineNbr"
    add field "OrderNbr"
    add field "InventoryID"
    add field "Account"
    add field "ShippedQty"
    add containerAction "SelectSO" {
      behavior = Void
      redirect = True
      redirectToContainer = "AddSalesOrder$List"
    }
    attachments {
    }
  }
  add container "AddSalesOrder" {

      type =  SelectionActionList
      visible = False
      listActionsToExpand = 1
      add field "Selected"
      add field "LineNbr"
      add field "InventoryID"
      add field "Quantity"
      add listAction "AddSO" {
        icon = "system://Check"
        behavior = Void
      }
      attachments {
      }
    }
}

0 个答案:

没有答案