Net Pay $0 in pay stub

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Net Pay $0 in pay stub

Post by arcolen »

hi, why in some of all pay stubs the net pay apears $0???

Some employes have net pay $xxxx.xx and others $0 :?

How can i fixit?

Regards

Alexis from Argentina
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Please provide more information. What are the total earnings for employees with $0 net pay?
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

the earnings are not the same for those employees.

this ocurs on some months, someone are good but others show $0

i supouse its a bad insert of the data in the database.

tomorow i will examine the database for find some error.

Regards

Alexis from Argentina
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

hi, i was cheking the database, truncating some tables and making new pay stubs

the problem seems to be in the table pay_stub_entry because the pay stub with the net pay an some more thinks good had 18 rows in that table.
and the pay stubs with net pay 0 has 17 or less rows.

if i truncate all pay_stubs related tables, the problem of 0 net pay its in all pay_stubs

maibe its a configuration issue, because my boss doesnt remember if they do any change in the configuration.

We are recently testing timetrex for use it in the company.

i'am a php programer designed to modify timetrex with the requirements of the company once the timetrex have aproved by my boss.

Because we are from argentina some stuff of timetrex doesnt match with our law, and we have to changeit. Once i made the changes i will upload to the forum for who wanted.

Regards

Alexis from Argentina
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

if you want a database copy tell me where i sendit :roll:
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

version of timetrex 2.2.15
we start in 2.2.13 and upgrading in every new version
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Its more likely a setup issue then a bug.

However you haven't provided any detailed information on your setup so we are unable to help you figure out what the issue is.
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

gibme your mail then i send you the database copy, and check it

the setup of the timetrex doit my boss.

Regards
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Lets start with the basics. What are the exact numbers for each line item on the pay stubs with a $0 net pay? Can you post copies of the pay stubs?
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

this is good:

Code: Select all

INSERT INTO `pay_stub` VALUES (1181, 11, 8, 25, 1224266362, 1, 0, 1224266062, 1, 1224266362, 1, NULL, NULL, 0, '2008-08-01 01:00:23', '2008-08-31 01:00:23', '2008-09-01 01:00:23', 1, 0, 2, 1.0000000000);

INSERT INTO `pay_stub_entry` VALUES (2054, 1181, 0.00, 175.00, 199.00, 1934.28, 3868.56, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 15, NULL);
INSERT INTO `pay_stub_entry` VALUES (2055, 1181, 0.00, 0.00, 8.00, 0.00, 76.72, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 39, NULL);
INSERT INTO `pay_stub_entry` VALUES (2056, 1181, 9.59, 8.00, 8.00, 76.72, 76.72, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 40, NULL);
INSERT INTO `pay_stub_entry` VALUES (2057, 1181, 1.28, 5.00, 8.00, 6.39, 10.23, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 4, NULL);
INSERT INTO `pay_stub_entry` VALUES (2058, 1181, 0.00, 0.00, 0.00, 402.20, 804.40, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 16, NULL);
INSERT INTO `pay_stub_entry` VALUES (2059, 1181, 0.00, 0.00, 0.00, 15.75, 31.50, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 19, NULL);
INSERT INTO `pay_stub_entry` VALUES (2060, 1181, 0.00, 0.00, 0.00, 0.00, 111.00, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 20, NULL);
INSERT INTO `pay_stub_entry` VALUES (2061, 1181, 0.00, 0.00, 0.00, 111.00, 111.00, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 57, NULL);
INSERT INTO `pay_stub_entry` VALUES (2062, 1181, 0.00, 0.00, 0.00, 30.17, 30.17, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 61, NULL);
INSERT INTO `pay_stub_entry` VALUES (2063, 1181, 0.00, 0.00, 0.00, 280.10, 559.92, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 23, NULL);
INSERT INTO `pay_stub_entry` VALUES (2064, 1181, 0.00, 0.00, 0.00, 76.39, 152.70, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 24, NULL);
INSERT INTO `pay_stub_entry` VALUES (2065, 1181, 0.00, 0.00, 0.00, 76.39, 152.70, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 25, NULL);
INSERT INTO `pay_stub_entry` VALUES (2066, 1181, 0.00, 0.00, 0.00, 50.93, 101.81, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 26, NULL);
INSERT INTO `pay_stub_entry` VALUES (2067, 1181, 0.00, 0.00, 0.00, 600.00, 1200.00, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 34, NULL);
INSERT INTO `pay_stub_entry` VALUES (2068, 1181, 0.00, 188.00, 188.00, 3176.51, 3176.51, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 11, NULL);
INSERT INTO `pay_stub_entry` VALUES (2069, 1181, 0.00, 0.00, 0.00, 483.81, 483.81, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 12, NULL);
INSERT INTO `pay_stub_entry` VALUES (2070, 1181, 0.00, 0.00, 0.00, 0.00, 0.00, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 59, NULL);
INSERT INTO `pay_stub_entry` VALUES (2071, 1181, 0.00, 0.00, 0.00, 2692.70, 2692.70, '', 1224266362, 1, 1224266362, 1, NULL, NULL, 0, 60, NULL);
this is $0:

Code: Select all

INSERT INTO `pay_stub` VALUES (1191, 13, 8, 25, 1225386333, 1, 0, 1225386333, 1, 1225386335, 1, NULL, NULL, 0, '2008-09-01 01:00:23', '2008-10-01 01:00:22', '2008-10-06 13:00:23', 0, 0, 2, 1.0000000000);

INSERT INTO `pay_stub_entry` VALUES (2223, 1191, 9.59, 8.00, 16.00, 76.72, 153.44, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 40, NULL);
INSERT INTO `pay_stub_entry` VALUES (2224, 1191, 0.00, 179.50, 378.50, 1934.28, 5802.84, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 15, NULL);
INSERT INTO `pay_stub_entry` VALUES (2225, 1191, 14.39, 9.50, 9.50, 136.66, 136.66, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 2, NULL);
INSERT INTO `pay_stub_entry` VALUES (2226, 1191, 1.28, 9.50, 17.50, 12.14, 22.37, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 4, NULL);
INSERT INTO `pay_stub_entry` VALUES (2227, 1191, 0.00, 0.00, 0.00, 111.00, 222.00, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 57, NULL);
INSERT INTO `pay_stub_entry` VALUES (2228, 1191, 0.00, 0.00, 0.00, 15.75, 47.25, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 19, NULL);
INSERT INTO `pay_stub_entry` VALUES (2229, 1191, 0.00, 0.00, 0.00, 600.00, 1800.00, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 34, NULL);
INSERT INTO `pay_stub_entry` VALUES (2230, 1191, 0.00, 0.00, 0.00, 402.20, 1206.60, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 16, NULL);
INSERT INTO `pay_stub_entry` VALUES (2231, 1191, 0.00, 0.00, 0.00, 30.17, 60.34, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 61, NULL);
INSERT INTO `pay_stub_entry` VALUES (2232, 1191, 0.00, 0.00, 0.00, 295.76, 855.68, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 23, NULL);
INSERT INTO `pay_stub_entry` VALUES (2233, 1191, 0.00, 0.00, 0.00, 80.66, 233.36, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 25, NULL);
INSERT INTO `pay_stub_entry` VALUES (2234, 1191, 0.00, 0.00, 0.00, 80.66, 233.36, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 24, NULL);
INSERT INTO `pay_stub_entry` VALUES (2235, 1191, 0.00, 0.00, 0.00, 53.78, 155.59, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 26, NULL);
INSERT INTO `pay_stub_entry` VALUES (2236, 1191, 0.00, 0.00, 8.00, 0.00, 76.72, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 39, NULL);
INSERT INTO `pay_stub_entry` VALUES (2237, 1191, 0.00, 0.00, 0.00, 0.00, 111.00, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 20, NULL);
INSERT INTO `pay_stub_entry` VALUES (2238, 1191, 0.00, 206.50, 394.50, 3318.92, 6495.43, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 11, NULL);
INSERT INTO `pay_stub_entry` VALUES (2239, 1191, 0.00, 0.00, 0.00, 510.86, 994.67, '', 1225386335, 1, 1225386335, 1, NULL, NULL, 0, 12, NULL);
this is the entry accounts:

Code: Select all

INSERT INTO `pay_stub_entry_account` VALUES (1, 1, 10, 10, 100, 'Tiempo Regular', 0, NULL, NULL, 1217947386, NULL, 1223059926, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (2, 1, 10, 10, 4, 'horas extras al 50%', 0, '004', NULL, 1217947386, NULL, 1223399580, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (3, 1, 10, 10, 151, 'horas nocturnas1', 0, 'horas nocturnas1', NULL, 1217947386, NULL, 1220460819, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (4, 1, 10, 10, 7, 'premiun 1 horas noc', 0, '007', NULL, 1217947386, NULL, 1223046043, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (5, 1, 10, 10, 171, 'Premium 2', NULL, NULL, NULL, 1217947386, NULL, 1221675618, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (6, 1, 10, 10, 185, 'Bonus', NULL, NULL, NULL, 1217947386, NULL, 1221675618, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (7, 1, 10, 10, 189, 'Other', NULL, NULL, NULL, 1217947386, NULL, 1221675618, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (8, 1, 10, 20, 285, 'Union Dues', NULL, NULL, NULL, 1217947386, NULL, 1221675618, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (9, 1, 10, 20, 225, 'Benefits Plan', NULL, NULL, NULL, 1217947387, NULL, 1221675618, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (10, 1, 10, 30, 330, 'Benefits Plan', 0, NULL, NULL, 1217947387, NULL, 1221675618, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (11, 1, 10, 40, 199, 'Total Haberes Bruto', 0, '199', NULL, 1217947387, NULL, 1225384517, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (12, 1, 10, 40, 298, 'Total de Deducciones', 0, '', '298', 1217947387, NULL, 1223047658, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (13, 1, 10, 40, 299, 'Haberes Netos', 0, '299', NULL, 1217947387, NULL, 1225386213, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (14, 1, 20, 40, 399, 'Total Contribuciones del Empleador', 0, NULL, NULL, 1217947387, NULL, 1223056927, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (15, 1, 10, 10, 1, 'Horas normales', 0, '001', '', 1217974773, 1, 1223488006, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (16, 1, 10, 10, 8, 'Asistencia', 0, '008', '', 1217974840, 1, 1223046077, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (17, 1, 10, 10, 3, 'Antiguedad', 0, 'Antiguedad', '', 1217974911, 1, 1221675616, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (18, 1, 10, 10, 4, 'Art. 47 del Convenio Colectivo', 0, 'Art. 47 del convenio Colectivo', '', 1217974993, 1, 1221675616, 1, NULL, NULL, 1);

INSERT INTO `pay_stub_entry_account` VALUES (19, 1, 10, 10, 9, 'Subsidio Esposa', 0, '009', '', 1217975062, 1, 1223046106, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (20, 1, 10, 10, 10, 'Bonificacion Leche1', 0, '010', '', 1217975122, 1, 1223050462, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (21, 1, 10, 10, 7, 'Titulo', 0, 'Titulo', '', 1217975158, 1, 1221675617, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (22, 1, 10, 10, 8, 'Vacaciones', 0, 'Vacaciones', '', 1218034182, 1, 1221675617, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (23, 1, 10, 20, 200, 'Aporte Jubilatorio 11%', 0, '', '200', 1218036364, 1, 1223046658, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (24, 1, 10, 20, 201, 'Ley 19032 3%', 0, '', '201', 1218036821, 1, 1223046693, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (25, 1, 10, 20, 203, 'Obra social 3%', 0, '', '203', 1218037008, 1, 1223046731, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (26, 1, 10, 20, 204, 'Cuota Sindical 2 %', 0, '', '204', 1218037124, 1, 1223046772, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (27, 1, 10, 20, 205, 'Mutual Ampil 3%', 0, '', '205', 1218119626, 1, 1223046803, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (28, 1, 10, 20, 6, 'Caja de Ayuda Mutua 2%', 0, '', 'Caja de Ayuda Mutua 2%', 1218119937, 1, 1221675616, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (29, 1, 10, 20, 7, 'Embargo Retenciones', 0, '', 'Embargo Retenciones', 1218120123, 1, 1221675617, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (30, 1, 10, 20, 8, 'Cuota Alimentaria Retenciones', 0, '', 'Cuota Alimentaria Retenciones', 1218120217, 1, 1221675617, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (31, 1, 10, 10, 1, 'Asignación por hijo', 0, 'Asignacion por hijo', '', 1218120613, 1, 1221675615, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (32, 1, 10, 10, 2, 'Prenatal', 0, 'Prenatal', '', 1218120770, 1, 1221675615, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (33, 1, 10, 10, 3, 'Ayuda Escolar', 0, 'Ayuda Escolar', '', 1218120844, 1, 1221675616, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (34, 1, 10, 10, 301, 'Adicional no remunerativo', 0, '301', '', 1218120968, 1, 1225383761, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (35, 1, 10, 20, 9, 'cuota sindical NA 1.5%', 0, '', 'cuota sindical NA1.5%', 1218127528, 1, 1221675617, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (36, 1, 10, 10, 9, 'Decreto 1295/05', 0, 'Decreto 1295/05', '', 1218466226, 1, 1221675617, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (37, 1, 10, 40, 10, 'total conceptos no remunerativos', 13, 'conceptos no remunerativos', '', 1220280654, 1, 1221675617, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (38, 1, 10, 10, 152, 'horas extras al 100%', 0, 'horas extras al 100%', '', 1220457439, 1, 1221675618, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (39, 1, 10, 10, 2, 'Enfermedad Horas Normales', 0, '002', '', 1220550056, 1, 1223045795, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (40, 1, 10, 10, 3, 'Feriado', 0, '003', '', 1220550121, 1, 1223401252, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (41, 1, 10, 10, 5, 'Enfermedad en H Extras al 50%', 0, '005', '', 1220550488, 1, 1223045878, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (42, 1, 10, 10, 6, 'Enfermedad en Hs Nocturnas', 0, '006', '', 1220550575, 1, 1223054671, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (43, 1, 20, 10, 150, 'Over Time 1', 0, NULL, NULL, 1221675675, 1, 1223046161, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (44, 1, 20, 10, 151, 'Over Time 2', 0, NULL, NULL, 1221675675, 1, 1223046194, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (45, 1, 20, 10, 170, 'Premium 1', 0, NULL, NULL, 1221675675, 1, 1223046484, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (46, 1, 20, 10, 171, 'Premium 2', 0, NULL, NULL, 1221675675, 1, 1223046507, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (47, 1, 20, 10, 185, 'Bonus', 0, NULL, NULL, 1221675675, 1, 1223046532, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (48, 1, 20, 10, 189, 'Otro', 0, NULL, NULL, 1221675675, 1, 1223046576, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (49, 1, 10, 20, 285, 'Cuota Alimentaria', 0, NULL, '285', 1221675675, 1, 1223050978, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (50, 1, 10, 20, 225, 'Embargo Retenciones', 0, '', '225', 1221675675, 1, 1223050936, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (51, 1, 20, 30, 330, 'Benefits Plan', 0, NULL, NULL, 1221675675, 1, 1221679135, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (52, 1, 10, 40, 199, 'Total Gross', NULL, NULL, NULL, 1221675675, 1, 1221678759, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (53, 1, 10, 40, 298, 'Total Deductions', NULL, NULL, NULL, 1221675675, 1, 1221678378, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (54, 1, 10, 40, 299, 'Net Pay', NULL, NULL, NULL, 1221675676, 1, 1221678268, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (55, 1, 10, 40, 399, 'Employer Total Contributions', NULL, NULL, NULL, 1221675676, 1, 1221678395, 1, NULL, NULL, 1);
INSERT INTO `pay_stub_entry_account` VALUES (56, 1, 10, 10, 302, 'Asignacion por hijo', 0, '302', '', 1223050381, 1, 1223050381, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (57, 1, 10, 10, 11, 'Bonificacion por leche2', 0, '011', '', 1223050501, 1, 1223050501, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (58, 1, 10, 20, 206, 'Ciota Sindical NA 1,5%', 0, '', '206', 1223050663, 1, 1223050684, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (59, 1, 10, 40, 310, 'Total conceptos no remunerativos', 0, '310', '', 1223051604, 1, 1225383157, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (60, 1, 20, 40, 311, 'Neto a Percibir', 0, '311', '', 1223051823, 1, 1225387902, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (61, 1, 10, 10, 12, 'Antiguedad', 0, '012', '', 1223396128, 1, 1223396128, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (62, 1, 10, 10, 13, 'horas extras sabado 100%', 0, '013', '', 1223400462, 1, 1223400462, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (63, 1, 10, 10, 14, 'horas extras domingo 100%', 0, '014', '', 1223400497, 1, 1223400497, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (64, 1, 10, 10, 15, 'Vacaciones', 0, '015', '', 1224259833, 1, 1224259833, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (65, 1, 10, 10, 16, 'Mudanza', 0, '016', '', 1224259954, 1, 1224259954, 1, NULL, NULL, 0);
INSERT INTO `pay_stub_entry_account` VALUES (66, 1, 10, 10, 17, 'Compensar Aguinaldo', 0, '017', '', 1224260049, 1, 1224260049, 1, NULL, NULL, 0);
if you need something more let me know it ;)
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Please post copies of the pay stubs themselves, not the raw data from the database.
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

a screenshot of the pay stub?
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

net pay 0 bad
ImageImage

net pay good

ImageImage
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

The issue appears to be with the order value of your pay stub accounts.

Pay stub accounts should all be grouped together by there order value.

For example:

Earnings
Earnings
Earnings
Earnings
Earnings Total

Employee Deductions
Employee Deductions
Employee Deductions
Employee Deductions
Employee Deductions Total

Employer Deductions
Employer Deductions
Employer Deductions
Employer Deductions
Employer Deductions Total

Accruals
Accruals

Here is another example:
1 Earning Regular Time 100 [ Edit ]
2 Earning Over Time 1 150 [ Edit ]
3 Earning Over Time 2 151 [ Edit ]
4 Earning Premium 1 170 [ Edit ]
5 Earning Premium 2 171 [ Edit ]
6 Earning Vacation Accrual Release 180 [ Edit ]
7 Earning Bonus 185 [ Edit ]
8 Earning Other 189 [ Edit ]
9 Total Total Gross 199 [ Edit ]
10 Employee Deduction Federal Income Tax 210 [ Edit ]
11 Employee Deduction Provincial Income Tax 220 [ Edit ]
12 Employee Deduction Additional Income Tax 230 [ Edit ]
13 Employee Deduction CPP 240 [ Edit ]
14 Employee Deduction EI 250 [ Edit ]
15 Employee Deduction Union Dues 285 [ Edit ]
16 Total Total Deductions 298 [ Edit ]
17 Total Net Pay 299 [ Edit ]
18 Employer Deduction CPP - Employer 300 [ Edit ]
19 Employer Deduction EI - Employer 310 [ Edit ]
20 Employer Deduction WCB - Employer 320 [ Edit ]
21 Employee Deduction Benefits Plan 325 [ Edit ]
22 Employer Deduction Benefits Plan 330 [ Edit ]
23 Total Employer Total Contributions 349 [ Edit ]
24 Accrual Vacation Accrual 350 [ Edit ]
My guess is your pay stub accounts look something like this instead:


Earnings
Earnings
Earnings
Earnings
Employee Deductions
Earnings Total
Earnings

Employee Deductions
Employee Deductions
Employer Deductions
Employer Deductions
Employee Deductions
Employee Deductions
Employee Deductions Total
Employee Deductions

Employer Deductions
Employer Deductions
Employer Deductions
Employer Deductions
Employer Deductions Total
Employer Deductions

That will not work and cause very strange results. The latest version of TimeTrex tries to prevent this from happening, but it can't prevent 100% of the cases.

If you copy and paste all your pay stub accounts and their order values (in order) I can tell you exactly where the issue is.
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

my boss order in that way because of laws on argentina, and the methods or make pay stubs, example:

"adicional no remunerativo" not have to be in earnings, but must count as earning, thats the motiv of the order.

i will try tomorow of order fine the earnings.

the order in the pay stub i will make it directly in the factory class , of that way we dont have to modifi thinks in the database, and the timetrex run well

Thanks
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Trying to circumvent the order process is extremely complicated and in depth. Its not just a display issue, its how things are calculated deep within the code. I don't recommend it at all.
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

do you mean in the php class??

dont worry i modified some things and works greate!!
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

We modify the order but still not working, here is the order:

Code: Select all

#  Tipo 	Nombre 	Orden 	Cuenta de Débito 	Cuenta de Crédito 	Funciones 	
1 	Ganancia 	Tiempo Regular 	100 			[ Editar ] 	
2 	Ganancia 	Horas normales 	101 	001 	-- 	[ Editar ] 	
3 	Ganancia 	Enfermedad Horas Normales 	102 	002 	-- 	[ Editar ] 	
4 	Ganancia 	Feriado 	103 	003 	-- 	[ Editar ] 	
5 	Ganancia 	horas extras al 50% 	104 	004 		[ Editar ] 	
6 	Ganancia 	Enfermedad en H Extras al 50% 	105 	005 	-- 	[ Editar ] 	
7 	Ganancia 	Enfermedad en Hs Nocturnas 	106 	006 	-- 	[ Editar ] 	
8 	Ganancia 	premiun 1 horas noc 	107 	007 		[ Editar ] 	
9 	Ganancia 	Asistencia 	108 	008 	-- 	[ Editar ] 	
10 	Ganancia 	Subsidio Esposa 	109 	009 	-- 	[ Editar ] 	
11 	Ganancia 	Bonificacion Leche1 	110 	010 	-- 	[ Editar ] 	
12 	Ganancia 	Bonificacion por leche2 	111 	011 	-- 	[ Editar ] 	
13 	Ganancia 	Antiguedad 	112 	012 	-- 	[ Editar ] 	
14 	Ganancia 	horas extras sabado 100% 	113 	013 	-- 	[ Editar ] 	
15 	Ganancia 	horas extras domingo 100% 	114 	014 	-- 	[ Editar ] 	
16 	Ganancia 	Vacaciones 	115 	015 	-- 	[ Editar ] 	
17 	Ganancia 	Mudanza 	116 	016 	-- 	[ Editar ] 	
18 	Ganancia 	Compensar Aguinaldo 	117 	017 	-- 	[ Editar ] 	
19 	Ganancia 	Over Time 1 	150 			[ Editar ] 	
20 	Ganancia 	Over Time 2 	151 			[ Editar ] 	
21 	Ganancia 	Premium 1 	170 			[ Editar ] 	
22 	Ganancia 	Premium 2 	171 			[ Editar ] 	
23 	Ganancia 	Bonus 	185 			[ Editar ] 	
24 	Ganancia 	Otro 	189 			[ Editar ] 	
25 	Ganancia 	Adicional no remunerativo 	190 	301 	-- 	[ Editar ] 	
26 	Ganancia 	Asignacion por hijo 	191 	302 	-- 	[ Editar ] 	
27 	Total 	Total Haberes Bruto 	199 	199 		[ Editar ] 	
28 	Deducción del Empleado 	Aporte Jubilatorio 11% 	200 	-- 	200 	[ Editar ] 	
29 	Deducción del Empleado 	Ley 19032 3% 	201 	-- 	201 	[ Editar ] 	
30 	Deducción del Empleado 	Obra social 3% 	203 	-- 	203 	[ Editar ] 	
31 	Deducción del Empleado 	Cuota Sindical 2 % 	204 	-- 	204 	[ Editar ] 	
32 	Deducción del Empleado 	Mutual Ampil 3% 	205 	-- 	205 	[ Editar ] 	
33 	Deducción del Empleado 	Ciota Sindical NA 1,5% 	206 	-- 	206 	[ Editar ] 	
34 	Deducción del Empleado 	Embargo Retenciones 	225 	-- 	225 	[ Editar ] 	
35 	Deducción del Empleado 	Cuota Alimentaria 	285 		285 	[ Editar ] 	
36 	Total 	Total de Deducciones 	298 	-- 	298 	[ Editar ] 	
37 	Total 	Haberes Netos 	299 	299 		[ Editar ] 	
38 	Total 	Total conceptos no remunerativos 	310 	310 	-- 	[ Editar ] 	
39 	Total 	Neto a Percibir 	311 	311 	-- 	[ Editar ] 	
40 	Deducciones del Empleador 	Benefits Plan 	330 			[ Editar ] 	
41 	Total 	Total Contribuciones del Empleador 	399 			[ Editar ]
deductions:

Code: Select all

#  Tipo 	Nombre 	Calculo 	Orden de calculo 	Funciones 	
1 	Impuesto 	Asistencia 	Porcentaje 	8 	[ Editar ] [ Configuración del Empleado ] 	
2 	Impuesto 	Subsidio Esposa 	Cantidad Fija 	9 	[ Editar ] [ Configuración del Empleado ] 	
3 	Impuesto 	bonificacion por leche 1 	Cantidad Fija 	10 	[ Editar ] [ Configuración del Empleado ] 	
4 	Impuesto 	bonificacion por leche 2 	Cantidad Fija 	11 	[ Editar ] [ Configuración del Empleado ] 	
5 	Impuesto 	Antiguedad 	Porcentaje 	12 	[ Editar ] [ Configuración del Empleado ] 	
6 	Deducción 	Aporte Jubilatorio 11% 	Porcentaje 	200 	[ Editar ] [ Configuración del Empleado ] 	
7 	Deducción 	Ley 19032 3% 	Porcentaje 	201 	[ Editar ] [ Configuración del Empleado ] 	
8 	Deducción 	Obra social 3% 	Porcentaje 	203 	[ Editar ] [ Configuración del Empleado ] 	
9 	Deducción 	Cuota Sindical 2% 	Porcentaje 	204 	[ Editar ] [ Configuración del Empleado ] 	
10 	Deducción 	Mutual Ampil 3% 	Porcentaje 	205 	[ Editar ] [ Configuración del Empleado ] 	
11 	Deducción 	Cuota Sindical NA 1,5% 	Porcentaje 	206 	[ Editar ] [ Configuración del Empleado ] 	
12 	Deducción 	Embargo Retenciones 	Cantidad Fija 	225 	[ Editar ] [ Configuración del Empleado ] 	
13 	Deducción 	Cuota Alimentaria 	Cantidad Fija 	285 	[ Editar ] [ Configuración del Empleado ] 	
14 	Impuesto 	Adicional no remunerativo 	Cantidad Fija 	301 	[ Editar ] [ Configuración del Empleado ] 	
15 	Impuesto 	Asignacion por hijo 	Cantidad Fija 	302 	[ Editar ] [ Configuración del Empleado ] 
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

can you help me?
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

The order is still incorrect. It needs to match what I described a few posts earlier.
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

can you tell me what is wrong?

thanks again
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

I don't speak Spanish, so I can't say for sure, but it appears as though you've created additional "Total" accounts that TimeTrex surely doesn't know how to handle.

Failing that, you can always install a test TimeTrex system which will create the default pay stub accounts for you, then match your current system up to those.
arcolen
Posts: 57
Joined: Mon Nov 03, 2008 6:49 am

Post by arcolen »

fixed

we use the default button., and that fix the problem.

thanks
Locked