You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, @jmgasper do you know any valid payment term id ? I checked many billing accounts on dev environment, but all of them's payment term are null. When we fetch the billing account data, it will associate payment_terms table on SQL level.
SELECT p.project_id AS id,
p.name AS name,
pt.payment_terms_id AS paymentTerms_id,
pt.description AS paymentTerms_description,
RTRIM(decode (p.active, 1, 'Active', 'Inactive')) AS status,
p.sales_tax AS salesTax,
p.po_box_number AS poNumber,
p.start_date AS startDate,
p.end_date AS endDate,
p.budget AS budgetAmount,
p.creation_date AS createdAt,
p.creation_user AS createdBy,
p.modification_date AS updatedAt,
p.modification_user AS updatedBy,
p.description AS description,
p.subscription_number AS subscriptionNumber,
p.company_id AS companyId,
p.is_manual_prize_setting AS manualPrizeSetting,
cp.client_id AS clientId,
p.billable as billable
FROM project p
LEFT OUTER JOIN payment_terms pt ON pt.payment_terms_id = p.payment_terms_id
LEFT OUTER JOIN client_project cp ON cp.project_id = p.project_id
WHERE p.project_id = :billingAccountId
if the payment terms id is not an existed id, then, it will make paymentTerms_id null.
REF: https://topcoder.atlassian.net/browse/PM-1081
Go to billing accounts page
click Edit account
See the payments terms filed is empty even it was saved with a value
https://github.com/user-attachments/assets/52e729ff-8b67-4e87-bb00-e59ddcff35c8
The text was updated successfully, but these errors were encountered: