Show / Hide Table of Contents

Class NSSuggestedDocumentEntity

Syntax

Constructors

NSSuggestedDocumentEntity()

Initializes a new instance of the NSSuggestedDocumentEntity class.

Declaration
NSSuggestedDocumentEntity

Methods

GetDeleted()

Declaration
Bool GetDeleted()
Returns
Type Description
Bool

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.

Examples
NSSuggestedDocumentEntity thing;
Bool deleted = thing.GetDeleted();

GetDocTmpl()

Declaration
NSDocumentTemplate GetDocTmpl()
Returns
Type Description
NSDocumentTemplate

Document template.

Examples
NSSuggestedDocumentEntity thing;
NSDocumentTemplate docTmpl = thing.GetDocTmpl();

GetDoctmplId()

Declaration
Integer GetDoctmplId()
Returns
Type Description
Integer

Type of the suggested document.

Examples
NSSuggestedDocumentEntity thing;
Integer doctmplId = thing.GetDoctmplId();

GetHeader()

Declaration
String GetHeader()
Returns
Type Description
String

Suggested 'header'

Examples
NSSuggestedDocumentEntity thing;
String header = thing.GetHeader();

GetName()

Declaration
String GetName()
Returns
Type Description
String

Item name, visible in Guide.

Examples
NSSuggestedDocumentEntity thing;
String name = thing.GetName();

GetOurRef()

Declaration
String GetOurRef()
Returns
Type Description
String

Suggested 'our reference'

Examples
NSSuggestedDocumentEntity thing;
String ourRef = thing.GetOurRef();

GetProjectTypeStatusLink()

Declaration
NSProjectTypeStatusLink GetProjectTypeStatusLink()
Returns
Type Description
NSProjectTypeStatusLink

Project type and project status link info.

Examples
NSSuggestedDocumentEntity thing;
NSProjectTypeStatusLink projectTypeStatusLink = thing.GetProjectTypeStatusLink();

GetRank()

Declaration
Integer GetRank()
Returns
Type Description
Integer

Rank, controls rank of non-instantiated items in Guide.

Examples
NSSuggestedDocumentEntity thing;
Integer rank = thing.GetRank();

GetSaleTypeStageLink()

Declaration
NSSaleTypeStageLink GetSaleTypeStageLink()
Returns
Type Description
NSSaleTypeStageLink

Sale type and stage link info.

Examples
NSSuggestedDocumentEntity thing;
NSSaleTypeStageLink saleTypeStageLink = thing.GetSaleTypeStageLink();

GetSuggestedDocumentId()

Declaration
Integer GetSuggestedDocumentId()
Returns
Type Description
Integer

Primary key.

Examples
NSSuggestedDocumentEntity thing;
Integer suggestedDocumentId = thing.GetSuggestedDocumentId();

GetTooltip()

Declaration
String GetTooltip()
Returns
Type Description
String

Tooltip / description.

Examples
NSSuggestedDocumentEntity thing;
String tooltip = thing.GetTooltip();

SetDeleted(Bool)

Declaration
Void SetDeleted(Bool deleted)
Parameters
Type Name Description
Bool deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
Bool deleted;
thing.SetDeleted(deleted);

SetDocTmpl(NSDocumentTemplate)

Declaration
Void SetDocTmpl(NSDocumentTemplate docTmpl)
Parameters
Type Name Description
NSDocumentTemplate docTmpl

Document template.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
NSDocumentTemplate docTmpl;
thing.SetDocTmpl(docTmpl);

SetDoctmplId(Integer)

Declaration
Void SetDoctmplId(Integer doctmplId)
Parameters
Type Name Description
Integer doctmplId

Type of the suggested document.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
Integer doctmplId;
thing.SetDoctmplId(doctmplId);

SetHeader(String)

Declaration
Void SetHeader(String header)
Parameters
Type Name Description
String header

Suggested 'header'

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
String header;
thing.SetHeader(header);

SetName(String)

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Item name, visible in Guide.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
String name;
thing.SetName(name);

SetOurRef(String)

Declaration
Void SetOurRef(String ourRef)
Parameters
Type Name Description
String ourRef

Suggested 'our reference'

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
String ourRef;
thing.SetOurRef(ourRef);

SetProjectTypeStatusLink(NSProjectTypeStatusLink)

Declaration
Void SetProjectTypeStatusLink(NSProjectTypeStatusLink projectTypeStatusLink)
Parameters
Type Name Description
NSProjectTypeStatusLink projectTypeStatusLink

Project type and project status link info.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
NSProjectTypeStatusLink projectTypeStatusLink;
thing.SetProjectTypeStatusLink(projectTypeStatusLink);

SetRank(Integer)

Declaration
Void SetRank(Integer rank)
Parameters
Type Name Description
Integer rank

Rank, controls rank of non-instantiated items in Guide.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
Integer rank;
thing.SetRank(rank);

SetSaleTypeStageLink(NSSaleTypeStageLink)

Declaration
Void SetSaleTypeStageLink(NSSaleTypeStageLink saleTypeStageLink)
Parameters
Type Name Description
NSSaleTypeStageLink saleTypeStageLink

Sale type and stage link info.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
NSSaleTypeStageLink saleTypeStageLink;
thing.SetSaleTypeStageLink(saleTypeStageLink);

SetSuggestedDocumentId(Integer)

Declaration
Void SetSuggestedDocumentId(Integer suggestedDocumentId)
Parameters
Type Name Description
Integer suggestedDocumentId

Primary key.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
Integer suggestedDocumentId;
thing.SetSuggestedDocumentId(suggestedDocumentId);

SetTooltip(String)

Declaration
Void SetTooltip(String tooltip)
Parameters
Type Name Description
String tooltip

Tooltip / description.

Returns
Type Description
Void
Examples
NSSuggestedDocumentEntity thing;
String tooltip;
thing.SetTooltip(tooltip);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top