Hi All
I have configured an evironment and a new POS, which is working OK except for customer orders.
At the point of creating the order, I am getting an error "We cannot process your request at this time." The error message in the event viewer (below) suggests it's something to do with order masks for the channel reference ID.
I've set up receipt numbering in the functionality profile (which works for carry-out sales) but still get this error for customer orders.
Has anyone seen this before? Have I missed some simple config or a number sequence?
Thanks
Neil
Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.Dynamics.Commerce.Runtime.Services.OrderNumberMaskFiller.ApplyMask(String identifier, String mask, String characterPool)
at Microsoft.Dynamics.Commerce.Runtime.Services.SalesOrderService.<GenerateOrderNumber>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Commerce.Runtime.RequestHandlerAdapter.Execute(Request request)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.<Execute>d__41`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.<Execute>d__41`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler, Boolean skipRequestTriggers)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context, IRequestHandler handler)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[TResponse](Request request, RequestContext context)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.OrderWorkflowHelper.FillChannelReferenceIdWithRandomString(RequestContext context, SalesTransaction salesTransaction)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.OrderWorkflowHelper.FillMissingRequirementsForOrder(RequestContext context, SalesTransaction salesTransaction)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.CustomerOrderWorkflowHelper.FillMissingRequirementsForOrder(RequestContext context, SalesTransaction salesTransaction)
at Microsoft.Dynamics.Commerce.Runtime.Workflow.SaveCustomerOrderRequestHandler.Process(SaveCustomerOrderRequest request)
at Microsoft.Dynamics.Commerce.Runtime.SingleRequestHandler`2.Execute(Request request)
at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.<Execute>d__41`1.MoveNext()