Beispiel #1
0
 public void CreateSalesOrder_Header_Sales()
 {
     var myScreen = new SC_4002_Sales();
     var mySAPBasis = new SAPBasis();
     myScreen.DataBindingV2();
     //change order reason
     //myScreen.OrderReason = "C02";
     //Press enter
     mySAPBasis.PressEnter();
     //error handling
     mySAPBasis.statusBarHandling();
 }
Beispiel #2
0
        public void CreateSalesOrder_Overview()
        {
            var myScreen = new SC_4001();
            var mySAPBasis = new SAPBasis();
            // Create Sales Order
            myScreen.DataBindingV2();

            //myScreen.ShipToParty = "110601974";
            //myScreen.SoldToParty = "110601974";
            //myScreen.PONo = "test201508041620";
            //myScreen.PODate = "08/04/2015";
            //myScreen.HPReceiveDate = "08/04/2015";
            ////input material
            //mySAPBasis.SAPTableInputValue("SAPMV45ATCTRL_U_ERF_GUTLAST", 0, 1, "627808-B21");
            ////input target quantity
            //mySAPBasis.SAPTableInputValue("SAPMV45ATCTRL_U_ERF_GUTLAST", 0, 4, "1");
            //Press enter
            mySAPBasis.PressEnter();
            //error handling
            mySAPBasis.statusBarHandling();
            //

            //mySAPBasis.SAPTableInputValue()
        }