PurchLinerecord - it's gone from the table; it means that for a given purchase order you've got only "active" actual
PurchLinerecords in the database table. AX 2012 has introduced a lot of new and enhanced Procurement and sourcing features including Change management for purchase orders. From a developer's perspective it means that
PurchLinerecords are no longer deleted - instead they are marked with
IsDeletedflag and filtered out on regular forms (obviously except for Purchase order versions form). So in customizations it's now vital to mind that and to select or update only
IsDeleted == NoYes::Nopredicate in the
PurchTable.queryPurchLine()can provide you with a query that takes this into account.