ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Assembly Line - AutoReserve Function

Open YannRobertCargo opened this issue 6 years ago • 2 comments

Hello, We are working on an extension around reservations. We don’t want to automatically reserve when the user inputs a quantity so we set « Reserve » to « Manual » on our items. However, we offer our users an action that reserves all the lines on a sales order or an assembly order.

To do so, we wanted to use the function « AutoReserve » of tables « Sales Line » and « Assembly Line ». It works for the sales lines but not for the assembly lines because the function « AutoReserve » of « Assembly Line » excludes the lines when « Reserve » is not equal to « Always ». image

We don’t understand this behaviour, all the more when we request the process « Automatic Reservation » on the page « Reservation workskeet », Business Central reserves the line even if the « Reserve » field is assigned to Manual image

Is that an expected behaviour, if so, what is the reason ? We are not blocked by the issue. For the time being, we have simply duplicated the function without this excluding condition like the function « AutoReserve » for « Sales line ».

YannRobertCargo avatar Dec 20 '19 09:12 YannRobertCargo

@jfpanarotto

YannRobertCargo avatar Dec 20 '19 09:12 YannRobertCargo

Sorry, we'd like to help, but this just isn't the right team to ask. Try posting your question to the following resources instead:

Business Central Community mibuso forum Dynamics User Group

This GitHub repository handles issues with extending published apps, and extensibility in general, for the latest release of Business Central.

JesperSchulz avatar May 06 '21 15:05 JesperSchulz