C# External app.remove job materials Api call?

How to remove a material or ass’y from job entry data set using mfg.bo calls ? Can I just call delete() on the data row and update() the job data set ?
Thanks.

Do a trace in Epicor and follow it

1 Like

I have done so, and that appears to be the only call to the BO. Am I missing something ?

The trace returns :

<tracePacket>
   <businessObject>Epicor.Mfg.BO.JobEntry</businessObject>
   <methodName>Update</methodName>
   <returnType>void</returnType>
   <localTime>1/14/2022 11:50:34:3427923 AM</localTime>
   <executionTime>1277</executionTime>
   <parameters>
   	<parameter name='cc' type='Epicor.Mfg.Core.CallContext.CallContextDataSet' ><CallContextDataSet xmlns="http://www.epicor.com/Mfg/100/BO.CallContext/CallContextDataSet">
 <BpmData>
   <RowIdent />
 </BpmData>
</CallContextDataSet></parameter>
   	<parameter name='ds' type='JobEntryDataSet' ><JobEntryDataSet xmlns="http://www.epicor.com/Mfg/100/BO.JobEntry/JobEntry" /></parameter>
   </parameters>
   <returnValues>
   	<returnParameter name='ds' type='JobEntryDataSet' ><JobEntryDataSet xmlns="http://www.epicor.com/Mfg/100/BO.JobEntry/JobEntry" /></returnParameter>
   </returnValues>
   <paramDataSetChanges>
   	<paramDataSet name='cc' useDataSetNbr='0' >
   	</paramDataSet>
   	<paramDataSet name='ds' useDataSetNbr='0' >
   		<deletedRow tableName='JobMtl' rowState='Deleted' rowNum='2'/>
   	</paramDataSet>
   </paramDataSetChanges>
</tracePacket>

I updated it for you, but if you don’t want the post to panic seeing “HTMLish” tags you have to wrap this stuff in Syntax Highlighting or it doesn’t show anything in your post.

Thank you.

BO is Update and if you’re removing an item then set your rowmod parameter to “D” I believe