Click or drag to resize

clsImportSetupBusinessUnits Class

Data holder to import the business units into MARIProject

Used by MS Access table: MARIProjektImportSetupBusinessUnits

Use MPInterface.bImportBusinessUnit(clsImportSetupBusinessUnits, clsImportBaseeImportMode) to import.

Inheritance Hierarchy
SystemObject
  MARIInterfaceclsImportBase
    MARIInterfaceclsImportSetupBusinessUnits

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public class clsImportSetupBusinessUnits : clsImportBase

The clsImportSetupBusinessUnits type exposes the following members.

Constructors
  NameDescription
Public methodclsImportSetupBusinessUnits
Initializes a new instance of the clsImportSetupBusinessUnits class
Top
Properties
  NameDescription
Public propertyBPLId
SBO branch ID in the linked company database (OINF.BPLId)
Public propertyBUMemo
Additional memos for the business unit
Public propertyBusinessUnitID
BU Indetifier (Unique Key)
Public propertyBusinessUnitName
Name of the business unit
Public propertyCompanyID
Company = Linked Busines One Database(Schema)
Public propertyCostCenter2
NVARCHAR(20)Cost Center dimenson 2
Public propertyCostCenter3
NVARCHAR(20)Cost Center dimenson 3
Public propertyCostCenter4
NVARCHAR(20)Cost Center dimenson 4
Public propertyCostCenter5
NVARCHAR(20)Cost Center dimenson 5
Public propertyGroup1

INT Group1. See clsImportGroups.eGroupType.

Linked to View: MARIGroups: :Table: MPGruppen WHERE GruppenArt=10010

MPSetupGeschaeftsbereich.GruppenID

Public propertyGroup2

INT Group2. See clsImportGroups.eGroupType.

Linked to View: MARIGroups: :Table: MPGruppen WHERE GruppenArt=10011

MPSetupGeschaeftsbereich.GruppenID2

Public propertyGroup3

INT Group3. See clsImportGroups.eGroupType.

Linked to View: MARIGroups: :Table: MPGruppen WHERE GruppenArt=10012

MPSetupGeschaeftsbereich.GruppenID3

Public propertyInActive
Make BU invisible
Public propertyOrderIndex
Order in the lists of business units. (Import from MDB by this field)
Public propertyoTask
Public propertyPictureIcon
PictureIcon
Public propertyPictureWeb
PictureWeb
Public propertyProfitCenter
NVARCHAR(20)Link to the profit center in the ERP company
Top
Methods
  NameDescription
Public methodbReadFromDB
Reads the business unit data from the database and copies the values to the class Only for internal use! To load data use your own SQL.
(Overrides clsImportBasebReadFromDB(MPInterface, String).)
Public methodbSaveRSToMDB
Reads a single row from the MS-Access database
(Overrides clsImportBasebSaveRSToMDB(MPInterface, DataRow, DataTable).)
Top
Remarks
See Also