PdcPuchaseInvoiceLineList.Items: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "Available since July 2015 (Version 5.1 onwards)"
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Declaration ==
Items(Index as integer) as [[PdcPurchaseInvoiceLine]]
== Description ==
Returns an invoice line for the supplied index.
== Notes ==
This method returns an invoice line of the supplied index. Index is a value between 0 and linelist.count - 1.
If an index is out of that range, an error occurred.
== Code example ==
The script returns an invoice line with index 5.
<source lang="vb">
dim objPI
dim objPIList
  set objPI = pdc.logistics.purchaseinvoices.active
  set objPIList = objPI.PurchaseInvoiceLineList
  msgbox objPIList.Items(5).Description
</source>
== Availability ==
Available since July 2015 (Version 5.1 onwards)
Available since July 2015 (Version 5.1 onwards)

Latest revision as of 10:28, 19 August 2015

Declaration

Items(Index as integer) as PdcPurchaseInvoiceLine

Description

Returns an invoice line for the supplied index.

Notes

This method returns an invoice line of the supplied index. Index is a value between 0 and linelist.count - 1. If an index is out of that range, an error occurred.

Code example

The script returns an invoice line with index 5.

dim objPI
dim objPIList

  set objPI = pdc.logistics.purchaseinvoices.active
  set objPIList = objPI.PurchaseInvoiceLineList
  msgbox objPIList.Items(5).Description

Availability

Available since July 2015 (Version 5.1 onwards)