SLA Modification
The invoice does not have memo item or any inventory item, and has been entered with a line description for which a default revenue account is generated by the auto accounting rule.
We need to write a rule for the revenue line that if the Source on the transaction is say 'Trade management' and if the memo line or the item in NULL then get the revenue account from a memo line.
The point to be noted is that the 'memo line' from which the revenue account is to be generated is not used in the transaction but exists in the list of the memo lines created in the system.