📚 SAP Business One SDK Help

ContractTemplates Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method CloseNot supported.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveNot supported.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property AttachmentEntrySets or returns the identification key of the attachment file, as assigned by SAP Business One when adding an Attachment Entry to alert message.

Field name: AtcEntry.

Public Property AttachmentsReturns the Attachments object.
Public Property BrowserReturns the DataBrowser object.
Public Property ContractTypeSets or returns a valid value of BoContractTypes that specifies the service contract types for the contract template.

Field name: CntrctType.

Public Property DescriptionSets or returns the description of the contract template.

Field name: Remark.

Length: 16 characters.

Public Property DurationOfCoverageSets or returns the duration of the service contract coverage in the contract template.

Field name: Duration.

Public Property FridayEnabledSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include Fridays to the contract template coverage.

Field name: FriEnabled.

Public Property FridayEndSets or returns the ending working hour, for the service coverage, on Fridays.

Field name: FriEnd.

Public Property FridayStartSets or returns the beginning working hour, for the service coverage, on Fridays.

Field name: FriStart.

Public Property IncludeHolidaysSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include holidays to the contract template coverage.

Field name: InclHldays.

Public Property IncludeLaborSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include technician's work to the contract template coverage.

Field name: InclWork.

Public Property IncludePartsSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include replacement parts (items) to the contract template coverage.

Field name: InclParts.

Public Property IncludeTravelSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include travel to the contract template coverage.

Field name: InclTravel.

Public Property MondayEnabledSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include Mondays to the contract template coverage.

Field name: MonEnabled.

Public Property MondayEndSets or returns the ending working hour, for the service coverage, on Mondays.

Field name: MonEnd.

Public Property MondayStartSets or returns the beginning working hour, for the service coverage, on Mondays.

Field name: MonStart.

Public Property RemarksSets or returns a memo type string that specifies remarks for the contract template.

Field name: Descriptio.

Length: 64,000 characters.

Public Property RemindBeforeRenewalSets or returns the number of days, weeks, or months for the alert to appear prior to the termination of the contract. To enable this reminder, set the TemplateIsRenewal property to tYES.

Field name: Renewal.

Public Property RemindUnitSets or returns a valid value of BoRemindUnits type that specifies the units (days, weeks, or months) for the RemindBeforeRenewal property.

Field name: RemindUnit.

Public Property ResolutionTimeSets or returns the maximum time, in hours or days, to resolve the service call.

Field name: ResponsVal.

Public Property ResolutionUnitSets or returns a valid value of BoResolutionUnits type that specifies the units, hours or days, for the ResolutionTime property.

Field name: ResponsUnt.

Public Property ResponseUnitSets or returns a valid value of BoResponseUnit type that specifies the units, hours or days, for the ResponseValue property.

Field name: ResponseU.

Public Property ResponseValueSets or returns the maximum time, in hours or days, to respond to a service call.

Field name: ResponseV.

Public Property SaturdayEnabledSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include Saturdays to the contract template coverage.

Field name: SatEnabled.

Public Property SaturdayEndSets or returns the ending working hour, for the service coverage, on Saturdays.

Field name: SatEnd.

Public Property SaturdayStartSets or returns the beginning working hour, for the service coverage, on Saturdays.Field name: SatStart.
Public Property SundayEnabledSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include Sundays to the contract template coverage.

Field name: SunEnabled.

Public Property SundayEndSets or returns the ending working hour, for the service coverage, on Sundays.

Field name: SunEnd.

Public Property SundayStartSets or returns the beginning working hour, for the service coverage, on Sundays.

Field name: SunStrart.

Public Property TemplateIsDeletedSets or returns a valid value of BoYesNoEnum type that specifies whether or not the contract template is expired.

Field name: TmpltName.

Public Property TemplateIsRenewalSets or returns a valid value of BoYesNoEnum type that specifies whether or not to renew the service contract.

Field name: Renewal.

Public Property TemplateNameSets or returns the name for the contract template.

Field name: TmpltName.

Mandatory field in SAP Business One.

Length: 20 characters.

Public Property ThursdayEnabledSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include Thursdays to the contract template coverage.

Field name: ThuEnabled.

Public Property ThursdayEndSets or returns the ending working hour, for the service coverage, on Thursdays.

Field name: ThuEnd.

Public Property ThursdayStartSets or returns the beginning working hour of the company on Thursdays.

Field name: ThuStart.

Public Property TuesdayEnabledSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include Tuesdays to the contract template coverage.

Field name: ThuEnabled.

Public Property TuesdayEndSets or returns the ending working hour, for the service coverage, on Tuesdays.

Field name: ThuEnd.

Public Property TuesdayStartSets or returns the beginning working hour of the company on Tuesdays.

Field name: ThuStart.

Public Property UserFieldsReturns the UserFields object.
Public Property WednesdayEnabledSets or returns a valid value of BoYesNoEnum type that specifies whether or not to include Wednesdays to the contract template coverage.

Field name: WedEnabled.

Public Property WednesdayEndSets or returns the ending working hour, for the service coverage, on Wednesdays.

Field name: WedEnd.

Public Property WednesdayStartSets or returns the beginning working hour, for the service coverage, on Wednesdays.

Field name: WedStart.

See Also