Issue: PO approval workflow is failing with the
error
Failed
Activity
|
![]() |
Get PO Attributes
![]() |
Activity
Type
|
![]() |
Function
![]() |
Error
Name
|
![]() |
-6512
![]() |
Error
Message
|
![]() |
ORA-06512: at line
![]() |
Error
Stack
|
![]() |
Wf_Engine_Util.Function_Call(PO_POAPPROVAL_INIT1.GET_PO_ATTRIBUTES,
POAPPRV, 562566-638453, 265219, RUN)
![]() |
Solution: There might be multiple
reasons. Below would be one of the issues.
The PO distribution line id is having quantity ordered ‘0’ and it
is causing the issue.
I found one Metalink id Purchase Agreement Fails Under
GET_PO_ATTRIBUTES Activity (Doc ID 460332.1)
After performing the below data fix. It resolved my issue.
Delete from po_distributions_all
where po_header_id = '562566'
and po_line_id=565160
and req_distribution_id=219153