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 :
Finance | Project Operations, Human Resources, ...
Answered

Certificate type in D365Fo

(0) ShareShare
ReportReport
Posted on by 1,215

Hi guys,

i have a HcmCetrificateType form added in two fields.

1. check box

2. total hour.

i have a record Certificate Type :CA , Check box "Yes" and Total hour 20.

same two fields i added aslo in HcmJob form.

now when i click in the HcmJob Certificate Taps.

once i select Certificate type :CA i want to automatically   Check box "Yes" and Total hour 20.

there is no relation give me an example.

Thanks 

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Riays,

    From where have you added the field in HcmJob form? Have you extended table HcmJobPreferredCertificate with new fields?

  • Riyas ahamed F Profile Picture
    1,215 on at

    Thanks for your replay sir,

    i have added two field HcmCetrificateType and HcmJob only.

    no any extended table HcmJobPreferredCertificate.

  • Riyas ahamed F Profile Picture
    1,215 on at

    HcmJob form Cetrificate taps i added in two fields,

    ce.PNG

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Riyas,

    But you can have many certificates attached to one job. How do you know from which certificate you need to copy values?

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Riyas,

    The screenshot you have added is related to the grid attached to HcmJobPreferredCertificate table. Are you sure you added fields to the correct table (you said it's HcmJob table but looks like it should be HcmJobPreferredCertificate)?

  • Riyas ahamed F Profile Picture
    1,215 on at

    Yes sir you are correct, but i added hcmJob table.

    CE_4000_.PNG

    okay sir i will add to HcmJobPreferredCertificate table.

    now in  HcmCetrificateType i have a value below.

    Certificate type :MBA , Check box (Yes), Total hour 20.

    same value i want to if i select in Hcmjob Taps  Certificate type :MBA automatically two field update. 

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Riyas,

    In this case, you can just create CoC method for modifiedField method on HcmJobPreferredCertificate to inherit values from HcmCertificateType to HcmJobPreferredCertificate.

    [ExtensionOf(tableStr(HcmJobPreferredCertificate))]
    public final class HcmJobPreferredCertificateMyModel_Extension
    {
        public void modifiedField(FieldId _fieldId)
        {
            next modifiedField(_fieldId);
    
            switch (_fieldId)
            {
                case (fieldNum(HcmJobPreferredCertificate, CertificateType)):
                    HcmCertificateType hcmCertificateType = HcmCertificateType::find(this.CertificateType);
    
                    this.MyField1 = hcmCertificateType.MyField1;
                    this.MyField2 = hcmCertificateType.MyField2;
    
                    break;
            }
        }
    
    }

  • Riyas ahamed F Profile Picture
    1,215 on at

    Thank you very much sir.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans