I am in the process of desiging a new invoice and my question is what and where are the SOLine.DiscPrice and SOLine.CuryLineAmt. I have SOOrder and SOLine in the relationship and have tried a Left Joiin, Right Join, Inner Join and the report doubled up the line items, as there should have been two line items, there is now four. I do have ARTran and ARInvoice and have been experimenting with those, but I’m still a noob in Acumatica.
Solved
Equivalent fields
Best answer by mbarrett
You cannot link ARTran to both the SOOrder and SOLine tables at the same time. This is where the duplicates are coming from. Instead, you should flow the links like so:
- First Link - ARTran Left SOLine
- SOOrderType = OrderType
- SOOrderNbr = OrderNbr
- SOOrderLineNbr = LineNbr
- Second Link - SOLine Left SOOrder
- OrderType = OrderType
- OrderNbr = OrderNbr
Also, The Discount and Line amounts fields can also be found in the ARTran table which would avoid the need to link to the Sales Order Line for this information.


Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.