Table of Contents

API - Purch. Inv. Lines

This is a fork of page 30047 "APIV2 - Purchase Invoice Lines" from version 27.0.38460.40573. Added support for Extra Values.

Object Definition

Object TypePage
Object ID70314192
Object NameQWESR API - Purch. Inv. Lines
Source TablePurch. Inv. Line Aggregate

API Definition

APIPublishersmartApps
APIGroupspider
APIVersionv1.0
EntitySetNamepurchaseInvoiceLines
EntityNamepurchaseInvoiceLine

Events

Name Description
OnAfterInsert(Record "Purch. Inv. Line Aggregate"; Record "Purchase Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text; List of [Integer]) Raised after a record is inserted.
OnAfterModify(Record "Purch. Inv. Line Aggregate"; Record "Purchase Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text; List of [Integer]) Raised after a record is modified.
OnGetPostedPurchaseInvoiceLineExtraValues(Record "Purch. Inv. Line Aggregate"; Record "Purch. Inv. Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text) Raised after a record is read from the database. This event is raised if the Purchase Invoice is posted. Makes it possible to set the ExtraValues 1..10, to be returned to the client.
OnGetPurchaseInvoiceLineExtraValues(Record "Purch. Inv. Line Aggregate"; Record "Purchase Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text) Raised after a record is read from the database. This event is raised if the Purchase Invoice is not posted. Makes it possible to set the ExtraValues 1..10, to be returned to the client.

Controls

Type Name Data Type Read-only
Field id Yes
Field documentId
Field sequence
Field itemId
Field accountId
Field lineType
Field lineObjectNumber
Field description
Field description2
Field unitOfMeasureId
Field unitOfMeasureCode
Field unitCost
Field quantity
Field discountAmount
Field discountPercent
Field discountAppliedBeforeTax Yes
Field amountExcludingTax
Field taxCode
Field taxPercent Yes
Field totalTaxAmount Yes
Field amountIncludingTax
Field invoiceDiscountAllocation
Field netAmount
Field netTaxAmount
Field netAmountIncludingTax
Field expectedReceiptDate
Field itemVariantId
Field locationId
Field extraValue1 Text
Field extraValue2 Text
Field extraValue3 Text
Field extraValue4 Text
Field extraValue5 Text
Field extraValue6 Text
Field extraValue7 Text
Field extraValue8 Text
Field extraValue9 Text
Field extraValue10 Text
Sub page dimensionSetLines
Sub page location

This documentation is generated from Spider v27.4