Patch export/import for missing fields; add CustomerContacts export
- DataExportController + AccountDataExportController: add ProjectName to Jobs, Quotes, Invoices (XLSX + CSV); add LeadSource + ShipTo fields to Customers (XLSX + CSV); add CustomerContacts sheet/CSV (new) - Both export views: add Customer Contacts checkbox (checked by default) - CustomerImportDto: add LeadSource + ShipTo* fields - JobImportDto: add ProjectName - QuoteImportDto: add ProjectName - InvoiceImportDto: add Project Name (dual-name alias for round-trip) - CsvImportService: wire all new import fields to entity creation; also patch invoice update path for ProjectName - Add scripts/purge_imported_data.sql (dry-run T-SQL for data cleanup) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -63,4 +63,22 @@ public class CustomerImportDto
|
||||
|
||||
[Name("Notes")]
|
||||
public string? Notes { get; set; }
|
||||
|
||||
[Name("LeadSource")]
|
||||
public string? LeadSource { get; set; }
|
||||
|
||||
[Name("ShipToAddress")]
|
||||
public string? ShipToAddress { get; set; }
|
||||
|
||||
[Name("ShipToCity")]
|
||||
public string? ShipToCity { get; set; }
|
||||
|
||||
[Name("ShipToState")]
|
||||
public string? ShipToState { get; set; }
|
||||
|
||||
[Name("ShipToZipCode")]
|
||||
public string? ShipToZipCode { get; set; }
|
||||
|
||||
[Name("ShipToCountry")]
|
||||
public string? ShipToCountry { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user