VendTmpInvoiceInfoTable.invoiceNumber Method

Retrieves the invoice IDs of any unposted invoices.

Syntax

display Num invoiceNumber()

Run On

Called

Return Value

Type: Num Extended Data Type
An invoice ID for the pending invoice; otherwise, new.

Remarks

The following invoice IDs can be returned from this method:

  • New; if there is a single unposted invoice that does not have an ID assigned.

  • Invoice ID; if there is a single invoice that has an ID assigned.

This method also includes unposted invoices saved in batches or being edited and those actually saved as pending.

See Also

Reference

VendTmpInvoiceInfoTable Table