include in menu | False |
---|---|
run full access | False |
uses | show dependencies |
# | step id | description |
---|---|---|
1 | 89 | #Store current Content ID for further use |
2 | 141 | Set Variable [ $$CURRENT_CONTENT; Value:Content Management::CONTENT ID MATCH FIELD ] |
3 | 89 | |
4 | 89 | #Go to Notes layout only showing records related to the current Item |
5 | 74 | Go to Related Record [ From table: “Notes”; Using layout: “Notes” (Notes) ] [ Show only related records; New window ] |
6 | 89 | |
7 | 68 | If [ Get ( LastError ) ] |
8 | 89 | #If there's no records found |
9 | 122 | New Window [ Style: Document; Close: Yes; Minimize: Yes; Maximize: Yes; Resize: Yes ] |
10 | 6 | Go to Layout. [ “Notes” ( Notes ) ] |
11 | 26 | Omit Multiple Records [ Get ( FoundCount ) ]
[ No dialog ] |
12 | 7 | New Record/Request |
13 | 69 | Else |
14 | 89 | #Showing records found |
15 | 39 | Sort Records [ Keep records in sorted order; Specified Sort Order: Notes::Timestamp; descending ] [ Restore; No dialog ] |
16 | 16 | Go to Record/Request/Page
[ First ] |
17 | 70 | End If |