microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
785 stars 621 forks source link

[EVENT REQUESTS] Inventory Profile (Table 99000853) #27166

Closed MarkusW-BSG closed 1 month ago

MarkusW-BSG commented 2 months ago

Describe the request

For implementing process customizations from BC13 to the current BC24 I need one new event in Table 99000853 related to special quantity handling.

To calculate the correct quantity for reservation (as described in the additional context it's vital to have more than one Unit and Quantity for any process) I need a new event

Function CalcReservedQty image

Within the repeat until loop the following event should be called CalcReservedQtyOnGetNextRecord(ReservationEntry);

Thinking about it, for other implementations (not for ours) an event giving the ability to change the filter for the reservations being valid for the function, an event after setting the filters would be a nice for customizations.

image CalcReservedQtyOnAfterSetFilters(ReservationEntry);

Sorry, but going on migrating the changes I found three more places I need new events. Sorry for that. :-)

2. Event - Function TransferQtyFromItemTrgkEntry image OnAfterTransferQtyFromItemTrgkEntry(Rec, TrackingReservationEntry)

3. Event - Function ReduceQtyByItemTracking image OnAfterReduceQtyByItemTracking(Rec, NewInventoryProfile)

4. Event - Function ChangeSign image OnAfterChangeSign(Rec);

Additional context

In Steel Industry, one quantity is not enough for any process. Therefore our current Business Central is customized for using a second quantity. Every item has furthermore two inventories instead of one. An inventory measured by the base UOM (the standard) and a second one measure by its second UOM.

Example: A customer orders approx. 2 tons of steel sheets, /.100 pieces. Quantity: 2000 UOM: KG Sec. Quantity: 100 Sec. UOM: PCE Internal work item: AB#546995

MarkusW-BSG commented 2 months ago

@JesperSchulz

Hi Jesper, I am sorry but I added three more events I need to be added. Can you please approve them and add to your work item?

Thanks very much and sorry for that. :-)

Greetings Markus

JakovljevicDusan commented 1 month ago

Instead of CalcReservedQtyOnGetNextRecord(ReservationEntry), new event outside loop is implemented: OnCalcReservedQtyOnBeforeReservationEntryLoop(ReservationEntry, ReservedQty, IsHandled);

MarkusW-BSG commented 1 month ago

@JakovljevicDusan Hi Dusan, thanks for the info. Thanks for this information. Would work for me and I think for others, too. :-)

Do you have any information about the three more events I added to the request?

Regards Markus

JakovljevicDusan commented 1 month ago

@JakovljevicDusan Hi Dusan, thanks for the info. Thanks for this information. Would work for me and I think for others, too. :-)

Do you have any information about the three more events I added to the request?

Regards Markus

Yes, all four new events to be released in 25.1

MarkusW-BSG commented 1 month ago

@JakovljevicDusan Awesome! Thanks very much! :-)

JesperSchulz commented 1 month ago

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 24822.