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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

The field is not saved in the table

(0) ShareShare
ReportReport
Posted on by

Hello,

I have a problem when I save one field in one table. I am in EcoResProductDetailsExtended form and I need save "AOInterfaceSislog.CodTpr" field. If I don't press "Control + S" key the field save correctly. But when I press "Control + S" key, the table don't update correctly.

The code from field in form is 

2337.Captura.PNG

The value of field is correctly until it arrives table method update. When finish update super, the field has the correctly value but in table appears other value

I don't know the problem and I need your help.

Thank you very much

Alex

*This post is locked for comments

I have the same question (0)
  • Rustem Galiamov Profile Picture
    8,072 on at
    RE: The field is not saved in the table

    Hi alex_fernandez!

    That is the method modified() ? It's method on form control?

    And what is the AOInterfaceSislog table? Did you already have selected record before you try to update it?

    And why you're commented super() in modified() method?

  • Community Member Profile Picture
    on at
    RE: The field is not saved in the table

    Hi Rustem,

    Yes. It's my method and my table. I comment this lines because with super don`t update the table.

    And yes, with debugger I control that record is I selected.

    At the moment update the table with correctly value when modified the value, but with "Control + S" key not.

  • Rustem Galiamov Profile Picture
    8,072 on at
    RE: The field is not saved in the table

    Is the Parameters_CodTpr and AOInterfaceSislog.CodTpr are the same fields? I mean what Parameters_CodTpr control is the field from AOInterfaceSislog ?

    If yes, then the problem is not in modified() method.

  • Community Member Profile Picture
    on at
    RE: The field is not saved in the table

    Yes.

    The value arrives until the super of the update of the table. Pass the super and follow the value, but when you update the table the value is not

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: The field is not saved in the table

    Have you done any code in insert() method?? if yes then you should see the insert method.

  • Suggested answer
    Rustem Galiamov Profile Picture
    8,072 on at
    RE: The field is not saved in the table

    Try to remove the modified() method or return standard code and put the breakpoint to update() method on a table.

  • Community Member Profile Picture
    on at
    RE: The field is not saved in the table

    no, in the update method and in the insert method, only the super

  • Rustem Galiamov Profile Picture
    8,072 on at
    RE: The field is not saved in the table

    How the AOInterfaceSislog was joined in EcoResProductDetailsExtended form?

  • Community Member Profile Picture
    on at
    RE: The field is not saved in the table

    i think you are missing ttsbegin and ttscommit.

  • Community Member Profile Picture
    on at
    RE: The field is not saved in the table

    I discovered. It was a dialogue that says that there are open orders with that article. If I gave it to cancel the field was saved well. If I give it to accept it loses the value.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans