R31508-16 Purchase Invoice Line - Set Unit Price (Recalc)
| Code | 31508-16 | 
| Entity | Logistics.Procurement.PurchaseInvoiceLines Entity | 
| Name | SetUnitPrice | 
| Attribute | UnitPrice | 
| Layer | Front-End | 
| Events | AttributeChanged(ReceivingOrderLine, Product) | 
| Priority | Normal | 
| Modify | YES | 
| Applicable Legislations | ALL // no condition needed | 
| Action | IIF((ReceivingOrderLine != null), ReceivingOrderLine.PricePerUnit, GetDefaultProductPrice(Product)) | 
| Description | |
| Message | |
| Version | |
| Revocable | YES | 
* This is auto generated code. Don't change it.