public void AddPrimaryField(Field field) { PrimaryFields.Add(field); }
private void LoadDocument(APInvoice documentRow, PrimaryFields primaryFields) { SetFieldExtValue <string, string>(primaryFields.VendorId, _documentCache, documentRow, nameof(documentRow.VendorID)); SetFieldExtValue <string, DateTime?>(primaryFields.Date, _documentCache, documentRow, nameof(documentRow.DocDate)); SetFieldExtValue <decimal?, decimal?>(primaryFields.CuryOrigDocAmt, _documentCache, documentRow, nameof(documentRow.CuryOrigDocAmt)); }