protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var menuid = MenuID.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.MenuSelectionByID(menuid);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var controlid = ControlID.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.ButtonPressByID(controlid);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var servername = ServerName.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.login_SSO(servername);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var tcode = TCODE.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.TCODEInput(tcode);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var comboboxid = ComboBoxID.Get(context);
            var itemtext   = ItemText.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.ComboBox_SelectItem_Using_ItemTextcontains(comboboxid, itemtext);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
Example #6
0
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var gridid   = GridID.Get(context);
            var rowindex = RowIndex.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.Grid_SelectRow_AndDoubleClick(gridid, rowindex);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var controlid = ControlID.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto      = new SAPAuto();
            String  strTextBoxValue = objSAPAuto.Get_TextBox_Value_ByID(controlid);

            ///////////////////////////

            // Outputs
            return((ctx) => {
                TextBoxValue.Set(ctx, strTextBoxValue);
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var controlid = ControlID.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto   = new SAPAuto();
            string  strLabelText = objSAPAuto.GetLabelText(controlid);

            ///////////////////////////

            // Outputs
            return((ctx) => {
                LabelText.Set(ctx, strLabelText);
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var treeid      = TreeID.Get(context);
            var treeitemkey = TreeItemKey.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.TreeView_Select(treeid, treeitemkey);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
Example #10
0
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var gridid          = GridID.Get(context);
            var contextmenuitem = ContextMenuItem.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.ContextMenuSelectItem(gridid, contextmenuitem);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto            = new SAPAuto();
            Tuple <String, String> output = objSAPAuto.StatusTextAndMessageType();

            ///////////////////////////

            // Outputs
            return((ctx) => {
                MessageType.Set(ctx, output.Item1);
                StatusTextValue.Set(ctx, output.Item2);
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var tableid   = TableID.Get(context);
            var rownumber = RowNumber.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            objSAPAuto.TableRow_Select(tableid, rownumber);
            ///////////////////////////

            // Outputs
            return((ctx) => {
            });
        }
        protected override async Task <Action <AsyncCodeActivityContext> > ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
        {
            // Inputs
            var gridid   = GridID.Get(context);
            var rowindex = RowIndex.Get(context);
            var columnid = ColumnID.Get(context);

            ///////////////////////////
            // Add execution logic HERE
            SAPAuto objSAPAuto = new SAPAuto();

            context.SetValue(CellValue, objSAPAuto.Grid_GetCellValue(gridid, rowindex, columnid));
            ///////////////////////////

            // Outputs
            return((ctx) => {
                CellValue.Set(ctx, null);
            });
        }