CreateJob
From
(Difference between revisions)
(→Method) |
m (→Description) |
||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
− | Creates a new job, based on the data passed in. | + | Creates a new job, based on the data passed in. The data is contained in a [[JobBean]], which contains basic information related to the job to be created. The method will also accept a [[JobCustomerBean]] as in place of the [[JobBean]]. A [[JobCustomerBean]] also contains a [[CustomerBean]] which will contain the customer information related to the job. If the customer does not exist on EService, a new customer will be created, based on the information, and the created job will be linked to the new customer. |
== Parameters == | == Parameters == |
Latest revision as of 05:10, 26 April 2005
Contents |
[edit] Method
CreateJobResult createJob(UserIDBean userID, JobBean job, Calendar whenExternalCreated)
[edit] Description
Creates a new job, based on the data passed in. The data is contained in a JobBean, which contains basic information related to the job to be created. The method will also accept a JobCustomerBean as in place of the JobBean. A JobCustomerBean also contains a CustomerBean which will contain the customer information related to the job. If the customer does not exist on EService, a new customer will be created, based on the information, and the created job will be linked to the new customer.
[edit] Parameters
Type | Name | Description |
---|---|---|
UserIDBean | userID | The admin username and password. |
JobBean | job | The JobBean or JobCustomerBean representing the details of the job to create. |
Calendar | whenExternalCreated | The date and time the job was externally created. |