Change Package Combination by Company (ttaad1101m000)

Use this session to change the package combination for a range or list of companies.

Specify the code of the package combination to be replaced for the specified range or list of companies. Next, enter the code of the new package combination and specify the range/list of companies. Now you can start the process. Physical tables are reconfigured automatically to the data definitions of the Package VRCs in the new package combination. The output of the reconfiguring process is logged in the ${BSE}/log/log.reconfig file.

The process can take a long time. To prevent locking problems, ensure that everybody working in the involved companies leaves the bshell. Otherwise error 113 can occur during reconfiguring the tables. This message Error during file configuration; try again ? can be displayed. In that case, verify if everybody has logged off. If so, answer Yes to this message. If the message is displayed again, answer No. Run rc.stop and rc.start (in this order) and restart this session for the same range of companies.

Possible questions in this session:

  • Table ttaad100 is locked, try again?
  • Package combination record is locked; try again ?
  • Package VRC file is in use; try again?

If one of these questions is displayed, somebody else is running one of these sessions:

  • Change Package Combination by Company (ttaad1101m000) session
  • Packages by Package Combination (ttaad1121m000) session
  • User Data (ttaad2500m000) session
  • Package VRCs (ttadv1111s000) session
  • Create Runtime Data Dictionary (ttadv5210m000) session
  • Convert to Runtime Data Dictionary (ttadv5215m000) session

After a system crash you can get these questions, even if nobody else is working in these sessions. In that case, you must delete an application lock in the Application Locks (ttadv9598m000) session. Delete the application locks with the keys:

tttaad100
       tttaad120<Package Combination>
       tttadv111
Note: After changing the package combinations for companies, you should also change the package combinations of the users who are linked to the involved companies. You can do this in the Change Package Combinations for Users (ttaad2200m000) session.

Customer Defined Fields (CDF)

If customer defined fields are present and actually available in the old package combination, these questions may be displayed:

  • "No customer defined fields present in new package combination, data loss may occur; Copy from old package combination?"

    This question is displayed if customer defined fields are present in the old package combination, but not in the new package combination. If you select No, CDF related data is lost during the package combination change of the selected companies. If data loss is NOT acceptable, select Yes to copy the CDF definitions from the old package combination.

  • "Customer defined fields old/new package combination differ, data loss may occur; Continue?"

    This question is displayed if the CDF definitions of the old and new package combination differ. If CDF related data loss is acceptable, select Yes; else select No to abort the process. To validate the CDF definition of a package combination, use the Customer Defined Fields (ttadv4591m000) session.

Multi Language Fields (MLF)

If multi language fields are registered in the old package combination, these questions may be displayed:

  • "No multi language fields present in new package combination, data loss may occur; Copy from old package combination?"

    This question is displayed if multi language fields are present in the old package combination, but not in the new package combination. If you select No, MLF related data is lost during the package combination change of the selected companies. If data loss is NOT acceptable, select Yes to copy the MLF definitions from the old package combination.

  • "Multi language fields old/new package combination differ, data loss may occur; Continue?"

    This question is displayed if the MLF definitions of the old and new package combination differ. If MLF related data loss is acceptable, select Yes; else select No to abort the process. To validate the MLF definition of a package combination, use these sessions:

    • Registered Tables with Multi Language Fields (ttadv4137m000)
    • Registered Multi Language Fields (ttadv4138m000)

Timestamp or soft delete tables

If timestamp or soft delete tables are registered in the old package combination, these questions may be displayed:

  • Timestamp data new package combination %1$s differs from old package combination %2$s; data loss can occur. Do you want to continue?
  • No Timestamp data present in new package combination %1$s; data loss can occur. Copy data from old package combination %2$s?

Field Information

Old Package Combination

The package combination from which you want to disconnect the specified range or list of companies.

New Package Combination

The new package combination to which you want to link the specified range or list of companies.

Range

If this check box is selected, you can specify a range of companies.

List

If this check box is selected, you can specify a list of companies separated by commas. The list can also include a range of companies, which you specify by using a hyphen. For example, 121,145,200-250,465.

Note: 

This session verifies that there are no duplicate company numbers and ensures that the companies in the list have the package combination specified in the Old Package Combination field. If none of the companies have the old package combination, the list is cleared, and the cursor returns to this field.

The Make Valid button ensures that companies sharing tables with a company in the list are also added.