 Error in executing Long_job_description1 view script. |
 Error. |
 Error in executing Set Variable task. Unable to update template variable wage. |
 Error evaluating NUMERIC expression : |
 Error evaluating NUMERIC expression : Unable to perform the operation * over the operand 10 and null. |
 Error performing the operation * : Error. |
 Error performing the operation * : Error. |
 The value of variable hourly_wage1 is null. Can someone help me?
Thank you very much!
Here is the entire code:
- <%{%>
- <p>
- <!--Declaring variables-->
- <%for each x in Job
- {
- if (x.ID == input.JobID.toLong())
- {
- currentJob = x;
- }
- }%>
- <%for each y in Service_partners
- {
- if (y.ID == currentJob.spID)
- {
- currentSP = y;
- }
- }%>
- <!--Boolean conversion into text-->
- <%if (currentJob.Type_of_transcription == "Please transcribe everything word by word.")
- {
- txt = "Everything needs to be transcribed precisely. Fillerwords and non-verbal elements of communication are included.";
- }%>
- <%if (currentJob.Type_of_transcription == "Content focused - please transcribe to get the content across clearly. Omit repetitions, self corrections etc.")
- {
- txt = "The focus lies on readability. Fillerwords and non-verbal elements of communication are omitted. Dialect and colloquial language elements approximated to standard language.";
- }%>
- <%if (currentJob.addon_1)
- {
- Addon_1 = "Transcribe interjections which are used to fill pauses. ";
- }%>
- <%if (!currentJob.addon_1)
- {
- Addon_1 = "Omit interjections which are used to fill pauses.";
- }%>
- <%if (currentJob.addon_2)
- {
- Addon_2 = "Include interjections which are monosyllabic answers. (positive: ‘mh = hm’, ‘ah = ha’ or negative: ‘hm = mh’, ‘eh = eh’). If necessary write them as ‘mhm (affirmative)’ or ‘hm-m (negative)’.";
- }%>
- <%if (!currentJob.addon_2)
- {
- Addon_2 = "Omit interjections which are monosyllabic answers. (like ‘mh = hm’)";
- }%>
- <%if (currentJob.addon_3)
- {
- Addon_3 = ("Indicate pauses in the speech by full stops in parentheses, corresponding to the pause length from 1 second (.) to three (…) seconds.");
- }%>
- <%if (!currentJob.addon_3)
- {
- Addon_3 = "Do not transcribe pauses in the speech.";
- }%>
- <%if (currentJob.addon_4)
- {
- Addon_4 = "Indicate an interruption with a note in parentheses.(food is served), (phone rings)";
- }%>
- <%if (!currentJob.addon_4)
- {
- Addon_4 = "Do not indicate interruptions of the audio, for example if a phone rings.";
- }%>
- <%if (currentJob.addon_5)
- {
- Addon_5 = "Insert a time stamp at the end of every page. (hh:mm:ss)";
- }%>
- <%if (!currentJob.addon_5)
- {
- Addon_5 = "You don't have to insert time stamps at the end of every page. Only use them to mark words you are uncertain about (see 'Guidelines for transcription').";
- }%>
- <!--Fetching variables-->
- <Êtegory = Transcription_category[Price == currentJob.Category].Percent;%>
- <%Currency_code = Country[Country == currentSP.Country1].Currency_code;%>
- <%hourly_wage1 = Country[Country == currentSP.Country1].hourly_wage1;%>
- <%wage = (currentJob.Time_allocated_to_Service_Partner_in_hour * hourly_wage1 * Category);%>
- <!--Content-->
- <p><%=currentSP.Last_Name%></p>
- <h1><%=currentJob.job_title%></h1>
- <p>Type of job: <%=currentJob.Type_of_job%></p>
- <p>Language: <%=currentJob.Language_1%></p>
- <p>Deadline: <%=currentJob.Intern_deadline%></p>
- <p>Time allocated (in hours): <%=currentJob.Time_allocated_to_Service_Partner_in_hour%></p>
- <p>Wage: <%=wage%> <%=Currency_code%></p>
- <p>Payment category: <%=Category%>%</p>
- </p>
|