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?

Wasabi.OrderEntry.Data.Orders

persistent class Wasabi.OrderEntry.Data.Orders extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Wasabi_OrderEntry_Data.Orders

Property Inventory

Properties

property BillingAddress as Wasabi.Data.AddressSerial;
Property methods: BillingAddressGet(), BillingAddressGetObject(), BillingAddressGetObjectId(), BillingAddressGetStored(), BillingAddressGetSwizzled(), BillingAddressIsEmpty(), BillingAddressIsValid(), BillingAddressNewObject(), BillingAddressSet(), BillingAddressSetObject(), BillingAddressSetObjectId(), BillingAddressUnSwizzle()
property CurrentStatus as %String (VALUELIST = ",New,Canceled, Confirmed, Fullfilled");
ordered, shipped, cancelled, etc.) -- WS
Property methods: CurrentStatusDisplayToLogical(), CurrentStatusGet(), CurrentStatusGetStored(), CurrentStatusIsValid(), CurrentStatusLogicalToDisplay(), CurrentStatusLogicalToOdbc(), CurrentStatusNormalize(), CurrentStatusSet()
property Customer as Wasabi.Data.Customer;
Group #3 Person ID
Property methods: CustomerGet(), CustomerGetObject(), CustomerGetObjectId(), CustomerGetStored(), CustomerGetSwizzled(), CustomerIsValid(), CustomerNewObject(), CustomerSet(), CustomerSetObject(), CustomerSetObjectId(), CustomerUnSwizzle()
property Discount as %Float;
Property methods: DiscountDisplayToLogical(), DiscountGet(), DiscountGetStored(), DiscountIsValid(), DiscountLogicalToDisplay(), DiscountNormalize(), DiscountSet(), DiscountXSDToLogical()
property InitialTimestamp as %TimeStamp [ InitialExpression = $zts ];
Property methods: InitialTimestampDisplayToLogical(), InitialTimestampGet(), InitialTimestampGetStored(), InitialTimestampIsValid(), InitialTimestampLogicalToDisplay(), InitialTimestampLogicalToXSD(), InitialTimestampNormalize(), InitialTimestampOdbcToLogical(), InitialTimestampSet(), InitialTimestampXSDToLogical()
relationship Invoices as array of Wasabi.OrderEntry.Data.Invoice [ InitialExpression = $listbuild("Wasabi.OrderEntry.Data.Invoice","OrderRef",+$this,"many",1,1) , Transient , Inverse = OrderRef , Cardinality = many ];
Property methods: InvoicesGet(), InvoicesGetObject(), InvoicesGetObjectId(), InvoicesGetSwizzled(), InvoicesIsEmpty(), InvoicesIsValid(), InvoicesNewObject(), InvoicesRClose(), InvoicesRExec(), InvoicesRFetch(), InvoicesRelate(), InvoicesSQLCompute(), InvoicesSet(), InvoicesUnRelate()
relationship Items as array of Wasabi.OrderEntry.Data.OrderLineItem [ InitialExpression = $listbuild("Wasabi.OrderEntry.Data.OrderLineItem","OrderRef",+$this,"children",1,1) , Transient , Inverse = OrderRef , Cardinality = children ];
Property methods: ItemsGet(), ItemsGetObject(), ItemsGetObjectId(), ItemsGetSwizzled(), ItemsIsEmpty(), ItemsIsValid(), ItemsNewObject(), ItemsRClose(), ItemsRExec(), ItemsRFetch(), ItemsRelate(), ItemsSQLCompute(), ItemsSet(), ItemsUnRelate()
property PaymentType as %String;
Property methods: PaymentTypeDisplayToLogical(), PaymentTypeGet(), PaymentTypeGetStored(), PaymentTypeIsValid(), PaymentTypeLogicalToDisplay(), PaymentTypeLogicalToOdbc(), PaymentTypeNormalize(), PaymentTypeSet()
property SalesPerson as Wasabi.Data.SalesPerson;
Group #3 Person ID Needs to have a "Not a Sales Person (self serv) Sales Person"
Property methods: SalesPersonGet(), SalesPersonGetObject(), SalesPersonGetObjectId(), SalesPersonGetStored(), SalesPersonGetSwizzled(), SalesPersonIsValid(), SalesPersonNewObject(), SalesPersonSet(), SalesPersonSetObject(), SalesPersonSetObjectId(), SalesPersonUnSwizzle()
property ShippingAddress as Wasabi.Data.AddressSerial;
Property methods: ShippingAddressGet(), ShippingAddressGetObject(), ShippingAddressGetObjectId(), ShippingAddressGetStored(), ShippingAddressGetSwizzled(), ShippingAddressIsEmpty(), ShippingAddressIsValid(), ShippingAddressNewObject(), ShippingAddressSet(), ShippingAddressSetObject(), ShippingAddressSetObjectId(), ShippingAddressUnSwizzle()

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (Wasabi.OrderEntry.Data.Orders)

^Wasabi.OrderEntry.Data.OrdersD(ID)
=
%%CLASSNAME
Customer
SalesPerson
InitialTimestamp
ShippingAddress
BillingAddress
Discount
CurrentStatus
PaymentType
FeedbackOpens in a new tab