void buttonTestDocumentMasterCreatePDF_Clicked(object sender, EventArgs e) { Guid guidOid = new Guid("099EF525-FCEC-48D8-9EE8-FA0F34A34ED4"); FIN_DocumentFinanceMaster documentFinanceMaster = (FIN_DocumentFinanceMaster)GlobalFramework.SessionXpo.GetObjectByKey(typeof(FIN_DocumentFinanceMaster), guidOid); string fileName = CustomReport.DocumentMasterCreatePDF(documentFinanceMaster); _log.Debug(string.Format("fileName: [{0}]", fileName)); }
public static string DocumentMasterCreatePDF() { fin_documentfinancemaster documentFinanceMaster = TestProcessFinanceDocument.PersistFinanceDocument(SettingsApp.XpoOidDocumentFinanceTypeInvoice); string fileName = CustomReport.DocumentMasterCreatePDF(documentFinanceMaster); Console.WriteLine(string.Format("fileName: [{0}]", fileName)); return(fileName); }