Skip to content

Add parameters in the event OnBeforeEnterBaseQty page 2900 - "Demand Forecast Variant Matrix" #30236

@Babul2910

Description

@Babul2910

Why do you need this change?

In the event OnBeforeEnterBaseQty event add below parameters
MatrixRecords: array[32] of Record Date;
ForecastType: Enum "Demand Forecast Type";
ProductionForecastName: Code[10];
DateFilter: Text;
QtyType: Enum "Analysis Amount Type";
var MATRIX_CellData: array[32] of Decimal

   [IntegrationEvent(true, false)]
    local procedure OnBeforeEnterBaseQty(var Item: Record "Forecast Item Variant Loc"; ColumnID: Integer; var IsHandled: Boolean; MatrixRecords: array[32] of Record Date; ForecastType: Enum "Demand Forecast Type"; ProductionForecastName: Code[10]; DateFilter: Text; QtyType: Enum "Analysis Amount Type"; var MATRIX_CellData: array[32] of Decimal);
    begin
    end;

Describe the request

We developed a new functionality in Business Central named Assembly BOM Version and want to incorporate it into the Demand Forecast process. To support this, a new fields was added to the Item and SKU tables, and this field should be shown on the Demand Forecast Matrix, along with Location and Variant.

Reason for Requesting the Event
The OnBeforeEnterBaseQty event enhancement is required to enable custom handling of Production Forecast Entry creation and quantity calculation, which is not possible with the current standard event parameters.

Internal work item: AB#638068

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an event

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions