Accounting.ConvertProspectToCustomer Callwrapper

From GAB Help
Jump to: navigation, search

This callwrapper will convert a prospect to a customer.

Required Passed Properties

Prospect

6-character prospect ID.

Screenless

1-character screenless flag: to run the program in screenless mode set this property to a "Y"

Returned Properties

Status

Status returned after executing the callwrapper. Use this to confirm that the changes were successful.

Returns one of the following:

  • Success - The comment was successfully changed.
  • ParmError - Invalid parameter passed.
  • Fail - Other failure has occurred.

Example

F.Global.Callwrapper.New("Test","Accounting.ConvertProspectToCustomer")
F.Global.Callwrapper.SetProperty("Test","Prospect","123456")
F.Global.Callwrapper.SetProperty("Test","Screenless","Y")
F.Global.CallWrapper.Run("Test")
V.Local.sStatus.Declare(String)
F.Global.CallWrapper.GetProperty("Test","Status",V.Local.sStatus)
F.Intrinsic.UI.Msgbox(V.Local.sReturn, "Complete!")


Technical Information

  • Core program: AR0180