Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ZENApp.Report.Invoice

persistent class ZENApp.Report.Invoice extends %Library.Persistent, %Library.Populate

SQL Table Name: ZENApp_Report.Invoice

A Customer invoice for testing reports against.

Property Inventory

Method Inventory

Properties

property Customer as %String (MAXLEN = 100, POPSPEC = "Company()");
Customer name.
Property methods: CustomerDisplayToLogical(), CustomerGet(), CustomerGetStored(), CustomerIsValid(), CustomerLogicalToDisplay(), CustomerLogicalToOdbc(), CustomerNormalize(), CustomerSet()
property Num as %Integer (MAXVAL = 10, MINVAL = 0);
Number used for aggregate testing.
Property methods: NumDisplayToLogical(), NumGet(), NumGetStored(), NumIsValid(), NumLogicalToDisplay(), NumNormalize(), NumSet()
property SaleDate as %Date (FORMAT = 3, POPSPEC = ".MakeDate()");
Date on which this sale was reported.
Property methods: SaleDateDisplayToLogical(), SaleDateGet(), SaleDateGetStored(), SaleDateIsValid(), SaleDateLogicalToDisplay(), SaleDateLogicalToOdbc(), SaleDateNormalize(), SaleDateOdbcToLogical(), SaleDateSet()
property SalesRep as %String (MAXLEN = 100, POPSPEC = ".MakeSalesRep()");
Sale's rep.
Property methods: SalesRepDisplayToLogical(), SalesRepGet(), SalesRepGetStored(), SalesRepIsValid(), SalesRepLogicalToDisplay(), SalesRepLogicalToOdbc(), SalesRepNormalize(), SalesRepSet()

Methods

classmethod BuildData(pCount As %Integer = 1000)
Build sample data for the application
method MakeDate() as %Date
Return random date for data population.
method MakeSalesRep() as %Date
Return random Sales rep name for data population.

Indexes

index ($Invoice on ) [Extent, Type = bitmap];
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (IdxCustomer on Customer) [Type = bitmap];
index (IdxDate on SaleDate) [Type = bitmap];
index (IdxSalesRep on SalesRep) [Type = bitmap];

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (ZENApp.Report.Invoice)

^ZENApp.Report.InvoiceD(ID)
=
%%CLASSNAME
Customer
SaleDate
SalesRep
Num
FeedbackOpens in a new tab