Announcements
No record found.
Hello All
I can get the total number of individual purchase orders, but I don't know how to get the total number of all purchase orders under the project number
while select purchLine where purchLine.PurchId == 'PO001798'//ST-0016-0001 && !purchLine.IsDeleted && purchLine.PurchStatus !=4 { amountCur = purchLine.calcLineAmountExclTax(purchLine.PurchQty); }
I solved the problem
while select m_purchTable
where m_purchTable.projid =='ST-0016-0001'
join m_purchLine
where m_purchLine.purchid == m_purchTable.purchid
&& !m_purchLine.IsDeleted && m_purchLine.PurchStatus !=4
{
amountCur += m_purchLine.calcLineAmountExclTax(m_purchLine.PurchQty);
}
Hi Danzel Zuo,
Can you elaborate?
A purchase order typically has no association with revenue because it is used for purchasing things.
Revenues are linked to your sales orders.
Best regards,
Ludwig
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 733
André Arnaud de Cal... 461 Super User 2026 Season 1
Syed Haris Shah 278 Super User 2026 Season 1