Share via


InventTrans.unpostedInvoiceId Method

Returns an invoice ID of any unposted invoices.

Syntax

display UnpostedInvoiceId unpostedInvoiceId()

Run On

Called

Return Value

Type: UnpostedInvoiceId Extended Data Type
An invoice ID for the unposted invoice or invoices; otherwise, an empty string.

Remarks

The following invoice IDs can be returned from this method:

  • An empty string; if the receipt status is not received or there are no unposted invoices.

  • New; if there is a single unposted invoice without an ID assigned.

  • The invoice ID; if there is a single unposted invoice with an ID assigned.

  • Multiple; if there are multiple unposted invoices.

It includes unposted invoices saved in batches or being edited and those saved as pending.

See Also

Reference

InventTrans Table