29 lines
797 B
C#
29 lines
797 B
C#
using Kingdee.BOS;
|
|
using Kingdee.BOS.Core.DynamicForm;
|
|
using Kingdee.K3.FIN.Contracts;
|
|
using Kingdee.K3.FIN.Core.Match.Object;
|
|
using Kingdee.K3.FIN.Core.Parameters;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace CYG.AutoWriteOffWizardEditPlugInEx
|
|
{
|
|
public class MatchServiceHelperEx
|
|
{
|
|
public static IOperationResult WriteOffMatch(Context ctx, MatchParameters para, List<Dictionary<long, MatchBillData>> schemeMatchDatas)
|
|
{
|
|
IMatchService service = new MatchServiceEx();
|
|
try
|
|
{
|
|
return service.WriteOffMatch(ctx, para, schemeMatchDatas);
|
|
}
|
|
finally
|
|
{
|
|
ServiceFactory.CloseService(service);
|
|
}
|
|
}
|
|
}
|
|
}
|