More actions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | ||
}} | }} | ||
===Notes=== | ==== Notes ==== | ||
The CommentType of the object use below values: | |||
*Description | The CommentType of the object use below values: | ||
*Proposal | |||
*Comment | *Description | ||
*Reassignment | *Proposal | ||
*Outcome | *Comment | ||
*Disapproval | *Reassignment | ||
*Cancellation | *Outcome | ||
*Rejection | *Disapproval | ||
*NotAcceptRejection | *Cancellation | ||
*Acceptance | *Rejection | ||
*Approval | *NotAcceptRejection | ||
*Mergence | *Acceptance | ||
*Approval | |||
*Mergence | |||
*UndoComplete | *UndoComplete |
Revision as of 04:43, 14 November 2011
ResourceJournalEntry
A resource journal entry
Constructors
- (number Resource Id "Comment to what resource", string journalType "What kind of journal type is it", string content "What does the comment say") - Create a new comment object. Use Resource_addJournal or .Save() to save. Creating user is current user. Use addJournal() if dealing with tasks.
Methods
- Empty Save() - Save the current comment
- string ToString() - The string representation of the object.
Properties
- string CommentType { get; } - Get the comment type as string
- string Content { get; set; } - Get/set the comment content
- number CreatedByUserResourceId { get; } - Get CreatedByUserResourceId
- DateTime CreatedDate { get; } - Get CreatedDate
- number ModifiedByUserResourceId { get; } - Get ModifiedByUserResourceId
- DateTime ModifiedDate { get; } - Get ModifiedDate
- string ObjectTypeName { get; } - The name of the type of object.
- TypeInformation TypeInformation { get; } - Get information about this class.
Notes
The CommentType of the object use below values:
- Description
- Proposal
- Comment
- Reassignment
- Outcome
- Disapproval
- Cancellation
- Rejection
- NotAcceptRejection
- Acceptance
- Approval
- Mergence
- UndoComplete