AddNewCase: Visma Severa Add New Project |
Catalog: Severa
Schema: API
Label: Add New Project
This is a read-only table function. The Visma Severa API may not support changing the data or the Invantive UniversalSQL driver for Visma Severa does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma Severa API.
Filters on API Server: caseInfo_AccountGUID- caseInfo_AccountName- caseInfo_AccountNumber- caseInfo_BillingAddress- caseInfo_BillingAddressGUID- caseInfo_BillingInternalNotes- caseInfo_BillingNotesBeforeGrid- caseInfo_BusinessUnitGUID- caseInfo_BusinessUnitName- caseInfo_BusinessUnitNumber- caseInfo_CaseCompanyCurrencyGUID- caseInfo_CaseNumber- caseInfo_CaseOwnerUserCode- caseInfo_CaseOwnerUserGUID- caseInfo_ClosedDate- caseInfo_CompletionEstimate- caseInfo_ContactGUID- caseInfo_CostCenterGUID- caseInfo_CostCenterNumber- caseInfo_CurrencyGUID- caseInfo_CurrencyShortform- caseInfo_CurrencyShortformOfCaseCompanyCurrency- caseInfo_CurrentCaseStatusDescription- caseInfo_CurrentCaseStatusGUID- caseInfo_CurrentCaseStatusInsertTs- caseInfo_DeadlineDate- caseInfo_Description- caseInfo_ExpectedValue- caseInfo_GUID- caseInfo_IncludeExceptions- caseInfo_IncludeOverTime- caseInfo_InsertTs- caseInfo_InternalName- caseInfo_InvoiceTemplateGUID- caseInfo_IsClosed- caseInfo_IsDailyAllowanceBillable- caseInfo_IsInternal- caseInfo_IsMileageBillable- caseInfo_IsOtherTravelExpensesBillable- caseInfo_LatestEstimationDate- caseInfo_LeadRating- caseInfo_LeadSourceGUID- caseInfo_Name- caseInfo_OrderNumber- caseInfo_OurReference- caseInfo_OverdueInterest- caseInfo_PaymentTerm- caseInfo_PricelistGUID- caseInfo_PricingRule- caseInfo_PricingType- caseInfo_Priority- caseInfo_Probability- caseInfo_RootTaskGUID- caseInfo_SalesCloseDate- caseInfo_SalesPersonUserCode- caseInfo_SalesPersonUserGUID- caseInfo_SalesProcessGUID- caseInfo_SalesStatusGUID- caseInfo_SharedToExtranet- caseInfo_StartDate- caseInfo_UpdatedTs- caseInfo_UrlToCase- caseInfo_UseDefaultProductsInWorkTimeEntry- caseInfo_UseDefaultWorkTypes- caseInfo_YourReference
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function AddNewCase. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
caseInfo_AccountGUID |
string |
☐ |
|
|
caseInfo_AccountName |
string |
☐ |
|
|
caseInfo_AccountNumber |
int64 |
☐ |
|
|
caseInfo_BillingAddress |
string |
☐ |
|
|
caseInfo_BillingAddressGUID |
string |
☐ |
|
|
caseInfo_BillingInternalNotes |
string |
☐ |
|
|
caseInfo_BillingNotesBeforeGrid |
string |
☐ |
|
|
caseInfo_BusinessUnitGUID |
string |
☐ |
|
|
caseInfo_BusinessUnitName |
string |
☐ |
|
|
caseInfo_BusinessUnitNumber |
string |
☐ |
|
|
caseInfo_CaseCompanyCurrencyGUID |
string |
☐ |
|
|
caseInfo_CaseNumber |
int64 |
☐ |
|
|
caseInfo_CaseOwnerUserCode |
string |
☐ |
|
|
caseInfo_CaseOwnerUserGUID |
string |
☐ |
|
|
caseInfo_ClosedDate |
datetime |
☐ |
|
|
caseInfo_CompletionEstimate |
int32 |
☐ |
|
|
caseInfo_ContactGUID |
string |
☐ |
|
|
caseInfo_CostCenterGUID |
string |
☐ |
|
|
caseInfo_CostCenterNumber |
string |
☐ |
|
|
caseInfo_CurrencyGUID |
string |
☐ |
|
|
caseInfo_CurrencyShortform |
string |
☐ |
|
|
caseInfo_CurrencyShortformOfCaseCompanyCurrency |
string |
☐ |
|
|
caseInfo_CurrentCaseStatusDescription |
string |
☐ |
|
|
caseInfo_CurrentCaseStatusGUID |
string |
☐ |
|
|
caseInfo_CurrentCaseStatusInsertTs |
datetime |
☐ |
|
|
caseInfo_DeadlineDate |
datetime |
☐ |
|
|
caseInfo_Description |
string |
☐ |
|
|
caseInfo_ExpectedValue |
decimal |
☐ |
|
|
caseInfo_GUID |
string |
☐ |
|
|
caseInfo_IncludeExceptions |
boolean |
☐ |
|
|
caseInfo_IncludeOverTime |
boolean |
☐ |
|
|
caseInfo_InsertTs |
datetime |
☐ |
|
|
caseInfo_InternalName |
string |
☐ |
|
|
caseInfo_InvoiceTemplateGUID |
string |
☐ |
|
|
caseInfo_IsClosed |
boolean |
☐ |
|
|
caseInfo_IsDailyAllowanceBillable |
boolean |
☐ |
|
|
caseInfo_IsInternal |
boolean |
☐ |
|
|
caseInfo_IsMileageBillable |
boolean |
☐ |
|
|
caseInfo_IsOtherTravelExpensesBillable |
boolean |
☐ |
|
|
caseInfo_LatestEstimationDate |
datetime |
☐ |
|
|
caseInfo_LeadRating |
int32 |
☐ |
|
|
caseInfo_LeadSourceGUID |
string |
☐ |
|
|
caseInfo_Name |
string |
☐ |
|
|
caseInfo_OrderNumber |
string |
☐ |
|
|
caseInfo_OurReference |
string |
☐ |
|
|
caseInfo_OverdueInterest |
decimal |
☐ |
|
|
caseInfo_PaymentTerm |
int32 |
☐ |
|
|
caseInfo_PricelistGUID |
string |
☐ |
|
|
caseInfo_PricingRule |
string |
☐ |
|
|
caseInfo_PricingType |
string |
☐ |
|
|
caseInfo_Priority |
int32 |
☐ |
|
|
caseInfo_Probability |
int32 |
☐ |
|
|
caseInfo_RootTaskGUID |
string |
☐ |
|
|
caseInfo_SalesCloseDate |
datetime |
☐ |
|
|
caseInfo_SalesPersonUserCode |
string |
☐ |
|
|
caseInfo_SalesPersonUserGUID |
string |
☐ |
|
|
caseInfo_SalesProcessGUID |
string |
☐ |
|
|
caseInfo_SalesStatusGUID |
string |
☐ |
|
|
caseInfo_SharedToExtranet |
boolean |
☐ |
|
|
caseInfo_StartDate |
datetime |
☐ |
|
|
caseInfo_UpdatedTs |
datetime |
☐ |
|
|
caseInfo_UrlToCase |
string |
☐ |
|
|
caseInfo_UseDefaultProductsInWorkTimeEntry |
boolean |
☐ |
|
|
caseInfo_UseDefaultWorkTypes |
boolean |
☐ |
|
|
caseInfo_YourReference |
string |
☐ |
|
|
Columns of Table Function
The columns of the table function AddNewCase are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
ACCOUNTGUID |
string |
Account GUID |
|
|
ACCOUNTNAME |
string |
Account Name |
|
|
ACCOUNTNUMBER |
int64 |
Account Number |
|
|
BILLINGADDRESS |
string |
Billing Address |
|
|
BILLINGADDRESSGUID |
string |
Billing Address GUID |
|
|
BILLINGINTERNALNOTES |
string |
Billing Internal Notes |
|
|
BILLINGNOTESBEFOREGRID |
string |
Billing Notes before Grid |
|
|
BUSINESSUNITGUID |
string |
Business Unit GUID |
|
|
BUSINESSUNITNAME |
string |
Business Unit Name |
|
|
BUSINESSUNITNUMBER |
string |
Business Unit Number |
|
|
CASECOMPANYCURRENCYGUID |
string |
Project Company Currency GUID |
|
|
CASENUMBER |
int64 |
Project Number |
|
|
CASEOWNERUSERCODE |
string |
Project Owner User Code |
|
|
CASEOWNERUSERGUID |
string |
Project Owner User GUID |
|
|
CLOSEDDATE |
datetime |
Closed Date |
|
|
COMPLETIONESTIMATE |
int32 |
Completion Estimate |
|
|
CONTACTGUID |
string |
Contact GUID |
|
|
COSTCENTERGUID |
string |
Cost Center GUID |
|
|
COSTCENTERNUMBER |
string |
Cost Center Number |
|
|
CURRENCYGUID |
string |
Currency GUID |
|
|
CURRENCYSHORTFORM |
string |
Currency Short Form |
|
|
CURRENCYSHORTFORMOFCASECOMPANYCURRENCY |
string |
Currency Short Form of Project Company Currency |
|
|
CURRENTCASESTATUSDESCRIPTION |
string |
Current Project Status Description |
|
|
CURRENTCASESTATUSGUID |
string |
Current Project Status GUID |
|
|
CURRENTCASESTATUSINSERTTS |
datetime |
Current Project Status Inserted |
|
|
DEADLINEDATE |
datetime |
Deadline Date |
|
|
DESCRIPTION |
string |
Ddescription |
|
|
EXPECTEDVALUE |
decimal |
Expected Value |
|
|
GUID |
string |
GUID |
|
|
INCLUDEEXCEPTIONS |
boolean |
Include Exceptions |
|
|
INCLUDEOVERTIME |
boolean |
Include Overtime |
|
|
INSERTTS |
datetime |
Inserted |
|
|
INTERNALNAME |
string |
Internal Name |
|
|
INVOICETEMPLATEGUID |
string |
Invoice Template GUID |
|
|
ISCLOSED |
boolean |
Is Closed |
|
|
ISDAILYALLOWANCEBILLABLE |
boolean |
Is Daily Allowance Billable |
|
|
ISINTERNAL |
boolean |
Is Internal |
|
|
ISMILEAGEBILLABLE |
boolean |
Is Mileage Billable |
|
|
ISOTHERTRAVELEXPENSESBILLABLE |
boolean |
Are Other Travel Expenses Billable |
|
|
LATESTESTIMATIONDATE |
datetime |
Latest Estimation Date |
|
|
LEADRATING |
int32 |
Lead Rating |
|
|
LEADSOURCEGUID |
string |
Lead Source GUID |
|
|
NAME |
string |
Name |
|
|
ORDERNUMBER |
string |
Order Number |
|
|
OURREFERENCE |
string |
Our Reference |
|
|
OVERDUEINTEREST |
decimal |
Overdue Interest |
|
|
PAYMENTTERM |
int32 |
Payment Term |
|
|
PRICELISTGUID |
string |
Pricelist GUID |
|
|
PRICINGRULE |
string |
Pricing Rule |
|
|
PRICINGTYPE |
string |
Pricing Type |
|
|
PRIORITY |
int32 |
Priority |
|
|
PROBABILITY |
int32 |
Probability |
|
|
ROOTTASKGUID |
string |
Root Task GUID |
|
|
SALESCLOSEDATE |
datetime |
Sales Close Date |
|
|
SALESPERSONUSERCODE |
string |
Sales Person User Code |
|
|
SALESPERSONUSERGUID |
string |
Sales Person User GUID |
|
|
SALESPROCESSGUID |
string |
Sales Process GUID |
|
|
SALESSTATUSGUID |
string |
Sales Status GUID |
|
|
SHAREDTOEXTRANET |
boolean |
Shared to Extranet |
|
|
STARTDATE |
datetime |
Start Date |
|
|
UPDATEDTS |
datetime |
Updated |
|
|
URLTOCASE |
string |
URL to Project |
|
|
USEDEFAULTPRODUCTSINWORKTIMEENTRY |
boolean |
Use Default Products in Work Time Entry |
|
|
USEDEFAULTWORKTYPES |
boolean |
Use Default Work Types |
|
|
YOURREFERENCE |
string |
Your Reference |
|
|
10-06-2024 19:00 Version 24.1.3-BETA+4689