biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / Service / Contract Templates
API Contract Templates

Description

ContractTemplates is a business object that represents the contract templates in the Service module.

This object enables you to:

  • Add a contract template.
  • Retrieve a contract template by its key.
  • Update a contract template.
  • Remove a contract template.
  • Save the object in XML format.

Source table: OCTT.

Object Model

Remarks

Mandatory field in SAP Business One: TemplateName.

To display the form in the application:

  • Select Administration --> Setup --> Service --> Contract Templates.

See Also

SAP® B1 DI-API C# definition

public class ContractTemplatesClass : IContractTemplates, ContractTemplates { public virtual int AttachmentEntry { get; set; } public virtual SAPbobsCOM.Attachments Attachments { get; } public virtual DataBrowser Browser { get; } public virtual BoContractTypes ContractType { get; set; } public virtual string Description { get; set; } public virtual int DurationOfCoverage { get; set; } public virtual BoYesNoEnum FridayEnabled { get; set; } public virtual DateTime FridayEnd { get; set; } public virtual DateTime FridayStart { get; set; } public virtual BoYesNoEnum IncludeHolidays { get; set; } public virtual BoYesNoEnum IncludeLabor { get; set; } public virtual BoYesNoEnum IncludeParts { get; set; } public virtual BoYesNoEnum IncludeTravel { get; set; } public virtual BoYesNoEnum MondayEnabled { get; set; } public virtual DateTime MondayEnd { get; set; } public virtual DateTime MondayStart { get; set; } public virtual string Remarks { get; set; } public virtual int RemindBeforeRenewal { get; set; } public virtual BoRemindUnits RemindUnit { get; set; } public virtual int ResolutionTime { get; set; } public virtual BoResolutionUnits ResolutionUnit { get; set; } public virtual BoResponseUnit ResponseUnit { get; set; } public virtual int ResponseValue { get; set; } public virtual BoYesNoEnum SaturdayEnabled { get; set; } public virtual DateTime SaturdayEnd { get; set; } public virtual DateTime SaturdayStart { get; set; } public virtual BoYesNoEnum SundayEnabled { get; set; } public virtual DateTime SundayEnd { get; set; } public virtual DateTime SundayStart { get; set; } public virtual BoYesNoEnum TemplateIsDeleted { get; set; } public virtual BoYesNoEnum TemplateIsRenewal { get; set; } public virtual string TemplateName { get; set; } public virtual BoYesNoEnum ThursdayEnabled { get; set; } public virtual DateTime ThursdayEnd { get; set; } public virtual DateTime ThursdayStart { get; set; } public virtual BoYesNoEnum TuesdayEnabled { get; set; } public virtual DateTime TuesdayEnd { get; set; } public virtual DateTime TuesdayStart { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public virtual BoYesNoEnum WednesdayEnabled { get; set; } public virtual DateTime WednesdayEnd { get; set; } public virtual DateTime WednesdayStart { get; set; } public extern ContractTemplatesClass(); public virtual extern int Add(); public virtual extern int Close(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( string TemplateName); public virtual extern int Remove(); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates