Skip to content

Comments

Slice 617394: Move Direct-Transfer related functionalities from Subcontracting app to BaseApp#6768

Open
ChethanT wants to merge 2 commits intomainfrom
bugs/Subcontracting/617394-MoveDirectTransferChanges
Open

Slice 617394: Move Direct-Transfer related functionalities from Subcontracting app to BaseApp#6768
ChethanT wants to merge 2 commits intomainfrom
bugs/Subcontracting/617394-MoveDirectTransferChanges

Conversation

@ChethanT
Copy link
Contributor

@ChethanT ChethanT commented Feb 20, 2026

Summary

This PR removes the changes related to Direct-Transfer from Subcontracting app

Work Item(s)

Fixes AB#617394

@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Feb 20, 2026
@github-actions github-actions bot added this to the Version 28.0 milestone Feb 20, 2026
@ChethanT ChethanT marked this pull request as ready for review February 22, 2026 10:51
@ChethanT ChethanT requested review from a team as code owners February 22, 2026 10:51
Copy link
Contributor

@SPinkow SPinkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the changes should be ok.

But I think that you should remove the Direct Transfer Posting Test from the Test App as well? No removed or edited tests are included in this PR?

if SubcManagementSetup."Direct Transfer" then begin
SubcontractingManagement.CheckDirectTransferIsAllowedForTransferHeader(TransferHeader);
TransferHeader.Validate("Direct Transfer Posting", "Direct Transfer Post. Type"::"Direct Transfer");
TransferHeader.Validate("Direct Transfer", true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we should check here if the direct transfer is enabled in Inventory Setup as well. If this is not the case I think that this validate could lead to an error in the following processes.

In gereral this could be an issue. If somebody wants to transfer some components from a location which requires pick or warehouse shipment I don't know the exact side effects on this.
I think that this should be well tested.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will change after moving the direct-transfer code to BaseApp

@ChethanT
Copy link
Contributor Author

Most of the changes should be ok.

But I think that you should remove the Direct Transfer Posting Test from the Test App as well? No removed or edited tests are included in this PR?

@SPinkow , there were no tests specific to the direct-transfer functionality in the Subcontracting app but we have implemented necessary tests in the BaseApp where the feature is being moved to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants