Monsieur Winner

MS D365FO || Monsieur D365FO

Technical

modifiedfield() method on custom table

///
///// 
public void modifiedField(FieldId _fieldId)
  {
     KWSTrainers kwsTrainers;

     super(_fieldId); 
     switch(_fieldId)
     {
       case fieldNum(KWSTrainers,TrainerId):
          select kwsTrainers where kwsTrainers.TrainerId == this.TrainerId;
          this.TrainerName = kwsTrainers.Name;
          break;
     }
  }

Komi Siabi

Komi Siabi is a Bilingual D365FO Solution architect who loves sharing his knowledge as he works on Both Francophone and Anglophone projects around the globe. He enjoys doing some tiktok videos in his leisure time.

Leave a Reply