Skip to main content

Data Mart ETL - Release Notes

Date: 2026-03-26


New Fields

SalesOrderLines

FieldTypeDescription
NotestringThe user-defined note text connected to the sales order line, sourced from the ERP Note table.
ExtPricedecimalThe extended price in currency for the sales order line, mapped from SOLine.CuryExtPrice.
LastModifiedDateTimeDateTimeThe last modified timestamp of the sales order line.

SupplierDocumentLines

FieldTypeDescription
DeferralSchedulestringThe deferral schedule code associated with the invoice line, replacing the deprecated DeferredCode field.
TermStartDateDateTimeThe start date of the deferral term.
TermEndDateDateTimeThe end date of the deferral term.

SupplierPaymentLines

FieldTypeDescription
LastModifiedDateTimeDateTimeThe last modified timestamp of the supplier payment line.

Renamed Fields

SalesOrderLines

Old names remain available but are marked [Obsolete] and will be removed in a future release.

Old nameNew name
ExpireDateExpirationDate
OrderQtyQuantity
ShippedQtyQtyOnShipments
CuryUnitPriceUnitPriceInBaseCurrency
TranDescLineDescription
ManualDiscManualDiscount
DiscPctDiscountPercent
DiscAmtDiscountAmount
CompleteQtyMinUndershipThreshold
CompleteQtyMaxOvershipThreshold
ShipDateShipOn
RequestDateRequestOn
DiscountIDDiscountCode
IsFreeFreeItem
POCreateMarkForPO
NoteIdNote

Data Quality Improvements

  • Added corrector flow for all 32 ETL entities, ensuring near-real-time updates that were previously missed due to SQL Server rowversion race conditions are now automatically caught and corrected using LastModifiedDateTime-based lookback.
  • The @partOfKey GraphQL directive and (PK) markers are now present on all primary key fields across all entities, making it clear which fields uniquely identify a document.
  • Added companyId + rowVersion compound index to all MongoDB collections for improved query performance.

Bug Fixes

  • CustomerDocument no longer produces duplicate documents. branchId and customerId were incorrectly included in the primary key, causing the same document to appear multiple times. The PK is now CompanyId + DocumentType + ReferenceNumber.
  • CustomerDocumentLine and Warehouse SQL join mismatch between COUNT and UPSERT queries has been fixed, ensuring accurate row counts.

Deprecations

  • SupplierDocumentLines.DeferredCode - Deprecated in favor of DeferralSchedule. The DeferredCode field still exists and is populated, but will be removed in a future release.
  • SalesOrderLines - 16 fields have been renamed (see Renamed Fields above). The old field names still exist and are populated, but are marked [Obsolete] and will be removed in a future release.