PdcPuchaseInvoiceLineList.Items

From External Bemet Wiki
Revision as of 09:19, 19 August 2015 by TC (talk | contribs)
Jump to navigation Jump to search

Declaration

Items(Index : integer) as PdcPurchaseInvoiceLine

Description

Returns an invoice line for the applied index.

Notes

This method returns an invoice line of the applied 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)