AX R3 Retail

Good day,

can anyone help me regarding the ISaleLineItem class in AX retail. I would like to access it from Blank Operation class specifically on this method.

public void BlankOperation(IBlankOperationInfo operationInfo, IPosTransaction posTransaction)

{

}

as you can see, there is no parameter for the ISaleLineItem Class. I tried calling it inside the method but it just reinstantiated and values were lost.

How can I do this?

Thank you.

Turns out, posTransaction is the key to this. Happy DAXing.