Good morning,
i am trying to update Purchase order line from console application.
i found this piece of code for update
this foreach loop will loop for all the records.
In my case if i have 5000 Purchase orders it is going to check in foreach loop 4999 times.
So to avoid this i want to filter only that particular PO and that particular line record.
in my case i need to update specific line for Purchase order.
Suppose i want to update Purchase order line - Line number 2.
How can i filter records from context.PurchPurchaselineentity
Please show some light on this.
Regards,
Have a nice day.