Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit cc98ca3

Browse files
committed
Merge pull request #201 from MatthewSteeples/MJTracking
Use correct tracking object on Line
2 parents 0925b93 + 5aaaa48 commit cc98ca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Xero.Api/Core/Model/Line.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ public class Line : CoreData, IHasId
4242
//There is an inconsistency with TrackingCatgories on JournalLines between Journals and ManualJournals.
4343
//Use TrackingCategories with Journals
4444
[DataMember(EmitDefaultValue = false)]
45-
public List<TrackingCategory> TrackingCategories { get; set; }
45+
public ItemTracking TrackingCategories { get; set; }
4646

4747
//Use Tracking with ManualJournals
4848
[DataMember(EmitDefaultValue = false)]
49-
public List<TrackingCategory> Tracking { get; set; }
49+
public ItemTracking Tracking { get; set; }
5050

5151
[DataMember(Name = "LineAmount", EmitDefaultValue = false)]
5252
public decimal Amount { get; set; }

0 commit comments

Comments
 (0)