Support Plan 関係


似たようなトレイルがあるので注意 --> [Create Account Page Layouts Module](https://qiita.com/Keiji_otsubo/items/285da7d27108af25004a)
どうもページレイアウトが１つしかない時はレコードタイプを指示通り作ってないことが原因みたい。


# The 'Edge Communications' account does not appear to have a 'Support Plan Start Date' at least 1 year in the past.

+ [The 'Edge Communications' account does not appear to have a 'Support Plan Start Date' at least 1 year in the past.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgRaP)

:::note
There are two possible problems/ or things you have missed.

1. The field is not added to the page layout. You can this by going to Object Manager>>Account>>Page Layouts>>Account Layout and search for the Support Plan Start Date. If this is not added to the Page layout do add this.

2. The Field level security for the user profiles. Goto Object Manager>>Account>>Fields and Relationships>>Support Plan Start Date>>Set Field-Level Security. And make this field visible to all the profiles in your org.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000CgvRfSAJ
:::

+ [Modifying the date not working...](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007KFv7u)

:::note
I tried it today and it worked without me having to change anything. I think the system just needed some time to update the settings


今日試してみましたが、何も変更せずにうまくいきました。システムが設定を更新するのに少し時間が必要だっただけだと思います
:::

+ [The "Support Plan Start Date" is still missing](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007O23EB)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/68cb6cf8-6821-a795-fd5d-5a971fd9485c.png)

+ [Modify Your Data Model Support Plan Start Date](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007PfCU3)

:::note
The issue is you did not enter the Support Plan Start Date field value in Edge Communications account record as per the requirement and the field value is showing blank.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/4e738d52-aee8-e16a-1047-1cb312c0f8de.png)

I have added the date as per the requirement and now the challenge is working as expected. May I request you to please check the challenge and hopefully it works now.


問題は、要件に従って Edge Communications アカウント レコードの [サポート プランの開始日] フィールド値を入力しなかったため、フィールド値が空白で表示されていることです。

要件に従って日付を追加したところ、チャレンジは期待どおりに機能するようになりました。チャレンジを確認していただき、うまくいけばうまくいくと思います。
:::


# Ensure the new sections have been added to the Customer Account Layout and that the Customer Account Layout has been assigned to Customer Account column.

+ [Hello, Im having trouble adding Fields to the Support Plan Information section on the Page layout. I do not have fields "Has plan support" or "Support plan expiration date"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Pj4Yr)

:::note
I was able to figure it out. The reason the Has Support option was missing was because it needed to be created in the previous module.

私はそれを理解することができました。 Has Support オプションが欠落していた理由は、前のモジュールで作成する必要があったためです。
:::

# サポート プランの開始日を作成した後、[詳細] タブの [エッジ コミュニケーション] にその開始日が表示されません。

+ [Modify Your Data Model: Support Plan Start Date](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yw6k5)

:::note
アカウント オブジェクトからフィールドが表示されますが、フィールド「サポート プラン開始日」への読み取り専用アクセス権が与えられています。実際には、システム管理者およびカスタム:サポート プロファイルでは、読み取り専用チェックボックスをオフにします。

単元に記載されている要件を確認してください。
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f958a539-3869-d38a-57d8-a1d27140c755.png)

そのため、フィールドに移動してフィールド レベルのセキュリティを編集し、上記のプロファイルの横にある読み取り専用チェックボックスをオフにすると、「エッジ コミュニケーション」レコード ページにフィールドが表示されるようになります。
:::


# ZONE, REGIONがない？

+ [when i upgraded the detail field, im not seing some field as ZONE, REGION....](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLBPL)

# I couldn't find region, zone, has support plan and support plan expiration date in "Account Information Section"

+ [In "Create Account Page Layouts" of "Customize a salesforce object"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PembCSAR)


--------------------------------

+ [The "Support Plan Start Date" is still missing](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007O23EB)
+ [My Playground page doesn't have draggable "has support plan" or "support plan expiration date"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YwffR)

:::note
私も同じ問題を抱えていました。サポート プランの開始日フィールドはレイアウト上にあり、編集可能に見えますが、インラインまたは編集モードでは更新されません。理由はわかりませんが、プロフィールには編集権限があります。

 I had the same problem, the Support Plan Start Date field is on the layout, and appears to be editable, but would not update inline or in edit mode. Not sure why, profile has edit access.

 

It's a little advanced but I found a work around to update in the back end.

Setup > Developer Console > Debug Menu > Open Execute Anonymous Window

Now paste in the following three lines

Account acc = [select id, Support_Plan_Start_Date__c from account where name = 'Edge Communications'][0];

acc.Support_Plan_Start_Date__c = Date.Today()-365;

update acc;

Click the execute button. If you refresh the page you should now see a date in the field.

If it helps please like so others can find this.
:::

+ [「サポート プランの開始日」フィールドは問題ないと思うのに、アクティビティを完了できない理由がわかりません。](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007PfCU3)

:::note
It seems there is a full stop added in the Account Name field as Edge Communications.
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f3f4b81b-2225-92a3-14c0-4836b1e72839.png)

I have removed the full stop from the name and now the challenge is working as expected.
May I request you to please check the challenge and now it works for you.
:::

+ [Line: 1, Column: 15 select id, Support_Plan_Start_Date__c from ^ ERROR at Row:1:Column:12 No such column 'Support_Plan_Start_Date__c' on entity 'Account'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajhEn)

:::note
フィールドレベルのセキュリティの問題
:::


# Support Plan Start Date でエラー

+ [Creating Page Layouts](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ReuMVSAZ)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/3b3808e2-aa29-81d0-7409-4446e50cba00.png)

:::note
Thank you, I created two fields under Account:
1-Has Support Plan and
2- Support Plan Expiration date
And it worked
:::


# On the Partner Account Page, make sure that these fields were removed: ‘Prospect Rating’, ‘Region’, ‘Zone’, ‘Has Support Plan’, ‘Support Plan’, ‘Expiration Date’.

+ [I am getting error like this On the Partner Account Page, make sure that these fields were removed: ‘Prospect Rating’, ‘Region’, ‘Zone’, ‘Has Support Plan’, ‘Support Plan’, ‘Expiration Date’. but I've removed them.
](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Uq2ii)

:::note
This is funny one but after a couple of hours playing with it, I was able to resolve the issue:

After:

Hold down Ctrl/Command and click each of the fields in the Account Information section to select them.

Rating

Region

Zone

Has Support Plan

Support Plan Expiration Date

Drag the selected fields into the palette at the top of the editor.

Click Save.

When you click on Edit Assignment, make sure you click on the 'Partner Account' column on the Record Types table to highlight the whole Partner Account column.

Then select 'Partner Account Layout' from the 'Page Layout to Use:' dropdown

Then click Save button.

This should resolve the issueShow Less

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8dI3SAJ
:::

+ [I am getting error like this On the Partner Account Page, make sure that these fields were removed: ‘Prospect Rating’, ‘Region’, ‘Zone’, ‘Has Support Plan’, ‘Support Plan’, ‘Expiration Date’. but I've removed them.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Uq2ii)

:::note
So I figured out that when you delete/bin the sections "Sales Region" and "Support Plan Information" the fields that were into those section are not deleted, they are getting back in the Account Information section....


そこで、「販売地域」と「サポートプラン情報」セクションを削除/ビン化すると、それらのセクションにあったフィールドは削除されず、アカウント情報セクションに戻っていることがわかりました。

:::