Skip to content

[Event Request] codeunit 7324 "Whse.-Activity-Post" - procedure ConsumeWarehouseEntryForJobPurchase() on BC26 #29276

@DennyHW

Description

@DennyHW

Why do you need this change?

One of our apps don't write the negative adjustment on the item ledger entries / warehouse entries for the purchase receipts with the project code indicated.

Please see: #28418

Describe the request

On BC26 I would need a new event in function ConsumeWarehouseEntryForJobPurchase in codeunit 7324 "Whse.-Activity-Post", the same as what you did in codeunit 123456 codeunit 5760 Whse.-Post Receipt (see #28418).
The event should be placed at the beginning of the function (for example onBeforeConsumeWarehouseEntryForJobPurchase) and as parameters it should have the same parameter of the procedure and the IsHandled variable
Exited from the event, if IsHandled = true it must exit the function

for example :
onBeforeConsumeWarehouseEntryForJobPurchase(TempWarehouseJournalLine, PostedWhseReceiptLine, IsHandled)
if IsHandled then
exit(false);

Thanks.
Internal work item: AB#610217

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventships-in-future-updateFix ships in a future update

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions