Developer forum

Forum » Integration » Shipping fee without Tax Group Code in BC

Shipping fee without Tax Group Code in BC

Cristina Santos
Reply

Hi everybody!

I need help with shipping costs in bussines central.

This is the configuration (DynacmicWeb 9.13.7) and Bussiness Central On Premise.

In the order in BC there is the line of shipping costs with the VAT correctly detailed. But there are two problems:

1. The field TAX GROUP CODE is empty 

2. The VAT of the shipping cost is not added to the total VAT of the order

The item charge is configured with the correct tax group:

If instead of the DW-SHIP code, we use the LOGIS code, which is what they use for these expenses, it doesn't work either.

In fact, in addition to this field, our erp partner informs us that more fields are missing (besides the TAX GROUP CODE).

If we configure in LiveIntegration the LOGIS label that they have for these expenses (instead of DW-SHIP), and we compare an order line with the LOGIS item added from the erp and added from DW, there are many fields that are empty if the order is created from DW.

Is there something we forgot to configure?

I would appreciate any help..


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Cristina,

this part is missed in the implementation, so not all fields are filled for the shipping order line. But there is an event fired before this sales line is inserted:
Codeunit DynamicwebOrdersPublisher, event: OnBeforeInsertDynamicwebShippingSalesLine
So you can subscribe to this event and fill in the missed fields using a new custom application. Wwe have an example app on the doc site

Try to change the Item charge sales line "VAT Prod. Posting Group" and "Tax Group Code" to some other values, maybe that will trigger the sales order "Total tax"
field value update in the same subscriber where you will add the missed fields.

BR, Dmitrij

 

You must be logged in to post in the forum