Skip to Content
0
Aug 05, 2019 at 03:37 PM

How can I add service call in SAP B1 SDK?

119 Views

Hi all,

I want to add service call in SAP B1 SDK but I'm getting the following error message

Notice: Trying to get property of non-object in C:\wamp

Error:-5002

Below are my sample codes

$oService=$mycomp->GetBusinessObject(191);
$oService->CallType=5;
$oService->CustomerCode="460201";
$oService->subject="Text here";

$oService->Add;

Is there any other field which is mandatory