Service Contract API Developer's Reference

scmsc.apiCRLExtended

global with sharing class apiCRLExtended

This wrapper class is used to create a change request line based on the change request field and the type of data the user wants to change or include on the new contract line.

Author

FinancialForce.com, inc

Date

7/08/2015

Properties

Name Type Description
serviceContractLineId Id
changeRequestLineField String
stringValue String
dateValue Date
dateTimeValue DateTime
decimalValue Decimal
booleanValue Boolean

Methods

apiCRLExtended

global apiCRLExtended(Id Service_Contract_Line_Id, String Change_Request_Line_Field, String value)

Setting the wrapper with a constructor for a string field on change request line.

Input Parameters

Name Type Description
Service_Contract_Line_Id Id Globally unique string that identifies the Service contract line (SCMC__Service_Order_Line__c).
Change_Request_Line_Field String Field SCMC__Change_Request_Line__c on the change request line object. Note that the Change_Request_Line_Field should be a text or reference field.
value String The new text or reference value.

apiCRLExtended

global apiCRLExtended(Id Service_Contract_Line_Id, String Change_Request_Line_Field, Date value)

Setting the wrapper with a constructor for a string field on change request line.

Input Parameters

Name Type Description
Service_Contract_Line_Id Id Globally unique string that identifies the Service contract line (SCMC__Service_Order_Line__c).
Change_Request_Line_Field String Field SCMC__Change_Request_Line__c on the change request line object. Note that the Change_Request_Line_Field should be a date field.
value Date The new date value.

apiCRLExtended

global apiCRLExtended(Id Service_Contract_Line_Id, String Change_Request_Line_Field, Datetime value)

Setting the wrapper with a constructor for a string field on change request line.

Input Parameters

Name Type Description
Service_Contract_Line_Id Id Globally unique string that identifies the Service contract line (SCMC__Service_Order_Line__c).
Change_Request_Line_Field String Field SCMC__Change_Request_Line__c on the change request line object. Note that the Change_Request_Line_Field should be a datetime field.
value Datetime The new datetime value.

apiCRLExtended

global apiCRLExtended(Id Service_Contract_Line_Id, String Change_Request_Line_Field, Decimal value)

Setting the wrapper with a constructor for a string field on change request line.

Input Parameters

Name Type Description
Service_Contract_Line_Id Id Globally unique string that identifies the Service contract line (SCMC__Service_Order_Line__c).
Change_Request_Line_Field String Field SCMC__Change_Request_Line__c on the change request line object. Note that the Change_Request_Line_Field should be a decimal field.
value Decimal The new decimal value.

apiCRLExtended

global apiCRLExtended(Id Service_Contract_Line_Id, String Change_Request_Line_Field, Boolean value)

Setting the wrapper with a constructor for a string field on change request line.

Input Parameters

Name Type Description
Service_Contract_Line_Id Id Globally unique string that identifies the Service contract line (SCMC__Service_Order_Line__c).
Change_Request_Line_Field String Field SCMC__Change_Request_Line__c on the change request line object. Note that the Change_Request_Line_Field should be a boolean field.
value Boolean The new boolean value.