I have a SalesOrderItem table, and it has a UnitPrice
column in case the salesperson wishes to override the unit price of the
Product for that order item.
In an ASP.NET Dynamic Data application, what would be the best way to
set that UnitPrice property on a new SalesOrderItem based on the
standard UnitPrice for the product? In other words, when the user
clicks New on the 'Items' screen for a sales order, the UnitPrice field
should already be filled in with the normal unit price for the product.
This was originally asked by myself on StackOverflow at: http://stackoverflow.com/questions/3538234/automatically-set-a-property-value-for-a-new-record-in-a-dynamic-data-application
View Complete Post