Add the following Foreign Keys
| Current Name |
New Name |
Foreign Key |
| SalesOrderNotes |
SalesOrderNote |
SalesOrder |
| SalesHistoryNotes |
SalesHistoryNote |
SalesHistory |
| QuoteNotes |
QuoteNote |
Quote |
| PurchaseOrderNotes |
PurchaseOrderNote |
PurchaseOrder |
For the Current Class, Remove the _Base_ and _Map_ Files for it
Then rename the _Model_ class and replace _Base_ to match
Ex. SalesOrderNotes.php will now be SalesOrderNote.php and in the file will extend Base\SalesOrderNote
Make one commit for each Foreign Key addition remember to download the _Base_ and _Map_ for the new Class and the Foreign Key class.
Add the following Foreign Keys
For the Current Class, Remove the _Base_ and _Map_ Files for it
Then rename the _Model_ class and replace _Base_ to match
Ex. SalesOrderNotes.php will now be SalesOrderNote.php and in the file will extend
Base\SalesOrderNoteMake one commit for each Foreign Key addition remember to download the _Base_ and _Map_ for the new Class and the Foreign Key class.