Table

SalesLineHistory_IN

Sales order line information for India

Holds India-specific tax and excise details for a sales order line, including assessable value, maximum retail price, tariff codes, TCS and TDS groups, and return information. It is keyed by the sales line (SalesLine). Several fields appear twice, once with and once without the _IN suffix.

Table name
SalesLineHistory_IN
Module
Accounts receivable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
SalesLineIdx
Key fields
SalesLine
Model
Foundation

Fields (53)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesLinePoints to the sales order line this row extends.Int64
RefRecId
NoSalesLine.RecIdNone
AssessableValue_INAssessable value of the line, in the transaction currency.Real
AmountCur
NoNone
AssessableValueTransactionCurrencyAssessable value of the line, in the transaction currency.Real
AmountCur
NoNone
CompanyLocation_INPoints to the company location record used for the line.Int64
LogisticsLocationRecId
NoNone
Consignment_INYes/No flag marking the line as a consignment.Enum
NoYes (enum)
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreditNoteDateDate linked to the credit note.Date
TransDate
NoNone
CreditNoteDate_INDate linked to the credit note.Date
TransDate
NoNone
CustomerLocationCustomer location reference; the metadata gives no label or relation.low confidenceInt64NoNone
CustomerTaxInformationCustomer tax information reference; the metadata gives no label or relation.low confidenceInt64NoNone
CustomsMaxRetailPriceMaximum retail price expressed in the customs currency.Real
MaximumRetailPrice_IN
NoNone
CustomsMaxRetailPrice_INMaximum retail price expressed in the customs currency.Real
MaximumRetailPrice_IN
NoNone
CustomsTariffCodeTable_INPoints to the customs tariff code record for the line.Int64
RefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DirectSettlement_INDirect settlement type, with values None, RG23A, RG23C or PLA.Enum
DirectSettlement_IN (enum)
NoNone
DSA_INYes/No flag for DSA.low confidenceEnum
NoYes (enum)
NoNone
ExciseRecordType_INExcise record type, with values None, RG23A, RG23C or RG23D.Enum
ExciseRecordType_IN (enum)
NoNone
ExciseTariffCodes_INPoints to the excise tariff code record for the line.Int64
RefRecId
NoNone
ExciseType_INExcise type, either None, Manufacturer or Trader.Enum
ExciseType_IN (enum)
NoNone
ExemptYes/No flag for an exempt line; the metadata gives no label.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
ExportOrderYes/No flag showing whether the order is an export order.Enum
NoYesId
NoYes (enum)
NoNone
ExportOrder_INYes/No flag showing whether the order is an export order.Enum
NoYesId
NoYes (enum)
NoNone
HSNCodeTablePoints to the harmonized system (HSN) code record for the line.Int64
RefRecId
NoNone
InclTaxYes/No flag showing whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoNone
IsScrapYes/No flag marking the line as scrap.Enum
NoYesId
NoYes (enum)
NoNone
ITCCategoryInput tax credit category, with values Input, Capital Goods or Others.Enum
ITCCategory_IN (enum)
NoNone
MaximumRetailPriceMaximum retail price of the item on the line.Real
MaximumRetailPrice_IN
NoNone
MaximumRetailPrice_INMaximum retail price of the item on the line.Real
MaximumRetailPrice_IN
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReturnActionText describing the action to take for a return.String (60)
ReturnAction_IN
NoNone
ReturnReasonCodeIdCode giving the reason for a return.String
ReturnReasonCodeId
NoNone
SalesTaxFormTypes_INPoints to the sales tax form type record for the line.Int64
SalesTaxFormTypesRecId_IN
NoNone
ServiceAccountingCodeTablePoints to the service accounting code record for the line.Int64
RefRecId
NoNone
ServiceCodeTable_INPoints to the service code record for the line.Int64
RefRecId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAsPerOriginalInvoiceYes/No flag to base the tax on the original invoice.Enum
NoYesId
NoYes (enum)
NoNone
TaxAsPerOriginalInvoice_INYes/No flag to base the tax on the original invoice rather than recalculating it.Enum
NoYesId
NoYes (enum)
NoNone
TaxInformationPoints to the tax information record for the line.Int64
TaxInformationRefRecId_IN
NoNone
TaxInventVATCommodityCode_INPoints to the VAT commodity code record for the line.Int64
RefRecId
NoNone
TaxWithholdAcknowledgementNumber15CA acknowledgement number for a withholding tax remittance.String (15)
TaxWithholdAcknowledgementNumber_IN
NoNone
TaxWithholdCountryRegionToRemittancePoints to the country or region of residence of the deductee for the remittance.Int64
TaxWithholdCountryToRemitRefRecId_IN
NoNone
TaxWithholdLineNumLine number used for withholding tax.Real
LineNum
NoNone
TaxWithholdLineNum_INLine number used for withholding tax.Real
LineNum
NoNone
TaxWithholdNatureOfRemittancePoints to the nature of remittance record for withholding tax.Int64
TaxWitholdNatureOfRemittanceRefRecId_IN
NoNone
TaxWithholdVoucherVoucher number related to withholding tax.String (20)
Voucher
NoNone
TaxWithholdVoucher_INVoucher number related to withholding tax.String (20)
Voucher
NoNone
TCSGroupTax collected at source (TCS) group for the line.String
TaxWithholdGroup
NoNone
TCSGroup_INTax collected at source (TCS) group for the line.String
TaxWithholdGroup
NoNone
TDSGroupTax deducted at source (TDS) group for the line.String
TaxWithholdGroup
NoNone
TDSGroup_INTax deducted at source (TDS) group for the line.String
TaxWithholdGroup
NoNone

Indexes (1)

  • SalesLineIdxReplacement key

    SalesLine

    Unique, alternate key.

Relations (1)

Each relation joins SalesLineHistory_IN to another table on the fields shown.

  • SalesLine → SalesLine

    Join on SalesLine = SalesLine.RecId

    Zero or one SalesLineHistory_IN record → exactly one SalesLine record

Get this data out

No public entity reads from SalesLineHistory_IN. Its data is only reachable through the application, a custom entity or a database export.

Need help with SalesLineHistory_IN in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk