AcceptQuotation
Accepts a quotation, changing its status from open to accepted.
Input
| Name | Type | Description |
| QuotationID | String | Identifier of the quotation. |
| Action | Integer | 0 = No action (default), 1 = create sales order, 2 = create sales invoice, 3 = create project. |
| CreateItemPriceAgreement | Boolean | Indicates if an item price agreement should be created. |
| CreateProjectWBS | Boolean | Create project with WBS. Applies when Action is 3 (create project). |
| InvoiceJournal | String | The journal in which the sales invoice will be booked. Mandatory for Action = 2. |
| NotificationLayout | String | Layout used for notifications. |
| OpportunityStage | String | Stage of the opportunity linked to the quotation. |
| ProjectBudgetType | Integer | Type of budget for the project. |
| ProjectClassification | String | Classification of the project. |
| ProjectCode | String | Code of the project to create. |
| ProjectDescription | String | Description of the project to create. |
| ProjectEnableWorkInProgress | Boolean | Indicates if work in progress is enabled for the project. |
| ProjectID | String | Identifier of an existing project to link. |
| ProjectInvoiceDate | Datetime | Invoice date for the project. |
| ProjectInvoicingAction | Integer | Invoicing action for the project. |
| ProjectPrepaindTypes | Integer | Prepaid types for the project. |
| ProjectPriceAgreement | Double | Price agreement for the project. |
| ProjectType | Integer | Type of the project to create. |
| ProjectWBSPartOf | String | WBS part of for the project. |
| ReasonCode | String | Reason why the quotation was accepted. |
| SubscriptionDescription | String | Description of the subscription to create. |
| SubscriptionStartDate | Datetime | Start date of the subscription. |
| SubscriptionType | String | Type of the subscription to create. |
| UpdateProjectBudgetAndPriceAgreement | Boolean | Indicates if the project budget and price agreement should be updated. |
| YourRef | String | Your reference for the quotation. |
Result Set Columns
| Name | Type | Description |
| QuotationID | String | Identifier of the quotation. |
| Action | Integer | 0 = No action (default), 1 = create sales order, 2 = create sales invoice, 3 = create project. |
| AddToExistingProjectSuccess | String | Contains information if the quotation was successfully added to an existing project. |
| CreateItemPriceAgreement | Boolean | Indicates if an item price agreement should be created. |
| CreateProjectWBS | Boolean | Create project with WBS. |
| Division | Integer | Division code. |
| ErrorMessage | String | Contains the error message if an error occurred during the accepting of the quotation. |
| InvoiceJournal | String | The journal in which the sales invoice will be booked. |
| LinkedOptionalQuotationLineIDs | String | Collection of optional quotation line IDs linked. |
| NotificationLayout | String | Layout used for notifications. |
| OpportunityStage | String | Stage of the opportunity linked to the quotation. |
| ProjectBudgetType | Integer | Type of budget for the project. |
| ProjectClassification | String | Classification of the project. |
| ProjectCode | String | Code of the project created. |
| ProjectDescription | String | Description of the project created. |
| ProjectEnableWorkInProgress | Boolean | Indicates if work in progress is enabled for the project. |
| ProjectID | String | Identifier of the project linked or created. |
| ProjectInvoiceDate | Datetime | Invoice date for the project. |
| ProjectInvoicingAction | Integer | Invoicing action for the project. |
| ProjectPrepaindTypes | Integer | Prepaid types for the project. |
| ProjectPriceAgreement | Double | Price agreement for the project. |
| ProjectSuccess | String | Contains information if the project was successfully created. |
| ProjectType | Integer | Type of the project created. |
| ProjectWBSPartOf | String | WBS part of for the project. |
| ReasonCode | String | Reason why the quotation was accepted. |
| SalesInvoiceSuccess | String | Contains information if the sales invoice was successfully created. |
| SalesOrderSuccess | String | Contains information if the sales order was successfully created. |
| SubscriptionDescription | String | Description of the subscription created. |
| SubscriptionStartDate | Datetime | Start date of the subscription. |
| SubscriptionSuccess | String | Contains information if the subscription was successfully created. |
| SubscriptionType | String | Type of the subscription created. |
| SuccessMessage | String | Contains information if the quotation was successfully accepted. |
| UpdateProjectBudgetAndPriceAgreement | Boolean | Indicates if the project budget and price agreement should be updated. |
| YourRef | String | Your reference for the quotation. |