예제 #1
0
        private void DO_NOT_USE_ORDERINFO()
        {
            tFlow.FileMakerData fmd = new tFlow.FileMakerData();
            string Path             = @"\\MCRAESERVER-PC\McRae Files\tFlow\XML\43828.xml";

            fmd.Load(Path);

            Console.WriteLine("ORDER:");
            Console.WriteLine("\tClient Name: " + fmd.ClientName);
            Console.WriteLine("\tOrder Name: " + fmd.OrderName);
            Console.WriteLine("\tDescription: " + fmd.OrderDescription);
            Console.WriteLine("\tShip Date: " + fmd.ShipDate.ToString("yyyy-MM-ddT00:00:00-hh:mm"));
            Console.WriteLine("\tStart Date: " + fmd.StartDate.ToString("yyyy-MM-ddT00:00:00-hh:mm"));

            Console.WriteLine("Jobs:");
            foreach (tFlow.FileMakerJobInfo fmJob in fmd.Jobs)
            {
                Console.WriteLine("\tClient Name: " + fmJob.ClientName);
                Console.WriteLine("\tHeight: " + fmJob.Height);
                Console.WriteLine("\tDescription: " + fmJob.JobDescription);
                Console.WriteLine("\tJob Name: " + fmJob.JobName);
                Console.WriteLine("\tProduct Name: " + fmJob.ProductName);
                Console.WriteLine("\tQty: " + fmJob.Qty);
                Console.WriteLine("\tUser E-Mail: " + fmJob.UserEmail);
                Console.WriteLine("\tUsername: "******"\tWidth: " + fmJob.Width);
                Console.WriteLine("\tShip Date: " + fmJob.ShipDate.ToString("yyyy-MM-ddT00:00:00-hh:mm"));
                Console.WriteLine();
            }

            Console.ReadLine();
        }
예제 #2
0
        static void Main(string[] args)
        {
            Console.WriteLine("!!!!!!!!!! --- RAPS Version: 15 --- !!!!!!!!!!");
            Console.WriteLine();

            ListAllUsers();
            Console.ReadLine();


            tFlow.FileMakerData fmd = new tFlow.FileMakerData();
            string Path             = @"\\MCRAESERVER-PC\McRae Files\tFlow\XML\" + args[0];

            tFlowAPICalls.ProcessFileMakerXML(Path);

            //*********************************************TESTING********************************************************
            //************************************************************************************************************
            //string Path = @"\\MCRAESERVER-PC\McRae Files\tFlow\XML\77777.xml"; //48077 PO TEST
            //string Path = @"\\MCRAESERVER-PC\McRae Files\tFlow\XML\56734.xml"; //47671 MCRAE TEST
            //tFlowAPICalls.ProcessFileMakerXML(Path);

            /*Console.WriteLine("Hit Enter Start Test");
             * Console.ReadLine();*/
            //ShowRestResponseFormatted();
            //ListAllUsers();
            //Console.WriteLine(tFlowAPICalls.GetCustomerID("McRae Imaging"));*/
            //************************************************************************************************************
            //*******************************************END TESTING******************************************************

            Console.ReadLine();
        }