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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

auto populate a field

(0) ShareShare
ReportReport
Posted on by 310

Hi Everyone

so lets say i have a PV List when i choose an item from it it populates different fields 

for example picking an inventory ID will populate the description field 

i have a custom Field and want to populate it the same way when i choose an Equipment ID is there a way i can do that 

Thanks !!

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Sorry to answer your question with a question but I need some more information.

    Is this a custom screen or a standard screen with a customization?  Is your custom field using one of the user fields in the data record behind the screen or is this custom field linked to a custom table?

    The general answer is: yes, you should be able to do this but how you do it varies depending on your answers to the above.

  • Asaleh Profile Picture
    310 on at

    its a standard screen with a customization

    the custom field is using one of the user fields in the data record behind this screen

    Thank you !!

  • Verified answer
    Community Member Profile Picture
    on at

    You will want to add some logic to the check event of the field that has the PV list.  you will need to add something like:

    call setobjectvalue("user1","aaaaaa")

    substitute the correct user field for "user1" and the value you want in that field for the 'aaaaa".

    Now, the code is going to be more complex if the value you want to go into that field is some sort of lookup on another table based of the value selected in the PV list.  At this point you have not been specific enough for me to provide any more detail.

  • Asaleh Profile Picture
    310 on at

    i have the Service Dispatch Module

    i want to to do a customization that when you select the equipment ID

    it auto populates a custom text field i add

    now the equipment ID is cEquipID2 field on the service call entry

    bsmservfault.equipid from the database

    it is set up already to auto populate two other fields the PM Code , Warranty date and the serial number , i want to add the Model field to that

    so i inserted a text field and want to auto populate that field with that value which exists in the equipment maintenance table as the other values are ( equip ID , PM Code , warranty Date , .... )

    let me know if you have any questions

    and i thank you for your help !!!!!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans