ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] page 6510 "Item Tracking Lines" - modify event OnAssignSerialNoBatchOnAfterInsert

Open alessandrovecchio opened this issue 5 years ago • 3 comments

Hi, in event OnAssignSerialNoBatchOnAfterInsert it would be useful to have QtyToCreate information passed by value.

As Is: OnAssignSerialNoBatchOnAfterInsert(Rec);

To be: OnAssignSerialNoBatchOnAfterInsert(Rec,QtyToCreate);

Thank you

alessandrovecchio avatar Oct 18 '21 16:10 alessandrovecchio

Hi, sorry for this update. It would be very useful to have also the default quantity to handle. I mean the quantity that is proposed when dialog "Enter Quantity to Create" is opened.

Like: OnAssignSerialNoBatchOnAfterInsert(Rec,DefaultQtyToCreate,SelectedQtyToCreate);

Thank you. If it is necessary, I can open another issue if it is better for you.

Regards

alessandrovecchio avatar Oct 20 '21 15:10 alessandrovecchio

First request is ok. As for second request: it is not possible to do this in the same event, because the proposed quantity is a local variable in the scope of AssignSerialNo procedure, and we cannot change the signature of AssignSerialNoBatch. I will add another event for that instead: OnAssignSerialNoOnAfterAssignQtyToCreateInt, you can get the proposed qty from that.

Stepanenko-Vadim avatar Oct 21 '21 05:10 Stepanenko-Vadim

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.

JesperSchulz avatar Oct 21 '21 11:10 JesperSchulz