Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Getting SalesTable Entry for SalesFormLetter Job Running in Batch

$
0
0

The issue I'm running into is pretty straightforward, but I'll run through what I've tried so far. 

I am modifying logic that runs in certain cases of SalesFormLetter, and the logic triggers only when in batch. When in batch though, I don't seem to be able to get the related SalesTable entry from salesFormLetterContract.parmSalesTable(). In related code, I see that the ParmId on SalesParmEntry entry is used as an identifier, but when I use that to get to related tables, I find that it's not a unique value.

Is there something that I'm missing here, or a value I need to unpack to get back to the Sales Table?

Thanks,


Viewing all articles
Browse latest Browse all 72043