This command is used to set the remote primary employee from the invoice of the related job.
<SessionRequest Version="string" SessionID="{0EFBA01D-75BF-45D8-8532-093D5E649815}" RequestID="string">
<InvoiceRemotePrimaryUpdate>
<InvoiceRemotePrimaryUpdateData>
<InvoiceRemotePrimaryUpdateRecord>
<InvoiceID>integer</InvoiceID>
<RemotePrimary>string(6)</RemotePrimary>
</InvoiceRemotePrimaryUpdateRecord>
</InvoiceRemotePrimaryUpdateData>
</InvoiceRemotePrimaryUpdate>
</SessionRequest>
·
InvoiceID – An invoice ID of a Job where you want to set the
remote primary employee.
·
RemotePrimary – The employee code that will have control
over the invoice in the field.
<InvoiceRemotePrimaryUpdateResponse Successful="true" ResultCode="000" ResultText="Successful" Version="1.9.900.1" RequestID="string">
<InvoiceRemotePrimaryUpdateData>
<InvoiceRemotePrimaryUpdateRecord>
<InvoiceID>int</InvoiceID>
<RemotePrimary>string</RemotePrimary>
</InvoiceRemotePrimaryUpdateRecord>
</InvoiceRemotePrimaryUpdateData>
</InvoiceRemotePrimaryUpdateResponse>
·
InvoiceID – The invoice ID that was submitted in the query.
·
RemotePrimary – The employee code that has control over the
invoice in the field.