Package psdi.app.site

An organization is a legal entity within a company that can have one or more sites.

See: Description

Package psdi.app.site Description

An organization is a legal entity within a company that can have one or more sites. Each organization has a chart of accounts that is shared by the sites within that organization. The sites within an organization share information such as base currencies, items, purchase agreements, labor, exchange rates and companies. They share the same options for work orders, equipment, labor, and other types of data. A MAXIMO database can have any number of organizations.

A site is a subdivision of an organization that may track equipment, inventory, invoices, job plans, preventive maintenance, purchase orders, purchase requests, quote requests, work orders, etc. separately from other sites. Most site information is unique to the site and is not visible to other sites, even though they may belong to the same organization and share the same database. Site identifiers allow multiple sites to run on the same MXServer implementation. Sites should not be confused with locations or location groups.

Package Specification

The main objects included in the Site package are:

  • Organization -- This class defines an organization, which is a legal entity within a company. Every organization must have a unique identifier; a primary currency, BaseCurrency1; an item set, ItemSetId; and a company set, companySetId. An organization may also include an optional description or secondary currency, BaseCurrency2. The MAXIMO database does not limit the number of organizations that may be created, but at least one organization must be defined.
  • Site -- This class defines a site, which is a subdivision of an organization. Sites are grouped together under their organization. A given site will belong to only one organization, although an organization may contain multiple sites. At least one site must be defined for each organization. Every site must have a unique identifier. It may also include an optional description, ship to labor code, ship to address code, bill to labor code, or bill to address code.
  • Address -- This class defines an address within an organization. Addresses are defined at the organization level. Each address consists of a mandatory unique address code, an optional description, and 5 optional address lines.
Some other generally useful classes are:
  • SiteService.getOrgForSite -- This method returns the organization identifier for a given site identifier.
  • FldSiteID -- This is the common validation class for the site identifier on other MBOs.
  • FldOrganizationID -- This is the common validation class for the organization identifier on other MBOs.

Related Documentation:

  • MboSetInfo.getSiteOrgType -- The table's "SiteOrgType" attribute on the MboSetInfo object. This is the same data as found in MaxTables2, but easier to get at runtime.
  • UserInfo -- Identifies a logged-on user and the user's current site and organization.
  • MboSet.getMultiSiteWhere -- This method is used to create a "where" clause to get a MboSet. This method automatically appends the correct organization or site restriction to the "where" clause based on the user's current site and the table's SiteOrgType.

Last updated: Thursday, November 14, 2003