Dear teachers, good. How can I get the value of the Work Description field in Service Confirmation?
import ABSL;
import AP.CRM.Global; var instServiceConfirmation;
var qryServiceConfirmation_ServiceConfirmationOverview_QueryByElements;
var selParamsServiceConfirmation_ServiceConfirmationOverview_QueryByElements;
var colQryResult; qryServiceConfirmation_ServiceConfirmationOverview_QueryByElements = ServiceConfirmation.ServiceConfirmationOverview.QueryByElements; selParamsServiceConfirmation_ServiceConfirmationOverview_QueryByElements = qryServiceConfirmation_ServiceConfirmationOverview_QueryByElements.CreateSelectionParams();
if(this.ServiceConfirmationID.content!=""){ selParamsServiceConfirmation_ServiceConfirmationOverview_QueryByElements.Add(qryServiceConfirmation_ServiceConfirmationOverview_QueryByElements.ID.content,"I","EQ",this.ServiceConfirmationID.content);
colQryResult = qryServiceConfirmation_ServiceConfirmationOverview_QueryByElements.Execute(selParamsServiceConfirmation_ServiceConfirmationOverview_QueryByElements);
foreach (instServiceConfirmation in colQryResult) { break; }
if(instServiceConfirmation.IsSet())
{
this.AIRWORTHY_CERTIFICATION_DATE = instServiceConfirmation.DateTime.GetDate();
this.TextCollection = instServiceConfirmation.ToRoot.?
}
}