hello, i have a problem when i want to link a debit entry to a sales order.
i have created a payment entry and specify the allocated amount that should be same as the debit, and then created a new journal entry, specified the debit amount and then open the debit info to specify the reference but the following error appears: Debit entry cannot be linked with a Sales Order. check pictures for more details.
I’ve faced the same problem and I’ve been looking into it in the code and it makes no sense why that validation is there. Can someone comment on this validation error?
i tried to change it to yes, but another error is showing.
error: Advance against Customer must be credit.
So i don’t know want we should do to solve the problem, and i need to solve it asap.
i i cant put it in the credit field because:
Advance paid against Sales Order SO-03713 cannot be greater than Grand Total € 246.75
the SO is less than the total of the JV
I checked code, If you fill at Debit can not link to SO => you need to remove SO at Reference Type.
Next time When you make payment entry, system will show 2 rows: Journal Entry (13.8) and SO (576-13.8 =562.2 )
okey so im gonna describe the case, and i hope someone will help me.
i have a sales order of 350$ and i make the payment entry by then, but the sales invoice is 300$, so after completing this i need to make a journal entry with a 50$ amount to return it to the client, and this journal entry Debit must be linked to the sales order, because in the sales order i allocated 50$ of the amount in the payment entry. so when i want to link it with sales order it will display the following error: Debit entry cannot be linked with a Sales Order, but i cant do it other way. so is there any help regarding this issue. or should i make it other way?