Debug in Production environment for cloud BC

Hello All,

As far as my reading debugger can not attached to Production tenants for cloud BC. May be I miss some updates. Can you please update on it? How can I debug for error in Production env cloud BC?

Thanks in Advance.

What have you tried to do?

What is it that you are trying to debug? Your own code?

How did you install the code that you want to debug?

Was showmycode added when the code was compiled?

Standard report SALES RESERVATION AVAIL.

While running the report I am getting error : The Sales Header does not exist. Identification fields and values: Document Type=‘Order’,No.= ORD/2018/12/0171. From error its clear header not exist bot somehow its getting Line. I checked in sales orders, order with this no. not exist. We can not check lines directly. Now I found few options, either if I can check by SQL or by creating extension for line page and check does it exist or not.

For my clearance, is it good practice to make extensions for such reasons? How to handle such cases in support project?

Correct me if I am wrong. Suggestions are always welcome.

Thanks in advance.