Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Save subcontract Line Item details on LineGotFocus or LineChk??

(0) ShareShare
ReportReport
Posted on by 47

Hi

I please need help with the following:
I want to invoke the save button of the Subcontract Maintenance screen when tabbing out of a line item or when loosing focus

So I would like the Subcontract to save the line item details every time a user add a following line or when a previous line was altered and focus is lost from that line again...

Can someone please advise me on how I can accomplish this?
Thank you 

Regards,
Lee-Roy

*This post is locked for comments

  • FATSN00 Profile Picture
    47 on at
    RE: Save subcontract Line Item details on LineGotFocus or LineChk??

    Hi Mark

    Yes I have tried that, I have also tried putting it in LineGotFocus to see if it makes a difference but it gives me an error:

    Assertion failure!

    File: ctlbgrid.cpp

    Line: 2846

    Expression: m_bFlushCurrentRow == FALSE

    Any Idea what might be the problem?

    Thanks for your reply

  • Mark E Profile Picture
    6,451 on at
    RE: Save subcontract Line Item details on LineGotFocus or LineChk??

    Did you try calling the Edit_Save function within the LineGotFocus event?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

#1
Community Member Profile Picture

Community Member 136

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 102 Super User 2025 Season 1

#3
REUser Profile Picture

REUser 8

Featured topics

Product updates

Dynamics 365 release plans