Skip to content

Change Internal Procedures in Create Inventory Put-away codeunit #29507

@CnCollinsDC

Description

@CnCollinsDC

Why do you need this change?

We've made a change for our customer to allow them to create a put away from a Job Planning Line so that they can put back items which they do not need for the job anymore. We've managed to work around the issues we found but if you can remove the internal restriction from the following procedures, we'd be able to make it work using standard code rather than having to rewrite sections to do the same functionality.

We've also found a potential issue which we think affects your manufacturing extension in this same codeunit. The RemQtyToPutAway is a global variable that cannot be set from outside the codeunit while creating the lines. This means the call to the CreateWarehouseActivityLine procedure will not have this set. either this needs to be added as a parameter in the CreateWarehouseActivityLine and CreatePutawayWithPutawayTemplateBinPolicy or a procedure added to the codeunit to be able to set this variable before calling CreateWarehouseActivityLine and CreatePutawayWithPutawayTemplateBinPolicy .

Describe the request

Please can you change the following procedures:
OnCheckSourceDocForWhseRequest
FindNextLineNo
CreateWarehouseActivityLine
CreatePutawayWithPutawayTemplateBinPolicy

Internal work item: AB#615903

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM arearequest-for-externalRequest for exposing a function for extension development

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions