PlanSwift Code:
var
bJobStarted: boolean;
begin
bJobStarted := PlanSwift.NewJobEx;
end;
FreshDesk Code:
procedure TForm1.psNewJobEX(Sender: TObject);
var
ps: IPlanSwift;
begin
//Create the PlanSwift Interface
ps := CoPlanswift.Create;
//Open The "New Job" Dialog box
ps.NewJobEx('My Test Job');
// Free the Planswift Interface
ps := nil;
end; |