13.09.2007, 00:22 | #1 |
Участник
|
daxmy: Transfer Orders - "Receive Remain" show weird value after multiple shipments and received (2)
Источник: http://daxmy.blogspot.com/2007/09/tr...n-show_10.html
============== Just debugged and found it was caused by following code under InventPickingListJournalRegistrate class - updatePickingListJournal method. It seem like used to handle over-delivery but I'm wonder how to get the calculation method. //handle potential overdelivery for transfer orders if (inventPickingListJournalLine.InventPickRequesterType == InventPickRequesterType::Transfer) { inventTransferLine = inventMovement.buffer(); if (inventTransferLine) { if (inventTransferLine.QtyRemainReceive { inventTransferLine.QtyRemainReceive = abs(inventTransferLine.QtyShipped - inventTransferLine.QtyRemainShip); inventTransferLine.updateEstimatedReceipt(); } } } For me, over-delivery should be: Over-delivery quantity = total received quantity - total transfer quantity //handle potential overdelivery for transfer orders if (inventPickingListJournalLine.InventPickRequesterType == InventPickRequesterType::Transfer) { inventTransferLine = inventMovement.buffer(); if (inventTransferLine) { if (inventTransferLine.QtyTransfer { inventTransferLine.QtyRemainReceive = abs(inventTransferLine.QtyShipped + inventTransferLine.QtyRemainShip - inventTransferLine.QtyReceived); inventTransferLine.updateEstimatedReceipt(); } } } Note: I have tried to use the over-delivery function and configured TO Line\Setup tab. It seems like not working. Probably someone can enlighten to me how to activate the function. Источник: http://daxmy.blogspot.com/2007/09/tr...n-show_10.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Похожие темы | ||||
Тема | Ответов | |||
daxmy: Transfer Orders - "Receive Remain" show weird value after multiple shipments and received | 0 |
Опции темы | Поиск в этой теме |
Опции просмотра | |
|