Class SY_CustomFieldLabel_svc

Inherits

SY_Service

Properties

LOCAL cMainTable$="SY_CustomFieldLabel"  
LOCAL cIsSysDB=isTRUE  

Methods

FUNCTION GetLabel$(module$, labels$)  
FUNCTION GetLabel$(module$, labels$, types$)  
FUNCTION GetLabel$(module$, labesl$, types$, comp$, devCode$)  

Function will return a list of label descriptions based on the criteria given. This will be a SEP (Hex:8A) separated list of descriptions.

ParameterDescription
modules$ [input, string] Module code that the label belongs too. In format such as (P/M)
labels$ [input, string] Comma separated list of label codes to return descriptions
types$ {optional}[input, string] String of one character type codes for "S"hort description or "L"ong description.If both required then "SL", regardless of the order of the codes, when returned the Short Description will appear first in the string and then the long description. If no types indicated then only the long description will be returned.
comp$ {optional}[input, string] Company code to return values for if the label has company specific values. If no company code given then all company "###" code will be used.
devCode$ {optional} [input, string] Developer code to be used to retrieve values for. If none given Sage's "000" developer code will be used.
Returns [string] A SEP (Hex:8A) separated string of values will be returned. If both Short and Long Descriptions are requested, the Short Description will appear first in the list followed by the long description, for each label code given.

Properties inherited from: SY_Service

BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess

Methods inherited from: SY_Service

BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl()