Import organizational structures

The Import data application enables the import of specific data (e.g., item, country, organizational structures) from another Comarch ERP Enterprise system using the Business Integration Service (BIS).
The Import data application consists of the identification pane, which allows selecting an import filter, and the work pane, which displays the filter attributes. Each filter contains a set of attributes shown in the work pane, which can be selected for import.

Note
If the import of the selected business entity is not supported, a corresponding message is displayed after opening the filter.

In addition to filters saved in the database, newly created filters can also be used. To use a newly created filter, it does not need to be saved. It is possible to save a filter so that it is available for later use. Saved filters are available in both the Import data and Data Export applications and can therefore be used in both import and export processes.

There are two types of data exchange:

  • data exchange between different Comarch ERP Enterprise systems
  • data import from the previous version of the system to its new version

A detailed description of data exchange can be found in the articles Import data and Export data.

The organizational data can only be imported in systems with the content-related authorizations.
The organizational data consists of:

  • master data
  • content-related authorization settings
  • organizational structure data

The document Import of Organizational Structures contains the following chapters:

Import data

During the import process, as well as in the case of manual modifications in the import file, the system verifies the correctness of the data.

Note
Before starting the import process, ensure that all related data has already been correctly imported into the system.

Procedures: Import data into the system

  1. First, open the Import data application.
  2. In the Identification pane of the application, select the business entity com.cisag.app.multiorg.obj.Organization using the [Value Assistant] button.
  3. The filter and its attributes will be displayed in the work pane.
Note
If the system does not find the required business entity in the filters searched by the user, then the user must use the [Search] button in the docking window to find the required area and only afterwards save the filter as a new one. Note that the set of available filters does not contain all business entities but only some predefined values. Other business units must be searched for and saved as a new filter. It is also possible to search for the required business unit from the side toolbar. Select: Business entities and parts, then press the [Start] button. After clicking the button, the business units will be displayed.
  1. The selected filter attributes are already marked. Filter editing is possible on the Filter tab.
  2. Click the [Import data] button on the standard toolbar.
  3. The background Import data dialog window will appear.
  4. In the application window, select the file to be imported in the Source file field.
  5. Processing job settings can be adjusted as required. A detailed description of the Import data application can be found in the Import data article.
  6. The data import is started using the [In background] button.
Note
All business keys and mandatory attributes of master data must be specified in the import file in CSV format.

Attributes required for import

To import a file from the previous system version, for each business entity at least the following attributes must be defined:

  • identification attributes (business key)
  • mandatory fields

Identification attributes and mandatory fields are listed in the section Overview: Identification and Mandatory Fields.

In addition, there are relations with other business objects that do not directly belong to the business object Organization. These include, among others, relations through foreign keys, marked in italics in the Filter section of the Import data application. To resolve these dependencies, the identification attributes of those business objects must be selected in this section.

Data referenced by foreign keys cannot be imported simultaneously: they must already exist in the system. If, apart from identification attributes, other attributes are defined through a foreign key relationship, they will be ignored.

If the primary key of a business object consists entirely or partially of foreign keys, the business object to which that foreign key refers must be specified in the import file via its identification attributes.

Example
The organization contains the attribute financialsOrganisation, which refers to the company of the organization. This company is, in turn, defined by an identifier (string).

Import Sequence

When a new organization is added to the organizational structure, the main organization must already exist in the structure. In the case of importing organizational structures, the main organization must be imported before the subordinate organization.

When organizations are used in several organizational structures, it is possible to import the structures after importing the organizations.

Import of New Organizations

The import file must specify all identifiers and mandatory attributes of master data. The content-related authorizations and organizational structure data cannot be specified in the CSV format in the same import file, since parallel 1:n relationships between business objects cannot be imported together.

Example of importing new organizations using two import files:

Adding Organizations to the Organizational Structure

To add an organization to the organizational structure via import, make sure that the master data has already been successfully imported beforehand. The import file must specify the identification attribute of the master data. If other master data attributes are specified, the existing data will be overwritten. If the organization being imported already belongs to the organizational structure, the data will be overwritten where possible.

This method of import is necessary if it is not possible to import several organizational structures simultaneously (e.g., due to dependencies between them).

Example of an import file used to add an organization to the organizational structure:

