ReasonTableRef::createReasonTableRef Method
Creates a ReasonTableRef table row for the supplied cancel reason or cancel reason comment.
Syntax
client server public static ReasonRefRecID createReasonTableRef(ReasonCode _reason, ReasonComment _comment)
Run On
Called
Parameters
- _reason
Type: ReasonCode Extended Data Type
- _comment
Type: ReasonComment Extended Data Type
Return Value
Type: ReasonRefRecID Extended Data Type
A ReasonRefRecID identifier that is not zero if successful, otherwise, zero.
Remarks
Only creates the reason table reference if the cancel reason or cancel reason comment is not blank.