Create an SC Header
  • 27 Feb 2025
  • 14 Minutes to read
  • Dark
    Light

Create an SC Header

  • Dark
    Light

Article summary

Post
/pm-rest-api/rest/1/scmast

Overview

This endpoint allows you to create Subcontract details and directly enter Subcontract Change Orders. Use it to name the Subcontract, assign a vendor, and link it to an existing Project or Job in CMiC.

UI Navigation

Field > Budget & Cost Management > Subcontract

Reference Article

https://docs.cmicglobal.com/portal/Content/E_Reference_Material/CMiC_Field/Reference/Budget___Cost_Management/Subcontracts.htm

Commonly Used Body Parameters

CMiC UI FieldnameNameDescriptionTypeData LengthExampleRequired
Change CodeScmstChgCodeA change order number is a unique identifier for tracking changes in a subcontract. If the contract being entered is the original contract, otherwise called as a base contract then this number is set by the system as ‘000’ Any further change order is assigned with system generated incremental numbers as ‘001’,’002’…) and so on.string6“000”Yes
Company CodeScmstCompCodeThe CMiC company code to which the subcontract belongs. This is the same company as the Job the Contract was awarded on. This must be a VALID CMiC company code.string8ZZYes
Currency CodeScmstCurrCodeThis field is the currency code of the subcontract. This must be a VALID CMiC Currency Code.string3USDYes
Job/Project CodeScmstJobCodeAssociates the Subcontract with the corresponding Job or Project in CmiC.string1003202023Yes
Override FlagScmstOverrideFlagOverride contract Number. Set this field to Y if you intend to hard code a Subcontract Number with your request, otherwise set it to N and our system will follow the auto-number masking rule set up on the Subcontract Control file.string80“Y” / “N”Yes
Subcontract CodeScmstSubcontrCodeSystem populated value, set to ‘NONE’.

This is the subcontract code that identifies this Subcontract. which must be unique by company/vendor. In other words, two jobs cannot utilize the same contract code for the same vendor. Once the record has been saved, the Contract field can no longer be edited.
string20NONEYes
Vendor CodeScmstVenCodeThis is the code used for the vendor the contract was awarded to. This must be a valid CMiC Vendor Code for the Company entered in SCMST_COMP_CODE. Click here to learn more about updating and creating vendors .string8A1SPEEDYYes
Contract no.ScmstContCodeEnter the ID code for this subcontract. Once the record has been saved this field can no longer be edited. The code may be automatically generated, if Autonumbering is turned ON in SC Control. The code may also overridden manually, if the control flag for overriding the autogenerated code number is set.string20CCC-123456No
DescriptionScmstNameA descriptive name or title for this Subcontract.string200“Install all interior lights”No
Bank DepartmentScmstBankDeptSpecifies the bank Department information for the account being used for the subcontract.string600No
Bank AccountScmstBankAccountSpecifies the bank account number for the subcontract.string1610001No
Vendor UUIDScmstVUuidUnique Row ID. When creating a new subcontract, this field should be included in the body of the request but left empty. Including this parameter allows you to preview the posting after submission.string64No

Other (Optional) Body Parameters

