Default Spain export range to last seven days

This commit is contained in:
2026-06-04 15:27:21 +02:00
parent e55a86ccca
commit 8e0b696150
5 changed files with 11 additions and 7 deletions
@@ -86,7 +86,7 @@ rclone lsd trafag-bi:
rclone lsd trafag-bi:"Import/Finance"
rclone lsd trafag-bi:"Import/Finance/Spanien"
Run daily range export and upload, default window yesterday until today:
Run range export and upload with default window last 7 days until today:
.\Run-SpainExportAndUpload.ps1
@@ -94,7 +94,7 @@ Explicit range:
.\Run-SpainExportAndUpload.ps1 -ExportMode Range -DateFilter LineRegistrationDate -FromDate "2026-06-02" -ToDate "2026-06-03"
Simple starter script with default test range 2026-06-01 until 2026-06-04:
Simple starter script with default window last 7 days until today:
.\Start-SpainRangeExportAndUpload.ps1
@@ -105,6 +105,10 @@ Same starter script with another range:
Single-file all-in-one range export and upload.
This file does not require Export-SageSpainSalesCsv.ps1 or Run-SpainExportAndUpload.ps1:
.\Run-SpainRangeExportAndUpload-AllInOne.ps1
Override the all-in-one default date window:
.\Run-SpainRangeExportAndUpload-AllInOne.ps1 -FromDate "2026-06-01" -ToDate "2026-06-04"
The all-in-one script checks/creates the SharePoint folder before export, uploads the generated CSV and summary, and verifies that the uploaded files are listed in SharePoint.