Use GBP local reference for UK finance
This commit is contained in:
@@ -630,7 +630,7 @@ public class DatabaseSeedService : IDatabaseSeedService
|
|||||||
new FinanceReference { Key = "MSA", Label = "Trafag MSA", Year = 2025, LocalCurrencyValue = 1445258m },
|
new FinanceReference { Key = "MSA", Label = "Trafag MSA", Year = 2025, LocalCurrencyValue = 1445258m },
|
||||||
new FinanceReference { Key = "PL", Label = "Trafag PL Poltraf", Year = 2025, LocalCurrencyValue = 11279297m },
|
new FinanceReference { Key = "PL", Label = "Trafag PL Poltraf", Year = 2025, LocalCurrencyValue = 11279297m },
|
||||||
new FinanceReference { Key = "RU", Label = "Trafag RU", Year = 2025 },
|
new FinanceReference { Key = "RU", Label = "Trafag RU", Year = 2025 },
|
||||||
new FinanceReference { Key = "UK", Label = "Trafag UK", Year = 2025, LocalCurrencyValue = 3538972m, CheckValue = 3749865m },
|
new FinanceReference { Key = "UK", Label = "Trafag UK", Year = 2025, LocalCurrencyValue = 3538972m },
|
||||||
new FinanceReference { Key = "US", Label = "Trafag US", Year = 2025, LocalCurrencyValue = 3896728m, CheckValue = 3749865m }
|
new FinanceReference { Key = "US", Label = "Trafag US", Year = 2025, LocalCurrencyValue = 3896728m, CheckValue = 3749865m }
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -640,7 +640,24 @@ public class DatabaseSeedService : IDatabaseSeedService
|
|||||||
{
|
{
|
||||||
var current = existing.FirstOrDefault(x => x.Year == item.Year && x.Key == item.Key);
|
var current = existing.FirstOrDefault(x => x.Year == item.Year && x.Key == item.Key);
|
||||||
if (current is not null)
|
if (current is not null)
|
||||||
|
{
|
||||||
|
if (current.Key == "UK" && current.Year == 2025)
|
||||||
|
{
|
||||||
|
if (current.LocalCurrencyValue != 3538972m)
|
||||||
|
{
|
||||||
|
current.LocalCurrencyValue = 3538972m;
|
||||||
|
changed = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (current.CheckValue.HasValue)
|
||||||
|
{
|
||||||
|
current.CheckValue = null;
|
||||||
|
changed = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
db.FinanceReferences.Add(item);
|
db.FinanceReferences.Add(item);
|
||||||
changed = true;
|
changed = true;
|
||||||
|
|||||||
Binary file not shown.
@@ -65,7 +65,7 @@ Ergebnis im Reporting:
|
|||||||
|
|
||||||
## Aktuelle Kontrollpunkte
|
## Aktuelle Kontrollpunkte
|
||||||
|
|
||||||
- UK: Aktuell `3'533'710.09 GBP` bei `1'880` Zeilen gegen Soll `3'749'865.00`; Differenz `-216'154.91 GBP`. Mapping ist nun Sage-Netto: `Sales Price/Value * Quantity`, Credit Notes werden bei erkennbarem Sage-Typ negativ erzwungen.
|
- UK: Aktuell `3'533'710.09 GBP` bei `1'880` Zeilen gegen Soll LC `3'538'972.00 GBP`; Differenz `-5'261.91 GBP`. UK wird gegen Local Currency/GBP geprueft; der fruehere `CheckValue 3'749'865.00` ist fuer UK entfernt. Mapping ist Sage-Netto: `Sales Price/Value * Quantity`, Credit Notes werden bei erkennbarem Sage-Typ negativ erzwungen.
|
||||||
- IN: Anzeige muss fachlich `INR` zeigen, auch wenn Quellzeilen verschiedene Belegwaehrungen enthalten.
|
- IN: Anzeige muss fachlich `INR` zeigen, auch wenn Quellzeilen verschiedene Belegwaehrungen enthalten.
|
||||||
- IT: IC-Kundenliste final bestaetigen.
|
- IT: IC-Kundenliste final bestaetigen.
|
||||||
- CH / AT: echtes SAP-Buchungsdatum pruefen, falls `ZSCHWEIZ` aktuell nur Fakturadatum liefert.
|
- CH / AT: echtes SAP-Buchungsdatum pruefen, falls `ZSCHWEIZ` aktuell nur Fakturadatum liefert.
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ Summary:
|
|||||||
|
|
||||||
- Actual UK: `3,533,710.09 GBP`
|
- Actual UK: `3,533,710.09 GBP`
|
||||||
- Rhino reference: `3,749,865.00 GBP`
|
- Rhino reference: `3,749,865.00 GBP`
|
||||||
- Difference: `-216,154.91 GBP`
|
- Reference UK LC/GBP: `3,538,972.00 GBP`
|
||||||
|
- Difference: `-5,261.91 GBP`
|
||||||
|
|
||||||
The mapping has already been reviewed technically, but we still need to clarify the remaining difference before closing the 2025 value.
|
The mapping has already been reviewed technically, but we still need to clarify the remaining difference before closing the 2025 value.
|
||||||
|
|
||||||
|
|||||||
@@ -54,11 +54,13 @@ Aktueller Re-Export nach der Anpassung:
|
|||||||
| --- | ---: |
|
| --- | ---: |
|
||||||
| Zeilen 2025 | `1'880` |
|
| Zeilen 2025 | `1'880` |
|
||||||
| Ist | `3'533'710.09 GBP` |
|
| Ist | `3'533'710.09 GBP` |
|
||||||
| Soll | `3'749'865.00 GBP` |
|
| Soll LC | `3'538'972.00 GBP` |
|
||||||
| Differenz | `-216'154.91 GBP` |
|
| Differenz | `-5'261.91 GBP` |
|
||||||
|
|
||||||
Die Zahl blieb unveraendert, weil die vorhandenen UK-Zeilen bereits negative Betragszeilen enthalten. Die neue Regel verhindert aber, dass kuenftige Sage-Credit-Notes mit positivem Betrag versehentlich als Umsatz addiert werden.
|
Die Zahl blieb unveraendert, weil die vorhandenen UK-Zeilen bereits negative Betragszeilen enthalten. Die neue Regel verhindert aber, dass kuenftige Sage-Credit-Notes mit positivem Betrag versehentlich als Umsatz addiert werden.
|
||||||
|
|
||||||
|
Der fruehere `CheckValue 3'749'865.00` wird fuer UK nicht mehr verwendet. UK ist GBP-Local-Currency und wird gegen `LocalCurrencyValue = 3'538'972.00 GBP` geprueft.
|
||||||
|
|
||||||
## Formulierung fuer CFO / Finance
|
## Formulierung fuer CFO / Finance
|
||||||
|
|
||||||
```text
|
```text
|
||||||
|
|||||||
Reference in New Issue
Block a user