Class NSSuggestedDocumentEntity
Syntax
Constructors
NSSuggestedDocumentEntity()
Initializes a new instance of the NSSuggestedDocumentEntity class.
Declaration
NSSuggestedDocumentEntity
Methods
GetDeleted()
Declaration
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
Examples
NSSuggestedDocumentEntity thing;
NSDocumentTemplate docTmpl = thing.GetDocTmpl();
GetDoctmplId()
Declaration
Returns
Type |
Description |
Integer |
Type of the suggested document.
|
Examples
NSSuggestedDocumentEntity thing;
Integer doctmplId = thing.GetDoctmplId();
Declaration
Returns
Type |
Description |
String |
Suggested 'header'
|
NSSuggestedDocumentEntity thing;
String header = thing.GetHeader();
GetName()
Declaration
Returns
Type |
Description |
String |
Item name, visible in Guide.
|
Examples
NSSuggestedDocumentEntity thing;
String name = thing.GetName();
GetOurRef()
Declaration
Returns
Type |
Description |
String |
Suggested 'our reference'
|
Examples
NSSuggestedDocumentEntity thing;
String ourRef = thing.GetOurRef();
GetProjectTypeStatusLink()
Declaration
NSProjectTypeStatusLink GetProjectTypeStatusLink()
Returns
Examples
NSSuggestedDocumentEntity thing;
NSProjectTypeStatusLink projectTypeStatusLink = thing.GetProjectTypeStatusLink();
GetRank()
Declaration
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
Examples
NSSuggestedDocumentEntity thing;
NSSaleTypeStageLink saleTypeStageLink = thing.GetSaleTypeStageLink();
GetSuggestedDocumentId()
Declaration
Integer GetSuggestedDocumentId()
Returns
Type |
Description |
Integer |
Primary key.
|
Examples
NSSuggestedDocumentEntity thing;
Integer suggestedDocumentId = thing.GetSuggestedDocumentId();
Declaration
Returns
Type |
Description |
String |
Tooltip / description.
|
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
Examples
NSSuggestedDocumentEntity thing;
Bool deleted;
thing.SetDeleted(deleted);
SetDocTmpl(NSDocumentTemplate)
Declaration
Void SetDocTmpl(NSDocumentTemplate docTmpl)
Parameters
Returns
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
Examples
NSSuggestedDocumentEntity thing;
Integer doctmplId;
thing.SetDoctmplId(doctmplId);
Declaration
Void SetHeader(String header)
Parameters
Type |
Name |
Description |
String |
header |
Suggested 'header'
|
Returns
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
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
Examples
NSSuggestedDocumentEntity thing;
String ourRef;
thing.SetOurRef(ourRef);
SetProjectTypeStatusLink(NSProjectTypeStatusLink)
Declaration
Void SetProjectTypeStatusLink(NSProjectTypeStatusLink projectTypeStatusLink)
Parameters
Returns
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
Examples
NSSuggestedDocumentEntity thing;
Integer rank;
thing.SetRank(rank);
SetSaleTypeStageLink(NSSaleTypeStageLink)
Declaration
Void SetSaleTypeStageLink(NSSaleTypeStageLink saleTypeStageLink)
Parameters
Returns
Examples
NSSuggestedDocumentEntity thing;
NSSaleTypeStageLink saleTypeStageLink;
thing.SetSaleTypeStageLink(saleTypeStageLink);
SetSuggestedDocumentId(Integer)
Declaration
Void SetSuggestedDocumentId(Integer suggestedDocumentId)
Parameters
Type |
Name |
Description |
Integer |
suggestedDocumentId |
Primary key.
|
Returns
Examples
NSSuggestedDocumentEntity thing;
Integer suggestedDocumentId;
thing.SetSuggestedDocumentId(suggestedDocumentId);
Declaration
Void SetTooltip(String tooltip)
Parameters
Type |
Name |
Description |
String |
tooltip |
Tooltip / description.
|
Returns
NSSuggestedDocumentEntity thing;
String tooltip;
thing.SetTooltip(tooltip);