working on a posting rule change to AR Invoice. Client wants to split revenue by labor and material to different GL Accounts. Based on their business, I have to determine the split based on a couple of different product group codes. I use an If statement to determine the amounts based on the product group found. I have one situation where the first if is what should be executing but it moves to the Else statement. When I look at the PE Viewer, is see that both lines are executing so the value returned is incorrect. Any ideas?
Posting Rule details
PE Viewer details