Menu Object
 
Syntax
 
Menu.FinOpenItems [ReportType][, AccountType][, Layout][, OverdueOnly][, IncludeAddresses][, ShowPaymentTerms][, HistoricalDate][, AutoStart]
 
Description
Opens the Open Items reporting application. Optionally, the report type, account type, layout, and display filters can be configured.
 
Parameter
Description
ReportType
Optional. Type of open items report. Default value oirCurrent.
Valid values:
oirCurrent (0) = Current open items,
oirHistorical (1) = Historical open items (at a past date).
AccountType
Optional. The type of accounts to report on. Default value oiaDebtors.
Valid values:
oiaDebtors (0) = Debtor open items,
oiaCreditors (1) = Creditor open items.
Layout
Optional. The grouping layout of the report. Default value oilPerInvoice.
Valid values:
oilPerInvoice (0) = One line per invoice,
oilPerRelation (1) = Grouped per relation (customer/supplier).
OverdueOnly
Optional. When True, only overdue items are included. Default value False.
IncludeAddresses
Optional. When True, the relation's address is printed on the report. Default value False.
ShowPaymentTerms
Optional. When True, the payment terms per item are shown. Default value False.
HistoricalDate
Optional. Required when ReportType is oirHistorical. Specifies the historical date for which the open items balance is shown.
AutoStart
Optional. When True, the report is generated immediately. Default value False.
See Also
FinOpenstaandePosten (Dutch variant)
Example
 
Sub Main
    Menu.FinOpenItems AccountType:=oiaDebtors, OverdueOnly:=True, AutoStart:=True
End Sub