Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

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

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Entity API / duplicateSupplierContract

Operation Information

Description

This flowcode operation duplicates an existing supplier contract.

Request Parameters

The duplicateSupplierContract API takes the following input parameters. It is important to note that the parameters must satisfy the requirement of the input validation checks.

Name Type Required Description
supplierContractId 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.
costCentre xs:string No The cost centre 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
outcome xs:string The outcome of the flowcode operation.
supplierContractId xs:string The id of the new supplier contract.
supplierContractName xs:string The name of the new supplier contract.

Code Examples

In This Document