The correct answer is: A. Sale is effected.

Revenue is recognized when a company has transferred goods or services to a customer for an agreed-upon price. This is usually when the sale is effected, which means that the goods have been delivered or the services have been rendered.

Option B is incorrect because the profit and loss account is prepared after revenue has been recognized.

Option C is incorrect because production is not the same as sale. Revenue is recognized when the goods or services have been sold, not when they have been produced.

Option D is incorrect because cash is not always received at the same time as revenue is recognized. For example, a company may sell goods on credit, in which case it will not receive cash until after it has recognized the revenue.

In conclusion, revenue is generally recognized as being earned at the point of time when a company has transferred goods or services to a customer for an agreed-upon price. This is usually when the sale is effected.