WRITEOFFSPLITTEMP
Contains write-off split information for a given write-off record.
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| ID |
uniqueidentifier |
|
Default = (newid()) |
Primary Key. |
| WRITEOFFID |
uniqueidentifier |
|
|
FK to WRITEOFF table. |
| DESIGNATIONID |
uniqueidentifier |
|
|
FK to DESIGNATION table. |
| AMOUNT |
money |
|
Default = 0 |
The amount for given write-off split. |
| ADDEDBYID |
uniqueidentifier |
|
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
|
FK to CHANGEAGENT. |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| BASECURRENCYID |
uniqueidentifier |
yes |
|
The base currency associated with this write-off split. |
| ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The amount of the write-off split in organization currency. |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to convert from amount to organization amount. |
| TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the write-off split in transaction currency. |
| TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
|
The transaction currency associated with this write-off split. |
| BASEEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to calculate the base amount. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_WRITEOFFSPLIT_DATEADDED |
DATEADDED |
|
|
yes |
Triggers