変更セットを使用して自動採番項目をリリースすると、採番のカウントが引き継がれずリセットされる現象について説明します。これは、開始番号の値がメタデータに含まれていないための想定された動作です。リリース先の組織にて手動で開始番号を設定し直す必要があります。
変更セットで自動採番項目を別環境に移行すると、開始番号は保持されず、0 から始まります。これは開始番号の値がメタデータに含まれていないためです。 そのため、移行後は以下の手順で手動で開始番号を設定し直す必要があります。
解決策
1. 開始番号を手動で設定する
リリース先の組織で、以下の手順を行います。
2. 既存の値を引き継ぐ場合
リリース元組織の自動採番項目のカウントをリリース先組織に引き継ぎたい場合、データ型を一時的にテキストに変更したうえで、データローダーを使って項目を更新する方法があります。
詳細は、Salesforce ヘルプ「既存のレコードの自動採番項目の形式を変更する」を参照してください。
現在、自動採番項目のカウントを別の組織に引き継ぐ機能について、IdeaExchange にご要望が寄せられています。
Ability to migrate auto number fields from one org to another
005299386

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.