| DATEDUE |
datetime |
|
|
Date the Invoice is Due |
| PURCHASEORDERID |
nvarchar(20) |
|
Default = '' |
User Defined Purchase Order Number |
| DISCOUNTPERCENT |
decimal(20, 4) |
|
Default = 0 |
Discount percent |
| DISCOUNTAMOUNT |
money |
|
Default = 0 |
Discounted Amount |
| DISCOUNTEXPIRATIONDATE |
datetime |
yes |
|
The date the Discount Expires. |
| SEPARATEPAYMENT |
bit |
|
Default = 0 |
Marks if a separate payment should be created for this invoice. |
| HOLDPAYMENT |
bit |
|
Default = 0 |
Marks if this payment should held. |
| PAYMENTMETHODCODE |
tinyint |
|
Default = 0 |
Payment Method |
| PAYMENTMETHOD |
nvarchar(5) (Computed) |
yes |
CASE [PAYMENTMETHODCODE] WHEN 0 THEN N'Check' END |
Provides a translation for the 'PAYMENTMETHODCODE' field. |
| 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. |
| ZEROBALANCE |
bit |
|
Default = 0 |
True when the invoice is paid |
| TYPE |
int (Computed) |
|
101 |
The Financial Transaction Type |
| BALANCE |
money (Computed) |
yes |
dbo.UFN_INVOICE_GETBALANCE(ID) |
|
| DISCOUNTEDTOTAL |
money (Computed) |
yes |
dbo.UFN_FINANCIALTRANSACTION_GETAMOUNT(ID) - DISCOUNTAMOUNT |
|