示例#1
0
        private static void BapiGetFlightList(R3Connection con)
        {
            using (con)
            {
                con.Open(false);

                BusinessObjectMethod func = con.CreateBapi("Flight", "GetList");

                func.Exports["Airline"].ParamValue = "AA";


                func.Execute();


                DataTable table = func.Tables["FLIGHT_LIST"].ToADOTable();
                con.Close();

                Console.ReadLine();
            }
        }