Code (Organisation ID) Financials Organization (Company) Calendar. timeZone (Time zone) EntityInstanceOrganization Authorization.entity
19000 70000 CET com.cisag.app.sales.obj. InvoiceType
19100 70000 CET com.cisag.app.sales.obj. InvoiceType
19100 70000 CET com.cisag.app.sales.obj. InvoiceType
Code (Organization ID) PurchasingOrganizationHierarchy.Parent (Parent Purchasing Organization) PurchasingOrganizationHierarchy.EntityMaintenanceOrganizations.entity
19000 00000 com.cisag.app.purchasing.obj.SupplierHierarchy1
19200 19000 com.cisag.app.purchasing.obj.SupplierHierarchy1

Overview: Identification and Mandatory Fields

Below you can find a description of the mandatory fields and main attributes for individual business objects retrieved during data import.

During the import of organizational structures, data is retrieved from the Organizations application. The tabs in this application, i.e., Authorizations, Purchasing, Inventory Management, Sales, Financials, correspond to the following data.

Master Data

Field name/Attribute Definition Foreign key relation
code (K) Organization
calendar Calendar (only in multi-company cases)
Financials Organization Company Financials Organization

Authorizations

The following fields refer to the work pane data of the Organizations application on the Authorizations tab.

Field name/Attribute Definition
entity (K) Business unit description (business units can be found in the section below: Business Units for Authorizations).
maintained Attribute takes the value true if the Usage parameter is checked in the Organizations application on the Authorizations tab, otherwise false.
Business Entities for Authorizations

The business entities refer to the work pane data of the Organizations application on the Authorizations tab.

Definition Business Object
Sales invoice type com.cisag.app.sales.obj.InvoiceType
Request for proposal type com.cisag.app.purchasing.obj.RequestForProposalType
Supplier proposal type com.cisag.app.purchasing.obj.SupplierProposalType
Purchase contract type com.cisag.app.purchasing.obj.PurchaseContractType
Sales bonus agreement type com.cisag.app.sales.obj.BonusAgreementType
Document type com.cisag.app.general.docman.obj.DocumentType
Incoming invoice type com.cisag.app.purchasing.obj.SupplierInvoiceType
Product cost calculation type com.cisag.app.costing.product.obj.ProductCostCalculationType
Picking order type com.cisag.app.sales.obj.PickingOrderType
Shipping load type com.cisag.app.shipping.obj.ShippingLoadType
Warehouse order type com.cisag.app.inventory.obj.WarehouseOrderType
Storage location com.cisag.app.inventory.obj.StorageArea
Delivery slip type com.cisag.app.sales.obj.DeliverySlipType
Shipping terms com.cisag.app.general.obj.ShippingTerms
Pro forma invoice type com.cisag.app.sales.obj.ProformaInvoiceType
Production order type com.cisag.app.production.obj.ProductionOrderType
Resource com.cisag.app.production.obj.Resource
Resource group com.cisag.app.production.obj.ResourceGroup
Availability calculation rule com.cisag.app.inventory.obj.AvailabilityCalculationRule
Delivery terms com.cisag.app.general.obj.DeliveryTerms
Distribution order type com.cisag.app.multiorg.obj.DistributionOrderType
Customer proposal type com.cisag.app.sales.obj.CustomerProposalType
Sales order type com.cisag.app.sales.obj.SalesOrderType
Opportunity type com.cisag.app.crm.obj.OpportunityType
Campaign type com.cisag.app.crm.obj.CampaignType
Sales contract type com.cisag.app.sales.obj.SalesContractType
Week time model com.cisag.app.general.obj.WeekTimeModel
Time model com.cisag.app.general.obj.TimeModel
Consignment withdrawal com.cisag.app.purchasing.consignment.obj.ConsignmentWithdrawal
Invoice correction type com.sem.ext.app.erp4pl.purchasing.invoicecorrection.obj.InvoiceCorrection
Debtor credit type com.cisag.app.financials.debtorcredit.obj.DebtorCreditType
Down payment request type com.sem.ext.app.service.sales.customerreturn.obj.CustomerReturnType
Purchase order type com.cisag.app.purchasing.obj.PurchaseOrderType
Distribution request type com.cisag.app.multiorg.obj.DistributionRequestType
Sales request for proposal type com.cisag.app.sales.obj.RequestForProposalType
Customer return type com.sem.ext.app.service.sales.customerreturn.obj.CustomerReturnType
Consignment withdrawal notice type com.cisag.app.purchasing.consignment.obj.ConsignmentWithdrawalNoticeType
Sales rapid document type com.cisag.app.sales.obj.SalesRapidDocumentType

 

Organizational Structure – Purchasing

The following fields correspond to the work pane data of the Organizations application on the Purchasing tab.

