From 89c9b69db7a6b3408d108c727ffaa90d8b6afada Mon Sep 17 00:00:00 2001 From: Simon Dingley <1590398+ProNotion@users.noreply.github.com> Date: Tue, 21 Apr 2026 09:00:37 +0100 Subject: [PATCH] feat(ledger): add DateAndTime field to LedgerDetailReportRow Parses the "Date and Time" column from the GET_LEDGER_DETAIL_VIEW_DATA report into a new DateAndTime property, giving callers full timestamp precision alongside the existing date-only Date field. --- Source/FikaAmazonAPI/ReportGeneration/LedgerDetailReport.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/FikaAmazonAPI/ReportGeneration/LedgerDetailReport.cs b/Source/FikaAmazonAPI/ReportGeneration/LedgerDetailReport.cs index c6a3acdf..737ec5e7 100644 --- a/Source/FikaAmazonAPI/ReportGeneration/LedgerDetailReport.cs +++ b/Source/FikaAmazonAPI/ReportGeneration/LedgerDetailReport.cs @@ -46,12 +46,14 @@ public class LedgerDetailReportRow public int? ReconciledQuantity { get; set; } public int? UnreconciledQuantity { get; set; } public string refNumber { get; set; } + public DateTime? DateAndTime { get; set; } public static LedgerDetailReportRow FromRow(TableRow rowData, string refNumber) { var row = new LedgerDetailReportRow(); row.Date = DataConverter.GetDate(rowData.GetString("Date"), DataConverter.DateTimeFormat.DATE_LEDGER_FORMAT); + row.DateAndTime = DataConverter.GetDate(rowData.GetString("Date and Time"), DataConverter.DateTimeFormat.DATETIME_K_FORMAT); row.FNSKU = rowData.GetString("FNSKU"); row.ASIN = rowData.GetString("ASIN"); row.MSKU = rowData.GetString("MSKU");