eInvoice Web Service: 900 -> 4000 Zeichen-Grenze
This commit is contained in:
parent
5eb803ccbb
commit
5f2f9af38c
@ -419,10 +419,10 @@ namespace ZUGFeRDRESTService.Controllers
|
|||||||
"(@REFERENCE_GUID, @ITEM_DESCRIPTION, @ITEM_VALUE, @CREATEDWHO, @SPEC_NAME, @GROUP_COUNTER, @IS_REQUIRED)";
|
"(@REFERENCE_GUID, @ITEM_DESCRIPTION, @ITEM_VALUE, @CREATEDWHO, @SPEC_NAME, @GROUP_COUNTER, @IS_REQUIRED)";
|
||||||
|
|
||||||
string itemValue = string.Empty;
|
string itemValue = string.Empty;
|
||||||
if (pProperty.Value.Length > 900)
|
if (pProperty.Value.Length > 4000)
|
||||||
{
|
{
|
||||||
itemValue = pProperty.Value.Substring(1, 899);
|
itemValue = pProperty.Value.Substring(1, 4000);
|
||||||
_logger.Warn("Value for field [{0}] is longer than 900 characters, will be truncated!", pProperty.TableColumn);
|
_logger.Warn("Value for field [{0}] is longer than 4000 characters, will be truncated!", pProperty.TableColumn);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user