Assembly Line - AutoReserve Function
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 ».

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

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 ».
@jfpanarotto
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.