예제 #1
0
        //Process Document
        public static DataSet ProcessDocument(int documentID, WMSServiceClient service, string template)
        {
            //Llama al Dao de reportes, y segun el Tipo Obtiene un DataSet Con Los datos Requeridos
            ReportHeaderFormat rptHdr = service.GetReportInformation(new Document {
                DocID = documentID, Company = App.curCompany, Location = App.curLocation
            },
                                                                     template);

            return(ReportMngr.GetReportDataset(rptHdr));
        }
예제 #2
0
        //Process Labels
        public static DataSet ProcessLabels(IList <Label> labelList)
        {
            if (labelList == null || labelList.Count == 0)
            {
                throw new Exception("No labels found.");
            }

            //Pricessing Labels
            return(ReportMngr.GetReportDataset(labelList, 10));
        }