TaxMapping
Updated
A tax mapping pins a TaxCode to an item, item group, customer, supplier, or legal entity when no TaxRule matched. Source is a guid; Tax has no foreign key to Inventory.
| Kind | Dictionary |
| Module | Tax |
| Menu | Tax → Dictionaries → Tax mappings |
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
ID | number sequence |
SourceType |
Source type | string, 24, required |
SourceId |
Source | guid, required |
TaxCode |
Tax code | TaxCode, required |
Priority |
Priority | integer, required |
EffectiveFrom |
Effective from | date and time, required |
EffectiveTo |
Effective to | date and time |
IsDisabled |
Disabled | boolean |
SourceType, SourceId, TaxCode, Priority, and EffectiveFrom are required. ID comes from TaxMappingSeq, which starts at 1000 and steps by 1. Source type is stored as Item, ItemGroup, Customer, Supplier, or LegalEntity. Smaller Priority wins among equal source types. An item mapping still wins when its Priority is 50 and the customer's is 1. Empty Disabled is live. Empty Effective to leaves the row open. Two live mappings for the same source and overlapping dates are refused.
A matching rule is used instead of this row. This mapping applies when no rule matched. Source is an identifier. The card shows the type and the id. There is no command that tests a mapping against a sample deal.
Hierarchy#
This dictionary is not hierarchical.
Who references this#
Determination reads this dictionary. No other object stores a foreign key to it.
There are no commands. This dictionary writes no register.