Field name/Attribute Definition
parent Parent organization
maintenanceLevel Attribute takes the value true if the Independent Data Maintenance parameter is selected in the Organizations application on the Purchasing tab, otherwise false
Shared Data – Purchasing

The following fields correspond to the work pane data of the Organizations application on the Purchasing tab.

Field name/Attribute Definition
entity (K) Business unit description (overview of possible business units can be found in the section below: Business Units Shared Between Organizations)
maintains Attribute takes the value true if the organization itself maintains the business units, otherwise false

Business Entities Shared Between Organizations – Purchasing

Description Business Object
Purchase item classification 1 com.cisag.app.purchasing.obj.PurchaseItemHierarchy1
Purchase item classification 2 com.cisag.app.purchasing.obj.PurchaseItemHierarchy2
Purchase item classification 3 com.cisag.app.purchasing.obj.PurchaseItemHierarchy3
Purchase item classification 4 com.cisag.app.purchasing.obj.PurchaseItemHierarchy4
Purchase item classification 5 com.cisag.app.purchasing.obj.PurchaseItemHierarchy5
Purchase item price classification com.cisag.app.purchasing.obj.PurchaseItemPriceHierarchy
Purchasing RFQ classification 1 com.cisag.app.purchasing.obj.RequestForProposalHierarchy1
Purchasing RFQ classification 2 com.cisag.app.purchasing.obj.RequestForProposalHierarchy2
Purchasing RFQ classification 3 com.cisag.app.purchasing.obj.RequestForProposalHierarchy3
Purchasing RFQ classification 4 com.cisag.app.purchasing.obj.RequestForProposalHierarchy4
Purchasing RFQ classification 5 com.cisag.app.purchasing.obj.RequestForProposalHierarchy5
Supplier quotation classification 1 com.cisag.app.purchasing.obj.SupplierProposalHierarchy1
Supplier quotation classification 2 com.cisag.app.purchasing.obj.SupplierProposalHierarchy2
Supplier quotation classification 3 com.cisag.app.purchasing.obj.SupplierProposalHierarchy3
Supplier quotation classification 4 com.cisag.app.purchasing.obj.SupplierProposalHierarchy4
Supplier quotation classification 5 com.cisag.app.purchasing.obj.SupplierProposalHierarchy5
Purchase order classification 1 com.cisag.app.purchasing.obj.PurchaseOrderHierarchy1
Purchase order classification 2 com.cisag.app.purchasing.obj.PurchaseOrderHierarchy2
Purchase order classification 3 com.cisag.app.purchasing.obj.PurchaseOrderHierarchy3
Purchase order classification 4 com.cisag.app.purchasing.obj.PurchaseOrderHierarchy4
Purchase order classification 5 com.cisag.app.purchasing.obj.PurchaseContractHierarchy5
Supplier contract classification 1 com.cisag.app.purchasing.obj.PurchaseContractHierarchy1
Supplier contract classification 2 com.cisag.app.purchasing.obj.PurchaseContractHierarchy2
Supplier contract classification 3 com.cisag.app.purchasing.obj.PurchaseContractHierarchy3
Supplier contract classification 4 com.cisag.app.purchasing.obj.PurchaseContractHierarchy4
Supplier contract classification 5 com.cisag.app.purchasing.obj.PurchaseContractHierarchy5
Purchase price list classification com.cisag.app.purchasing.obj.PriceListHierarchy
Supplier classification 1 com.cisag.app.purchasing.obj.SupplierHierarchy1
Supplier classification 2 com.cisag.app.purchasing.obj.SupplierHierarchy2
Supplier classification 3 com.cisag.app.purchasing.obj.SupplierHierarchy3
Supplier classification 4 com.cisag.app.purchasing.obj.SupplierHierarchy4
Supplier classification 5 com.cisag.app.purchasing.obj.SupplierHierarchy5
Supplier price classification com.cisag.app.purchasing.obj.SupplierPriceHierarchy
Purchase item bonus classification com.cisag.app.purchasing.obj.PurchaseItemBonusHierarchy
Supplier bonus classification com.cisag.app.purchasing.obj.SupplierBonusHierarchy
Purchase order classification 5 com.cisag.app.purchasing.obj.PurchaseOrderHierarchy5

 

Organizational Structure – Inventory Management

The following fields correspond to the work pane data of the Organizations application on the Inventory Management tab.

Field name/Attribute Definition
parent Parent organization
maintenanceLevel Attribute takes the value true if the Independent Data Maintenance parameter is selected in the Organizations application on the Inventory Management tab, otherwise false
Shared Data – Inventory Management

