Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
nvarchar(36) | Default = '' | Used to group adjustment histories by stock detail records. Do not join using this field. | |
![]() |
nvarchar(36) | Default = '' | Used to group adjustment histories by adjustments. Do not join using this field. | |
![]() |
nvarchar(255) | Default = '' | Indicates the constituent who owned the revenue which was adjusted. | |
![]() |
datetime | Indicates the date on the revenue item which was adjusted. | ||
![]() |
datetime | ![]() |
Indicates the date the adjustment was made. | |
![]() |
datetime | ![]() |
Indicates the date the post date of the adjustment. | |
![]() |
nvarchar(300) | Default = '' | Gives further details for why this adjustment was made. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | ![]() |
STOCKSALEADJUSTMENT.ID | Indicates the adjustment to which this historic information applies. |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
JOURNALENTRY.ID | Indicates any reversal attached to this adjustment (but only for deletions). |
![]() |
uniqueidentifier | ![]() |
ADJUSTMENTREASONCODE.ID | Indicates the reason this adjustment was made. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
GLTRANSACTIONID | |||
![]() |
STOCKSALEADJUSTMENTID | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
ADJUSTMENTHISTORYSTOCKID |
![]() |
ADJUSTMENTHISTORYSTOCKID |
![]() |
ADJUSTMENTHISTORYSTOCKID |
![]() |
ID |