MoySklad returns minPrice.value and salePrices[*].value as fractional numbers for some accounts/products (not always pure kopecks). Deserializing as long failed with "out of bounds for an Int64" → 500 on import. Switch MsMoney.Value and MsSalePrice.Value to decimal, which accepts both integer and decimal representations. Division by 100m already happens when mapping to local Product, so semantics are unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| MoySkladClient.cs | ||
| MoySkladDtos.cs | ||
| MoySkladImportService.cs | ||