MasterDataImport
Updated
Master data import: customers and suppliers of a previous accounting program, loaded from a spreadsheet or a CSV. Loading only reads and compares; applying creates and updates the cards and leaves the result on the lines.
| Kind | Document |
| Module | Accounting |
| Menu | General ledger → Migration → Master data import |
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
Number | number sequence |
DefaultRole |
Load as | string, 12: Customer, Supplier or Both; what a row is loaded as when the file has no role column. Defaults to Customer |
CustomerType |
Customer type code | string, 8: the type code of the customers created. Defaults to B2B |
UpdateExisting |
Fill empty fields of existing records | boolean: off, a card that exists is left as it is; on, its empty fields are filled and filled ones are never overwritten |
SourceName |
Loaded from | string, 200 |
CreatedCount, UpdatedCount, SkippedCount, ProblemCount |
Created, Updated, Skipped, Need attention | integers: the counts of the load and the apply |
RegistrationCodeField |
Registration code field | string, hidden: the field of the cards that holds the state registration code. Set by the Ukrainian localization (EdrpouCode) |
Lines, MasterDataImportLines.
ID comes from MasterDataImportSeq: MD-{YYYY}- and six digits.
Commands and states#
| State | Command | What happens |
|---|---|---|
| Draft | Load file | Reads the file (parameters: the file; Replace the lines already in the document, on by default) into the lines and sets each line's Action. Creates nothing. |
| Draft | Apply | Creates and fills the cards; a line becomes Created or Updated. With no line left to fix the document becomes Applied. Asks to confirm. |
Applied is read-only. The document posts nothing: it has no register movements.
A row is looked up by its registration code and tax number (five digits or more), then by name and full name, with the legal form and quotation marks left out. A row repeating an earlier code or name is skipped. A row for Both is looked up among customers and among suppliers.
The tax number goes to the tax registration number of the card, the registration code to the field RegistrationCodeField names (without one, to the tax registration number when the row has no tax number), the phone and the e-mail to their fields, the address and the contact person to the notes. The IBAN becomes a BankCounterparty rule of the party.