Hi there,
We are building a system to connect dynamicweb to a CRM system called AFAS. We are using dw productdiscounts say 10% on product x and y. When we order these products
we get 4 orderlines 2 for the products and 2 for the corresponding productdiscounts.
For exporting the order to the crm system we need to know, which of the 2 discounts belongs to which of the 2 products (x or y).
We need to know this to determine the Vatgroup that has been calculated on the discounts. Is there a way to findout, which product belongs to which discount?
We tried the orderline.parentlineid but this is empty or null during the orderproces.
Take care,
Lucas