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