Index: APPS/TRANSP/Transsmart/impl/RequestDataBouwer.cls.xml
===================================================================
diff -u -r59697 -r59792
--- APPS/TRANSP/Transsmart/impl/RequestDataBouwer.cls.xml (.../RequestDataBouwer.cls.xml) (revision 59697)
+++ APPS/TRANSP/Transsmart/impl/RequestDataBouwer.cls.xml (.../RequestDataBouwer.cls.xml) (revision 59792)
@@ -96,7 +96,7 @@
Set BookingInfo.action= "doBooking"
Set BookingInfo.version = "2.0"
- Set BookingInfo.costcenter = ..BepaalCostCenter(LeveringInfo) ; --> ander afzenderadres? zie ook bepalen afzender adres
+ Set BookingInfo.costcenter = ..BepaalCostCenter(LeveringInfo) ; --> ander afzenderadres
Set BookingInfo.carrier = ..BepaalBookingInfoCarrier(Rit)
Quit BookingInfo
@@ -116,7 +116,7 @@
Set ShipmentInfo.inbound = 0
Set ShipmentInfo.loadmeter = 0
Set ShipmentInfo.noOfPackages = LeveringInfo.AantalVerpakkingEenhedenTotaal
-
+ Set ShipmentInfo.instruction = ..GeefInstruction(LeveringInfo)
#dim GewichtPerEenheid as %Numeric = ##class(TECH.Math).Round(LeveringInfo.Gewicht / LeveringInfo.AantalVerpakkingEenhedenTotaal,2)
set it = ##class(TECH.ListIterator).%New(LeveringInfo.VerpakkingEenheden)
#dim Linecounter as %Integer = 0
@@ -133,12 +133,32 @@
]]>
+
+LeveringInfo:APPS.TRANSP.dto.LeveringInfo
+1
+%String
+ 0) {
+ set Instruction = $Select($Length(Instruction):$$$CRLF,1:"")_ LeveringAdres.Opmerkingen.GetAt(1)
+ }
+ If (LeveringAdres.Opmerkingen.Count() > 1) {
+ set Instruction = $Select($Length(Instruction):$$$CRLF,1:"")_ LeveringAdres.Opmerkingen.GetAt(2)
+ }
+ Quit ..BeperkLengteTot(Instruction,128)
+]]>
+
+
LeveringInfo:APPS.TRANSP.dto.LeveringInfo
1
WS.Transsmart.tns.DoBookingAddress
@@ -195,8 +215,13 @@
1
%String
@@ -237,6 +262,14 @@
Quit ""
]]>
+
+
+Waarde:%String,Lengte:%Integer
+1
+%String
+
+