Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Guidewire Associate Certification - InsuranceSuite Developer - Mammoth Proctored Exam InsuranceSuite-Developer Question # 17 Topic 2 Discussion

Guidewire Associate Certification - InsuranceSuite Developer - Mammoth Proctored Exam InsuranceSuite-Developer Question # 17 Topic 2 Discussion

InsuranceSuite-Developer Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2

Given the following code example:

Code snippet

var query = gw.api.database.Query.make(Claim)

query.compare(Claim#ClaimNumber, Equals, "123-45-6798")

var claim = query.select().AtMostOneRow

According to best practices, which logic returns notes with the topic of denial and filters on the database?


A.

var notesQuery = gw.api.database.Query.make(Note); var denialNotes = notesQuery.select().where(\elt -> elt.Topic==NoteTopicType.TC_DENIAL)


B.

var denialNotes = claim.Notes.where(\elt -> elt.Topic==NoteTopicType.TC_DENIAL)


C.

var notesQuery = gw.api.database.Query.make(Note); notesQuery.compare(Note#Topic, Equals, NoteTopicType.TC_DENIAL); notesQuery.compare(Note#Claim, Equals, claim); var denialNotes = notesQuery.select()


D.

var notesQuery = gw.api.database.Query.make(Note); notesQuery.compare(Note#Topic, Equals, NoteTopicType.TC_DENIAL); var denialNotes = notesQuery.select()


Get Premium InsuranceSuite-Developer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.