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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Pay customer account showing Error , when click Payment account

(0) ShareShare
ReportReport
Posted on by 360

Hi Experts , 

i am using Ax2012 R3,  and i want to execute Pay customer account scenario , i selected customer and the item and client pay customer account . 

1_2D00_-cutomer-account.png

when click payment account it is showing this Error . 

2-customer-acount.png

in event log , following are the Error showing :

Microsoft.Dynamics.Retail.Pos.Customer.Customer: System.NullReferenceException: Object reference not set to an instance of an object.
at LSRetailPosis.TransactionServices.InvokeMethod(String methodName, Object[] parameters)
at LSRetailPosis.TransactionServices.Invoke(String methodName, Object[] parameters)
at Microsoft.Dynamics.Retail.Pos.Customer.Customer.GetCustomerBalances(String customerId, String invoiceCustomerId).
-------------------------------

LSRetailPosis.POSProcesses.PayCustomerAccount: System.NullReferenceException: Object reference not set to an instance of an object.
at LSRetailPosis.TransactionServices.InvokeMethod(String methodName, Object[] parameters)
at LSRetailPosis.TransactionServices.InvokeMethodNoDataReturn(Boolean& retValue, String& comment, String methodName, Object[] parameterList)
at LSRetailPosis.TransactionServices.ValidateCustomerStatus(Boolean& valid, String& comment, String customerId, Decimal amount, String currencyCode)
at Microsoft.Dynamics.Retail.Pos.Customer.Customer.AuthorizeCustomerAccountPayment(Boolean& valid, String& comment, String& manualAuthenticationCode, String customerId, Decimal amount, IRetailTransaction retailTransaction)
at LSRetailPosis.POSProcesses.PayCustomerAccount.Execute().
-------------------------------------
Microsoft.Dynamics.Retail.Pos.Customer.Customer: System.NullReferenceException: Object reference not set to an instance of an object.
at LSRetailPosis.TransactionServices.InvokeMethod(String methodName, Object[] parameters)
at LSRetailPosis.TransactionServices.InvokeMethodNoDataReturn(Boolean& retValue, String& comment, String methodName, Object[] parameterList)
at LSRetailPosis.TransactionServices.ValidateCustomerStatus(Boolean& valid, String& comment, String customerId, Decimal amount, String currencyCode)
at Microsoft.Dynamics.Retail.Pos.Customer.Customer.AuthorizeCustomerAccountPayment(Boolean& valid, String& comment, String& manualAuthenticationCode, String customerId, Decimal amount, IRetailTransaction retailTransaction).

Please give me any clue, or anyone having face this issue

-SAJID

*This post is locked for comments

  • Pir_Rana Profile Picture
    836 on at

    Hi,

    Have you setup the Customer account payment method for the store?

  • Syed Muhammad Sajid Profile Picture
    360 on at

    HI , 

    Yes, its already setup. 

    Store > Setup > Payment method and set the customer account .

    all job executed. 

     customer-acount3.png

    Thanks 

    -SAJID

  • Community Member Profile Picture
    on at

    Hi SaJid,

    I have the same problem, could you please advise me the solution for this

    Thank you

  • Verified answer
    Zaheen82 Profile Picture
    on at

    Solution -

    It seems the issue is with  the Real time Service wasnt configured.

    Once done this payment method works fine

  • Verified answer
    Syed Muhammad Sajid Profile Picture
    360 on at

    @ Jenny

    Check the Real time sync service , it must be configure correctly and running. i was the same service issue i had,

    @Thanks Zaheen .

    -SAJID

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans