.title "Importer" .id 907020050404084700 .tags "manual" .body { dummy } /907020050404084709 { .title "Import error: Errors encountered when creating employees." .id 907020050404084709 .tags {error} .body { [ ::set ::Html ""; ::set ::Error_Line ""; ] [p { Importing your employees has failed. The reasons are listed below: }] [ ::set ::Text ""; ::if {[qw_s_args .multiple_suffix_employees]==1} { ::append ::Text [li [p "1 employee appears to have multiple GT accounts per earnings type."]]; } else { ::if {[qw_s_args .multiple_suffix_employees]>=2} { ::append ::Text [li [p "[qw_s_args .multiple_suffix_employees] employees appear to have multiple governement totals accounts per earnings type."]]; } } ::if {[::llength [qw_s_args .account_conflict_errors]]==1} { ::append ::Text [li [p "1 employee account is identified as a total GT account."]]; } else { ::if {[::llength [qw_s_args .account_conflict_errors]]>=2} { ::append ::Text [li [p "[::llength [qw_s_args .account_conflict_errors]] employee accounts are identified as total government totals accounts."]]; } } ::append ::Html [ul [::subst $::Text]]; ::append ::Html [p "Note: The error listing also has been stored in the file [qw_s_args .filename] should you need to refer to it."]; ::if {[qw_s_args .multiple_gt_errors] ne ""} { ::append ::Html [h3 "[qw_s_args .multiple_suffix_employees] employee(s) appear to have multiple government totals accounts"] ::append ::Html [h4 "The employees and accounts are:"] ::set ::Text ""; ::foreach ::Error_Line [qw_s_args .multiple_gt_errors] { ::append ::Text [li [p "$::Error_Line"]]; } ::append ::Html [ol [::subst $::Text]] ::if {[qw_s_args .multiple_suffix_errors] ne ""} { ::append ::Html [h4 "Probable Reason"] ::append ::Html [p { This is normally caused by conflicting settings found in the PAYRUN procedure, and in some cases the TCPROCES procedure. }] ::set ::Text ""; ::append ::Text {For example, in the procedure PAYRUN, the default settings may specify the }; ::append ::Text {%_1 earnings suffix to be [quote]%_2[quote], but a named setting (saved }; ::append ::Text {with [quote][qw_key F6] Save[quote]) specifies the %_1 earnings suffix to be }; ::append ::Text {[quote]%_3[quote], which is actually the suffix of your employees %_1 deduction account. }; # ::if {[qw_s_args .payroll_country] eq "CANADA"} { ::set ::Text [::string map {%_1 C.P.P. %_2 PE %_3 CPP} $::Text]; } else { ::set ::Text [::string map {%_1 F.U.T.A. %_2 FE %_3 FUTA} $::Text]; } ::append ::Html [p [::subst $::Text]]; # ::set ::Text ""; ::append ::Text {When the books are imported and employees are being created, the importer needs }; ::append ::Text {to identify the employee's %_1 earnings account, but based on the settings in the }; ::append ::Text {PAYRUN procedure the employee seems to have two; one with the suffix [quote]%_2[quote] }; ::append ::Text {and another with the suffix [quote]%_3[quote]. Only one is the correct Governemt Totals account, but there }; ::append ::Text {is no fool-proof way to determine which one it is. When this happens, the importer has no }; ::append ::Text {choice but to stop the import and notify of you conflicting settings found in the books and the errors they cause. }; ::append ::Text {The conflicting settings are: }; # ::if {[qw_s_args .payroll_country] eq "CANADA"} { ::set ::Text [::string map {%_1 C.P.P. %_2 PE %_3 CPP} $::Text]; } else { ::set ::Text [::string map {%_1 F.U.T.A. %_2 FE %_3 FUTA} $::Text]; } ::append ::Html [p [::subst $::Text]]; # ::set ::Text ""; ::foreach ::Error_Item [qw_s_args .multiple_suffix_errors] { ::append ::Html [p [::lindex $::Error_Item 0]]; ::set ::Text ""; ::foreach ::Error_Line [::lrange $::Error_Item 1 end] { ::append ::Text [li [p "$::Error_Line"]]; } ::append ::Html [ol [::subst $::Text]] } ::append ::Html [h4 "How to Correct the Problem"] ::append ::Html [p { To correct this situation, do the following: [ol { [li { [p { Examine the above error listing and explanation carefully. }] [p { It is probably a good idea to print this page as well. (Click the printer button at the top of this screen.) }] }] [li { [p { Click the [quote]Dismiss[quote] button on the error window. }] }] [li { [p { Click the [quote]Dismiss[quote] button on the import settings/progress window. }] }] [li { [p { Run NV1 and open the books you were importing. }] }] [li { [p { For each earnings type in the error list, determine what is in fact the correct suffix for the earning account on the Government Totals report. }] }] [li { [p { Run the procedure(s) in which conflicting settings were noted above. }] [p { If the error was in the default settings: [ul { [li { [p { Type in the correct suffix }] }] [li { [p { Press [qw_key F5] to store the correct setting. }] }] }] }] [p { If the error was in a named setting: [ul { [li { [p { Press [qw_key F7] (Pick) to display the named settings list }] }] [li { [p { Cursor to the name and press [qw_key Enter] to display the settings on the main procedure prompt }] }] [li { [p { Change the incorrect suffix setting to the correct suffix }] }] [li { [p { Press the [qw_key F6] (Save) key }] }] [li { [p { Cursor to the name and press [qw_key Enter]. }] }] [li { [p { Press [qw_key F4] to exit the procedure. }] }] }] }] [p { Alternatively, if a named setting contains the error, and you no longer use those settings: [ul { [li { [p { Press [qw_key F6] (Save) to display the named settings list }] }] [li { [p { Cursor to the name and press [qw_key F7] to delete the settings }] }] [li { [p { Press [qw_key F4] exit to close Save box. }] }] [li { [p { Press [qw_key F4] again to exit the procedure. }] }] }] }] }] [li { [p { Run the NVEXPORT procedure to export the NV1 data }] }] [li { [p { Run the NV1 Import again }] }] }] }] } } ::if {[qw_s_args .account_conflict_errors] ne ""} { ::if {[::llength [qw_s_args .account_conflict_errors]]==1} { ::append ::Html [h3 "1 employee account is identified as total government totals accounts."] } else { ::if {[::llength [qw_s_args .account_conflict_errors]]>=2} { ::append ::Html [h3 "[::llength [qw_s_args .account_conflict_errors]] employee accounts are identified as total government totals accounts."] } } ::set ::Text ""; ::append ::Text {Payroll procedure settings in the NV1 books contain one or more settings for government totals accounts that }; ::append ::Text {identify individual employee accounts as a total earnings account (which should be on the on the Government Totals report.) }; ::append ::Text {The settings that are causing these errors are:}; ::append ::Html [p [::subst $::Text]]; ::set ::Text ""; ::foreach ::Error_Line [qw_s_args .account_conflict_errors] { ::append ::Text [li [p "$::Error_Line"]]; } ::append ::Html [ol [::subst $::Text]] # ::append ::Html [h4 "Background Information"] ::set ::Text ""; ::append ::Text {The total earnings account fields in the NV1 payroll procedure prompts are used to identify the }; ::append ::Text {accounts to which balancing entries are posted when recording government totals amouns on an employee }; ::append ::Text {pay check. The accounts are not specific to any individual employee. }; ::append ::Text {}; ::append ::Text {}; ::append ::Html [p [::subst $::Text]]; # ::append ::Html [h4 "How to Correct the Problem"] ::append ::Html [p { To correct this situation, do the following: [ol { [li { [p { Examine the above error listing and explanation carefully. }] [p { It is probably a good idea to print this page as well. (Click the printer button at the top of this screen.) }] }] [li { [p { Click the [quote]Dismiss[quote] button on the error window. }] }] [li { [p { Click the [quote]Dismiss[quote] button on the import settings/progress window. }] }] [li { [p { Run NV1 and open the books you were importing. }] }] [li { [p { For each earnings type in the error list, determine what is in fact the correct total earning account on the Government Totals report. }] }] [li { [p { Run the procedure(s) noted in the error listing above. }] [p { If the error was in the default settings: [ul { [li { [p { Change the total earnings account to the correct account name }] }] [li { [p { Press [qw_key F5] to store the correct setting }] }] }] }] [p { If the error was in a named setting: [ul { [li { [p { Press [qw_key F7] (Pick) to display the named settings list }] }] [li { [p { Cursor to the name and press [qw_key Enter] to display the settings on the main procedure prompt }] }] [li { [p { Change the total earnings account to the correct account name }] }] [li { [p { Press the [qw_key F6] (Save) key }] }] [li { [p { Cursor to the name and press [qw_key Enter]. }] }] [li { [p { Press [qw_key F4] to exit the procedure. }] }] }] }] [p { Alternatively, if a named setting contains the error, and you no longer use those settings: [ul { [li { [p { Press [qw_key F6] (Save) to display the named settings list }] }] [li { [p { Cursor to the name and press [qw_key F7] to delete the settings }] }] [li { [p { Press [qw_key F4] exit to close the Save box. }] }] [li { [p { Press [qw_key F4] again to exit the procedure. }] }] }] }] }] [li { [p { Run the NVEXPORT procedure to export the NV1 data }] }] [li { [p { Run the NV1 Import again }] }] }] }] } ::if {[qw_s_args .cross_linked_account_errors]>0} { ::if {[qw_s_args .cross_linked_account_errors]==1} { ::append ::Html [h3 "1 payroll account appear to belong to more than one employee."] } else { ::append ::Html [h3 "[qw_s_args .cross_linked_account_errors] payroll accounts appear to belong to more than one employee."] } ::append ::Html [h4 "The employees and accounts are:"] ::set ::Text ""; ::foreach ::Error_Line [qw_s_args .cross_linked_account_error_list] { ::append ::Text [li [p "$::Error_Line"]]; } ::append ::Html [ol [::subst $::Text]] ::if {[qw_s_args .duplicate_id_errors]!=0} { ::append ::Html [h4 "Probable Reasons"] ::set ::Text ""; ::foreach ::Error_Line [qw_s_args .duplicate_id_error_list] { ::append ::Text [li [p "$::Error_Line"]]; } ::append ::Html [ol [::subst $::Text]] ::set ::Text ""; ::append ::Text {Having more than one employee payroll setup with the same prefix is a condition }; ::append ::Text {that the importer cannot unravel. The main problem is the fact that the Government Totals }; ::append ::Text {accounts found with a given prefix appear to belong to more then one employee. (See the }; ::append ::Text {errors above.) Since there is no foolproof way to determine whether (all) the employees with a given }; ::append ::Text {prefix are in fact the same person, there is no way to accuarately assign the amounts in these accounts }; ::append ::Text {to the correct employee.}; ::append ::Html [p [::subst $::Text]]; ::set ::Text ""; ::append ::Text {To correct this condition, you must}; ::append ::Html [p [::subst $::Text]]; ::set ::Text ""; ::append ::Text [li [p "For each duplicated employee prefix, rename the accounts for one of the employees to a different (and unique) prefix."]]; ::append ::Html [ul [::subst $::Text]] ::append ::Html [p "or"]; ::set ::Text ""; ::append ::Text [li [p "Use the MOVELEDG procedure to move the transactions from the accounts of one employee setup to the corresponding account of the other employee. Theen delete the empty accounts."]]; ::append ::Html [ul [::subst $::Text]] ::append ::Html [p "When the duplicate employees are corrected, export the books again using the NVEXPORT procedure and attempt the NV2 import again."]; } else { ::set ::Text ""; ::append ::Text {The importer could not determine any obvious reason for this error.}; ::append ::Text {Please contact Q.W.Page Technical Support for further instructions.}; ::append ::Html [p [::subst $::Text]]; } } ::append ::Html ""; ] } }