web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Facing an issue with CallCenterSalesOrderCustomerPayments

(1) ShareShare
ReportReport
Posted on by 5
HI,
 
While trying to use Data entity MCRSalesOrderCustomerPaymentEntity which uses Odata named /CallCenterSalesOrderCustomerPayments/ but I am getting error as below:
 
{
    /error/: {
        /code///,
        /message//An error has occurred./,
        /innererror/: {
            /message//Function MCRCustPaymTable::getMCRTypeFromTender has been incorrectly called./,
            /type//Microsoft.Dynamics.Ax.Xpp.ErrorException/,
            /stacktrace//   at Dynamics.AX.Application.MCRCustPaymTable.`getMCRTypeFromTender(String _tenderTypeId, Int64 _channel, String _cardType, Boolean @_cardType_IsDefaultSet)//r/   at Dynamics.AX.Application.MCRCustPaymTable.getMCRTypeFromTender(String _tenderTypeId, Int64 _channel, String _cardType, Boolean @_cardType_IsDefaultSet)//r/   at Dynamics.AX.Application.MCRCustPaymTable.getMCRTypeFromTender(String _tenderTypeId, Int64 _channel, String _cardType)//r/   at Dynamics.AX.Application.MCRSalesOrderCustPaymentEntityAX_Extension.`MCRSalesOrderCustomerPaymentEntity_onDefaultingRow(Common _sender, DataEventArgs _eventArgs) in xppSource://Source/AX////AxClass_MCRSalesOrderCustPaymentEntityAX_Extension.xpp:line 14//r/   at Dynamics.AX.Application.MCRSalesOrderCustPaymentEntityAX_Extension.MCRSalesOrderCustomerPaymentEntity_onDefaultingRow(Common _sender, DataEventArgs _eventArgs)//r/   at Microsoft.Dynamics.Ax.Xpp.Common.InvokeEventType(Byte eventId, Common sender, DataEventArgs eventArgs) in D:////dbs////sh////l23t////0330_211406////cmd////a////Source////Kernel////xppil////XppSupport////Common.cs:line 1272//r/   at Microsoft.Dynamics.Ax.Xpp.Common.__Defaultrow_IntImpl__() in D:////dbs////sh////l23t////0330_211406////cmd////a////Source////Kernel////xppil////XppSupport////XppCommon.cs:line 325//r/   at Microsoft.Dynamics.Ax.Xpp.Common.Defaultrow() in D:////dbs////sh////l23t////0330_211406////cmd////a////Source////Kernel////xppil////XppSupport////XppCommon.cs:line 319//r/   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateProcessor.CreateEntity_Save(ChangeOperationContext context, ChangeInfo changeInfo)//r/   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.ExecuteActionsInCompanyContext(IEnumerable`1 actionList, ChangeOperationContext operationContext)//r/   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.TrySave(ChangeOperationContext operationContext)//r/   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateManager.SaveChanges()//r/   at Microsoft.Dynamics.Platform.Integration.Services.OData.AxODataDelegatingHandler.<SaveChangesAsync>d__2.MoveNext()/
        }
    }
}

Please let me know if anyone has any idea or any suggestions to resolve this error
I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at
    MCRCustPaymTable.getMCRTypeFromTender() throws this error if it's called without tender type ID or channel. It seems that  MCRSalesOrderCustPaymentEntityAX_Extension class doesn't call it with the right data; I assume it's a customization. Debugging the code will tell you more.
     
    (Moved from Dynamics AX forum.)
  • PB-22051256-0 Profile Picture
    5 on at
    Currently, I am sending the RetailStoreTenderTypeID(_tenderTypeId) and RetailChannelID (_channel) which are mandatory fields, the corresponding values which I am sending through postman are present in the table RetailChannelTable and RetailtenderTypeTable respectively. Then it takes the value from both the above tables are try to find in the next table which is retailStoreTenderTypeTable, I can see the column for Tender Type in that retailStoreTenderTypeTable but cannot see the Channel column while browsing through d365fo table browser extension from chrome but it is visible in AXdb in Dev machine, Can you please suggest further if you have any further knowledge on the same, if any limitations you are aware of or any suggestions .
  • S Gopi Krishna Profile Picture
    633 on at
    Looks like the payment method is not associated with the channel you are using in your request. Try checking the payment methods for the specific channels in F&O.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans