Share via


Intrastat.calcOrigCounty Method

Finds county of origin for the current Intrastat record.

Syntax

public ItemOrigCountyId calcOrigCounty()

Run On

Called

Return Value

Type: ItemOrigCountyId Extended Data Type
The county of origin Id

Remarks

For product-based items the OrigCountyId field will be returned if it is not empty.For dispatches the CountyOrigDest field in the IntrastatParameters table. will be returned.The ItemId, OrigCountyId, and Direction fields must be filled before calling this method.

See Also

Reference

Intrastat Table