2018 Import into Job Posting Entry - Error

SOLVED

Having an issue with Cost Codes in an import into Job Posting Entry.  The cost codes, with "-", are longer than 9 characters, and I do have the Skip Source Data Transaction checked.  It still did not like the Cost Code, so I did a calculated field where I took out the dashes.  It then seemed to calculate the cost code correctly, but said it was not on file (which it clearly is).  I changed the Job Cost Options to do no validation, and still cannot get it to accept the cost codes.

I have a cost type (valid, although it shows as invalid since there is no valid cost CODE) and a job number (valid).

Parents
  • 0

    Use DFDM on JC_CostCode and confirm the length of the CostCode in the file. In my 2018 install, regardless of segment length selected under JC Options, the CostCode is zero padded on the right to 3 characters for each segment regardless of whether or not the CostCode is numeric or alpha-numeric.

  • +1 in reply to David Speck
    verified answer

    Also, it seems Job Posting Entry automatically pads zeros on the left for each segment but VI doesn't do any automatic padding and i have been unable to find a method available to do this with the available business objects.

    I did however find that VI would not let me use the Next operation on the EntryNo field but i was able to make this work by using the following in a Calculated statement.

    ""; coBusiness'GetNextEntryNo(Var$)

Reply
  • +1 in reply to David Speck
    verified answer

    Also, it seems Job Posting Entry automatically pads zeros on the left for each segment but VI doesn't do any automatic padding and i have been unable to find a method available to do this with the available business objects.

    I did however find that VI would not let me use the Next operation on the EntryNo field but i was able to make this work by using the following in a Calculated statement.

    ""; coBusiness'GetNextEntryNo(Var$)

Children
No Data