AddNewExpenseToProductByPoNumber: Visma Severa Add New Expense to Product by PO Number |
Catalog: Severa
Schema: API
Label: Add New Expense to Product by PO Number
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: poNumber- itemInfo_BillingDependencyTaskGUID- itemInfo_BillingSchedule- itemInfo_CaseGUID- itemInfo_CaseNumber- itemInfo_CostCenterGUID- itemInfo_CostCenterIdentifier- itemInfo_CostCurrencyShortform- itemInfo_CostCurrencyShortformOfInvoicingCurrency- itemInfo_CostCurrencyShortformOfOrganizationCurrency- itemInfo_CostCurrencyShortformOfUserCompanyCurrency- itemInfo_Description- itemInfo_DisplayPeriodStart- itemInfo_EventDate- itemInfo_GUID- itemInfo_InvoiceDescription- itemInfo_InvoiceGUID- itemInfo_InvoiceQuantity- itemInfo_InvoiceRowGUID- itemInfo_IsApproved- itemInfo_IsBillable- itemInfo_IsOutSourcingCost- itemInfo_IsReadOnly- itemInfo_IsRealised- itemInfo_MeasurementUnit- itemInfo_Name- itemInfo_OrderDate- itemInfo_PlannedBillingDate- itemInfo_PriceCurrencyShortformOfCaseCompanyCurrency- itemInfo_PriceCurrencyShortformOfInvoicingCurrency- itemInfo_PriceCurrencyShortformOfOrganizationCurrency- itemInfo_PriceCurrencyShortformOfUserCompanyCurrency- itemInfo_ProductCode- itemInfo_ProductGUID- itemInfo_ProductType- itemInfo_PurchaseOrderNumber- itemInfo_PurchaseVAT- itemInfo_Quantity- itemInfo_RecurrenceEndDate- itemInfo_RecurrenceEndType- itemInfo_RecurrenceFrequency- itemInfo_RecurrenceStartDate- itemInfo_RecurrenceTimes- itemInfo_RecurringItemGUID- itemInfo_SalesAccountGUID- itemInfo_SalesStatusGUID- itemInfo_TaskGUID- itemInfo_TravelEndTime- itemInfo_TravelStartTime- itemInfo_UnitCost- itemInfo_UnitCostInInvoicingCurrency- itemInfo_UnitCostInOrganizationCurrency- itemInfo_UnitCostInUserCompanyCurrency- itemInfo_UnitCostVatIncludedAmount- itemInfo_UnitPrice- itemInfo_UnitPriceInBaseCurrency- itemInfo_UnitPriceInCaseCompanyCurrency- itemInfo_UnitPriceInUserCompanyCurrency- itemInfo_UserCode- itemInfo_UserGUID- itemInfo_VAT
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function AddNewExpenseToProductByPoNumber. 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 |
---|---|---|---|---|
itemInfo_BillingDependencyTaskGUID |
string |
☐ |
|
|
itemInfo_BillingSchedule |
string |
☐ |
|
|
itemInfo_CaseGUID |
string |
☐ |
|
|
itemInfo_CaseNumber |
int64 |
☐ |
|
|
itemInfo_CostCenterGUID |
string |
☐ |
|
|
itemInfo_CostCenterIdentifier |
string |
☐ |
|
|
itemInfo_CostCurrencyShortform |
string |
☐ |
|
|
itemInfo_CostCurrencyShortformOfInvoicingCurrency |
string |
☐ |
|
|
itemInfo_CostCurrencyShortformOfOrganizationCurrency |
string |
☐ |
|
|
itemInfo_CostCurrencyShortformOfUserCompanyCurrency |
string |
☐ |
|
|
itemInfo_Description |
string |
☐ |
|
|
itemInfo_DisplayPeriodStart |
datetime |
☐ |
|
|
itemInfo_EventDate |
datetime |
☐ |
|
|
itemInfo_GUID |
string |
☐ |
|
|
itemInfo_InvoiceDescription |
string |
☐ |
|
|
itemInfo_InvoiceGUID |
string |
☐ |
|
|
itemInfo_InvoiceQuantity |
decimal |
☐ |
|
|
itemInfo_InvoiceRowGUID |
string |
☐ |
|
|
itemInfo_IsApproved |
boolean |
☐ |
|
|
itemInfo_IsBillable |
boolean |
☐ |
|
|
itemInfo_IsOutSourcingCost |
boolean |
☐ |
|
|
itemInfo_IsReadOnly |
boolean |
☐ |
|
|
itemInfo_IsRealised |
boolean |
☐ |
|
|
itemInfo_MeasurementUnit |
string |
☐ |
|
|
itemInfo_Name |
string |
☐ |
|
|
itemInfo_OrderDate |
datetime |
☐ |
|
|
itemInfo_PlannedBillingDate |
datetime |
☐ |
|
|
itemInfo_PriceCurrencyShortformOfCaseCompanyCurrency |
string |
☐ |
|
|
itemInfo_PriceCurrencyShortformOfInvoicingCurrency |
string |
☐ |
|
|
itemInfo_PriceCurrencyShortformOfOrganizationCurrency |
string |
☐ |
|
|
itemInfo_PriceCurrencyShortformOfUserCompanyCurrency |
string |
☐ |
|
|
itemInfo_ProductCode |
string |
☐ |
|
|
itemInfo_ProductGUID |
string |
☐ |
|
|
itemInfo_ProductType |
string |
☐ |
|
|
itemInfo_PurchaseOrderNumber |
string |
☐ |
|
|
itemInfo_PurchaseVAT |
decimal |
☐ |
|
|
itemInfo_Quantity |
decimal |
☐ |
|
|
itemInfo_RecurrenceEndDate |
datetime |
☐ |
|
|
itemInfo_RecurrenceEndType |
int32 |
☐ |
|
|
itemInfo_RecurrenceFrequency |
int32 |
☐ |
|
|
itemInfo_RecurrenceStartDate |
datetime |
☐ |
|
|
itemInfo_RecurrenceTimes |
int32 |
☐ |
|
|
itemInfo_RecurringItemGUID |
string |
☐ |
|
|
itemInfo_SalesAccountGUID |
string |
☐ |
|
|
itemInfo_SalesStatusGUID |
string |
☐ |
|
|
itemInfo_TaskGUID |
string |
☐ |
|
|
itemInfo_TravelEndTime |
datetime |
☐ |
|
|
itemInfo_TravelStartTime |
datetime |
☐ |
|
|
itemInfo_UnitCost |
decimal |
☐ |
|
|
itemInfo_UnitCostInInvoicingCurrency |
decimal |
☐ |
|
|
itemInfo_UnitCostInOrganizationCurrency |
decimal |
☐ |
|
|
itemInfo_UnitCostInUserCompanyCurrency |
decimal |
☐ |
|
|
itemInfo_UnitCostVatIncludedAmount |
decimal |
☐ |
|
|
itemInfo_UnitPrice |
decimal |
☐ |
|
|
itemInfo_UnitPriceInBaseCurrency |
decimal |
☐ |
|
|
itemInfo_UnitPriceInCaseCompanyCurrency |
decimal |
☐ |
|
|
itemInfo_UnitPriceInUserCompanyCurrency |
decimal |
☐ |
|
|
itemInfo_UserCode |
string |
☐ |
|
|
itemInfo_UserGUID |
string |
☐ |
|
|
itemInfo_VAT |
decimal |
☐ |
|
|
poNumber |
string |
☐ |
|
|
Columns of Table Function
The columns of the table function AddNewExpenseToProductByPoNumber are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
BILLINGDEPENDENCYTASKGUID |
string |
Billing Dependency Task GUID |
|
|
BILLINGSCHEDULE |
string |
Billing Schedule |
|
|
CASEGUID |
string |
Project GUID |
|
|
CASENUMBER |
int64 |
Project Number |
|
|
COSTCENTERGUID |
string |
Cost Center GUID |
|
|
COSTCENTERIDENTIFIER |
string |
Cost Center Identifier |
|
|
COSTCURRENCYSHORTFORM |
string |
Cost Currency Short Form |
|
|
COSTCURRENCYSHORTFORMOFINVOICINGCURRENCY |
string |
Cost Currency Short Form of Invoicing Currency |
|
|
COSTCURRENCYSHORTFORMOFORGANIZATIONCURRENCY |
string |
Cost Currency Short Form of Organization Currency |
|
|
COSTCURRENCYSHORTFORMOFUSERCOMPANYCURRENCY |
string |
Cost Currency Short Form of User Company Currency |
|
|
DESCRIPTION |
string |
Ddescription |
|
|
DISPLAYPERIODSTART |
datetime |
Display Period Start |
|
|
EVENTDATE |
datetime |
Event Date |
|
|
GUID |
string |
GUID |
|
|
INVOICEDESCRIPTION |
string |
Invoice Description |
|
|
INVOICEGUID |
string |
Invoice GUID |
|
|
INVOICEQUANTITY |
decimal |
Invoice Quantity |
|
|
INVOICEROWGUID |
string |
Invoice Line GUID |
|
|
ISAPPROVED |
boolean |
Is Approved |
|
|
ISBILLABLE |
boolean |
Is Billable |
|
|
ISOUTSOURCINGCOST |
boolean |
Is Out-sourcing Cost |
|
|
ISREADONLY |
boolean |
Is Read-only |
|
|
ISREALISED |
boolean |
Is Realized |
|
|
MEASUREMENTUNIT |
string |
Measurement Unit |
|
|
NAME |
string |
Name |
|
|
ORDERDATE |
datetime |
Order Date |
|
|
PLANNEDBILLINGDATE |
datetime |
Planned Billing Date |
|
|
PRICECURRENCYSHORTFORMOFCASECOMPANYCURRENCY |
string |
Price Currency Short Form of Project Company Currency |
|
|
PRICECURRENCYSHORTFORMOFINVOICINGCURRENCY |
string |
Price Currency Short Form of Invoicing Currency |
|
|
PRICECURRENCYSHORTFORMOFORGANIZATIONCURRENCY |
string |
Price Currency Short Form of Organization Currency |
|
|
PRICECURRENCYSHORTFORMOFUSERCOMPANYCURRENCY |
string |
Price Currency Short Form of User Company Currency |
|
|
PRODUCTCODE |
string |
Product Code |
|
|
PRODUCTGUID |
string |
Product GUID |
|
|
PRODUCTTYPE |
string |
Product Type |
|
|
PURCHASEORDERNUMBER |
string |
Purchase Order Number |
|
|
PURCHASEVAT |
decimal |
Purchase VAT |
|
|
QUANTITY |
decimal |
Quantity |
|
|
RECURRENCEENDDATE |
datetime |
Recurrence End Date |
|
|
RECURRENCEENDTYPE |
int32 |
Recurrence End Type |
|
|
RECURRENCEFREQUENCY |
int32 |
Recurrence Frequency |
|
|
RECURRENCESTARTDATE |
datetime |
Recurrence Start Date |
|
|
RECURRENCETIMES |
int32 |
Recurrence Times |
|
|
RECURRINGITEMGUID |
string |
Recurring Item GUID |
|
|
SALESACCOUNTGUID |
string |
Sales Account GUID |
|
|
SALESSTATUSGUID |
string |
Sales Status GUID |
|
|
TASKGUID |
string |
Task GUID |
|
|
TRAVELENDTIME |
datetime |
Travel End Time |
|
|
TRAVELSTARTTIME |
datetime |
Travel Start Time |
|
|
UNITCOST |
decimal |
Unit Cost |
|
|
UNITCOSTININVOICINGCURRENCY |
decimal |
Unit Cost in Invoicing Currency |
|
|
UNITCOSTINORGANIZATIONCURRENCY |
decimal |
Unit Cost in Organization Currency |
|
|
UNITCOSTINUSERCOMPANYCURRENCY |
decimal |
Unit Cost in User Company Currency |
|
|
UNITCOSTVATINCLUDEDAMOUNT |
decimal |
Unit Cost VAT Included Amount |
|
|
UNITPRICE |
decimal |
Unit Price |
|
|
UNITPRICEINBASECURRENCY |
decimal |
Unit Price in Base Currency |
|
|
UNITPRICEINCASECOMPANYCURRENCY |
decimal |
Unit Price in Project Company Currency |
|
|
UNITPRICEINUSERCOMPANYCURRENCY |
decimal |
Unit Price in User Company Currency |
|
|
USERCODE |
string |
User Code |
|
|
USERGUID |
string |
User GUID |
|
|
VAT |
decimal |
VAT |
|
|
10-06-2024 19:00 Version 24.1.3-BETA+4689