protected override void OnCreate(Bundle savedInstanceState) { PrimaryBusinessObject = new IDODcmoves(SessionToken(), this); StartRefresh = false; defaultLayoutID = Resource.Layout.FunctionQuantityMoveViewer; base.OnCreate(savedInstanceState); }
protected override void OnCreate(Bundle savedInstanceState) { PrimaryBusinessObject = new IDODcmoves(SessionToken(), this); PO = new IDOPurchaseOrders(SessionToken(), this); Item = new IDOItems(SessionToken(), this); AddBusinessObjects(PO); AddBusinessObjects(Item); StartRefresh = false; defaultLayoutID = Resource.Layout.FunctionPurchaseOrderReceiveViewer; base.OnCreate(savedInstanceState); }
protected override void BeforeReadIDOs() { base.BeforeReadIDOs(); IDODcmoves Items = (IDODcmoves)PrimaryBusinessObject; Items.parm.PropertyList = ""; SetAdapterLists(0, "Whse", "Whse", ValueTypes.String, GetString(Resource.String.Warehouse), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "Item", "Item", ValueTypes.String, GetString(Resource.String.Item), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "ItemDescription", "ItemDescription", ValueTypes.String, GetString(Resource.String.Description), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "QtyMoved", "QtyMoved", ValueTypes.Decimal, GetString(Resource.String.Quantity), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "UM", "UM", ValueTypes.String, GetString(Resource.String.UnitofMeasure), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "Loc1", "Loc1", ValueTypes.String, GetString(Resource.String.Location), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "Lot1", "Lot1", ValueTypes.String, GetString(Resource.String.Lot), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "Loc2", "Loc2", ValueTypes.String, GetString(Resource.String.Location), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "Lot2", "Lot2", ValueTypes.String, GetString(Resource.String.Lot), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "TransDate", "TransDate", ValueTypes.Date, GetString(Resource.String.Date), Resource.Layout.CommonFloatingLabelEditViewer); SetAdapterLists(0, "DocumentNum", "DocumentNum", ValueTypes.String, GetString(Resource.String.DocumentNum), Resource.Layout.CommonFloatingLabelEditViewer); }