Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[W1][Event Request] Page 8076 "Serv. Comm. WO Vend. Contract"

オープン 初心者向け
#12,423 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@business-central-extensibility-bot がすでに取り組んでいます。

2026年10月7日 から。

  • #12513 @business-central-extensibility-bot による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
85/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発

調査の方向性

リポジトリ内でページ 8076 "Serv. Comm. WO Vend. Contract" を特定し(RefreshServiceCommitments を検索)、既存のプロシージャを読み、要求に示されているとおりに publisher 呼び出しと [IntegrationEvent(false, false)] のスタブを追加します。その際、Vendor Subscription Contract レコードにはプロシージャの実際の変数名を使用します。page オブジェクトがコンパイルでき、パラメータ SubscriptionLine と VendorSubscriptionContract を持つイベントが存在すれば完了です。PR を開く前に、リポジトリがテストやコンプライアンス/アーキテクチャチェック(例:AL-Go 検証)を要求するかどうかを確認してください。

索引モデルが issue の本文から書いたものです。

説明

Approved event-request ext-ready-to-implement Team: Finance
Why do you need this change?

Add custom filtering logic.

Describe the request

Please add a new integration event OnRefreshServiceCommitmentsOnAfterServiceCommitmentSetFilters() with parameters SubscriptionLine (Record "Subscription Line") and VendorSubscriptionContract (Record "Vendor Subscription Contract") in the procedure RefreshServiceCommitments() of the page 8076 "Serv. Comm. WO Vend. Contract".
Example:

local procedure RefreshServiceCommitments()
    var
        ServiceCommitment: Record "Subscription Line";
    begin
        Rec.Reset();
        ServiceCommitment.SetRange("Invoicing via", Enum::"Invoicing Via"::Contract);
        ServiceCommitment.SetRange("Subscription Contract No.", '');
        ServiceCommitment.SetRange(Partner, Enum::"Service Partner"::Vendor);
        OnRefreshServiceCommitmentsOnAfterServiceCommitmentSetFilters(ServiceCommitment, VendorContract2);
        if ServiceCommitment.FindSet() then
            repeat
                if not Rec.Get(ServiceCommitment."Entry No.") then begin
                    Rec.TransferFields(ServiceCommitment);
                    if VendorContractNo <> '' then
                        Rec."Subscription Contract No." := VendorContractNo;
                    Rec.Insert(false);
                end;
            until ServiceCommitment.Next() = 0;
        Rec.SetFilter("Subscription Line End Date", '>%1|%2', WorkDate(), 0D);
    end;
[IntegrationEvent(false, false)]
local procedure OnRefreshServiceCommitmentsOnAfterServiceCommitmentSetFilters(var SubscriptionLine: Record "Subscription Line"; VendorSubscriptionContract: Record "Vendor Subscription Contract")
begin
end;
Provide an implementation (optional)
  • I will provide the implementation for this extensibility request
主要言語
AL
スター
706
フォーク
477
平均マージ
2日 15時間
マージ済み PR(30日)
507

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/BCApps のほかの issue

microsoft/BCApps の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。