CMiC UI FieldnameNameDescriptionTypeData LengthExample
Partner Type CodePartnTypeCodeDisplays the Partner type code. When creating a new subcontract header. This value by default is set to ‘P’string2P
Post Override FlagPostOverrideFlagPost Override flag, when a new record is created this value is set to 1 by default.string40001
Abbreviated Partner CodeScmstAbbrevPartnCodeA shortened unique identifier used to designate a business partner within the system. Click here to learn more about Business Partners..string400000PT
Account DescriptionScmstAcctDescriptionA descriptive label for the account used by this Subcontract (if any).string500Subcontract expense acct
Action CodeScmstActionCodeThis is the Action Code Created by the system. Action items are used to schedule and coordinate phone calls, delivery dates, meetings and other action types relevant to the Opportunity Management module. The Action Code is used to identify the action item type. Click here to learn more about Action Item Codes.string1
Alternate Vendor Address CodeScmstAltVenAddCodeStores an alternate vendor address code for the vendor.string5ADD1
App CodeScmstAppCodeApp Code, when a new record is created, this value is set to null by default.string20
Contractor Default Insurance (CDI) FlagScmstCdiFlagWhen the 'CDI' flag is checked on the subcontract header, CDI will be calculated based on the rate that has been set for the CDI Risk Management codes that are on the job. ‘Y’ indicates CDI Flag checked. ‘N’ indicates CDI Flag is not checkedstring1“Y” / “N”
Cheque Handling CodeScmstChqHandleCodeCheque Handling Codes codes can be applied to vouchers so that when their checks are printed, the company names and addresses are derived from the check handling codes instead of the company record. To learn more about check handling codes click here.string8“CENTRAL”
Close DateScmstCloseDateDate on which the Subcontract is considered closed/completed.datetime2024-02-22T00:00:00-05:00
Classifier column 1ScmstClvValueCode1PCI Classifier 1 Value. For more details on how to create classifiers on PM objects, please refer to this article: Classifiersstring16“14AC”
Classifier column 2ScmstClvValueCode2PCI Classifier 2 Valuestring16
Classifier column 3ScmstClvValueCode3PCI Classifier 3 Valuestring16
Classifier column 4ScmstClvValueCode4PCI Classifier 4 Valuestring16
Classifier column 5ScmstClvValueCode5PCI Classifier 5 Valuestring16
Classifier column 6ScmstClvValueCode6PCI Classifier 6 Valuestring16
Change Order CodeScmstCmChgCodeThe PCI Code that is linked to the SCstring11
(PCI) Company CodeScmstCmCompCodeThe Company Code of the PCI that is linked to the SCstring8
Job CodeScmstCmJobCodeThe Job Code of the PCI that is linked to the SCstring10
(PM Bid Package) CommentScmstCommentLongUsed to Store the PMBidpackage Comment When Processing the SC.attachment
Completed FlagScmstComplFlagIndicates whether the Subcontract is marked complete (‘Y’ or ‘N’).string1“Y” / “N”
Contract AmountScmstContAmtThe monetary value of the Subcontract or Change Ordernumber12575.99
Contract Type CodeScmstContTypeWhen creating a subcontract, a contract type can be selected in the Contract Type field to assign the type of contract being sent to the vendor. Click here for more information on Contract Type Maintenance.string30“Lump Sum”
Contact CodeScmstContactCodeCode referencing the main contact or individual for this Subcontract.string10GA
Contact NameScmstContactNameName of the contact person associated with this Subcontract.string4000George Allen
Correspondence Address CodeScmstCorrespAddCodeAddress code used for official correspondence under this Subcontract.string5
Contract On-the-Fly FlagScmstCreateContOnFlyFlagUsed to create one-time contacts directly on a specific project. It is used to help control the population of system contacts, as these contacts will not appear in the system contact list and cannot be added to other projects. ‘Y’ or ‘N’.string4000“Y” / “N”
Factor NumberScmstCurcFactorNumThis is populated by the system by selecting a value from exchange rate table by comparing the subcontract currency with the Company currencynumber161.00000
Currency NameScmstCurrNameDescriptive name of the currency used (e.g. “US Dollar”).string30US Dollar
Subcontract DateScmstDateDate when the Subcontract record was created or became effective.datetime2023-10-19
Default Taxes FlagScmstDefaultTaxesFlagTaxes applicable to the Subcontract will default from the job, if they exist; otherwise, they default from the vendor. In either case, the taxes can be updated at any time until the Subcontract is posted.string1“Y” / “N”
Change Order Default AmountScmstDfltAmtWhen creating single line Subcontract Change Orders a default Amount can be entered.number18“10,000.00”
Change Order Default Category CodeScmstDfltCatCodeWhen creating single line Subcontract Change Orders a default Category can be entered.string16“S”
Change Order Default Phase CodeScmstDfltPhsCodeWhen creating single line Subcontract Change Orders a default Cost Code can be entered.string16“01-1300”
Do Not Exceed AmountScmstDoNotExceedAmtAmount that the subcontractor is allowed to submit Payment Requests against Instructed SC or Change Ordernumber18125,000.00
End DateScmstEndDateScheduled end or completion date for this Subcontract.datetime2023-10-19
Executed DateScmstExecutedDateDate when general contractor and subcontractor both signed the Subcontractdatetime2023-10-22
GCS Pay Request FlagScmstGcsPayRequestFlagThis checkbox links the Subcontract change Orders to the GCS Pay Request module.string1“Y” / “N”
GST AmountScmstGstAmtGST (Goods and Services Tax) amount applied to this Subcontract, if applicable.number186000
GST PercentageScmstGstPcGST (Goods and Services Tax) rate used, if applicablenumber155
Holdback PercentageScmstHldbkPcRetention or holdback percentage applied to Subcontract billings. Enter ‘0’ if no Holdback appliesnumber165.75
Holdback Percentage RuleScmstHldbkPcRuleRule or code determining how holdback is calculated or released.string10
Holdback Release From ScheduleScmstHldbkRlsFromScFlag to indicate whether holdback (retainage) amount release will occur on the schedule level or voucher level.string1“Y” / “N”
Hold Payment for ____ DaysScmstHoldPaymentDaysThe Hold payment for another x day(s) field is used to set how many days to hold payment to a subcontractor after the owner has paid.integer42
Hold Payment FlagScmstHoldPaymentFlagIf “Y,” payment to the vendor is currently on hold.string1“Y” / “N”
Impact DaysScmstImpactDaysNumber of Impact Days for this SC.integer425
Invoice Entry StateScmstInvEntryStateWhen a Subcontract is created, users can choose whether invoices via SC or APstring2‘SC” / “AP”
Invoice Holdback Tax FlagScmstInvHldbkTaxFlagIf “Y,” tax is applied to holdback amounts on this Subcontract’s invoices. ‘N’ otherwise.string1“Y” / “N”
Issued DateScmstIssuedDateThe date the subcontract is issued to the vendor.datetime2023-10-19T13:18:32-04:00
Create DateScmstIuCreateDateThe date on which the subcontract was created. (System Date)datetime2023-10-19T13:18:32-04:00
Update DateScmstIuUpdateDateDate/time stamp of the last update to this Subcontract. (System Date)datetime2023-10-19T13:20:58-04:00
Controlling Job CodeScmstJobCtrlCodeThe Controlling Job Code associated with the Project. This is a fixed string ‘ALL’string10ALL
DescriptionScmstNameA descriptive name or title for this Subcontract.string200“Install all interior lights”
Tax Included in the Voucher AmountScmstNonCreditInclTaxAmtTax Included in the Voucher Amountnumber1812345.67
Non Credit Tax AmountScmstNonCreditTaxAmtAmount of taxes applied to the contract, not including Credit Taxes.number18123456.78
Original Bid AmountScmstOrigBidpAmtThe original bid amount if this Subcontract originated in a bidding process.number1825,750.00
Original Bid OraseqScmstOrigBidpOraseqOraseq Number associated with the Original Bid amount if the Subcontract originated in the bidding process.number
Override Do Not Exceed Amount – CheckboxScmstOvrrideNotExceedFlagIndicates if the ‘do not exceed amount’ can be overridden at the time of payment requeststring1“Y” / “N”
Post Batch NumberScmstPostBatchBatch Number used by the system when postingnumber63656
Posting DateScmstPostDateThe posting date of the subcontract. Automatically populated by the systemdatetime2023-10-19
Preferred Quote FlagScmstPreferedQuoteFlagIf “Y,” indicates this Subcontract or quote was chosen as the preferred quote among multiple. System normally populates as ‘Y’string1“Y” / “N”
Printed Change Order FlagScmstPrintedCoFlagIndicates whether the change order has been printed. ‘Y’ or ‘N’.string1“Y” / “N”
Project Code OraseqScmstProjOraseqOraseq Number associated with the Project Codenumber162739
Subcontractor RatingScmstRatingNumeric rating or evaluation metric for the subcontractor’s performance.number51
RCT Reference NumberScmstRctReferenceNumUsed for UK systemsstring30
Received DateScmstReceivedDateDate when Subcontract is received and signed by the subcontractor.datetime2019-12-05
Recipient EmailScmstRecipientEmailEmail address of the recipient for this Subcontract.string100
Void BatchScmstRevBatchRepresents the batch number associated with the void for a subcontract. This field updates when a subcontract is voided.number129
Void DateScmstRevDateRepresents the date when the subcontract was voided or revised. This field updates automatically when a subcontract is voided.datetime2019-12-05
Subcontract Control AmountScmstScControlAmtThe Control Contract Amount field in the header section is used to validate that the Total SOV (Schedule of Values) Amount (field in the Subcontract Summary section) and this value, entered by the user, are equal upon posting of the Subcontract.number1855353.18
Schedule Exists FlagScmstSchedExistsFlagIndicates if this subcontract has Schedule of Values associated with it (Y) or not (N)string1“Y” / “N”
ScmstScheduleFlagSystem Populated Value ‘N’string1“Y” / “N”
Scope DescriptionScmstScopeDescA longer text description of the Subcontract’s scope of work, deliverables, or additional notes.string4000
Schedule Last Seq Num UsedScmstScschLastSeqNumUsedThe last sequence number used for SOV records, for uniqueness within a Subcontract for tasks. System Generated.number1
Self-Billed FlagScmstSelfBilledFlagIndicates if the contract is to be Self Billed. Applicable to UK/Singapore etc. Vendor will be allowed to enter Payment Application, which can further be approved and postedstring1“Y” / “N”
Sender EmailScmstSenderEmailThis field is the email address that will be used when sending email messages.string100
Separate Voucher Per Job FlagScmstSepVouPerJobFlagIf “Y,” the system will create separate vouchers for each job under this Subcontract.string1“Y” / “N”
Source CodeScmstSrcCodeIndicates the source system or module (e.g., JSP) from which this Subcontract was created.string10JSP
Start DateScmstStartDateThe planned start date for work under this Subcontract.datetime2019-12-05
Status CodeScmstStatCodeSystem status code to determine the current status of the subcontract. (Pending, In-Progress etc.)string1I
Extended Status CodeScmstStatusCodeStatus code of the Subcontract or Change Orderstring16POSTED
Tax 1 CodeScmstTax1CodeEnter Tax Code 1string11U1
Tax 2 CodeScmstTax2CodeEnter Tax Code 2string11U2
Tax 3 CodeScmstTax3CodeEnter Tax Code 3string11U4
Term CodeScmstTermCodeEnter the Payment Terms setup in System Data > Global Tables. The code setup at vendor maintenance is defaulted.string6NET30
Term NameScmstTermNameDescriptive name of the payment term. Enter a description of this payment term. This name will appear on most screens that require the entry of a payment term.string30Net 30
Textura Integration FlagScmstTexturaFlagIndicates if the Subcontract is integrated with Textura for construction payment management.string1“Y” / “N”
UserScmstUserUser who created the SC (System Populated)string30SHAMROCK
User Privilege FlagScmstUserPrvlgFlagIndicates whether the user has the privilege to post a subcontractstring4000“Y” / “N”
Vendor NameScmstVenNameFull name of the vendor or subcontractor.string4000Pentagon Services
Deposit AmountScmstDepositAmtEnter the deposit amount. See Down Payment and Amortization for more information.number18172839.55
Deposit Approval DateScmstDepositApprovalDateDate on which the deposit was approved.datetime2024-02-22T00:00:00-05:00
Down Payment PercentageScmstDepositPctDown Payment Percentage – This is defaulted from the header, but users may override if required. Click here for more information about Down Payment and Amortization.number65
Workflow StatusScmstWorkflowStatusTracks the Subcontract’s status in a workflow or approval process. Click here to learn more about Subcontract workflowsstring100Not Submitted
Posting DateTimeScmstDateTimePostTimestamp for when the Subcontract or changes were posted, for audit and tracking.datetime2023-10-19T13:20:58-04:00
Changes DescriptionCChangeDescA description field to track changes to the subcontract.string15Changes To Date
Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
Body parameters
object
Example{ "ScmstCompCode": "001", "ScmstJobCode": "16-001", "ScmstVenCode": "0415", "ScmstContCode": "16-001.001", "ScmstChgCode": "000", "ScmstCurrCode": "USD", "ScmstSubcontrCode": "NONE", "ScmstName": "test", "ScmstBankDept": "00", "ScmstBankAccount": "10001", "ScmstVUuid": "" }
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "CChangeDesc": null,
  "CNewRevisedDesc": null,
  "COriginalDesc": null,
  "CRecievedDesc": null,
  "CTitle1": null,
  "CTitle2": null,
  "CTitle3": null,
  "CTitle4": null,
  "CUnpostedDesc": null,
  "PartnTypeCode": null,
  "PostOverrideFlag": null,
  "ScmstAbbrevPartnCode": null,
  "ScmstAcctDescription": null,
  "ScmstActionCode": null,
  "ScmstAltVenAddCode": null,
  "ScmstAppCode": null,
  "ScmstArAmt": null,
  "ScmstBankAccount": "10001",
  "ScmstBankDept": "00",
  "ScmstBillCode": null,
  "ScmstCashAmt": null,
  "ScmstCdiFlag": null,
  "ScmstChgCode": "000",
  "ScmstChqHandleCode": null,
  "ScmstCloseDate": null,
  "ScmstClvValueCode1": null,
  "ScmstClvValueCode2": null,
  "ScmstClvValueCode3": null,
  "ScmstClvValueCode4": null,
  "ScmstClvValueCode5": null,
  "ScmstClvValueCode6": null,
  "ScmstCmBudrCode": null,
  "ScmstCmChgCode": null,
  "ScmstCmCompCode": null,
  "ScmstCmJobCode": null,
  "ScmstCompCode": "001",
  "ScmstComplFlag": null,
  "ScmstContAmt": null,
  "ScmstContCode": "16-001.001",
  "ScmstContType": null,
  "ScmstContactCode": null,
  "ScmstContactName": null,
  "ScmstCorrespAddCode": null,
  "ScmstCreateContOnFlyFlag": null,
  "ScmstCurcFactorNum": null,
  "ScmstCurrCode": "USD",
  "ScmstCurrName": null,
  "ScmstDate": null,
  "ScmstDefaultTaxesFlag": null,
  "ScmstDesc": null,
  "ScmstDfltAmt": null,
  "ScmstDfltCatCode": null,
  "ScmstDfltPhsCode": null,
  "ScmstDoNotExceedAmt": null,
  "ScmstEndDate": null,
  "ScmstExecutedDate": null,
  "ScmstGcsPayRequestFlag": null,
  "ScmstGstAmt": null,
  "ScmstGstPc": null,
  "ScmstHldbkPc": null,
  "ScmstHldbkPcRule": null,
  "ScmstHldbkRlsFromSc": null,
  "ScmstHoldPaymentDays": null,
  "ScmstHoldPaymentFlag": null,
  "ScmstImpactDays": null,
  "ScmstInvEntryState": null,
  "ScmstInvHldbkTaxFlag": null,
  "ScmstIssuedDate": null,
  "ScmstIuCreateDate": null,
  "ScmstIuUpdateDate": null,
  "ScmstJobCode": "16-001",
  "ScmstJobCtrlCode": null,
  "ScmstMainChgCode": null,
  "ScmstMainContCode": null,
  "ScmstMainVenCode": null,
  "ScmstName": "test",
  "ScmstNonCreditInclTaxAmt": null,
  "ScmstNonCreditTaxAmt": null,
  "ScmstOrigBidpAmt": null,
  "ScmstOrigBidpOraseq": null,
  "ScmstOvrrideNotExceedFlag": null,
  "ScmstOverrideFlag": null,
  "ScmstPbContCode": null,
  "ScmstPbCustCode": null,
  "ScmstPostBatch": null,
  "ScmstPostDate": null,
  "ScmstPreferedQuoteFlag": null,
  "ScmstPrintedCoFlag": null,
  "ScmstProjOraseq": null,
  "ScmstRating": null,
  "ScmstRctReferenceNum": null,
  "ScmstReceivedDate": null,
  "ScmstRecipientEmail": null,
  "ScmstRevBatch": null,
  "ScmstRevDate": null,
  "ScmstScControlAmt": null,
  "ScmstSchedExistsFlag": null,
  "ScmstScheduleFlag": null,
  "ScmstScopeDesc": null,
  "ScmstScschLastSeqNumUsed": null,
  "ScmstSelfBilledFlag": null,
  "ScmstSenderEmail": null,
  "ScmstSepVouPerJobFlag": null,
  "ScmstSrcCode": null,
  "ScmstStartDate": null,
  "ScmstStatCode": null,
  "ScmstStatusCode": null,
  "ScmstSubcontrCode": "NONE",
  "ScmstSubcontractorChgCode": null,
  "ScmstTax1Code": null,
  "ScmstTax2Code": null,
  "ScmstTax3Code": null,
  "ScmstTermCode": null,
  "ScmstTermName": null,
  "ScmstTexturaFlag": null,
  "ScmstUser": null,
  "ScmstUserPrvlgFlag": null,
  "ScmstVenCode": "0415",
  "ScmstVenName": null,
  "ScmstVUuid": "F34747BF47E14C0FE05316821FAC769E",
  "ScmstDepositAmt": null,
  "ScmstDepositApprovalDate": null,
  "ScmstDepositPct": null,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scmast/F34747BF47E14C0FE05316821FAC769E",
      "name": "scmast",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scmast/F34747BF47E14C0FE05316821FAC769E",
      "name": "scmast",
      "kind": "item"
    },
    {
      "rel": "enclosure",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scmast/F34747BF47E14C0FE05316821FAC769E/enclosure/ScmstCommentLong",
      "name": "ScmstCommentLong",
      "kind": "other"
    }
  ]
}
object