ExtraValuesOrg¶
- model.AddExtraValueBoolOrg(orgid, name, truefalse)¶
- Parameters:
orgid (int) – The organization id
name (str) – The name of the Extra Value Field
truefalse (bool) – The boolean value (True or False)
- model.AddExtraValueCodeOrg(orgid, name, code)¶
- Parameters:
orgid (int) – The organization id
name (str) – The name of the Extra Value Field
code (str) – The code value (text)
- model.AddExtraValueDateOrg(orgid, name, date)¶
- Parameters:
orgid (int) – The organization id
name (str) – The name of the Extra Value Field
date,str (date) – The date value
- model.AddExtraValueIntOrg(orgid, name, number)¶
- Parameters:
orgid (int) – The organization id
name (str) – The name of the Extra Value Field
number (str) – The integer value (not in quotes)
- model.AddExtraValueTextOrg(orgid, name, text)¶
- Parameters:
orgid (int) – The organization id
name (str) – The name of the Extra Value Field
text (str) – The text value
- model.ExtraValueBitOrg(orgid, name)¶
- Returns:
The bool value for the indicated organization
- Return type:
bool
- Parameters:
orgid (int) – The OrganizationId
name (str) – The name of the Extra Value Field
- model.ExtraValueCodeOrg(orgid, name)¶
- Returns:
The code extra value for the indicated organization
- Return type:
str
- Parameters:
orgid (int) – The OrganizationId
name (str) – The name of the Extra Value Field
- model.ExtraValueDateOrg(orgid, name)¶
- Returns:
The date extra value for the indicated organization
- Return type:
date
- Parameters:
orgid (int) – The OrganizationId
name (str) – The name of the Extra Value Field
This will return a date. If the extra value is missing on a record, a 1/1/01 will be returned.
- model.ExtraValueDateOrgNull(orgid, name)¶
- Returns:
The date extra value for the indicated organization
- Return type:
date or null
- Parameters:
orgid (int) – The OrganizationId
name (str) – The name of the Extra Value Field
This will return the date or None if it is missing.
- model.ExtraValueIntOrg(orgid, name)¶
- Returns:
The int extra value for the indicated organization
- Return type:
int
- Parameters:
orgid (int) – The OrganizationId
name (str) – The name of the Extra Value Field
- model.ExtraValueOrg(orgid, name)¶
- Returns:
The extra value for the indicated organization
- Return type:
str
- Parameters:
orgid (int) – The OrganizationId
name (str) – The name of the Extra Value Field
This function returns the extra value as a string, without having to specify the type.
- model.ExtraValueTextOrg(orgid, name)¶
- Returns:
The text value for the indicated organization
- Return type:
str
- Parameters:
orgid (int) – The OrganizationId
name (str) – The name of the Extra Value Field