Skip to content

[Event Request] codeunit 22 "Item Jnl.-Post Line" procedure CheckExpirationDate event OnCheckExpirationDateOnBeforeAssignExpirationDate #30351

Description

@kmistrytnp

Why do you need this change?

I would like 3 additional parameters added to the OnCheckExpirationDateOnBeforeAssignExpirationDate event so that I can create similar code/logic to the standard code (although slightly modified) and handle the event using the existing IsHandled param.

Note: As this is an integration event, adding extra parameters is not a breaking change, and existing subscribers will be unaffected

Describe the request

I would like 3 additional parameters added to the OnCheckExpirationDateOnBeforeAssignExpirationDate event...

GlobalItemTrackingCode
ItemJnlLine2
SignFactor

Current event signature...

    [IntegrationEvent(false, false)]
    local procedure OnCheckExpirationDateOnBeforeAssignExpirationDate(var TempTrackingSpecification: Record "Tracking Specification" temporary; ExistingExpirationDate: Date; var IsHandled: Boolean)
    begin
    end;

New event signature...

    [IntegrationEvent(false, false)]
    local procedure OnCheckExpirationDateOnBeforeAssignExpirationDate(var TempTrackingSpecification: Record "Tracking Specification" temporary; ExistingExpirationDate: Date; GlobalItemTrackingCode: Record "Item Tracking Code"; ItemJnlLine2: Record "Item Journal Line"; SignFactor: Integer; var IsHandled: Boolean)
    begin
    end;

Internal work item: AB#642240

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventext-ready-to-implementReviewed and ready to implement and create PR

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions