Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Grid Property Customization in SL 7.0 SP1

(0) ShareShare
ReportReport
Posted on by

I don't know either this one is Solomon standard's bug or customization's bug. What I'm curious is this bug will not happen in standard level but the customization is the simple one. I have an experience of this one while customized Cash Account Transaction and Purchase Order screen. I was only  set the property for grid's property exactly enabled property. The enabled property on grid will be changed based on the header's condition. Actually the header's condition is also customization. For example:

I wrote this code in spread1_LineGotFocus_Event

if status = "H" then

    if flagbudget = 1 then

       call msetprop("cTranDate", prop_enabled, false)

        ...

      call msetprop("...", prop_enabled, false)
 

    end if 

end if 

The weird was on the next entry or after you cancel or open the others hold batnbr, the F3 or F7 functionality in trandate field will disable, but I could double right-click and unfortunately, the value will not be loaded in grid view, but it was loaded in form view. I could saw it. What is it?

Another example was when I customized Purchase Order screen, the same way with Cash account transaction, my qty field, will always reset to zero every I input the new one. Then I released the set property for this field, and luckily I got the error in unit price field :(. My unit price will reset to zero every I input the new one.

I don't know what I have to do next, my temporary solution was, I release the set property for the weird fields, but I added the validation by wrote a 'retval = errnomess'  code. Is there any hotfix of this one? 

*This post is locked for comments

  • Community Member Profile Picture
    on at
    Re: Grid Property Customization in SL 7.0 SP1

    Hi Craig,

    Unfortunately the customization in SL 7.0 SP1 still use VB 6 as their framework. The .Net framework only works at VBRDT customization, so I can not overload the double click event in this case.

    Regards,

    -Afin- 

  • Community Member Profile Picture
    on at
    Re: Grid Property Customization in SL 7.0 SP1

    Arifin

    This looks like it is pretty straight forward and should work. Perhaps your customization is getting overridded by default behaviour in another event. Have you tried overloading the double click event also?

     thanks

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