Share via


ReasonTableRef::createFromCode Method

Creates a new ReasonTableRef row from a supplied reason code value.

Syntax

client server public static ReasonRefRecID createFromCode(ReasonCode _reason)

Run On

Called

Parameters

Return Value

Type: ReasonRefRecID Extended Data Type
If successful, a ReasonRefRecID identifier that is not zero; otherwise, zero.

Remarks

It is intended to be used for edit methods on tables that will require a reference to a reason code.

See Also

Reference

ReasonTableRef Table