on 11-12-2008 1:27 PM
Dear WF gurus,
I have a requirement to change an existing WF for Logistics Invoice Verification.
Copy of a standard template MMIVToCompl is used
WF is triggered on BUS2081 by event PARKED.
Requirement and my problem is in nature of agent determination.
Work item after creating and parking an invoice should arrive to different agents based on referenced type of PO (EKKO-BSART) entered upon creation of invoice itself.
Example:
If referenced PO in invoice is let's say of type 'AAAA' or 'BBBB' then a parked invoice should go to finance department in (Org. unit 'ORG1') where they should post it, regardless of where in org. structure the parking of invoice takes place.
But invoices based on PO types 'CCCC' or 'DDDD' should go to finance departments (org. unit 'ORG2', 'ORG3', and 'ORG4') respectively. So when Invoice is created based upon PO type 'CCCC' somewhere in 'ORG2' than it should stay there and be posted by finance department in 'ORG2' and so on.
Organizational structure:
ORG_BASE
ORG1
ORG1-Finance dept. (posts invoices with ref. PO's type AAAA' or 'BBBB' created by clerks A,B,C,D)
ORG1-Clerk A
ORG2
ORG2-Finance dept. (posts invoices with ref. PO's type 'CCCC' or 'DDDD' created by clerks B)
ORG2-Clerk B
ORG3
ORG3-Finance dept. (posts invoices with ref. PO's type 'CCCC' or 'DDDD' created by clerk C)
ORG3-Clerk C
ORG4
ORG4-Finance dept. (posts invoices with ref. PO's type 'CCCC' or 'DDDD' created by clerk D)
ORG4-Clerk D
PLS, advise on how to approach in solving this requirement.
Is it possible to create a rule for this and avoid programming?
Suggestions and help appreciated,
Cheers,
Tom
The thing is that object BUS2081 doesn't have an attribute or a reference with a PO number or PO type.
So I don't know how to connect these two, to find out PO type, Rel.Strategy or Rel.Group, and
finally use conditions mentioned above to define correct agent...
BUS2081 = Incoming Invoice
BUS2012 = Purchase order (upon which an invoice is created)
PO types (or combination Rel.Group/Rel.Strategy) should be used as condition for agent determination, but
as mentioned, in WF for posting invoices I have no clue on PO information...
Any suggestions please?
Thnx,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the document. Actually I do know how to create the rule and link to an activity of the task. However, I have problem finding the activity. The workflow is: WS20001004. I suspect the activity is '000111 invoice Release' but it doesn't allow me to click on the activity: there will be an error message: 'invoice document does not exist' and the transaction will exit by itself. hence i have a problem adding the rule to the correct activity. Any advice to get round it? Your help is very much appreciated!
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.