Skip to Content
0
Dec 16, 2011 at 10:53 PM

EDI idocs & Tax Jurisdiction Error

392 Views

I am try to process an inbound ORDERS05 idoc into a sales order. The ship-to address in the idoc is not the address of the ship-to customer number. When the idoc is processed I get an error for the tax jurisdiction: Jurisdiction code 3615300201 does not correspond to address entered. This jurisdiction code is from the customer master.

I would like it to re-determine the jurisdiction code based on the ship-to address from the idoc. Is there a way to do this?

I found during debugging that if I wipe out the IM_COUNTY & IM_TAXJURCODE fields in function TAX_TXJCD_DETERMINE_CHECK when the idoc is being processed it will determine the correct jurisdiction automatically.

Thanks

Tom