Please enable JavaScript to view this site.

Navigation: Schema: API > Tables

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

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer