TaxCode
BasicRate
AllowanceRate
DaysAbsent
HoursLate
HoursOvertime
BasicPay
OvertimePay
OtherIncome
AllowancePay
RegularPay
SupplementaryPay
RegularPayForMonth
SSS
SSSER
SSSEC
PHIC
PHICER
HDMF
HDMFER
NetRegularPay
WTax
L_SSSBB
L_SSSAdj
L_SSS
L_SSSEB
L_PABB
L_PAAdj
L_PA
L_PAEB
LoanDeductions
NetPay
Trace
Payscript
LOGIN to Download Payscript

Note: The sample paysheets and payscripts are meant for illustration purposes only.
It is the user's responsibility to verify compliance with government regulations and company policies.

this is the message i get when i click the edit & cloick me on the payscript editor: (I copied and pasted the new script editor is this correct?)joshgroban
<<<1>>>
Ang Unang Sweldista2009-Jul-31LOGIN to Reply|Report
0 replies
Rating: 0
I forgot that there should be a semi-colon after 0.

numeric output var L_SSSBB = 0; //PreviousPay.L_SSSEB;

End the statement with a semi-colon if the original statement had a semi-colon.

Hope this helps.
Ang Unang Sweldista2009-Jul-31LOGIN to Reply|Report
0 replies
Rating: 0
I forgot that there should be a semi-colon after 0.

numeric output var L_SSSBB = 0; //PreviousPay.L_SSSEB;

End the statement with a semi-colon if the original statement had a semi-colon.

Hope this helps.
Ang Unang Sweldista2009-Jul-31LOGIN to Reply|Report
0 replies
Rating: 0
Try commenting out 'PreviousPay.L_SSSEB'
by replacing it with '0 // PreviousPay.L_SSSEB'

This will result in:
numeric output var L_SSSBB = 0 //PreviousPay.L_SSSEB;

Do this for all the initializations using PreviousPay the save it by clicking on 'click me'.

After this, you can uncomment the initialization by removing //, resulting in:

numeric output var L_SSSBB = PreviousPay.L_SSSEB;

The reason for this is that (current version of) the script editor cannot identify the new variable 'L_SSSEB' until you have it successfully parsed first by 'click me'. Once it has been identified as a new variable (by 'click me'), you can use 'PreviousPay' with the variable it already has identified.
joshgroban2009-Jul-30LOGIN to Reply|Report
3 replies
Rating: 0
this is the message i get when i click the edit & cloick me on the payscript editor: (I copied and pasted the new script editor is this correct?)
Column 'L_SSSEB' does not belong to table PayPrev.

[5530][numeric output var L_SSSBB = PreviousPay.L_SSSEB;


numeric input var L_SSSAdj = 0.0;


numeric input var L_SSS = PreviousPay.L_SSS
{
var EB = L_SSSBB + L_SSSAdj - L_SSS;


if( EB < 0.0 )
L_SSS = L_SSSBB + L_SSSAdj;
}


numeric output var L_SSSEB = L_SSSBB + L_SSSAdj - L_SSS;
}
LoanTotal = LoanTotal + L_SSS;
;

{

numeric output var L_PABB = PreviousPay.L_PAEB;


numeric input var L_PAAdj = 0.0;


numeric input var L_PA = PreviousPay.L_PA
{
var EB = L_PABB + L_PAAdj - L_PA;


if( EB < 0.0 )
L_PA = L_PABB + L_PAAdj;
}


numeric output var L_PAEB = L_PABB + L_PAAdj - L_PA;
}
LoanTotal = LoanTotal + L_PA;
;
}]
<<<1>>>
4 messages

email:info@sweldista.com or call:(+632)757-2381
Ledgea Systems Inc.