This commit is contained in:
@@ -376,7 +376,7 @@ namespace AyaNova.Biz
|
|||||||
//if workorderitempartrequest item removed, need to fixup woitempartrequest
|
//if workorderitempartrequest item removed, need to fixup woitempartrequest
|
||||||
//BUT *only* if the woitempartrequest still exists and isn't completed already
|
//BUT *only* if the woitempartrequest still exists and isn't completed already
|
||||||
|
|
||||||
//todo: BizActionsAsync - handle user changing a part and/or warehouse in an item just as with quantity, forgot about that one
|
|
||||||
//todo: BizActionsAsync - VendorPartNumber automatically set this if teh vendorid has changed from the list of parts there is
|
//todo: BizActionsAsync - VendorPartNumber automatically set this if teh vendorid has changed from the list of parts there is
|
||||||
//todo: if vendorid has changed, need to update all part values into poitems
|
//todo: if vendorid has changed, need to update all part values into poitems
|
||||||
|
|
||||||
@@ -554,9 +554,10 @@ namespace AyaNova.Biz
|
|||||||
else if (ThisPart.AlternativeWholeSalerId == vendorId)
|
else if (ThisPart.AlternativeWholeSalerId == vendorId)
|
||||||
poItem.VendorPartNumber = ThisPart.AlternativeWholeSalerNumber;
|
poItem.VendorPartNumber = ThisPart.AlternativeWholeSalerNumber;
|
||||||
|
|
||||||
//Cost
|
//Costs
|
||||||
poItem.PurchaseOrderCost = ThisPart.Cost;
|
poItem.PurchaseOrderCost = ThisPart.Cost;
|
||||||
|
if (poItem.QuantityReceived > 0 && poItem.ReceivedCost == 0 && poItem.PurchaseOrderCost != 0)
|
||||||
|
poItem.ReceivedCost = poItem.PurchaseOrderCost;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user