Bug: null commodity PurchaseRecordDetail insert