• Benjamin Schlund
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi, we're a non profit org with very limited recources. Therfore thanks for any help since we don't have IT personal.
I wrote this follwing Apex-Code which apparentely needs testing before deployment. I guess it's not to hard, but I have no idea how to do it. Thanks!

public class PV_Stundenerfassung {
 
  public Contact getContact() {
    return [select id, name, PV_Soz_Abgeleistete_Stunden__c,
            (select name, PV_SE_Mitarbeiter__c, PV_SE_Datum__c, PV_SE_Stundenanzahl__c, LastModifiedBy.firstname, LastModifiedBy.lastname, LastModifiedDate, PV_SE_Datum_Anzeige__c, PV_SE_Zuletzt_geaendert_Anzeige__c
             from Stundenerfassung__r )
            from Contact where id =
             :System.currentPageReference()
             .getParameters().get('id')];
  }
}
Hi, we're a non profit org with very limited recources. Therfore thanks for any help since we don't have IT personal.
I wrote this follwing Apex-Code which apparentely needs testing before deployment. I guess it's not to hard, but I have no idea how to do it. Thanks!

public class PV_Stundenerfassung {
 
  public Contact getContact() {
    return [select id, name, PV_Soz_Abgeleistete_Stunden__c,
            (select name, PV_SE_Mitarbeiter__c, PV_SE_Datum__c, PV_SE_Stundenanzahl__c, LastModifiedBy.firstname, LastModifiedBy.lastname, LastModifiedDate, PV_SE_Datum_Anzeige__c, PV_SE_Zuletzt_geaendert_Anzeige__c
             from Stundenerfassung__r )
            from Contact where id =
             :System.currentPageReference()
             .getParameters().get('id')];
  }
}