The following fields correspond to the work pane data of the Organizations application on the Inventory Management tab.

Field name/Attribute Definition
entity (K) Business unit description (overview of possible business units can be found in this document in the section below: Business Units Shared Between Organizations)
maintains Attribute takes the value true if the organization itself maintains the business units, otherwise false
Business Entities Shared Between Organizations – Inventory Management
Description Business Object
Freight cost definitions com.cisag.app.sales.obj.FreightCostDefinition
Inventory item classification 1 com.cisag.app.inventory.obj.InventoryItemHierarchy1
Inventory item classification 2 com.cisag.app.inventory.obj.InventoryItemHierarchy2
Inventory item classification 3 com.cisag.app.inventory.obj.InventoryItemHierarchy3
Inventory item classification 4 com.cisag.app.inventory.obj.InventoryItemHierarchy4
Inventory item classification 5 com.cisag.app.inventory.obj.InventoryItemHierarchy5
Production item classification 1 com.cisag.app.production.obj.ProductionItemHierarchy1
Production item classification 2 com.cisag.app.production.obj.ProductionItemHierarchy2
Production item classification 3 com.cisag.app.production.obj.ProductionItemHierarchy3
Production item classification 4 com.cisag.app.production.obj.ProductionItemHierarchy4
Production item classification 5 com.cisag.app.production.obj.ProductionItemHierarchy5
Production order classification 1 com.cisag.app.production.obj.ProductionOrderHierarchy1
Production order classification 2 com.cisag.app.production.obj.ProductionOrderHierarchy2
Production order classification 3 com.cisag.app.production.obj.ProductionOrderHierarchy3
Production order classification 4 com.cisag.app.production.obj.ProductionOrderHierarchy4
Production order classification 5 com.cisag.app.production.obj.ProductionOrderHierarchy5
Shipping reason (Italy) com.cisag.app.sales.it.obj.ShippingReason

Organizational Structure – Sales

The following fields correspond to the work pane data of the Organizations application on the Sales tab.

Field name/Attribute Definition
parent Parent organization
maintenanceLevel Attribute takes the value true if the Independent Data Maintenance parameter is selected in the Organizations application on the Sales tab, otherwise false
Shared Data – Sales

The following fields correspond to the work pane data of the Organizations application on the Sales tab.

