• - Added a new endpoint to fix duplicate inventory usage records by merging entries based on UsageBatchId, ProductId, and StoreId.
    - Implemented logic to retain the earliest record while summing quantities and amounts, marking others as invalid.
    - Enhanced the service to log the repair process and provide feedback on the number of processed and invalidated records.
    “wangming” authored
     
    Browse File »