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)

to update the salesstatus

(0) ShareShare
ReportReport
Posted on by 88

HI,

I want to know how to update the "Sales status" field of the SALESTABLE table. I still get the message "Attempting to write to a readonly field"

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    It's updated by posting different updates such as packing slips and invoices.

    If the order is fully delivered the status is updated to Delivered.

    If the order is fully invoiced the status is updated to Invoiced.

    If you cancel the order the status is updated to Canceled.

  • JAMAL HBJ Profile Picture
    88 on at

    Yes you're right but the problem is when I cancel a command on mobility, it does not cancel automatically on AX. that's where I need to step in to update the Status field

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    What do you mean by mobility? Seems you need to fix that process, not try to only update this one field afterwards.

  • JAMAL HBJ Profile Picture
    88 on at

    I only want to update the field sales status with value 4 in the table sales table in AX

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    No worries, it will be updated automatically when you cancel the order properly. I'm sure your customer wants to cancel it properly to avoid any data corruption or incorrect balances in your system.

    If you need help with the cancellation, please share more details of your solution.

  • JAMAL HBJ Profile Picture
    88 on at

    Hi,

    when the command is canceled on mobility, it cancels on pda but not on AX. that's why I want to force the cancellation on AX.  

  • nmaenpaa Profile Picture
    101,172 Moderator on at

    You need to fix your mobile solution. If you need any help with that, please share all relevant details about it.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans