Table

PurchLineHistory_IN

Purchase order line information history for India

Holds extra India-specific details for a purchase order line history record. It covers tax, excise, customs, service tax and withholding tax (TCS and TDS) information. Each row links to one purchase line history record through the PurchLineHistory field.

Table name
PurchLineHistory_IN
Module
Accounts payable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
PurchLineHistoryIdx
Key fields
PurchLineHistory
Model
Foundation

Fields (42)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchLineHistoryLink to the purchase line history record that this row extends.Int64
RefRecId
YesPurchLineHistory.RecIdNone
AssessableValue_INAssessable value amount in the transaction currency, used for India.Real
AmountCur
NoNone
AssessableValueTransactionCurrencyAssessable value of the line, in the transaction currency.Real
AmountCur
NoNone
CENVATCreditAvailed_INYes/No flag for whether CENVAT credit was availed, used for India.Enum
NoYesId
NoYes (enum)
NoNone
CompanyLocation_INCompany location for the line, used for India.Int64
LogisticsLocationRecId
NoNone
Consignment_INYes/No flag that marks the line as a consignment, used for India.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
CreditNoteDateDate of the credit note.Date
TransDate
NoNone
CreditNoteDate_INCredit note date, used for India.Date
TransDate
NoNone
CustomsMaxRetailPriceMaximum retail price expressed in the customs currency.Real
MaximumRetailPrice_IN
NoNone
CustomsMaxRetailPrice_INMaximum retail price for customs, used for India.Real
MaximumRetailPrice_IN
NoNone
CustomsTariffCodeTable_INLink to the customs tariff code record, used for India.Int64
RefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DirectSettlement_INWay the direct settlement is made. Values are None, RG23A, RG23C and PLA.Enum
DirectSettlement_IN (enum)
NoNone
DSA_INYes/No flag with the short name DSA. Its meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
ExciseRecordType_INType of excise record. Values are None, RG23A, RG23C and RG23D.Enum
ExciseRecordType_IN (enum)
NoNone
ExciseTariffCodes_INLink to the excise tariff code record, used for India.Int64
RefRecId
NoNone
ExciseType_INExcise type of the party. Values are None, Manufacturer and Trader.Enum
ExciseType_IN (enum)
NoNone
GTAServiceCategory_INService category for goods transport agency services. Values are Inward, Inter unit or input, and Others.Enum
GTAServiceCategory_IN (enum)
NoNone
IsRecoverableServiceTax_INYes/No flag for whether the service tax is recoverable.Enum
NoYesId
NoYes (enum)
NoNone
MaximumRetailPriceMaximum retail price of the item on the line.Real
MaximumRetailPrice_IN
NoNone
MaximumRetailPrice_INMaximum retail price of the item, used for India.Real
MaximumRetailPrice_IN
NoNone
NonRecoverablePercent_INPercentage that is non-recoverable, used for India.Real
Percent
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
SalesTaxFormTypes_INLink to the sales tax form type, used for India.Int64
SalesTaxFormTypesRecId_IN
NoNone
ServiceCodeTable_INLink to the service code record, used for India.Int64
RefRecId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAsPerOriginalInvoiceYes/No flag showing whether tax follows the original invoice.Enum
NoYesId
NoYes (enum)
NoNone
TaxAsPerOriginalInvoice_INYes/No flag for taxing as on the original invoice, used for India.Enum
NoYesId
NoYes (enum)
NoNone
TaxInformation_INLink to the tax information record, used for India.Int64
RefRecId
NoNone
TaxWithholdLineNumLine number of the withholding tax entry.Real
LineNum
NoNone
TaxWithholdLineNum_INWithholding tax line number, used for India.Real
LineNum
NoNone
TaxWithholdVoucherVoucher number of the withholding tax entry.String (20)
Voucher
NoNone
TaxWithholdVoucher_INWithholding tax voucher number, used for India.String (20)
Voucher
NoNone
TCSGroupTax collected at source (TCS) group, which points to a withholding tax group.String
TaxWithholdGroup
NoTaxWithholdGroupHeading.TaxWithholdGroupNone
TCSGroup_INWithholding tax group for tax collected at source (TCS), used for India.String
TaxWithholdGroup
NoNone
TDSGroupTax deducted at source (TDS) group, which points to a withholding tax group.String
TaxWithholdGroup
NoTaxWithholdGroupHeading.TaxWithholdGroupNone
TDSGroup_INWithholding tax group for tax deducted at source (TDS), used for India.String
TaxWithholdGroup
NoNone
VATGoodsType_INType of goods for VAT. Values are Input and Capital items.Enum
VATGoodsType_IN (enum)
NoNone
VendorLocationVendor location for the line, which points to a location record.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdNone
VendorLocation_INVendor location, used for India.Int64
LogisticsLocationRecId
NoNone

Indexes (1)

Relations (4)

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

  • PurchLineHistory → PurchLineHistory

    Join on PurchLineHistory = PurchLineHistory.RecId

    Zero or one PurchLineHistory_IN record → exactly one PurchLineHistory record

  • TaxWithholdGroupHeadingTCS → TaxWithholdGroupHeading

    Join on TCSGroup = TaxWithholdGroupHeading.TaxWithholdGroup

    Many PurchLineHistory_IN records → exactly one TaxWithholdGroupHeading record

  • TaxWithholdGroupHeadingTDS → TaxWithholdGroupHeading

    Join on TDSGroup = TaxWithholdGroupHeading.TaxWithholdGroup

    Many PurchLineHistory_IN records → exactly one TaxWithholdGroupHeading record

  • VendorLocation → LogisticsLocation

    Join on VendorLocation = LogisticsLocation.RecId

    Many PurchLineHistory_IN records → zero or one LogisticsLocation record

Get this data out

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

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

Email sales@drdynamics.co.uk