RMACHARGE

This table stores charges or credits, applied to a return merchandise authorization (RMA), which are not for sellable products or services. This can be applicable to the entire RMA or to a specific RMA item, such as restocking fees or shipping credits.

Column Descriptions:

NameTypeDescription
RMACHARGE_IDBIGINT NOT NULLGenerated unique key.
RMAITEM_IDBIGINTThe RMA item to which this charge applies. If this field is NULL, then the charge does not apply to a specific RMA item but against the whole RMA.
CHARGETYPE_IDINTEGER NOT NULLThe type of charge or credit. The CHARGETYPE_ID column is a foreign key to the CHARGETYPE table. A return policy uses the charge type of a restocking fee for returned items.
RMA_IDBIGINT NOT NULLThe RMA to which this charge or credit applies.
AMOUNTDECIMAL (20,5) NOT NULLAmount of the charge or credit.
CURRENCYCHAR (3) NOT NULLCurrency used for the charge or credit. This is a currency code as per ISO 4217 standards.
OPTCOUNTERSMALLINTThe optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>RMACHARGE_IDPrimary Key
I0000744RMAITEM_IDNon-Unique Index
I0000745RMA_IDNon-Unique Index
I0001280CHARGETYPE_IDNon-Unique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_701CHARGETYPE_IDCHARGETYPECHARGETYPE_IDCascade
F_702RMA_IDRMARMA_IDCascade
F_703RMAITEM_IDRMAITEMRMAITEM_IDCascade