Skip to Content
Menu
This question has been flagged

Hi,

I want to merge selected delivery orders into one report, to get a summary report of that selected delivery orders. and the same products must be view as one product in the report.

If anyone knows the solution for this please help! thankyou.

Avatar
Discard
Best Answer

Hi Dishan,

there are two scenarios in this section.

If your Delivery Notes are not in 'Done' stage you can merge both with customization. Where the outlines are mentioning below:


1- Write some precaution checkings using default_get() function.

2- Write a function to merge DN where...

[Assume that the picking IDS are 11 and 12, You need to merge these and get finalized to ID 11.]

2.1 the picking ids. (11 & 12)

2.2 Take an ID out of them (It should not be the merged one.. ie 12)

2.3 get pack_operation_ids & move_ids of other picking. (pack ids & move_ids of 12)

2.4 Set its 'picking_id' as '11'

2.5 Unlink this picking ID (12)

2.6 Write 'min_date' as the date of the day.

2.7 Return true


Else if you are trying to merge the delivery orders that already in 'Done' stage,

It is difficult. try to get a dummy print out through defining a 'Dummy Delivery' report.

However, Which is not preferable because It will not give you a proper track.


Hope the hints are enough to help you.

Avatar
Discard
Related Posts Replies Views Activity
2
Sep 19
3851
0
Nov 17
2320
2
Feb 24
1758
1
Aug 23
3396
6
Apr 23
15936