Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

how to create runtime blankerr

Posted on by 95

In PO Maintainance Screen 

--- In the grid,if i select puchase for "Good for Invetory"  the inventory id filled should be required Filed(Blank Err True) at runtime

*This post is locked for comments

  • Senthil murugan Profile Picture
    Senthil murugan 95 on at
    Re: how to create runtime blankerr

    Thanks u very much for u...

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: how to create runtime blankerr

    in the property Spread1 event "LineGotFocus"

    check Line Type

    If line is "Good of inventory" then

    call msetprop("FIELD_NAME",PROP_BLANKERR,TRUE)

    else

    call msetprop("FIELD_NAME",PROP_BLANKERR,FALSE)

    regards.

    Noe

  • Rachel Moore Profile Picture
    Rachel Moore on at
    Re: how to create runtime blankerr

    Hello Senthil,

    I was able to find the following information in the Customization Manager Reference: Visual Basic for Applications user guide that can be installed with the SL program.  The is from the 2011 release.  I am not sure which version you are running but it could be pertinent to you.

    "To modify the value of the BlankErr property at runtime, the SetProp statement should be used rather than modifying the property directly in Visual Basic code. Usage of SetProp allows the system to track changes to property values so as to avoid conflicts with customizations."

    I hope you find this information helpful.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans