Vorauskassen-Aviso - Offertenberechnung, DigicustAPI Fix
This commit is contained in:
@@ -651,6 +651,7 @@ Public Class cDigicustAPI
|
||||
'afterNormalization(overwrite -> werden mit mitgeschickten Infos überschrieben).
|
||||
json.UpdateString("priority", "afterNormalization")
|
||||
json.UpdateString("documentStatus", "finished")
|
||||
json.UpdateString("documentType", "UserInput")
|
||||
|
||||
If sendung.consignee_name <> "" Then json.UpdateString("annotatedAggregated.consignee.name.input", sendung.consignee_name)
|
||||
|
||||
@@ -659,7 +660,7 @@ Public Class cDigicustAPI
|
||||
If sendung.consignee_eori <> "" Then json.UpdateString("annotatedAggregated.consignee.EORI.input", sendung.consignee_eori)
|
||||
|
||||
If sendung.licencePlate <> "" AndAlso sendung.lkwCountryId <> "" Then
|
||||
json.UpdateString("annotatedAggregated.meansOfTransportation[0].type", "Inland")
|
||||
json.UpdateString("annotatedAggregated.meansOfTransportation[0].type", "Border")
|
||||
json.UpdateString("annotatedAggregated.meansOfTransportation[0].value", "Road")
|
||||
json.UpdateString("annotatedAggregated.meansOfTransportation[0].licensePlate", sendung.licencePlate)
|
||||
json.UpdateString("annotatedAggregated.meansOfTransportation[0].countryCode", sendung.lkwCountryId)
|
||||
|
||||
Reference in New Issue
Block a user