Documentation

{{docApp.title}}

{{docApp.description}}

Connect an AI assistant

Your AI assistant can read this documentation directly, so it answers from the current content instead of guessing. Add one of the servers below to your client — they use the Model Context Protocol (MCP). Each one covers a different body of content, so add the one you need.

The catalog did not load. Refresh the page to try again.

Loading…

How can we help?

{{docApp.searchError}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

 {{docApp.currentResultsSearchText}}  in {{docApp.searchFilterBySpecificBookTitle}}
Found {{docApp.searchResponse.totalResultsAvailable}} matches. Showing the top {{docApp.searchResponse.results ? docApp.searchResponse.results.length : 0}}. Use a more specific search to further narrow down the results.
No documentation pages match this search, so all content types are shown. Most matches are in {{docApp.searchDocTypeRescue.best.name}}.
There is no book with the ID "{{docApp.searchBookRescue.bid}}", so the book filter from this link was ignored and results from all books are shown.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
  • {{resultItem.title}} {{resultItem.matchedBy === 'semantic' ? 'semantic' : (resultItem.matchedBy === 'both' ? 'keyword + semantic' : 'keyword')}}

    {{resultItem.url}}

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

Entity API / duplicateSupplierContract

Operation Information

  • Application Reference: com.hornbill.servicemanager
  • Scope: Entity - SupplierContracts
  • Class: Entity
  • Required Privilege Level: user
  • Required Rights: none

Description

This flowcode operation duplicates an existing supplier contract.

Request Parameters

The duplicateSupplierContract API takes the following input parameters.

Note

When sending a JSON request payload to the API, the order of parameters is not significant. However, for XML request payloads, parameters must be provided in the exact order specified in this documentation to comply with input validation requirements.

Name Type Required Description
id xs:string Yes The supplier contract primary key.
name xs:string Yes The name of the new supplier contract.
description xs:string No A description of the new supplier contract.
type xs:string No The type of the new supplier contract.
startDate xs:dateTime No The start date of the new supplier contract.
endDate xs:dateTime No The end date of the new supplier contract.
renewalStartDate xs:dateTime No The renewal start date of the new supplier contract.
renewalEndDate xs:dateTime No The renewal end date of the new supplier contract.
currency xs:string No The currency of the new supplier contract.
value xs:decimal No The value of the new supplier contract.
acquisitionMethod xs:string No The acquisition method of the new supplier contract.
cancellationNoticePeriod xs:string No The cancellation notice period of the new supplier contract.
costCenter xs:string No The cost center of the new supplier contract.
invoiceNumber xs:string No The invoice number of the new supplier contract.
orderNumber xs:string No The order number of the new supplier contract.
paymentType xs:string No The payment type of the new supplier contract.
status xs:string No The status of the new supplier contract. Accepted values are (status.draft,status.active,status.archived). If no value is provided, status.active will be used.
subStatus xs:string No The Supplier Contract Sub Status value taken from the simple list. e.g. 'subStatus.rolling'
ownedBy xs:string No The user id of the owner of the new supplier contract.
budgetOwner xs:string No The user id of the budget owner of the new supplier contract.
businessOwner xs:string No The user id of the business owner of the new supplier contract.
workingTimeCalendar xs:string No The working time calendar to be used against the new supplier contract to record events.
targetMinutesPerEvent xs:integer No The target number of minutes to complete each event against the new supplier contract.
agreedComplianceTargetPercentage xs:decimal No The agreed compliance target percentage for the new supplier contract.
contactEmailAddress xs:string No A contact email address for the parent supplier for the new supplier contract.
penaltyDescription xs:string No A description of any penalties occurred for missing the agreed compliance target percentage for the new supplier contract.
notes xs:string No Any additional notes for the new supplier contract.
excludedAttachment xs:string No The primary key of each supplier contract attachment to exclude from being added to the new duplicated supplier contract.
excludedAsset xs:string No The primary key of each supplier contract asset to exclude from being added to the new duplicated supplier contract.
existingContractStatus xs:string Yes The status of the existing supplier contract. Accepted values are (status.draft,status.active,status.archived). If no value is provided, status.active will be used.
existingContractNotes xs:string No Any additional notes regarding the duplication/renewal that will be written to the timeline of the existing contract.

Response Parameters

Name Type Description
id xs:string The id of the new supplier contract.
supplierContractName xs:string The name of the new supplier contract.

Code Examples

In This Document