Field name/Attribute Definition
entity (K) Business unit description (overview of possible business units can be found in this document in the section below: Business Units Shared Between Organizations)
maintains Attribute takes the value true if the organization itself maintains the business units, otherwise false
Business Entities Shared Between Organizations – Sales
Description Business Object
Customer classification 1 com.cisag.app.sales.obj.CustomerHierarchy1
Customer classification 2 com.cisag.app.sales.obj.CustomerHierarchy2
Customer classification 3 com.cisag.app.sales.obj.CustomerHierarchy3
Customer classification 4 com.cisag.app.sales.obj.CustomerHierarchy4
Customer classification 5 com.cisag.app.sales.obj.CustomerHierarchy5
Customer classification 6 com.cisag.app.sales.obj.CustomerHierarchy6
Customer classification 7 com.cisag.app.sales.obj.CustomerHierarchy7
Customer classification 8 com.cisag.app.sales.obj.CustomerHierarchy8
Customer classification 9 com.cisag.app.sales.obj.CustomerHierarchy9
Customer price classification com.cisag.app.sales.obj.CustomerPriceHierarchy
Marketing classification 1 com.cisag.app.crm.obj.PartnerMarketingInfoHierarchy1
Marketing classification 2 com.cisag.app.crm.obj.PartnerMarketingInfoHierarchy2
Marketing classification 3 com.cisag.app.crm.obj.PartnerMarketingInfoHierarchy3
Marketing classification 4 com.cisag.app.crm.obj.PartnerMarketingInfoHierarchy4
Marketing classification 5 com.cisag.app.crm.obj.PartnerMarketingInfoHierarchy5
Distribution order classification 1 com.cisag.app.multiorg.obj.DistributionOrderHierarchy1
Distribution order classification 2 com.cisag.app.multiorg.obj.DistributionOrderHierarchy2
Distribution order classification 3 com.cisag.app.multiorg.obj.DistributionOrderHierarchy3
Distribution order classification 4 com.cisag.app.multiorg.obj.DistributionOrderHierarchy4
Distribution order classification 5 com.cisag.app.multiorg.obj.DistributionOrderHierarchy5
Sales item classification 1 com.cisag.app.sales.obj.SalesItemHierarchy1
Sales item classification 2 com.cisag.app.sales.obj.SalesItemHierarchy2
Sales item classification 3 com.cisag.app.sales.obj.SalesItemHierarchy3
Sales item classification 4 com.cisag.app.sales.obj.SalesItemHierarchy4
Sales item classification 5 com.cisag.app.sales.obj.SalesItemHierarchy5
Sales item bonus classification com.cisag.app.sales.obj.SalesItemBonusHierarchy
Sales item price classification com.cisag.app.sales.obj.SalesItemPriceHierarchy
Sales quotation classification 1 com.cisag.app.sales.obj.CustomerProposalHierarchy1
Sales quotation classification 2 com.cisag.app.sales.obj.CustomerProposalHierarchy2
Sales quotation classification 3 com.cisag.app.sales.obj.CustomerProposalHierarchy3
Sales quotation classification 4 com.cisag.app.sales.obj.CustomerProposalHierarchy4
Sales quotation classification 5 com.cisag.app.sales.obj.CustomerProposalHierarchy5
Sales order classification 1 com.cisag.app.sales.obj.SalesOrderHierarchy1
Sales order classification 2 com.cisag.app.sales.obj.SalesOrderHierarchy2
Sales order classification 3 com.cisag.app.sales.obj.SalesOrderHierarchy3
Sales order classification 4 com.cisag.app.sales.obj.SalesOrderHierarchy4
Sales order classification 5 com.cisag.app.sales.obj.SalesOrderHierarchy5
Opportunity classification 1 com.cisag.app.crm.obj.OpportunityHierarchy1
Opportunity classification 2 com.cisag.app.crm.obj.OpportunityHierarchy2
Opportunity classification 3 com.cisag.app.crm.obj.OpportunityHierarchy3
Opportunity classification 4 com.cisag.app.crm.obj.OpportunityHierarchy4
Opportunity classification 5 com.cisag.app.crm.obj.OpportunityHierarchy5
Customer contract classification 1 com.cisag.app.sales.obj.SalesContractHierarchy1
Customer contract classification 2 com.cisag.app.sales.obj.SalesContractHierarchy2
Customer contract classification 3 com.cisag.app.sales.obj.SalesContractHierarchy3
Customer contract classification 4 com.cisag.app.sales.obj.SalesContractHierarchy4
Customer contract classification 5 com.cisag.app.sales.obj.SalesContractHierarchy5
Sales price list classification com.cisag.app.sales.obj.PriceListHierarchy
Return reason classification com.cisag.app.sales.customerreturn.obj.ReturnReasonHierarchy
Sales RFQ for proposal classification 1 com.cisag.app.sales.obj.RequestForProposalHierarchy1
Sales RFQ for proposal classification 2 com.cisag.app.sales.obj.RequestForProposalHierarchy2
Sales RFQ for proposal classification 3 com.cisag.app.sales.obj.RequestForProposalHierarchy3
Sales RFQ for proposal classification 4 com.cisag.app.sales.obj.RequestForProposalHierarchy4
Sales RFQ for proposal classification 5 com.cisag.app.sales.obj.RequestForProposalHierarchy5
Sales group classification com.cisag.app.sales.obj.SalesDetailGroupHierarchy

 

Organizational Structure – Financials

The following fields correspond to the work pane data of the Organizations application on the Financials tab.

Field name/Attribute Definition
VarialCompany Financials company. This is required only when using adapters, e.g., Comarch ERP Enterprise. It is required if, in the Customizing Financials application, the Active parameter is selected and one of the options is chosen in the Accouting Adapter field.
Shared Data – Financials

The following fields correspond to the work pane data of the Organizations application on the Financials tab.

Field name/Attribute Definition
entity (K) Business unit description (an overview of possible business units can be found in this document in the section: Business Units Shared Between Organizations).
maintainedBy Organization maintaining the data
Business Entities Shared Between Organizations – Financials
Description Business Object
Account com.cisag.app.general.obj.Account
Payment method com.cisag.app.general.obj.PaymentMethod
Payment terms com.cisag.app.general.obj.PaymentTerms
Cost assignment – purchasing com.cisag.app.sales.obj.CustomerProposalType
Cost assignment – production com.cisag.app.production.obj.ProductionOrderType
Cost assignment – sales com.cisag.app.sales.obj.SalesItemPriceHierarchy

Czy ten artykuł był pomocny?