销售增值税普通发票

This commit is contained in:
2025-12-16 09:11:43 +08:00
parent 1f5bcc1052
commit 412456b366

View File

@@ -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());
}
}
}
}