Counter Sale DMT

Has anyone ever processed counter sales via DMT? I can create the counter sale orders and lines, but still need go into each order individually and press the Process Counter Sale Button. There’s an OrderDtl#ProcessCounterSale field in the Sales Order Combine template builder, but it doesn’t appear to do anything.

Trying to find a way to mass create and fully process batches of orders. Counter sale works great at small scale, but need to process 50+ orders from a single file.

Hello there - have you ever figured out this?

Nope. Think settled on creating the sales order using the Sales Order Combine template, then opening each order individually and pressing the Process Counter Sale button

Have you tried a trace file when pressing Process Count Sale to see what method(s) it’s calling?

What data type is OrderDtl#ProcessCounterSale ? And what values have you tried?

Also, kind of odd that the ProcessCounterSale is on OrderDtl and not on OrderHed.

Maybe that field is just to indicate that the particular line is enabled for CounterSale processing, but some other field (related to OrderHed?) needs to be set afterwards to actually force the process.

Which after thinking about it, processing a CounterSale is something that should only be done once. Not something done each time a new line is added. Otherwise a CS order with 10 lines would create 10 packers and 10 invoices when uploaded via DMT.