@@ -97,6 +97,7 @@ TZUGFeRDInvoiceDescriptor = class
97
97
FSellerElectronicAddress: TZUGFeRDElectronicAddress;
98
98
FInvoicee: TZUGFeRDParty;
99
99
FShipTo: TZUGFeRDParty;
100
+ FUltimateShipTo: TZUGFeRDParty;
100
101
FPayee: TZUGFeRDParty;
101
102
FShipFrom: TZUGFeRDParty;
102
103
FNotes: TObjectList<TZUGFeRDNote>;
@@ -259,6 +260,11 @@ TZUGFeRDInvoiceDescriptor = class
259
260
// / </summary>
260
261
property ShipTo: TZUGFeRDParty read FShipTo write FShipTo;
261
262
263
+ // / <summary>
264
+ // / This party is optional and only relevant for Extended profile
265
+ // / </summary>
266
+ property UltimateShipTo: TZUGFeRDParty read FUltimateShipTo write FUltimateShipTo;
267
+
262
268
// / <summary>
263
269
// / This party is optional and only relevant for Extended profile
264
270
// / </summary>
@@ -867,6 +873,7 @@ constructor TZUGFeRDInvoiceDescriptor.Create;
867
873
FInvoicee := nil ;// TZUGFeRDParty.Create;
868
874
FInvoicer := nil ;// TZUGFeRDParty.Create;
869
875
FShipTo := nil ;// TZUGFeRDParty.Create;
876
+ FUltimateShipTo := nil ;// TZUGFeRDParty.Create;
870
877
FPayee := nil ;// TZUGFeRDParty.Create;
871
878
FShipFrom := nil ;// TZUGFeRDParty.Create;
872
879
FNotes := TObjectList<TZUGFeRDNote>.Create;
@@ -903,6 +910,7 @@ destructor TZUGFeRDInvoiceDescriptor.Destroy;
903
910
if Assigned(FInvoicee ) then begin FInvoicee.Free; FInvoicee := nil ; end ;
904
911
if Assigned(FInvoicer ) then begin FInvoicer.Free; FInvoicer := nil ; end ;
905
912
if Assigned(FShipTo ) then begin FShipTo.Free; FShipTo := nil ; end ;
913
+ if Assigned(FUltimateShipTo ) then begin FUltimateShipTo.Free; FUltimateShipTo := nil ; end ;
906
914
if Assigned(FPayee ) then begin FPayee.Free; FPayee := nil ; end ;
907
915
if Assigned(FShipFrom ) then begin FShipFrom.Free; FShipFrom := nil ; end ;
908
916
if Assigned(FNotes ) then begin FNotes.Free; FNotes := nil ; end ;
0 commit comments