Skip to main content

Class CopyPartCheck

Namespace: SuperOffice.WebApi.Data Assembly: SuperOffice.WebApi.dll Carrier object for CopyPartCheck. Whether one optional part of a copy can be copied, and if not, why. Returned for each part by the copy check operations, such as SaleAgent.CheckSaleEntityCopy and ProjectAgent.CheckProjectEntityCopy.

Inheritance

object ← CopyPartCheck

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

CopyPartCheck()

Default constructor - defaults any enum props to 0.

Properties

Reason

Localized explanation of why the part can’t be copied, written to be shown with the part’s option. Empty unless State is NotAvailable or NotLicensed.

Property Value

string

ShortReason

Localized one-line summary naming the part, for a list of what the copy won’t include. Empty when Reason is empty.

Property Value

string

State

Whether the part can be copied: available, nothing on the source to copy, not offered to this user, or not available for a reason given in Reason. NULL if unknown enum value.

Property Value

CopyPartAvailability?

See Also

CopyPartCheck.State_String

State_String

Whether the part can be copied: available, nothing on the source to copy, not offered to this user, or not available for a reason given in Reason. Raw string enum value.

Property Value

string

See Also

CopyPartCheck.State

See Also

SaleAgent