35 lines
1006 B
C#
35 lines
1006 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BeWo.Service.Plugins;
|
|
using BS.Shared.Core;
|
|
using BS.Shared.DataContracts;
|
|
using Utils = BS.Shared.Core.Utils;
|
|
|
|
namespace BellaDonna.Export
|
|
{
|
|
public class CustomDataExporter : DataExporter
|
|
{
|
|
|
|
public override QueryDC CreateQuery(QueryDC query)
|
|
{
|
|
QueryDC q = null;
|
|
if (query.Oid == 100)
|
|
{
|
|
q = FibuExport.CreateQuery(query);
|
|
}
|
|
|
|
CreateBuchungsExportProtokollEintrag(q);
|
|
return q;
|
|
}
|
|
|
|
public override string CreateExportString(string pFileID, string[] pHeaderCaption, string[][] pContent)
|
|
{
|
|
if (pHeaderCaption != null && pHeaderCaption.Length > 0 && pHeaderCaption[0].Contains("Buchhaltungsexport"))
|
|
{
|
|
//return FibuExport.CreateExportString(pHeaderCaption, pContent);
|
|
}
|
|
return base.CreateExportString(pFileID, pHeaderCaption, pContent);
|
|
}
|
|
}
|
|
}
|