is_system
)
VALUES
- ('Pay', 'Payment', 0, 1),
- ('PAY', 'Payment', 0, 1),
+ ('PAYMENT', 'Payment', 0, 1),
('W', 'Writeoff', 0, 1),
('WO', 'Writeoff', 0, 1),
('FORGIVEN', 'Forgiven', 1, 1),
}
);
+ # Update accountype 'Pay' to 'PAYMENT'
+ $dbh->do(
+ qq{
+ UPDATE accountlines SET accounttype = 'PAYMENT' WHERE accounttype = 'Pay' OR accounttype = 'PAY'
+ }
+ );
+
# Populating credit_type_code
$dbh->do(
qq{