Hi all,
I'm trying to activate mPOS, but ran into this error and can't seem to figure it out.
I checked Event Viewer and this is what I get. Where do I need to go to fix this problem?
Non-CommerceRuntimeException was thrown.System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at Microsoft.Dynamics.Commerce.Runtime.Services.ReceiptMaskFiller.GetNumberSequenceFromReceipt(String receiptMask, String receiptId)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.NumberSequenceRequestHandler.GetNumberSequenceDataByReceiptId(SalesTransaction salesTransaction)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.NumberSequenceRequestHandler.GetNumberSequenceFromChannelDatabase(String terminalId)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.NumberSequenceRequestHandler.Process(GetNumberSequenceRequest request)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.WorkflowRequestHandler`2.Execute(Request request)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)
*This post is locked for comments
The cause was the receipt numbering format was too big. What I did was change it back to a smaller value. I did it in Retail > Setup > POS > Profiles > Functionality profiles at the bottom you should see Receipt numbering edit that and run 1090 + 1070 job and try to activate mPOS again.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156