cancel
Showing results for 
Search instead for 
Did you mean: 

Create Activity using B1if linked with service call

0 Kudos
306

I am trying to add Activity using B1if and want to link It with service all.
B1if is not providing parentId xml tag to link activity with service call?

Accepted Solutions (0)

Answers (1)

Answers (1)

HuanYang
Advisor
Advisor

Hello Mubashar,

For SAP Business One Activity of Service module, you may refer to the object 33.

For SAP Business One Service Call of Service module, you may refer to the object 191.

1. You may use DI to create an activity

2. You may update/create the service call (link the created activity to the Service Call)

  • Contacts 33
<Contacts>
	<!-- multiple such elements are allowed -->
	<row>
		<!-- multiple such elements are allowed -->
		<CardCode>string</CardCode>
		<Notes>string</Notes>
		<ContactDate>string</ContactDate>
		<ContactTime>long</ContactTime>
		<Recontact>string</Recontact>
		<Closed>string</Closed>
		<CloseDate>string</CloseDate>
		<Phone>string</Phone>
		<Fax>string</Fax>
		<Subject>long</Subject>
		<DocType>string</DocType>
		<DocEntry>string</DocEntry>
		<HandledBy>long</HandledBy>
		<ContactPersonCode>long</ContactPersonCode>
		<SalesEmployee>long</SalesEmployee>
		<Activity>string</Activity>
		<Details>string</Details>
		<ActivityType>long</ActivityType>
		<Location>long</Location>
		<StartTime>long</StartTime>
		<Duration>double</Duration>
		<DurationType>string</DurationType>
		<EndTime>long</EndTime>
		<Priority>string</Priority>
		<Reminder>string</Reminder>
		<ReminderPeriod>double</ReminderPeriod>
		<ReminderType>string</ReminderType>
		<EndDuedate>string</EndDuedate>
		<Status>long</Status>
		<Personalflag>string</Personalflag>
		<Inactiveflag>string</Inactiveflag>
		<Tentativeflag>string</Tentativeflag>
		<Street>string</Street>
		<City>string</City>
		<Country>string</Country>
		<State>string</State>
		<Room>string</Room>
		<PreviousActivity>long</PreviousActivity>
		<AttachmentEntry>long</AttachmentEntry>
	</row>
</Contacts>
  • ServiceCalls 191
<ServiceCalls>
	<row>
		<!-- multiple such elements are allowed -->
		<Subject>string</Subject>
		<CustomerCode>string</CustomerCode>
		<CustomerName>string</CustomerName>
		<ContactCode>long</ContactCode>
		<ManufacturerSerialNum>string</ManufacturerSerialNum>
		<InternalSerialNum>string</InternalSerialNum>
		<ContractID>long</ContractID>
		<ResolutionDate>string</ResolutionDate>
		<ResolutionTime>long</ResolutionTime>
		<Origin>long</Origin>
		<ItemCode>string</ItemCode>
		<ItemDescription>string</ItemDescription>
		<Status>long</Status>
		<Priority>string</Priority>
		<CallType>long</CallType>
		<ProblemType>long</ProblemType>
		<AssigneeCode>long</AssigneeCode>
		<Description>string</Description>
		<TechnicianCode>long</TechnicianCode>
		<Resolution>string</Resolution>
		<CreationDate>string</CreationDate>
		<CreationTime>long</CreationTime>
		<BelongsToAQueue>string</BelongsToAQueue>
		<ClosingTime>long</ClosingTime>
		<Queue>string</Queue>
		<ClosingDate>string</ClosingDate>
		<Series>long</Series>
		<DocNum>long</DocNum>
		<HandWritten>string</HandWritten>
		<StartDate>string</StartDate>
		<StartTime>long</StartTime>
		<EndDueDate>string</EndDueDate>
		<EndTime>long</EndTime>
		<Duration>double</Duration>
		<DurationType>string</DurationType>
		<Reminder>string</Reminder>
		<ReminderPeriod>double</ReminderPeriod>
		<ReminderType>string</ReminderType>
		<Location>long</Location>
		<AddressName>string</AddressName>
		<AddressType>string</AddressType>
		<Street>string</Street>
		<City>string</City>
		<Room>string</Room>
		<State>string</State>
		<Country>string</Country>
		<DisplayInCalendar>string</DisplayInCalendar>
		<CustomerRefNo>string</CustomerRefNo>
		<ProblemSubType>long</ProblemSubType>
		<AttachmentEntry>long</AttachmentEntry>
		<ServiceBPType>string</ServiceBPType>
		<BPContactPerson>string</BPContactPerson>
		<BPPhone1>string</BPPhone1>
		<BPPhone2>string</BPPhone2>
		<BPCellular>string</BPCellular>
		<BPFax>string</BPFax>
		<BPeMail>string</BPeMail>
		<BPProjectCode>string</BPProjectCode>
		<BPTerritory>long</BPTerritory>
		<BPShipToCode>string</BPShipToCode>
		<BPShipToAddress>string</BPShipToAddress>
		<BPBillToCode>string</BPBillToCode>
		<BPBillToAddress>string</BPBillToAddress>
		<Telephone>string</Telephone>
		<UpdateDate>string</UpdateDate>
		<SupplementaryCode>string</SupplementaryCode>
	</row>
</ServiceCalls>
<ServiceCallActivities>
	<row>
		<!-- multiple such elements are allowed -->
		<ActivityCode>long</ActivityCode>
	</row>
</ServiceCallActivities>

Thank

Huan Yang