Forum Discussion

loulou66's avatar
6 years ago

API Error

We tried to send the ‘Job’ UID object as part of each ‘Transaction’ line item, but the API returns an error:

 

(

            [Name] => ValidationError

            [Message] => BusinessLine_JobHeaderNotAllowed

            [AdditionalDetails] => JobId:(SaleOrderLine)

            [ErrorCode] => 4244

            [Severity] => Error

            [LearnMore] =>

 

Can you please advise what this is and how we can fix it.

  • Mike_James's avatar
    Mike_James
    Ultimate Cover User

    Hi loulou66 , that seems to suggest that the job uid you are sending is for  header job, whereas it can only be for a detail job.