销售增值税修改以及sx合同

This commit is contained in:
2025-12-11 22:28:43 +08:00
parent 16d9a34db7
commit 2cbb772c2c
5 changed files with 207 additions and 77 deletions

View File

@@ -23,13 +23,13 @@ namespace Gatedge.K3.Pilot.PlugIn.BOSPlugIn.AR_SalesVATInvoice.ServicePlugIn
e.FieldKeys.Add("FSEQQ");
e.FieldKeys.Add("SRCBILLTYPEID"); // 实体属性名没有F前缀
e.FieldKeys.Add("SRCBILLNO"); // 实体属性名没有F前缀
e.FieldKeys.Add("FSEQ");
e.FieldKeys.Add("SEQ");
}
public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
{
base.AfterExecuteOperationTransaction(e);
public override void EndOperationTransaction(EndOperationTransactionArgs e)
{
base.EndOperationTransaction(e);
foreach (var dataEntity in e.DataEntitys)
{
var billObj = dataEntity as DynamicObject;
@@ -88,7 +88,7 @@ WHERE FENTRYID = {entryId}";
else
{
// FIDD <= 0 时把当前行FID赋值给FIDD同时把FSEQ赋值给FSEQQ
var seq = entry["FSEQ"]?.ToString() ?? "0";
var seq = entry["SEQ"]?.ToString() ?? "0";
var updateSql = $@"/*dialect*/
UPDATE T_IV_SALESICENTRY
SET FIDD = {entryId},