销售增值税普通发票
This commit is contained in:
@@ -31,6 +31,9 @@ namespace Gatedge.K3.Pilot.PlugIn.BOSPlugIn.AR_SalesVATInvoice.ServicePlugIn
|
|||||||
public override void EndOperationTransaction(EndOperationTransactionArgs e)
|
public override void EndOperationTransaction(EndOperationTransactionArgs e)
|
||||||
{
|
{
|
||||||
base.EndOperationTransaction(e);
|
base.EndOperationTransaction(e);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
foreach (var dataEntity in e.DataEntitys)
|
foreach (var dataEntity in e.DataEntitys)
|
||||||
{
|
{
|
||||||
var billObj = dataEntity as DynamicObject;
|
var billObj = dataEntity as DynamicObject;
|
||||||
@@ -103,9 +106,15 @@ SET FIDD = {entryId},
|
|||||||
WHERE FENTRYID = {entryId}";
|
WHERE FENTRYID = {entryId}";
|
||||||
Logger.Error($"销售增值税专用发票: {updateSql}");
|
Logger.Error($"销售增值税专用发票: {updateSql}");
|
||||||
DBServiceHelper.Execute(this.Context, updateSql);
|
DBServiceHelper.Execute(this.Context, updateSql);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.Error("销售增值税专用发票出错了:", ex.Message, new Exception());
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user