PdcPurchaseInvoices.Show: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == Show(Year as unsigned int) == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability =="
 
No edit summary
Line 1: Line 1:
== Declaration ==
== Declaration ==
Show(Year as unsigned int)
Show(InvoiceNo as string) as [[PdcPurchaseInvoiceHeader]]


== Description ==
== Description ==
 
This method opens the purchase invoice of the applied number and show it in PdC.
The object of the purchase invoice is returned.


== Notes ==
== Notes ==
 
Invoiceno = The number of the invoice to open in PdC.


== Code example ==
== Code example ==


<source lang="vb">
<source lang="vb">
 
dim objPI
  set objPI = Pdc.logistics.PurchaseInvoices.Show("00027")
  if IsValid(objPI) then
    msgbox "The invoice number is: " & objPI.InvoiceNo
  else
    msgbox "The invoice number is not found in PdC."
  end if
</source>
</source>


== Availability ==
== Availability ==
Available since April 2014 (Version 4.3 onwards)

Revision as of 07:49, 16 April 2014

Declaration

Show(InvoiceNo as string) as PdcPurchaseInvoiceHeader

Description

This method opens the purchase invoice of the applied number and show it in PdC. The object of the purchase invoice is returned.

Notes

Invoiceno = The number of the invoice to open in PdC.

Code example

dim objPI
 
  set objPI = Pdc.logistics.PurchaseInvoices.Show("00027")
  if IsValid(objPI) then
    msgbox "The invoice number is: " & objPI.InvoiceNo
  else
    msgbox "The invoice number is not found in PdC."
  end if

Availability

Available since April 2014 (Version 4.3 onwards)