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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Post store statements with lines with entry status = voided

(0) ShareShare
ReportReport
Posted on by 215

Dear all

When I try to post the statements from the stores, I sometimes face an error as follows:

"While processing the state Customer order created, generic exception encountered in retail statement XXXX-XXXX in the controller : Field Sales order must be filled in."

I then selected the statement that was generating this error, and went to "Statement > Inquires > Transactions". I have selected the transactions that were generating the error and edited each one through the Excel Add-in. 

What I have noticed is that, every transaction that was generating this error had one line with "Entry Status = Voided". I have changed those lines so that the Entry Status was equal to "None". 

After publishing the excel I was able to successfully post the statement. 

 

hence, my questions are:

1) What is the concept behind the entry status = voided? What does it means when a line is set as voided?

2) What are the implications of me changing the entry status to "None" and then post the statement? Does that change my transactions in any way?

3) If I actually need to post the statement with the entry status as voided, how can I avoid this error? Basically, what is causing this issue?

Thank you all in advance for the help.

I have the same question (0)
  • Afonso Rodrigues Profile Picture
    215 on at

    [UPDATE]

    After running all the steps mentioned above, the transactions which I changed the Entry Status from Voided to None, were "transferred" to the "Cash and carry validation failures". I then edited each one again, and changed the respective lines back to the Entry Status = voided. 

    There was a new calculated statement with only these transactions, that I have posted successfully. 

    So, from what I understand, I am facing the following situation:

    • In a certain statement (statement X) I have some transactions which contains a line with Entry Status = Voided;
    • Upon the posting of the Statement X, it will generate an error referring to the transactions with voided lines. The statement X will not be posted. The error mentions that the "Sales Order field must be filled in";
    • I then edit the transactions from the Statement X which have this voided lines, and change the lines from "voided" to "none",
    • I successfully post Statement X;
    • The edited transactions from Statement X will be "transferred" to the form "Cash and carry validation failures";
    • I, again, edited those transactions and marked the respective lines back to the entry state = voided; 
    • There is a calculated statement (statement Y) containing only these edited transactions; 
    • I try to post statement Y and it was successfully posted (the missing sales order field error didn't show up even though the transaction are with its original entry status)

    So my question is: What is causing that, for transactions with voided lines, the statement cannot be posted at first, having to perfomr all the mentioned steps? 

  • Suggested answer
    Jaroslaw Piekarz Profile Picture
    on at

    Hello Afonso,

    Voided transactions or Voided sales lines should not be posted in retail Statement.

    Cashier can Void whole transaction or some sales lines from transaction. If whole retail transaction is Voided then such transaction is not included into Statement at all.

    If only line or some lines are Voided in Retail transaction then transaction is included into Statement but posted are only not Voided lines.

    Voided lines are not paid and sum of amounts from not Voided sales lines should be that same as Payment amount.

    If you change Status of Voided sales line into None then it will be posted in Sales order and total amount may differ comparing to Payment amount.

    I would suggest you to open support request to analyse this scenario if it still happens.

    Best regards,

    Jaroslaw Piekarz

  • Afonso Rodrigues Profile Picture
    215 on at

    Hello Jaroslaw, thank you for your reply.

    Yes, when I do the steps mentioned on my previous comment, both statements are posted and the voided transactions are not posted.

    However, I imagine that the original error should not occur and that it is not supposed for us to have to perform all of those steps. There's probably something causing this issue, but I cannot figure out what may be. Do you have any thoughts on what may be causing this issue?

    Thanks

  • Jaroslaw Piekarz Profile Picture
    on at

    Hello Afonso,

    Voided sales lines should not be included into Aggregated transactions.

    This seems to be a new issue and I would suggest to open support ticket to analyse it.

    Best regards,

    Jaroslaw Piekarz

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 > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 283 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 196 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans