public static sp_CM_GetTbs_DocumentOutput_Result getDocumentData(string documentCode, Nullable <int> documentCodeSeq, Nullable <System.DateTime> startDay) { ICommonHandler handler = ServiceContainer.GetService <ICommonHandler>() as ICommonHandler; var datas = handler.GetTbs_DocumentOutput(documentCode, documentCodeSeq, startDay); if (datas != null && datas.Count > 0) { return(datas.First()); } else { return(null); } }