Gen. Posting Type must not be Purchase in Gen. Journal Line Journal Template Name='CASHRCPT',Journal Batch Name='GENERAL',Line No.='20000'.
I have getting the error when posting the Cash receipt journal, I have set the Gen Posting Type as Purchase,
I want to do customization on the error, I have created one boolean field on the general ledger setup page if that field value is true then I don't want to show the above error and want to Post a cash receipt journal without error.
Please let me know if there are any solutions.