The Opportunity entity (renamed from Enquiry) contains patient details, while the Appointment entity contains scheduling details. When the Visiting Status in the Appointment entity is set to "Yes," a new Account should be created for the patient.
Currently, when an Appointment is linked to an Opportunity and the Visiting Status is marked as "Yes," the system creates or updates an Account entity. However, only the Appointment Date & Time and Doctor details are being entered in the Account entity. Other Enquiry details (e.g., patient information, contact details, etc.) are not being carried over.
Currently, when an Appointment is linked to an Opportunity and the Visiting Status is marked as "Yes," the system creates or updates an Account entity. However, only the Appointment Date & Time and Doctor details are being entered in the Account entity. Other Enquiry details (e.g., patient information, contact details, etc.) are not being carried over.