ITEM_TYPE einlesen

This commit is contained in:
PitzM 2025-05-13 14:40:27 +02:00
parent a517f89c30
commit 746c557efa
2 changed files with 6 additions and 2 deletions

View File

@ -140,7 +140,8 @@ Public Class Form1
.RejectedEmailDirectory = "E:\DocumentProcessing\Output\Rejected_eml",
.AttachmentsSubDirectory = "Attachments",
.RejectionTemplateId = 1,
.MinFileAgeInMinutes = 1
.MinFileAgeInMinutes = 1,
.AllowPeppolBISBill3x = True
}
args = LoadPropertyMapFor(args)

View File

@ -5,6 +5,8 @@ using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using System.Data;
using DigitalData.Modules.Logging;
using DigitalData.Modules.Interfaces.Peppol.BISBilling30CreditNote;
using System;
namespace ZUGFeRDRESTService
{
@ -68,7 +70,8 @@ namespace ZUGFeRDRESTService
GroupScope = oRow["GROUP_SCOPE"].ToString(),
IsRequired = (bool)oRow["IS_REQUIRED"],
IsGrouped = (bool)oRow["IS_GROUPED"],
Specification = oRow["SPECIFICATION"].ToString()
Specification = oRow["SPECIFICATION"].ToString(),
ItemType = oRow["ITEM_TYPE"] != null ? Convert.ToInt32(oRow["ITEM_TYPE"]) : 0
});
}
} else