Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: codeunit 5748 "Transfer Whse. Post Shipment" ModifyHeader #27675

Open
1 task
ChristiaanJansen opened this issue Nov 22, 2024 · 1 comment
Open
1 task
Labels
extensibility-bug Something in the public APIs isn't working the way it should be SCM GitHub request for SCM area

Comments

@ChristiaanJansen
Copy link

ChristiaanJansen commented Nov 22, 2024

Describe the issue

codeunit 5748 "Transfer Whse. Post Shipment"

Integrationevents OnInitSourceDocumentHeaderOnBeforeTransferHeaderUpdatePostingDate and OnInitSourceDocumentHeaderOnBeforeTransHeaderModify where boolean "ModifyHeader" should by ByVar.

[IntegrationEvent(false, false)]
local procedure OnInitSourceDocumentHeaderOnBeforeTransferHeaderUpdatePostingDate(var TransferHeader: Record "Transfer Header"; var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; ModifyHeader: Boolean; IsHandled: Boolean)
begin
end;

[IntegrationEvent(false, false)]
local procedure OnInitSourceDocumentHeaderOnBeforeTransHeaderModify(var TransferHeader: Record "Transfer Header"; var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; ModifyHeader: Boolean)
begin
end;

Expected behavior

[IntegrationEvent(false, false)]
local procedure OnInitSourceDocumentHeaderOnBeforeTransferHeaderUpdatePostingDate(var TransferHeader: Record "Transfer Header"; var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var ModifyHeader: Boolean; IsHandled: Boolean)
begin
end;

[IntegrationEvent(false, false)]
local procedure OnInitSourceDocumentHeaderOnBeforeTransHeaderModify(var TransferHeader: Record "Transfer Header"; var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var ModifyHeader: Boolean)
begin
end;

Steps to reproduce

Create transfer order --> create whse shipment --> post whse Shipment

Additional context

No response

I will provide a fix for a bug

  • I will provide a fix for a bug
    Internal work item: AB#558501
@ChristiaanJansen ChristiaanJansen added the bug Something isn't working label Nov 22, 2024
@ChristiaanJansen ChristiaanJansen changed the title [Bug]: [Bug]: codeunit 5748 "Transfer Whse. Post Shipment" ModifyHeader Nov 22, 2024
@BardurKnudsen BardurKnudsen added SCM GitHub request for SCM area extensibility-bug Something in the public APIs isn't working the way it should be and removed bug Something isn't working labels Nov 25, 2024
@BardurKnudsen
Copy link

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensibility-bug Something in the public APIs isn't working the way it should be SCM GitHub request for SCM area
Projects
None yet
Development

No branches or pull requests

2 participants