Professional Documents
Culture Documents
Version 6.0
June 2009
Copyright
& Document ID
This document applies to webMethods Oracle Applications Adapter Version 6.0 and to all subsequent releases.
Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions.
Copyright 20042009 Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or
their licensors.
Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at
http://documentation.softwareag.com/legal/.
Use of this software is subject to adherence to Software AGs licensing conditions and terms. These terms are part of the product
documentation, located at http://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
This software may include portions of third-party products. For third-party copyright notices and license terms, please refer to "License
Texts, Copyright Notices and Disclaimers of Third Party Products." This document is part of the product documentation, located at
http://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
Document ID: ADAPTER-ORACLEAPPS-STDUG-20121009
Table of Contents
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
webMethods Central Documentation Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
webMethods Advantage Bookshelf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Software AG Developer Community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
11
12
12
12
12
1. Adapter Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transaction Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Importing and Exporting Transaction Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adapter Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Database Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing Service Components on the Oracle Applications Database . . . . . . . . . . . . .
Uninstalling Service Components from the Oracle Applications Database . . . . . . . . .
Built-In Utility Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transaction Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
webMethods IS-to-Oracle Applications (Inbound) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Data Is Passed During the Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications-to-webMethods IS (Outbound) . . . . . . . . . . . . . . . . . . . . . . . . . . .
Considerations When Using Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Considerations When Using Oracle Applications-to-IS Transactions . . . . . . . . . . . . . .
Considerations When Using IS-to-Oracle Applications Transactions . . . . . . . . . . . . . .
Considerations for Multiple Organizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Considerations for webMethods Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Generating Client Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Handling Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Database Connection Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logging Into and Out of an Oracle Applications Instance . . . . . . . . . . . . . . . . . . .
15
16
17
18
19
19
19
21
21
22
22
23
24
25
25
26
27
27
27
28
28
28
29
30
30
31
31
31
31
31
31
31
32
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Table of Contents
32
32
32
33
33
33
33
34
34
34
34
34
34
35
35
35
35
35
35
35
36
36
36
36
36
36
37
37
37
37
37
38
38
38
38
38
38
39
39
39
39
39
40
40
40
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Table of Contents
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
POReceiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PORequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PORescheduleRequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
40
40
41
41
41
41
41
41
41
42
42
42
42
42
42
43
43
43
43
43
43
45
46
46
47
47
47
47
47
48
48
48
48
48
49
49
49
49
49
50
50
50
50
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Table of Contents
50
50
51
51
51
52
52
52
52
52
52
52
53
53
53
54
54
54
54
54
54
55
55
55
55
55
55
56
56
57
57
57
57
57
58
58
58
58
59
59
59
59
59
59
60
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Table of Contents
POReceiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PORequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PORescheduleRequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
60
60
60
60
60
61
61
61
61
61
61
62
62
62
62
62
63
63
63
63
63
63
65
66
66
66
66
66
67
76
76
77
77
77
77
77
77
77
78
78
78
78
78
78
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Table of Contents
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acknowledgment SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
79
89
89
89
89
91
92
92
93
93
93
93
93
94
94
94
94
94
94
95
95
95
95
96
96
96
96
96
96
97
97
97
97
98
98
98
98
98
98
99
99
100
100
100
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Table of Contents
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
INVReplenishment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OEOrderImport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OEShipConfirm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PORequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PORescheduleRequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Applications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Open Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
100
100
100
101
101
101
101
101
101
102
102
102
102
102
102
103
103
103
103
104
104
104
104
104
104
105
105
105
105
105
105
106
106
106
106
106
106
107
107
107
107
107
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Table of Contents
Transaction Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AdvanceShipNotice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acknowledgment SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
InvoiceOutbound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acknowledgment SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PurchaseOrderChange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acknowledgment SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PurchaseOrderNew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acknowledgment SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Usage Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
110
110
110
110
111
114
114
114
114
115
115
115
115
125
125
125
125
125
125
125
126
126
126
126
126
126
127
127
127
137
137
138
138
10
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Document Conventions
Convention
Description
Bold
Identifieselementsonauserinterface.
Narrow font
IdentifiesstoragelocationsforservicesonwebMethodsIntegration
Server,usingtheconventionfolder.subfolder:service.
UPPERCASE
Identifieskeyboardkeys.Keysyoumustpresssimultaneouslyare
joinedwithaplussign(+).
Italic
Identifiesvariablesforwhichyoumustsupplyvaluesspecifictoyour
ownsituationorenvironment.Identifiesnewtermsthefirsttimethey
occurinthetext.
Monospace
font
Identifiestextyoumusttypeormessagesdisplayedbythesystem.
{}
Indicatesasetofchoicesfromwhichyoumustchooseone.Typeonly
theinformationinsidethecurlybraces.Donottypethe{}symbols.
Separatestwomutuallyexclusivechoicesinasyntaxline.Typeoneof
thesechoices.Donottypethe|symbol.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
11
Convention
Description
[]
Indicatesoneormoreoptions.Typeonlytheinformationinsidethe
squarebrackets.Donottypethe[]symbols.
...
Indicatesthatyoucantypemultipleoptionsofthesametype.Type
onlytheinformation.Donottypetheellipsis(...).
Additional Information
YoucanfindadditionalinformationaboutwebMethodsproductsatthelocations
describedbelow.
12
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Expandyourknowledgewithproductdocumentation,codesamples,articles,online
seminarsandtutorials.
LinktoexternalsitesonopenstandardsandmanyWebtechnologytopics.
Seehowothercustomersarestreamliningtheiroperationswithtechnologyfrom
Software AG.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
13
14
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Adapter Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
Transaction Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
Adapter Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
Database Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
21
Transaction Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
25
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
15
1 Adapter Services
Overview
AdapterservicesenableyoutointegratewithOracleApplicationssystemsbyexecuting
transactionsagainstOracleApplicationssystems.Adapterservicesusetransaction
definitionstodeterminetheprocessingtoperformonanOracleApplicationssystem.
Sampletransactiondefinitionsareavailablethatyoucanusetoconfigureyourown
adapterservices.Youcanusethesamplesastheyareprovided,oryoucanmodifythem
orcreatenewtransactiondefinitionscustomizedforyourneeds.Thisflexibilityfacilitates
integrationwithhighlycustomizedOracleApplications.
TransactiondefinitionsareinterfacestoOracleApplicationsfunctions.Thesample
transactiondefinitionswrapthefunctionalityofopeninterfacetables,storedprocedures,
views,andrawSQLstatements.Forexample,thereisasampletransactiondefinitionthat
wrapstheSalesOrderopeninterfacetableintheOracleApplicationsFinancialspackage.
Thetransactiondefinitions,alongwiththeOracleApplicationsAdapterconnection
definitions,arestoredinthewebMethodsrepository.
Important! ForOracleApplicationsintegrationsthatarenothighlycustomized,there
aresetsofpredefinedtransactionservicesthatareavailableasaddonstothe
webMethodsOracleApplicationsAdapter.Predefinedtransactionservicesare
complete,readytouseflowservicesthatsimplifytheprocessofintegratingwith
OracleApplicationssystems.Werecommendthatiftherearepredefinedtransaction
servicesthatperformtheoperationyouwanttoaccomplishusingaadapterservices
youcreated,youshouldusethepredefinedtransactionservicesratherthancreating
yourownadapterservices.
ThefollowingdiagramshowsinmoredetailhowtheOracleApplicationsAdapterworks
withadapterservices.
webMethods Integration Server
Oracle Applications
Transaction
Definitions
Built-In
Services
Open Interface
Tables
DBMS
Stored
Procedures
webMethods
Repository
16
Adapter
Services
Views
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
1 Adapter Services
Administrativeuserinterfacestoconfigureandmanageadapterconnectionsand
transactiondefinitions.Usingtheseinterfacesyoucan:
Performadministrativetasks.
ConfiguretheloginparametersthattheOracleApplicationsAdapterusesto
establishaclientconnectionwithoneormoreOracleApplications.
Developeruserinterfacetoconfigureanadapterserviceforeachtransactionthat
youwanttoexpose(makeavailable)throughthewebMethodsIntegrationServer.
BuiltinservicesthatprovidethebasicmeanstointeractwithOracle
Applications.
Thebuiltinservicesperformactivitiessuchasinsertingandupdatingdata,and
managingdatabaseconnections.Adapterserviceswrapbuiltinfunctionsand
makethemaccessibletothewebMethodsIntegrationServer.
Transaction Definitions
TransactiondefinitionsmaptofunctionsyoucanperforminOracleApplications
systems.UsetheOracleApplicationsAdaptertoconfigureandrunadapterservices,
whichexecutetransactionstoretrievedatafrom,andinsertandupdatedatain,Oracle
ApplicationssystemsviatheOracleApplicationsopeninterfacetables.
TherearesampletransactiondefinitionsforOracleApplicationsversions10.7SC,11.0,
and11.5.Seethefollowingchaptersfordescriptionsofthesampletransaction
definitions.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
17
1 Adapter Services
Chapter
Page
Chapter 2,TransactionDefinitions(IStoOracleApplications11.5)
29
Chapter 3,TransactionDefinitions(IStoOracleApplications11.0)
45
Chapter 4,TransactionDefinitions(OracleApplications11.0toIS)
65
Chapter 5,TransactionDefinitions(IStoOracleApplications10.7SC)
91
Chapter 6,TransactionDefinitions(OracleApplications10.7SCtoIS)
109
Atransactiondefinitioncanmaptoopeninterfacetables,storedprocedures,views,and
rawSQLstatements.TheOracleApplicationsAdapterenablesyoutomodifythesample
transactiondefinitionsandtodefineyourowntransactiondefinitions.Thisflexibility
facilitatesintegrationwithhighlycustomizedOracleApplications.Formoreinformation
aboutconfiguringoreditingtransactiondefinitions,seethewebMethodsOracle
ApplicationsAdapterUsersGuide.
Note: Thesampletransactiondefinitionsdescribedinthisguidearethesame
transactiondefinitionsthatwereprovidedwiththeOracleApplicationsAdapter
version2.0.
File Name
OracleApplications11.5
wm_115.txp
OracleApplications11.0
wm_110.txp
OracleApplications10.7SC
wm_107SC.txp
Beforeyoucanusethesampletransactiondefinitionsyoumustimportthemintoyour
webMethodssystem.
YoucanimporttransactiondefinitionfilesfromthewebMethodsServerAdministratoror
fromtheDeveloper.Forinstructions,seethechapteronmanagingtransactionsinthe
webMethodsOracleApplicationsAdapterUsersGuide.Afteryouimportthetransaction
definitions,theyarestoredinthewebMethodsrepository.
Note: Ifyouareupgradingfromanearlierversionoftheadaptertoversion6.0,you
mustreimportthetransactiondefinitionsintotherepository.
18
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
1 Adapter Services
Theadapteralsoenablesyoutoexportyourtransactiondefinitionstofiles.Youcan
exportyourtransactionstofilestobackupyourtransactiondefinitionsortotransfer
themtoadifferentinstallationoftheOracleApplicationsAdapter.SeethewebMethods
OracleApplicationsAdapterUsersGuideforinstructionsforimportingandexporting
transactiondefinitions.
Adapter Services
YouusetheOracleApplicationsAdaptertoconfigureadapterservicesfromtransaction
definitions.Theservicesyouconfigureperformtheactionsthatthetransaction
definitionsdefine.Inotherwords,adapterservices:
InteractwithopeninterfacetablestoupdatetheOracleDBMS.
ExecuteastoredprocedureorviewtoretrieveorupdateinformationintheOracle
DBMS.
ExecutetheSQLSELECTtoretrieveinformationfromtheOracleDBMS.
ExecutetheSQLUPDATEtomodifyinformationintheOracleDBMS.
YoucaninvoketheservicesthatyoucreatefromanytypeofwebMethodsclient:browser
client,Javaclient,C/C++client,orVisualBasicclient.Forexample,youcancreatea
browserclientthatallowsausertofillinanHTMLformthatinteractswithyourOracle
ApplicationsinstanceviatheOracleApplicationsAdapter.
YoucancreateawebMethodsclientthatinvokestheadapterservice,oryoucanintegrate
theadapterserviceintoanexistingflowservice.Forexample,ifyouwanttocodea
webMethodsclientthatcreatesacustomerorderfromapurchaseorder,codethe
webMethodsclienttoinvoketheservicethatexecutestheOEOrderImporttransactionof
OracleOrderManagement.
Database Scripts
AdapterservicesrequiresomecomponentstobeinstalledontheOracleApplications
system.Thesecomponentsincludeitemssuchasstoredproceduresandviews.You
installthesecomponentsusingdatabasescripts.
AfteryouinstalltheOracleApplicationsAdapterandimportthesetoftransaction
definitionsfortheversionofOracleApplicationsyouareusing,youmustrunthe
appropriatedatabasescriptstosetuptheOracleApplicationsdatabaseforusewiththe
adapterservices.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
19
1 Adapter Services
Copyfilesfromtheappropriatedirectoryasfollows:
IfyouareusingOracleApplications11.5,copyallfilesfromthe
IntegrationServer_directory\packages\WmOAAdapter\sampleTxns\setup\11.5
directoryintothebindirectoryofyourOracledatabase(orant\bin).
IfyouareusingOracleApplications11.0,copyallfilesinthe
IntegrationServer_directory\packages\WmOAAdapter\sampleTxns\setup\11.0
directoryintothebindirectoryofyourOracledatabase(orant\bin).
IfyouareusingOracleApplications10.7SC,copyallfilesinthe
IntegrationServer_directory\packages\WmOAAdapter\sampleTxns\setup\10.7S
CdirectoryintothebindirectoryofyourOracledatabase(orant\bin).
LogintoSQL*Plus.Youcanuseanylogin.
FromSQL*Plus,runtheinstallationscript:
@wmOASetup.sql
Whenprompted,supplytheAPPSusername/password,aCustom
username/password,customtablespaces(fordataandindex),andaconnection
string.
Note: MakesureyouentertheAPPSuseranditsassociatedpassword.Inaddition,
theproceduresandviewsbeingcreatedmustbeintheAPPSschema.
Whentheinstallationiscomplete,youwillseethemessageInstallationcompleted.
4
ExitSQL*Plus.
Note: IfyouinstallthesetupfilesinaschemaotherthanAPPS(forOracle11.0)or
APPS_APPDEMO(forOracle10.7),youmustupdatethefollowingOracle
ApplicationstoIStransactiondefinitions:
InvoiceOutbound
InvoiceOutbound_Ack
PurchaseOrderNew_Ack
PurchaseOrderChange_Ack
AdvanceShipNotice_Ack(10.7only)
Thesetransactiondefinitionscallstoredprocedureswiththe
schema.package.procedureformat.Youmustedittheschemaonthesecallsto
matchyourinstallation.Formoreinformationabouteditingtransaction
definitions,seethewebMethodsOracleApplicationsAdapterUsersGuide.
20
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
1 Adapter Services
LogintoSQL*Plus.Youcanuseanylogin.
FromSQL*Plus,runtheremovalscript:
@wmOARemove.sql
Whenprompted,supplytheAPPSusername/password,aCustom
username/password,customtablespaces(fordataandindex),andaconnection
string.
Whentheuninstallationiscomplete,youwillseethemessageRemovalcompleted.
3
ExitSQL*Plus.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
21
1 Adapter Services
Transaction Processing
Theadaptercommunicatesusingtwotypesoftransactions:OracleApplicationstoIS
transactionsandIStoOracleApplicationstransactions.Withineachtypeoftransaction
therearetwotypesofoperations.ForIStoOracleApplicationstransactions,theadapter
caninsertdataintoopeninterfacetablesandcanexecuteerrorSQLtoretrieveerror
information.ForOracleApplicationstoIStransactions,theadaptercanquerytheOracle
Applicationssystemandcanruncorrespondingacknowledgement(ACK)services,
whichmarkthedataasprocessed.
Thefollowingsectionsdescribetheprocessingforthesetypesoftransactions.
Oracle Applications
Services
1
4
webMethods
Client
InsertSQL
Open Interface
Tables
8
6
10
22
DBMS
7
SimpleSQL
Stored Procedures
Views
SQL SELECT
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
1 Adapter Services
Step
Description
ThewebMethodsclientinvokesaservicetoupdatetheOracleDBMS.You
createdthisservicefromatransactiondefinitionthatisbasedonasetof
specificopeninterfacetables.Theservicereceivestheinformationrequiredby
theopeninterfacetableviatheservicespecification.
Theserviceexecutes.ItconnectstotheOracleApplicationsInstanceviaJDBC
andinsertsdataintotheopeninterfacetablesthatareassociatedwiththe
service.
Theservicereceivesoutputtoindicatethatthetableinsertiscomplete.
Outputisreturnedtotheclient.
AnOracleApplicationsimportprocessrunsintheOracleconcurrentmanager.
Theimportprocessmovesthedatafromtheopeninterfacetablestothelive
OracleDBMS.Iferrorsoccurintheimportprocess,Oraclerecordstheminthe
appropriateopeninterfacetable.
ThewebMethodsclientinvokesaservicetoqueryOracleApplicationsfor
errorsthatmighthaveoccurredduringtheimportprocess.Youcreatedthis
servicefromatransactiondefinitionthatisbasedonastoredprocedure,view,
orSQLSELECTstatement.Theservicereceivesthequeryparametersforthe
SQLstatementviatheservicespecification.Theservicecanalsobeinvokedby
thewebMethodsschedulertoperiodicallypullouttransactionsforatrading
partner.
Theserviceexecutes.ItconnectstotheOracleApplicationsInstanceviaJDBC.
Basedonthetransactiondefinitionusedtocreatetheservice,theservicedoes
oneofthefollowing:
Callsastoredprocedure
ExecutesanSQLSELECTstatement
ThestoredprocedureorSQLSELECTstatementretrievesinformationfromthe
DBMS.
Theretrievedinformationisreturnedtotheservice.
10
TheservicereturnsoutputbacktothewebMethodsclient.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
23
1 Adapter Services
ServicesthatretrieveinformationfromtheOraclesystemreturnadocumentthat
containstherequesteddata.Ifthereisaproblemselectingtheinformation,aservice
exceptionisthrown.
Oracle Applications
Services
1
5
webMethods
Client
2
CompoundSelectSQL
7
9
SimpleSQL
SQL SELECT
Stored
Procedures
3
DBMS
Views
SQL UPDATE
Step
Description
ThewebMethodsclientinvokesaservicethatyoucreatedfromatransaction
definitionthatisbasedonastoredprocedure,view,orSQLSELECTstatement.
Theservicepassesqueryparameterstothestoredprocedure,view,orSQL
SELECTstatement.
Theserviceexecutes.ItconnectstotheOracleApplicationsInstanceviaJDBC.
Basedonthetransactiondefinitionusedtocreatetheservice,theservicedoes
oneofthefollowing:
Callsastoredprocedure
ExecutesanSQLSELECTstatementagainsttablesandviews.
24
ThestoredprocedureorSQLSELECTstatementretrievesinformationfromthe
DBMS.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
1 Adapter Services
Step
Description
Theretrievedinformationisreturnedtotheadapterservice.
TheservicereturnstheoutputtothewebMethodsclient.
ThewebMethodsclientoptionallyperformsinternalprocessingorinvokes
services.Forexample,youmightchoosetoupdateyourSAPsystematthis
stage.
Ifthereisanacknowledgementservicedefinedforthetransaction,theflow
needstoexecuteit.TheacknowledgementserviceconnectstotheOracle
ApplicationsinstanceviaJDBC.Basedonthetransactiondefinitionusedto
createit,theservicedoesoneofthefollowing:
Callsastoredprocedure
ExecutesanSQLUPDATEstatement
Note: TheacknowledgementserviceisnecessaryforOracleApplicationsto
maintaintheaccuratestatusoftransactions.Forexample,supposethata
purchaseorderhasstateofapprovedintheDBMS.Itremainsapproved
untilanacknowledgementfromtheclientisreceived,whichchangesthestate
toapproved,printed.Thisensuresthatthepurchaseorder,whichhas
alreadybeenreceivedbytheclient,willnotbeincludedinthenextdata
retrievaltransaction.
TheadapterservicetellstheOracleApplicationsinstancethatthetransaction
hasbeenprocessed.
TheservicereturnsoutputbacktothewebMethodsclient.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
25
1 Adapter Services
Withinaflow,youcanmapvaluestoaservicesqueryParamsinputrecord,andtothe
dataRecordinputrecordfortheservicesassociatedacknowledgementservice.
ThefollowingdiagramshowsatahighleveltheOracleApplicationstoIStransaction
processingwhenanotherserviceisinvokedtosendabusinesstransactiontoanother
system:
Integration Server
webMethods
Client
Oracle Applications
Transaction Service
DBMS
Service
ACK Service
Other
System
26
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
1 Adapter Services
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
27
1 Adapter Services
28
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
APInvoices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
ARAutoInvoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
ARCustomers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
INVCustomerItemCrossRef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
INVCustomerItems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36
INVItems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
OEOrderImport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
PODocuments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
POReceiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41
PORequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
PORescheduleRequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
29
Overview
ThischapterprovidesanindepthdescriptionoftheIStoOracleApplications11.5
sampletransactiondefinitions.IStoOracletransactionsupdatetheOracledatabasewith
informationfromanenduserorXMLfile.
Thischapterdescribesthetransactionsastheyexistinthesamples.Itdoesnotcoverany
modificationsthatyoucanmaketothesampletransactions.
Transaction Overview
ThesampletransactionsenableyoutousetheOracleApplicationsAdaptertocreate
adapterservicestoinsertdataintoOracleApplicationsopeninterfacetables.Afully
definedIStoOracletransactionhastwoparts:theopeninterfacetable(s)andanerror
SQLquery.Thetransactionmaygrouponeormoreopeninterfacetablestogether.Every
columnfromeachopeninterfacetableforthedefinedtransactionisexposedasaninput
totheadapterservice.Aftertheserviceinsertsrecordsintothecorrespondingopen
interfacetables,OracleApplicationsmustruntherespectiveimportprocess.
Afteratransactioncompletes,youcantestitforerrorsfromthewebMethodsIntegration
ServerbyusingtheerrorSQLquery.TheSQLqueryhasinputsintowhichyoucanmap
queryparametervalues.Theservicethenrunsthequeryandtheresultsareavailableas
serviceoutputs.
FormoreinformationabouttheIStoOracletransactions,seeyourOracleApplications
documentation.
Thischapterliststhetransactionsinalphabeticalorder.Thetablebelowshowsthe
transactionsorganizedbyOracleApplicationsmodule.
Module
webMethods Transaction
Page
Payables
APInvoices
31
Receivables
ARAutoInvoice
32
ARCustomers
33
INVCustomerItemCrossRef
35
INVCustomerItems
36
INVItems
37
OrderManagement
OEOrderImport
38
Purchasing
PODocuments
39
POReceiving
41
PORequisitions
42
PORescheduleRequisitions
43
Inventory
30
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
APInvoices
Usethistransactiontocreateinvoicesforexistingpurchaseorders.ThePayablesOpen
InterfaceImportprogramcreatesinvoicestoimportintoPayables,usinginvoicedata
storedinthePayablesopeninterfacetables.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
PayablesOpenInterface
Error SQL
Inputs
Field
Description
SOURCE
AvaluetomatchagainsttheSOURCEcolumnina
correspondingAP_INVOICES_INTERFACErow.This
parameterwillacceptwildcards.%returnsallerrors.
Outputs
Field
Description
PO_NUMBER
PurchaseordernumberassociatedwiththeInvoice.
VENDOR_ID
VendorID.
VENDOR_NUM
Vendornumber.
VENDOR_NAME
Vendorname.
VENDOR_SITE_ID
VendorsiteID.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
31
Field
Description
VENDOR_SITE_CODE
Vendorsitecode.
INVOICE_NUM
Invoicenumber.
INVOICE_ID
InvoiceID.
LINE_NUMBER
Invoicelinenumber.
DESCRIPTION
Errorcodedescription.
DISPLAYED_FIELD
Errorcodedisplayvalue.
ARAutoInvoice
Usethistransactiontocreateinvoices,debitmemos,creditmemos,andonaccount
creditsinOracleReceivables.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
AutoInvoice
32
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserID
intheCREATED_BYcolumnofthe
RA_INTERFACE_LINES_ALLtable.This
parameterwillacceptwildcards.%returnsall
errors.
Outputs
Field
Description
INTERFACE_LINE_ID
ContainstheINTERFACE_LINE_IDfromthe
RA_INTERFACE_LINES_ALLtable.
INTERFACE_SALESCREDIT_ID
ContainstheINTERFACE_SALESCREDITS_ID
fromtheRA_INVOICE_SALESCREDIT_ALL
table.Thisfieldwillbeemptyiftheerrorisfrom
adifferenttable.
INTERFACE_DISTRIBUTION_ID
ContainstheINTERFACE_DISTRIBUTION_ID
fromtheRA_INVOICE_DISTRIBUTIONS_ALL
table.Thisfieldwillbeemptyiftheerrorisfrom
adifferenttable.
MESSAGE_TEXT
Errormessage.
INVALID_VALUE
Thevaluethatcausedthiserror.
LINK_TO_LINE_ID
ContainstheINTERFACE_LINE_IDfromthe
associatedrowinthe
RA_INTERFACE_LINES_ALLtable.Avaluewill
beinthisfieldiftheerroroccurredinthe
SALESCREDITorDISTRIBUTIONStables.
ORG_ID
OperatingUnitIdentifier.
ARCustomers
Usethistransactiontocreate,import,andvalidatecustomers,customerprofiles,
addresses,contacts,andphonenumbersfromothersystems.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
33
Open Interface
CustomerTransaction
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserID
intheCREATED_BYcolumnoftheinterface
table.Thisparameterwillacceptwildcards.%
returnsallerrors.
ORIG_SYSTEM_CUSTOMER_REF
Originalsystemidentifierloadedinthe
ORIG_SYSTEM_CUSTOMER_REFcolumnof
theinterfacetable.Thisparameterwillaccept
wildcards.%returnsallerrors.
Outputs
Field
Description
ERROR_EXISTS
Returnsa1ifanerrorisfoundinanyofthe
correspondinginterfacetables;otherwise,it
returns0.
34
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
INVCustomerItemCrossRef
UsethistransactiontoimportcrossreferencesbetweencustomerItemsandexisting
OracleInventoryItemsintoyourmasterOrganization.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
CustomerItemCrossReference
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserIDinthe
CREATED_BYcolumnofthe
MTL_CI_XREFS_INTERFACEtable.Thisparameter
willacceptwildcards.%returnsallerrors.
Outputs
Field
Description
CUSTOMER_
ITEM_NUMBER
Customeritemnumberinlegacysystem.
INVENTORY_ITEM_ID
ExistinginventoryItemsID.
TRANSACTION_TYPE
Transactiontype(CREATEorUPDATE).
PROCESS_MODE
Processflagtoindicatewhetherprocessingofrowis
succeededorfailed.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
35
Field
Description
CUSTOMER_NAME
Customername.
ERROR_EXPLANATION
Detailederrormessage.
INVCustomerItems
UsethistransactiontoimportcustomeritemsfromyourlegacysystemintoOracle
Inventory.Foreachcustomeritem,youmustdefinerelatedinformationsuchasthe
CustomerandItemDefinitionLevel.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
CustomerItem
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserIDinthe
CREATED_BYcolumnoftheMTL_CI_INTERFACE
table.Thisparameterwillacceptwildcards.%returns
allerrors.
36
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Outputs
Field
Description
CUSTOMER_
ITEM_NUMBER
Customeritemnumberinlegacysystem.
CUSTOMER_ITEM_DESC
Descriptionofitem.
TRANSACTION_TYPE
Transactiontype(CREATEorUPDATE).
PROCESS_MODE
Processflagtoindicatewhetherprocessingofrowhas
succeededorfailed.
CUSTOMER_NAME
Customername.
ERROR_EXPLANATION
Detailederrormessage.
INVItems
Usethistransactiontoconvertinventoryitemsfromanotherinventorysystem,migrate
assemblyandcomponentitemsfromalegacymanufacturingsystem,convertpurchased
itemsfromacustompurchasingsystem,andinsertnewitemsfromaProductData
Managementpackage.
Whenyouimportitemsusingthistransaction,itcreatesnewItemsintheitemmaster
organizationorassignsexistingItemstoadditionalorganizations.Youcanspecifyvalues
forallitemattributes,oryoucanusedefaultornullvalues.Thistransactionalsoletsyou
importrevisiondetails,includingpastandfuturerevisionsandeffectivedates.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
ItemsTransaction
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
37
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserIDinthe
CREATED_BYcolumnofthe
MTL_SYSTEM_ITEMS_INTERFACEtable.This
parameterwillacceptwildcards.%returnsallerrors.
Outputs
Field
Description
ITEM_NUMBER
Itemnumberinlegacysystem.
DESCRIPTION
Descriptionofitem.
TRANSACTION_TYPE
Transactiontype(CREATEorUPDATE).
PROCESS_FLAG
Processflagtoindicatetheprocessingstateoftherow.
ERROR_MESSAGE
Detailederrormessage.
OEOrderImport
Usethistransactiontoimportorderentrydatafromavarietyofsources.Youcanimport
dataintoorderswithlines,scheduledetails,priceadjustments,andsalesorders.Youcan
importcomplete,incomplete,andbookedorders.Youcanalsoimportquota,ornon
quotasalescreditinformation,changestoexistingorders,linescheduledetail
informationwitheachorderandorderline,andinternalrequisitionordersfromOracle
Purchasing.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
OrderImport
38
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserIDin
theCREATED_BYcolumnofthe
OE_HEADERS_IFACE_ALLtable.Thisparameter
willacceptwildcards.%returnsallerrors.
ORIG_SYS_DOCUMENT_REF
Originalsystemidentifierloadedinthe
ORIG_SYS_DOCUMENT_REFcolumnofthe
OE_HEADERS_IFACE_ALLtable.Thisparameter
willacceptwildcards.%returnsallerrors.
Outputs
Field
Description
ORIG_SYS_DOCUMENT_REF
Originalsystemreferencefromtheexternalsystem.
MESSAGE_TEXT
Errormessage.
CUSTOMER_PO_NUMBER
Customerpurchaseorderrelatedtothesalesorder.
CUSTOMER_NAME
Customernameassociatedwiththeorder.
PODocuments
Usethistransactiontoimportpriceandsalescataloginformationandresponsesinto
requestsforquotationsfromsuppliers.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
39
Open Interface
PurchasingDocuments
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserID
intheCREATED_BYcolumnofthe
PO_HEADERS_INTERFACEtable.This
parameterwillacceptwildcards.%returnsall
errors.
Outputs
Field
Description
INTERFACE_TYPE
Errormessagesource.
INTERFACE_TRANSACTION_ID
Errortransactionuniqueidentifier.
COLUMN_NAME
Errorcolumnname.
ERROR_MESSAGE
Errormessagetext.
PROCESSING_DATE
INTERFACE_HEADER_ID
INTERFACE_LINE_ID
40
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
POReceiving
UsethistransactiontoimportreceiptinformationfromotherOracleApplicationsor
nonOraclesystems.YouusethisinterfacetointegrateyourOraclepurchasing
applicationwithneworexistingapplications.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
Receiving
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserID
intheCREATED_BYcolumnofthe
RCV_HEADERS_INTERFACEtable.This
parameterwillacceptwildcards.%returnsall
errors.
Outputs
Field
Description
INTERFACE_TRANSACTION_ID
ErrortransactionuniqueID.
COLUMN_NAME
Errorcolumnname.
ERROR_MESSAGE
Errormessagetext.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
41
Field
Description
PO_HEADER_ID
PurchaseorderheaderID.
PO_LINE_ID
PurchaseorderlineID.
VENDOR_NAME
Vendorname.
PORequisitions
UsethistransactiontoimportrequisitionsfromotherOracleApplicationsornonOracle
systems.ThistransactionenablesyoutointegrateyourOracleApplicationsquicklywith
neworexistingapplicationssuchasmaterialreplenishment,planning,inventory
management,andproductioncontrolsystems.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
Requisitions
Error SQL
Inputs
Field
Description
WM_USER
NameoftheuserforthecorrespondinguserID
intheCREATED_BYcolumnofthe
PO_REQUISITIONS_INTERFACE_ALLtable.
Thisparameterwillacceptwildcards.%
returnsallerrors.
42
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Outputs
Field
Description
INTERFACE_TYPE
Interfacetypethatgeneratedtheerror.
INTERFACE_TRANSACTION_ID
ErrortransactionuniqueID.
COLUMN_NAME
Columninwhichtheerroroccurred.
ERROR_MESSAGE
Detailedexplanationoftheerror.
SOURCE_TYPE_CODE
Thesourceforthisrequisition.
QUANTITY
NumberofItemsintherequisition.
PORescheduleRequisitions
Usethistransactiontoreschedulerequisitionsaccordingtochangesinyourplanned
orders.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
Requisitions
Error SQL
None.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
43
44
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
APInvoiceOpen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
ARCustomers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48
INVCustomerItems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50
INVCustomerItemsCrossReference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
INVOpenTransactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53
INVItems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
OEOrderImport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
57
PODocuments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58
POReceiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
60
PORequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
PORescheduleRequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
45
Overview
ThischapterprovidesanindepthexplanationoftheIStoOracleApplications11.0
sampletransactiondefinitions.IStoOracletransactionsupdatetheOracledatabasewith
informationfromanenduserorXMLfile.
Thischapterdescribesthetransactionsastheyexistinthesamples.Itdoesnotcoverany
modificationsthatyoucanmaketothesampletransactions.
ForinformationaboutOracleApplications11.0toIStransactions,seeChapter 4,
TransactionDefinitions(OracleApplications11.0toIS).
Transaction Overview
ThesampletransactionsenableyoutousetheOracleApplicationsAdaptertocreate
adapterservicestoinsertdataintoOracleApplicationsopeninterfacetables.Afully
definedIStoOracletransactionhastwoparts:theopeninterfacetable(s)andanerror
SQLquery.Thetransactionmaygrouponeormoreopeninterfacetablestogether.Every
columnfromeachopeninterfacetableforthedefinedtransactionwillbeexposedas
inputtotheadapterservice.Aftertheserviceinsertsrecordsintocorrespondingopen
interfacetables,OracleApplicationsmustruntherespectiveimportprocess.When
completed,youcantestthetransactionforerrorsfromthewebMethodsIntegration
ServerbyusingtheerrorSQLquery.Thishasinputsintowhichtheusermapsquery
parametervalues.Theservicethenrunsthequeryandtheresultsareavailableasservice
outputs.
FormoreinformationontheIStoOracletransactions,seeyourOracleApplications
documentation.
Thischaptershowsthetransactionsinalphabeticalorder.Thetablebelowshowsthe
transactionsorganizedbyOracleApplicationsmodule.
Module
webMethods Transaction
Page
Payables
APInvoiceOpen
47
Receivables
ARCustomers
48
Inventory
INVCustomerItems
50
INVCustomerItemsCrossReference
52
INVOpenTransactions
53
INVItems
55
46
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Module
webMethods Transaction
Page
OrderEntry
OEOrderImport
57
Purchasing
PODocuments
58
POReceiving
60
PORequisitions
61
PORescheduleRequisitions
63
APInvoiceOpen
Usethistransactiontocreateinvoicesforexistingpurchaseorders.ThePayablesOpen
InterfaceImportprogramcreatesinvoicestoimportintoPayables,usinginvoicedata
storedinthePayablesopeninterfacetables.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
APInvoiceOpenImportTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
AP_INTERFACE_REJECTIONS
AP_INVOICES_INTERFACE
AP_LOOKUP_CODES
AP_INVOICE_LINES_INTERFACE
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
47
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthetransaction;that
is,theuserIDintheCREATED_BYfieldinthe
transaction.
Outputs
Field
Description
PO_NUMBER
Purchaseordernumber.
VENDOR_ID
VendorID.
VENDOR_NUM
Vendornumber.
VENDOR_NAME
Vendorname.
VENDOR_SITE_ID
VendorsiteID.
VENDOR_SITE_CODE
Vendorsitecode.
INVOICE_NUM
Invoicenumber.
INVOICE_ID
InvoiceID.
LINE_NUMBER
Purchaseorderlinenumber.
DESCRIPTION
Description.
Usage Comments
ToimportItems,runtheOpenInterfaceInvoicesfunction,underInvoices,whichis
underthePayablesmodule.
ARCustomers
Usethistransactiontocreateandimportcustomers,customerprofiles,addresses,
contacts,andphonenumbersfromothersystems.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
48
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Open Interface
CustomerTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
RA_CUSTOMERS_INTERFACE_ALL
FND_USER
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
CUSTOMER_NAME
Customernametobeimported.
Outputs
Field
Description
ORIG_SYSTEM_CUSTOMER_REF
Originalsystemcustomerreference(thatis,
primarykeyforcustomerinotherapplication).
CUSTOMER_NAME
Nameofthecustomertobeimported.
INTERFACE_STATUS
Errorcodes.Forerrorcodedefinitions,see
http://www.oracle.com/.
PROCESS_MODE
Processflagtoindicatewhetherprocessingof
rowsucceededorfailed.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
49
Field
Description
CUSTOMER_NAME
Customername.
ERROR_EXPLANATION
Detailederrormessage.
Usage Comments
IfCustomerInterfacefailsbecauseoftheerrorSQL02112TooManyRows,you
mustinstallOracleApplicationsPatch822300(forWindowsNT).
Toimportinvoiceinformation,runtheCustomerInterfacerequest,whichisunder
theARmodule.
YoucanrunCustomerInterfaceTransferreporttoseeexacterrors.
INACTIVE_FLAGisarequiredfield.Setitto1forYesand2forNo.
INVCustomerItems
UsethistransactiontoimportcustomeritemsfromanylegacysystemintoOracle
Inventory.Foreachcustomeritem,youmustdefinerelatedinformationsuchasthe
CustomerandItemDefinitionLevel.IfyousetItemDefinitionLevel3whileCustomer
CategoryisrequiredforItemDefinitionLevel2,CustomerAddressisrequired.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
CustomerItemsTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_CI_INTERFACE
50
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
CUSTOMER_ITEM_NUMBER
Customeritemnumberinoldsystem.
INVENTORY_ITEM_DESC
Descriptionofitem.
TRANSACTION_TYPE
Transactiontype(CREATEorUPDATE).
PROCESS_MODE
Processflagtoindicatewhetherprocessingof
rowissucceededorfailed.
CUSTOMER_NAME
Customername.
ERROR_EXPLANATION
Detailederrormessage.
Usage Comments
ToimportCustomerItems,runtheImport Customer Itemsfunction,whichisunderthe
Inventorymodule.
PROCESS FLAGandPROCESS_MODEcolumnsreportthestatusoftherecordafterthe
importandvalidationprocessiscomplete.Thesecolumnsarerequiredoninsertand
shouldbepopulatedwiththevalue1.
INACTIVE_FLAGisarequiredfield.Setitto1forYesand2forNo.
DEP_PLAN_REQUIRED_FLAGandDEP_PLAN_PRIOR_BLD_FLAGfieldshaverequiredvaluesof
1forYesand2forNo.
OracleApplicationsdoesnotallowupdatethroughthisopeninterface.Ifyouusea
TRANSACTION_TYPE ofUPDATE,theimportwilltreatitasaCREATEandyoureceivea
CustomerItemalreadyexistserror.
OracleApplicationsdoesnotallowdeletionthroughthisopeninterface.Youmayset
aCustomerItemtoInactiveusingtheOracleApplicationsGUI.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
51
INVCustomerItemsCrossReference
UsethistransactiontoimportcrossreferencesbetweencustomerItemsandexisting
OracleInventoryItemsintoyourmasterOrganization.IfyousetItemDefinitionLevel3
whileCustomerCategoryisrequiredforItemDefinitionLevel2,CustomerAddressis
required.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
CustomerItemsCrossReference
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_CI_XREFS_INTERFACE
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
CUSTOMER_ITEM_NUMBER
Customeritemnumberinoldsystem.
INVENTORY_ITEM_ID
ExistinginventoryItemsID.
52
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Field
Description
TRANSACTION_TYPE
Transactiontype(CREATEorUPDATE).
PROCESS_MODE
Processflagtoindicatewhetherprocessingof
rowissucceededorfailed.
CUSTOMER_NAME
Customername.
ERROR_EXPLANATION
Detailederrormessage.
Usage Comments
TocreateCustomerItemsCrossReferencesuseaTRANSACTION_TYPEofCREATE.
WehaveexperiencedabuginOracleApplications.IfyousettheDelete Processed rows
optiontoYes,therecordsshouldberemovedfromtheopeninterfacetablesafterthe
import.However,therecordsarenotremovedandarenotupdatedtoshowthey
havebeenprocessed.
*PROCESS FLAGandPROCESS_MODEcolumnsreportthestatusoftherecordafterthe
importandvalidationprocessiscomplete.Thesecolumnsarerequiredoninsertand
shouldbepopulatedwiththevalue1.
INACTIVE_FLAGisarequiredfield.Setitto1forYesand2forNo.
OracleApplicationsdoesnotallowupdatethroughthisopeninterface.Ifyouusea
TRANSACTION_TYPEofUPDATE,theimportwilltreatitasaCREATEandyoureceivea
Customer Item Cross Referencealreadyexistserror.
OracleApplicationsdoesnotallowdeletionthroughthisopeninterface.Youmayset
aCustomerItemCrossReferencetoInactiveusingtheOracleApplicationsGUI.
ToimportItems,runtheImport Customer Items Cross Referencefunction,whichisunder
theInventorymodule.
INVOpenTransactions
Usethistransactiontoloadtransactionsfromexternalapplicationsandfeedersystems,
whichincludesales,ordershipmenttransactionsfromanorderentrysystemotherthan
OracleOrderEntry,simplematerialissues,receipts,ortransfers.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
53
Open Interface
InventoryOpenTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_TRANSACTIONS_INTERFACE
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
INVENTORY_ITEM_ID
InventoryitemID.
TRANSACTION_QUANTITY
NumberofItemsinthetransaction.
ERROR_EXPLANATION
Detailederrorexplanation.
TRANSACTION_SOURCE_NAME
Nameofthesource.
Usage Comments
Toimporttransactions,runtheImport Open Transactionsfunction,whichisunderthe
Inventorymodule.
54
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
INVItems
Usethistransactiontoconvertinventoryitemsfromanotherinventorysystem,migrate
assemblyandcomponentitemsfromalegacymanufacturingsystem,convertpurchased
itemsfromacustompurchasingsystem,andinsertnewitemsfromaProductData
Managementpackage.WhenyouimportitemsusingtheINVItemstransaction,itcreates
newItemsintheitemmasterorganizationorassignsexistingItemstoadditional
organizations.Youcanspecifyvaluesforallitemattributes,oryoucanusedefaultornull
values.Also,theINVItemstransactionletsyouimportrevisiondetails,includingpast
andfuturerevisionsandeffectivedates.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
ItemsTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_SYSTEM_ITEM_INTERFACE
MTL_INTERFACE_ERRORS
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
55
Outputs
Field
Description
ITEM_NUMBER
Itemnumberinoldsystem.
DESCRIPTION
Descriptionofitem.
TRANSACTION_TYPE
Transactiontype(CREATEorUPDATE).
PROCESS_FLAG
Processflagtoindicatewhetherprocessingof
rowhassucceededorfailed.Possibleprocess
flagsare:
ERROR_MESSAGE
Pending
Assigncomplete
Assign/validationfailed
Validationsucceeded;importfailed
Importinprocess
Importsucceeded
Detailederrormessage.
Usage Comments
TocreateItems,chooseTRANSACTION TYPEasCREATE.WhenimportingtheseItems,
chooseCreate Items.
ToupdateItems,chooseTRANSACTION_TYPEasUPDATE.WhenimportingtheseItems
chooseUpdate existing Items.
IfyouhavelistoftransactionscontainingbothUPDATESandCREATES,giveall
CREATESoneSET_PROCESS_IDandallUPDATESadifferentSET_PROCESS_ID.
AtthetimeofimportingyouspecifyItemstoimportbytheirSET_PROCESS_ID.
Becarefulwhenrunningtheimportprocess.Wehaveexperiencedaproblemrunning
OracleApplications11.0onWindowsNT.IfyouspecifyaSET_PROCESS_IDusedfor
yourCREATErecordsandthenduringtheimportyouspecifytheSET_PROCESS_IDfor
UPDATErecords,aDr.WatsonErrorwillbetriggeredonOracleApplications.The
processflagontherecordswillshowpendingandtheSET_PROCESS_IDwillbesetto
999.
OracleApplicationsdoesnotallowthedeletionofItemsusingtheopeninterface
tables.CREATEandUPDATEtransactiontypesarecurrentlysupported.
ToimportItems,runtheImport Items function,whichisundertheInventorymodule.
56
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
OEOrderImport
Usethistransactiontoimportorderentrydatafromavarietyofsources.Youcanimport
dataintoorderswithlines,scheduledetails,priceadjustments,andsalesorders.Youcan
importcomplete,incomplete,andbookedorders.Youcanalsoimportquota,ornon
quotasalescreditinformation,changestoexistingorders,linescheduledetail
informationwitheachorderandorderline,andinternalrequisitionordersfromOracle
Purchasing.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
OrderImport
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
SO_HEADERS_INTERFACE_ALL
FND_USER
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
57
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
ORIG_SYSTEM_REF
Originalsystemreference.
PO_NUMBER
Purchaseordernumber.
CUSTOMER_NAME
Customername.
CUSTOMER_NUMBER
Customernumberinlegacysystem.
Outputs
Field
Description
ORIGINAL_SYSTEM_REFERENCE
Originalsystemreference.
PURCHASE_ORDER_NUM
Purchaseordernumber.
CUSTOMER_NUMBER
Customernumberinlegacysystem.
CUSTOMER_NAME
Customername.
INTERFACE_STATUS
Currentstatusofthetransaction(pending,
rejected,orsuccess).
Usage Comments
ForeachrecordintheLineInterface,acorrespondingrecordshouldexistinthe
HeadersTable.Otherwise,theLinesrecordwillbeleftdanglingandwillnotbe
pickedupbyImportProcess.
YoucanenterHeaderInformationwithoutspecifyingLinesDetail.
Toimportorders,runtheImport Sales Orderfunction,whichisundertheOrderEntry
module.
PODocuments
Usethistransactiontoimportpriceandsalescataloginformationandresponsesinto
requestsforquotationsfromsuppliers.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
58
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Open Interface
PurchaseOrderDocuments
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
PO_INTERFACE_ERRORS
PO_HEADERS_INTERFACE
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
INTERFACE_TYPE
Errormessagesource.
INTERFACE_TRANSACTION_ID
ErrortransactionuniqueID.
COLUMN_NAME
Errorcolumnname.
ERROR_MESSAGE
Errormessagetext.
PO_HEADER_ID
UniquepurchaseorderheaderID.
VENDOR_NAME
Vendorname.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
59
Usage Comments
Youcanimportblanketpurchaseagreementsorcatalogquotations;youcannot
importstandardpurchaseorders.
Toimportpurchaseorderdocuments,runthePurchasing Documents Open Interface
function,whichisundertheOraclePurchasingmodule.
POReceiving
UsethistransactiontoimportreceiptinformationfromotherOracleApplicationsornon
Oraclesystems.YouusethisinterfacetointegrateyourOraclepurchasingapplication
withneworexistingapplications.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
Receiving
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
PO_INTERFACE_ERRORS
RCV_HEADERS_INTERFACE
RCV_TRANSACTIONS_INTERFACE
60
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
INTERFACE_TYPE
Errormessagesource.
INTERFACE_TRANSACTION_ID
ErrortransactionuniqueID.
COLUMN_NAME
Errorcolumnname.
ERROR_MESSAGE
Errormessagetext.
PO_HEADER_ID
UniquepurchaseorderheaderID.
PO_LINE_ID
UniquepurchaseorderlineID.
VENDOR_NAME
Vendorname.
Usage Comments
Toimportreceiptinformationfromopeninterfacetablestointernaltables,runthe
Receiving Transaction Processor function,whichisundertheOraclePurchasingmodule.
PORequisitions
UsethistransactiontoimportrequisitionsfromotherOracleApplicationsor
nonOraclesystems.ThistransactionenablesyoutointegrateyourOracleApplications
quicklywithneworexistingapplicationssuchasmaterialreplenishment,planning,
inventorymanagement,andproductioncontrolsystems.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
PORequisitions
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
61
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
PO_INTERFACE_TABLES
PO_RESCHEDULE_INTERFACE
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
INTERFACE_TYPE
Interfacename;forexample,Requisitions.
INTERFACE_TRANSACTION_ID
TransactionID.
COLUMN_NAME
Columninwhichtheerroroccurred.
ERROR_MESSAGE
Detailedexplanationoftheerror.
SOURCE_TYPE_CODE
Sourcetypecode.
QUANTITY
NumberofItemsintherequisition.
Usage Comments
ToimportrequisitionsruntheRequisition Import function,whichisundertheOracle
Purchasingmodule.
62
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
PORescheduleRequisitions
Usethistransactiontoreschedulerequisitionsaccordingtochangesinyourplanned
orders.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
PORescheduleRequisitions
Error SQL
None.
Usage Comments
Toimportreschedulinginformationforrequisitions,runtheReschedule Requisition
function,whichisundertheOraclePurchasingmodule.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
63
64
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
66
InvoiceOutbound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
66
PurchaseOrderChange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77
PurchaseOrderNew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
78
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
65
Overview
ThischapterprovidesanindepthexplanationoftheOracleApplications11.0toIS
sampletransactiondefinitions.OracletoIStransactionsperformqueriesagainstthe
Oracledatabaseandreturntherequestedinformationtotheclient.
Thischapterdescribesthetransactionsastheyexistinthesamples.Itdoesnotcoverany
modificationsthatyoucanmaketothesampletransactions.
YoushouldalreadyhaveanunderstandingofthewebMethodsIntegrationServer,the
OracleApplicationsAdapter,andtheOracleApplicationopeninterfaces.
ForinformationaboutIStoOracleApplications11.0transactions,seeChapter 3,
TransactionDefinitions(IStoOracleApplications11.0).
Transaction Overview
ThesampletransactionsretrievedatafromOracleApplications.Thesetransactionsare
triggeredfromwithinthewebMethodsIntegrationServer.AfullydefinedOracletoIS
transactionhastwoparts:afunctionalqueryandanacknowledgmentupdate.The
functionalqueryhasinputsintowhichtheusermapsqueryparametervalues.The
servicethenrunsthequeryandtheresultsareavailableasserviceoutputs.The
acknowledgmentserviceupdatesthedatabasetoindicatethatarecordhasbeen
processed.
Thecurrentlistoftransactionsincludesthefollowing:
PurchaseOrderChange
PurchaseOrderNew
InvoiceOutbound
InvoiceOutbound
UsethistransactiontoretrievenewinvoicesinyourOracleApplicationsystem.Youcan
retrieveinvoicesbycreationdaterange,organizationID,billablecustomername,thesite
usecode,andtransactionnumber.Thistransactionreturnsinvoicesthatarecompleted
andhavetheprintingoptionturnedonwithastatusofprintingpending.The
acknowledgementSQLmarksthespecifiedinvoicesothatthefunctionalquerywillnot
retrieveitasecondtime.
Functional Query
Inputs
TheinputsareusedtolimitwhichInvoicesyouwanttoretrieve.TheseSQLinputsare
exposedasserviceinputs.
66
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Outputs
Item Name
Description
ORG_ID
Selfexplanatory.
BILL_TO_CUSTOMER_NAME
Selfexplanatory.
SITE_USE_CODE
Selfexplanatory.
TRANSACTION_NUMBER
Selfexplanatory.
CREATION_DATE_FROM
Inclusivebeginningdatefor
CREATION_DATEfield.
CREATION_DATE_TO
Inclusiveendingdatefor
CREATION_DATEfield.
Theoutputcontainsallinvoicesreturnedbythequery.Eachinvoiceconsistsof1header
with1toNlinesandeachlinecontains1toNlinetaxrecords.Theresultwilllooklike
thefollowing:
Header[0]
Line[0]
Line_Tax[0]
One Line_Tax record for each line tax
One line record each Invoice line item
One Headers record for each Invoice
Header Details
Thefollowingtableshowsthedetailsofaninvoiceheader.Thecontentofmostfieldscan
bedeterminedbytheirname.Wherenecessary,adescriptionisprovided.
Item Name and Field Description (As Needed)
ORG_ID
DOCUMENT_TYPE
INVOICE_NAME
DOCUMENT_NUMBER
TRANSACTION_DATE
BILL_TO_CUSTOMER_CODE_INT
BILL_TO_CUSTOMER_NAME
BILL_TO_ADDRESS1
BILL_TO_ADDRESS2
BILL_TO_ADDRESS3
BILL_TO_ADDRESS4
BILL_TO_CITY
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
67
68
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
69
70
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
71
72
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Line Details
Thefollowingtableshowsthedetailsofaninvoicelineitem.Thecontentofmostfields
canbedeterminedbytheirnames.Wherenecessary,adescriptionisprovided.
Item Name and Field Description (as needed)
ORG_ID
TRANSACTION_ID
LINE_NUMBER
SALES_ORDER_NUMBER
SALES_ORDER_REVISION_NUMBER
SALES_ORDER_LINE_NUMBER
SALES_ORDER_DATE
SALES_CHANNEL
ITEM_ID
CUSTOMER_ITEM_NUMBER
CUSTOMER_ITEM_DESC
ITEM_DESCRIPTION
UOM_CODE
ORDERED_QUANTITY
QUANTITY
UNIT_STANDARD_PRICE
UNIT_SELLING_PRICE
LINE_AMOUNT
CREDIT_MEMO_REASON
CREDITED_LINE_NUMBER
SHIP_ORDER_STATUS_INT
TRANSACTION_REFERENCE_KEY
INTERFACE_LINE_CATEGORY
INTERFACE_LINE_ATTRIBUTE1
INTERFACE_LINE_ATTRIBUTE2
INTERFACE_LINE_ATTRIBUTE3
INTERFACE_LINE_ATTRIBUTE4
INTERFACE_LINE_ATTRIBUTE5
INTERFACE_LINE_ATTRIBUTE6
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
73
74
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
75
Acknowledgment SQL
Updatesthespecifiedinvoicetoshowithasbeenprocessedandprinted.
Inputs
TheinputsdefinewhichPOtoupdate.
DOCUMENT_TYPE
TRANSACTION_ID
INSTALLMENT_NUMBER
MULTIPLE_INSTALLMENTS_FLAG
MAXIMUM_INSTALLMENT_NUMBER
76
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Outputs
ThereisnooutputgeneratedbythisSQL.
Usage Comments
InvoicesareretrievedusingtheTRANSACTION_NUMBERfield,buttheyareacknowledged
usingtheTRANSACTION_IDfield.
PurchaseOrderChange
Usethistransactiontoretrieverevisedpurchaseorders.Youcanretrievenewpurchase
ordersbycreationdaterange,supplier,vendor,POtype,andPOnumberrange.This
transactiononlyretrievesPurchaseOrdersthatfittheabovecriteriaandhavealready
beenprintedormarkedasprocessed.TheacknowledgementSQLmarksthespecifiedPO
sothatitwillnotberetrievedbythefunctionalqueryasecondtime.
Functional Query
Inputs
SameasthePurchaseOrderNewtransaction.
Outputs
SameasthePurchaseOrderNewtransaction,exceptforthedifferencesnotedbelow.
Header Details
DoesnothaveaTRANSACTION_DATEfield.
Line Details
DoesnothaveanORG_IDfield.
Shipment Details
DoesnothaveanORG_IDfield.
ContainsaQUANTITY_PENDINGfield
Acknowledgment SQL
SameasforthePurchaseOrderNewtransaction.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
77
Inputs
SameasforthePurchaseOrderNewtransaction.
Outputs
SameasforthePurchaseOrderNewtransaction.
Usage Comments
PurchaseOrdersthathavebeenapprovedandpreviouslyprintedareretrieved.
YoucanretrieveonlyBLANKETandSTANDARDPurchaseOrdersTypes.To
retrieveaSTANDARDpurchaseorder,specifyaDOCUMENT_TYPEof
STANDARD.Toretrievethepurchaseagreements,specifyaDOCUMENT_TYPEof
BLANKET.Toretrievereleasesagainstapurchaseagreement,specifya
DOCUMENT_TYPEofRELEASE.
PurchaseOrderNew
Usethistransactiontoretrievenewpurchaseordersenteredintoyoursystem.Youcan
retrievenewpurchasesbycreationdaterange,supplier,vendor,POtype,andPO
numberrange.ThistransactiononlyretrievesPurchaseOrdersthatfittheabovecriteria
andhavenotbeenmarkedasprinted.TheacknowledgementSQLmarksthespecified
POasprintedsothatthefunctionalquerywillnotretrieveitasecondtime.
Functional Query
Inputs
TheinputsareusedtolimitwhatPurchaseOrdersyouwanttoretrieve.TheseSQL
inputsareexposedasserviceinputs.
Item Name
Description
CREATE_DATE_FROM
InclusivebeginningdateforPOCREATION_DATEfield.
CREATE_DATE_TO
InclusiveendingdateforPOCREATION_DATEfield.
SUPPLIER_NUMBER
Usedtolimitnewpurchaseordersretrievedtothis
supplier.
VENDOR_SITE_ID
Usedtolimitnewpurchaseordersretrievedtothisvendor
site.
DOCUMENT_TYPE
Usedtolimitnewpurchaseordersretrievedtothis
documenttype(STANDARD,BLANKET).
78
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Item Name
Description
PO_NUMBER_FROM
InclusivebeginningPOnumber.
PO_NUMBER_TO
InclusiveendingPOnumber.
Outputs
Theoutputcontainsallpurchaseordersreturnedbythequery.Eachpurchaseorder
consistsof1headerwith1toNlinesandeachlinecontains1toNshipmentrecords.The
resultlookslikethefollowing:
Headers[0]
Lines[0]
Shipments[0]
One Shipments record for each shipment record
One Lines record each line item
One Headers record for each Purchase Order
Header Details
Aheaderconsistsofthefollowingfields.Thecontentofmostfieldscanbedeterminedby
theirname.Wherenecessary,adescriptionisprovided.
Item Name and Field Description (as needed)
ORG_ID
DOCUMENT_TYPE
Description:STANDARD,BLANKET,orRELEASE.
DOCUMENT_CODE
TRANSACTION_DATE
PO_NUMBER
POR_RELEASE_ID
Description:Purchaseorderrelease
information.
POR_RELEASE_NUM
POR_RELEASE_DATE
CREATION_DATE
REVISION_NUM
REVISED_DATE
COMMENTS
PO_TYPE
Description:STANDARDorBLANKET.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
79
80
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
81
82
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
83
84
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
85
86
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Description
ORG_ID
SHIPMENT_NUMBER
QUANTITY_ORIGINAL
UOM_CODE
Unitofmeasurecode.
Description:Unitofmeasurecode.
SHIPMENT_NEED_BY_DATE
SHIPMENT_PROMISED_DATE
SHIPMENT_LAST_ACCEPTABLE_DAT
E
QUANTITY_CANCELLED
QUANTITY_RECEIVED
PRICE_OVERRIDE
CANCELLED_FLAG
CANCELLED_DATE
SHIP_VIA
FOB_CODE
FREIGHT_TERMS
TAXABLE_FLAG
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
87
Item Name
Description
SHIPMENT_ATTRIBUTE_CATEGORY
SHIPMENT_ATTRIBUTE1
SHIPMENT_ATTRIBUTE2
SHIPMENT_ATTRIBUTE3
SHIPMENT_ATTRIBUTE4
SHIPMENT_ATTRIBUTE5
SHIPMENT_ATTRIBUTE6
SHIPMENT_ATTRIBUTE7
SHIPMENT_ATTRIBUTE8
SHIPMENT_ATTRIBUTE9
SHIPMENT_ATTRIBUTE10
SHIPMENT_ATTRIBUTE11
SHIPMENT_ATTRIBUTE12
SHIPMENT_ATTRIBUTE13
SHIPMENT_ATTRIBUTE14
SHIPMENT_ATTRIBUTE15
SHIP_TO_LOCATION_ID
SHIP_TO_LOCATION_CODE
SHIP_TO_CONTACT_LAST_NAME
SHIP_TO_CONTACT_FIRST_NAME
SHIP_TO_ADDRESS_LINE_1
SHIP_TO_ADDRESS_LINE_2
SHIP_TO_ADDRESS_LINE_3
SHIP_TO_CITY
SHIP_TO_POSTAL_CODE
SHIP_TO_COUNTRY
SHIP_TO_REGION_1
SHIP_TO_REGION_2
SHIP_TO_REGION_3
SHIP_TO_PHONE1
SHIP_TO_PHONE2
SHIP_TO_PHONE3
88
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Item Name
Description
PO_HEADER_ID
Description:ShowsrelationshiptoPO
header.
PO_LINE_ID
Description:ShowsrelationshiptoPO
header.
POR_RELEASE_ID
POR_RELEASE_NUM
LINE_LOCATION_ID
Acknowledgment SQL
Updatesthespecifiedpurchaseordertoshowithasbeenprocessed.ItmarksthePOas
printedandupdatestheprintdate,edi_processed_flag,andthelastupdatedate.Italso
performsthenecessaryarchiveprocedures.ItupdatesandarchivesasinglePOatatime.
Inputs
TheinputsdefinewhichPOtoupdate.
ORG_ID
DOCUMENT_TYPE
PO_NUMBER
PO_TYPE
POR_RELEASE_NUMBER
Outputs
ThereisnooutputgeneratedbythisSQL.
Usage Comments
PurchaseOrdersthathavebeenapprovedandnotprintedareretrieved.
PurchaseOrdersthatareCancelledoronHoldarenotretrieved.
OnlyBLANKETandSTANDARDPurchaseOrdersTypescanberetrieved.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
89
90
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
APInvoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
93
ARCustomers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
INVDemand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
96
INVItems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
INVOpenTransactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
99
INVReplenishment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
101
OEOrderImport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
102
OEShipConfirm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
104
PORequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
105
PORescheduleRequisitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
106
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
91
Overview
ThischapterprovidesanindepthexplanationoftheIStoOracleApplications10.7SC
sampletransactiondefinitions.IStoOracleApplicationstransactionsupdatetheOracle
databasewithinformationfromanenduserorXMLfile.
Thischapterdescribesthetransactionsastheyexistinthesamples.Itdoesnotcoverany
modificationsthatyoucanmaketothesampletransactions.
YoushouldalreadyhaveanunderstandingofthewebMethodsIntegrationServer,the
OracleApplicationAdapter,andtheOracleApplicationopeninterfaces.
ForinformationaboutOracleApplications10.7SCtoIStransactions,seeChapter 6,
TransactionDefinitions(OracleApplications10.7SCtoIS).
Transaction Overview
ThesampletransactionsinsertdataintoOracleApplicationsopeninterfacetables.A
fullydefinedIStoOracletransactionhastwoparts:theopeninterfacetable(s)andan
errorSQLquery.Thetransactionmaygrouponeormoreopeninterfacetablestogether.
Everycolumnfromeachopeninterfacetableforthedefinedtransactionwillbeexposed
asinputtotheadapterservice.Aftertheserviceinsertsrecordsintocorrespondingopen
interfacetables,OracleApplicationsmustruntherespectiveimportprocess.When
completed,youcantestthetransactionforerrorsfromthewebMethodsIntegration
ServerbyusingtheerrorSQLquery.Thishasinputsintowhichtheusermapsquery
parametervalues.Theservicethenrunsthequeryandtheresultsareavailableasservice
outputs.
FormoreinformationabouttheIStoOracleApplications10.7SCtransactions,seeyour
OracleApplicationsdocumentation.
Thischaptershowsthetransactionsinalphabeticalorder.Thetablebelowshowsthe
transactionsorganizedbyOracleApplicationsmodule.
Module
webMethods Transaction
Page
Payables
APInvoice
93
Receivables
ARCustomers
94
Inventory
INVDemand
96
INVItems
97
INVOpenTransactions
99
INVReplenishment
101
92
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Module
webMethods Transaction
Page
OrderEntry
OEOrderImport
102
OEShipConfirm
104
PORequisitions
105
PORescheduleRequisitions
106
Purchasing
APInvoice
Usethistransactiontocreateinvoicesfrominvoiceinformationloadedfromother
accountingsystemandtoupdatevouchernumberinformationforexistinginvoices.The
PayablesOpenInterfaceImportprogramcreatesinvoicestoimportintoPayablesusing
invoicedatastoredinthePayablesopeninterface.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
APInvoiceOpenImportTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
AP_EXPENSE_REPORT_HEADERS_ALL
FND_USER
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
93
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthetransaction;that
is,theuserIDintheCREATED_BYfieldinthe
transaction.
SOURCE
ImportsourcenameforyournonOracleaccounting
system.
Outputs
Usage Comments
Field
Description
VENDOR_ID
VendorID.
VENDOR_SITE_ID
VendorsiteID.
INVOICE_NUM
Invoicenumber.
SOURCE
InvoiceID.
REJECT_CODE
Description.
ARCustomers
Usethistransactiontocreateandimportcustomers,customerprofiles,addresses,
contacts,andphonenumbersfromothersystems.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
CustomerTransaction
94
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
RA_CUSTOMERS_INTERFACE_ALL
FND_USER
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
CUSTOMER_NAME
Customernametobeimported.
Outputs
Field
Description
ORIG_SYSTEM_CUSTOMER_REF
Originalsystemcustomerreference(i.e.
primarykeyforcustomerinotherapplication).
CUSTOMER_NAME
Nameofthecustomertobeimported.
INTERFACE_STATUS
Errorcodes.Forerrorcodedefinitions,see
http://www.oracle.com/.
PROCESS_MODE
Processflagtoindicatewhetherprocessingof
rowsucceededorfailed.
CUSTOMER_NAME
Customername.
ERROR_EXPLANATION
Detailederrormessage.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
95
Usage Comments
Toimportinvoiceinformation,runtheCustomer Interfacerequest,whichisunderthe
ARmodule.
YoucanrunCustomer Interface Transferreporttoseeexacterrors.
INACTIVE_FLAG isarequiredfield.Setitto1forYesand2forNo.
INVDemand
UsethistransactiontointegrateanexternalOrderEntrywithanOracleApplications
Inventory.Youcanaddademand,addandmodifyareservation,querytheonhand
quantity,changeavailablequantitiestoreservequantities,changeavailablequantitiesto
promisedquantities,andreserveonhandquantities.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
DemandTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_DEMAND_INTERFACE
MFG_LOOKUPS
FND_USER
96
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthetransaction;
thatis,theuserIDintheCREATED_BYfieldinthe
transaction.
Outputs
Field
Description
SCHEDULE_GROUP_ID
GroupID.
DEMAND_SOURCE_TYPE
Originationofthedemandorreservation
(e.g.2SalesOrder).
ACTION_CODE
Codeusedtoidentifywhatactionhastobetakenwith
thisrecord.
ORGANIZATION_ID
OrganizationID.
INVENTORY_ITEM_ID
ItemID.
ERROR
Errormessage.
USER_NAME
Username.
Usage Comments
Toimportdemandinformation,runtheProcess Demand Interfacerequest,whichis
undertheBackgroundmodule.
InMTL_DEMAND_INTERFACEtherearecaseswhenanerror_codeisgenerated
thatdoesnotprovideanerror_explanation.
INVItems
UsethistransactiontoconvertinventoryItemsfromanotherinventorysystem,migrate
assemblyandcomponentitemsfromalegacymanufacturingsystem,convertpurchased
itemsfromacustompurchasingsystem,andinsertnewitemsfromaProductData
Managementpackage.Whenimportingitems,thistransactioncreatesnewItemsinthe
ItemMasterorganizationorassignsexistingItemstoadditionalorganizations.Youcan
specifyvaluesforallItemattributes,oryoucanusedefaultornullvalues.TheINVItems
transactionalsoenablesyoutoimportrevisiondetails,includingpastandfuture
revisionsandeffectivedates.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
97
Open Interface
ItemsTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_SYSTEM_ITEM_INTERFACE
MTL_INTERFACE_ERRORS
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthetransaction;
thatis,theuserIDintheCREATED_BYfieldinthe
transaction.
Outputs
Field
Description
ITEM_NUMBER
Itemnumberinoldsystem.
DESCRIPTION
Descriptionofitem.
TRANSACTION_TYPE
Transactiontype(CREATEorUPDATE).
98
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Field
Description
PROCESS_FLAG
Processflagtoindicatewhetherprocessingofrowhas
succeededorfailed.Possibleprocessflagsare:
ERROR_MESSAGE
Pending
Assigncomplete
Assign/validationfailed
Validationsucceeded;importfailed
Importinprocess
Importsucceeded
Detailederrormessage.
Usage Comments
TocreateItems,chooseTRANSACTION TYPEasCREATE.WhenimportingtheseItems,
chooseCreate Items.
ToupdateItems,chooseTRANSACTION_TYPEasUPDATE.WhenimportingtheseItems
chooseUpdate existing Items.
IfyouhavealistoftransactionscontainingbothUPDATESandCREATES,giveall
CREATESoneSET_PROCESS_IDandallUPDATESadifferentSET_PROCESS_ID.When
importingyouspecifyItemstoimportbytheirSET_PROCESS_ID.
Becarefulwhenrunningtheimportprocess.Wehaveexperiencedaproblemrunning
OracleApplications10.7SConWindowsNT.IfyouspecifyaSET_PROCESS_IDusedfor
yourCREATErecordsandthenduringtheimportyouspecifytheSET_PROCESS_IDfor
UPDATErecords,aDr.WatsonErrorwillbetriggeredonOracleApplications.The
processflagontherecordswillshowpendingandtheSET_PROCESS_IDwillbesetto
999.
OracleApplicationsdoesnotallowthedeletionofItemsusingtheopeninterface
tables.CREATEandUPDATEtransactiontypesarecurrentlysupported.
ToimportItems,runtheImport Itemsfunction,whichisundertheInventorymodule.
INVOpenTransactions
Usethistransactiontoloadtransactionsfromexternalapplicationsandfeedersystems,
whichincludesales,ordershipmenttransactionsfromanorderentrysystemotherthan
OracleOrderEntry,simplematerialissues,receipts,ortransfers.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
99
Open Interface
InventoryOpenTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_TRANSACTIONS_INTERFACE
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
INVENTORY_ITEM_ID
InventoryitemID.
TRANSACTION_QUANTITY
NumberofItemsinthetransaction.
ERROR_EXPLANATION
Detailederrorexplanation.
TRANSACTION_SOURCE_NAME
Nameofthesource.
100
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Usage Comments
Toimporttransactions,runtheImport Open Transactions function,whichisunderthe
Inventorymodule.
INVReplenishment
Usethistransactiontoloadreplenishmentrequest(stocktakecount,requisitionrequest
fornontrackablesubinventory)fromexternalsystems.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
ReplenishmentOpenTransaction
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
MTL_REPLENISH_HEADERS_INT
MTL_REPLENISH_LINES_INT
MFG_LOOKUPS
FND_USER
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
101
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
COUNT_NAME
Outputs
Field
Description
INVENTORY_ITEM_ID
InventoryitemID.
TRANSACTION_QUANTITY
NumberofItemsinthetransaction.
ERROR_EXPLANATION
Detailederrorexplanation.
TRANSACTION_SOURCE_NAME
Nameofthesource.
Usage Comments
Toimporttransactions,runtheImport Open Transactions function,whichisunderthe
Inventorymodule.
OEOrderImport
Usethistransactiontoimportorderentrydatafromavarietyofsources.Youcanimport
dataintoorderswithlines,scheduledetails,priceadjustments,andsalesorders.Youcan
importcomplete,incomplete,andbookedorders.Youcanalsoimportquota,ornon
quotasalescreditinformation,changestoexistingorders,linescheduledetail
informationwitheachorderandorderline,andinternalrequisitionordersfromOracle
Purchasing.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
OrderImport
102
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
SO_HEADERS_INTERFACE_ALL
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
ORIG_SYSTEM_REF
Originalsystemreference.
PO_NUMBER
Purchaseordernumber.
CUSTOMER_NAME
Customername.
CUSTOMER_NUMBER
Customernumberinlegacysystem.
Outputs
Field
Description
ORIGINAL_SYSTEM_REFERENCE
Originalsystemreference.
PURCHASE_ORDER_NUM
Purchaseordernumber.
CUSTOMER_NUMBER
Customernumberinlegacysystem.
CUSTOMER_NAME
Customername.
INTERFACE_STATUS
Currentstatusofthetransaction(pending,
rejected,orsuccess).
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
103
Usage Comments
ForeachrecordintheLineInterface,acorrespondingrecordshouldexistinthe
HeadersTable.Otherwise,theLinesrecordwillbeleftdanglingandwillnotbe
pickedupbyImportProcess.
YoucanenterHeaderInformationwithouthavingLinesDetail.
ToimportItems,runtheImport Sales Orderfunction,whichisundertheOrderEntry
module.
OEShipConfirm
Usethistransactiontoimportshippinginformationintopicktables.Youcanalsousethis
transactiontoclosethepickslipwithoutexplicitlynavigatingtotheConfirmShipments
screen.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
ShipConfirmImport
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
WSH_PICKING_HEADERS_INTERFACE
FND_USER
104
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthetransaction;
thatis,theuserIDintheCREATED_BYfieldinthe
transaction.
PICK_SLIP_NUMBER
Pickslipnumber.
Outputs
Field
Description
TRANSACTION_ID
TransactionID.
PICK_SLIP_NUMBER
Pickslipnumber.
WAY_BILL_NUMBER
Waybillnumber.
DATE_SHIPPED
Shippingdate.
ACTION_CODE
Actiontobetaken.
ERROR_EXPLANATION
Errormessage.
Usage Comments
Toimportshippinginformation,runtheShip Confirm Open Interfacefunction,whichis
undertheOrderEntry/ConfirmShippingmodule.
PORequisitions
UsethistransactiontoimportrequisitionsfromotherOracleApplicationsornonOracle
systems.ThistransactionenablesyoutointegrateyourOracleApplicationsquicklywith
neworexistingapplications,suchasmaterialreplenishment,planning,inventory
management,andproductioncontrolsystems.
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
Requisitions
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
105
Error SQL
Openinterfacetable(s)queriedbytheerrorSQLareasfollows:
PO_INTERFACE_ERRORS
PO_REQUISITIONS_INTERFACE
FND_USER_VIEW
Inputs
Field
Description
WM_USER
UserIDofthepersonwhoinitiatedthe
transaction;thatis,theuserIDinthe
CREATED_BYfieldinthetransaction.
Outputs
Field
Description
INTERFACE_TYPE
Interfacename;forexample,Requisitions.
INTERFACE_TRANSACTION_ID
TransactionID.
COLUMN_NAME
Columninwhichtheerroroccurred.
ERROR_MESSAGE
Detailedexplanationoftheerror.
SOURCE_TYPE_CODE
Sourcetypecode.
QUANTITY
NumberofItemsintherequisition.
Usage Comments
ToimportrequisitionsruntheRequisition Import Requestfunction,whichisunderthe
OraclePurchasingmodule.
PORescheduleRequisitions
Usethistransactiontoreschedulerequisitionsaccordingtochangesinyourplanned
orders.
106
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Formoreinformationaboutthistransaction,seeyourOracleApplications
documentation.
Open Interface
Requisitions
Error SQL
None.
Usage Comments
Toimportreschedulinginformationforrequisitions,runtheReschedule Requisition
Requestfunction,whichisundertheOraclePurchasingmodule.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
107
108
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
110
AdvanceShipNotice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
110
InvoiceOutbound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
115
PurchaseOrderChange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
125
PurchaseOrderNew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
126
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
109
Overview
ThischapterprovidesanindepthexplanationoftheOracleApplications10.7SCtoIS
sampletransactiondefinitions.OracleApplicationstoIStransactionsperformqueries
againsttheOracledatabaseandreturntherequestedinformationtotheclient.
Thischapterdescribesthetransactionsastheyexistinthesamples.Itdoesnotcoverany
modificationsthatyoucanmaketothesampletransactions.
YoushouldalreadyhaveanunderstandingofthewebMethodsIntegrationServer,the
OracleApplicationsAdapter,andtheOracleApplicationopeninterfaces.
ForinformationaboutIStoOracleApplications10.7SCtransactions,seeChapter 5,
TransactionDefinitions(IStoOracleApplications10.7SC).
Transaction Overview
ThesampletransactionsretrievedatafromOracleApplications.Thesetransactionsare
triggeredfromwithinthewebMethodsIntegrationServer.AfullydefinedOracletoIS
transactionhastwoparts:afunctionalqueryandanacknowledgmentupdate.The
functionalquerywillhaveinputsintowhichtheusermapsqueryparametervalues.The
servicethenrunsthequeryandtheresultsareavailableasserviceoutputs.The
acknowledgmentserviceupdatesthedatabasetoindicatethatarecordhasbeen
processed.
Thecurrentlistoftransactionsincludesthefollowing:
AdvanceShipNotice
InvoiceOutbound
PurchaseOrderChange
PurchaseOrderNew
AdvanceShipNotice
Usethistransactiontoretrievenewadvanceshipnotices.Youcanretrievenewadvance
shipmentnoticesbyCustomerName,PickingBatchNumber,andPickSlipnumber
range.Thistransactiononlyretrievesshipnoticesthatfittheabovecriteriaandhavenot
beenmarkedasprinted.TheacknowledgementSQLmarksthespecifiedshipmentnotice
asprintedsothatthefunctionalquerywillnotretrieveitasecondtime.
Functional Query
Inputs
TheinputsareusedtolimitwhatPurchaseOrdersyouwanttoretrieve.TheseSQL
inputsareexposedasserviceinputs.
110
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Item Name
Description
PICKING_BATCH
Advanceshipmentnoticesforthisbatch.
PICK_SLIP_NUMBER_FROM
Beginningpickslipnumber(inclusive).
PICK_SLIP_NUMBER_TO
Endingpickslipnumber(inclusive).
CUSTOMER_NAME
Advanceshipmentnoticesforthiscustomer.
Outputs
Theoutputcontainsalladvanceshipmentnoticesreturnedbythequery.Eachshipment
noticeconsistsof1headerwith1toNlinesandeachlinecontains1toNshipment
records.Theresultlookslikethefollowing:
Headers[0]
Lines[0]
Shipments[0]
One Shipments record for each shipment record
One Lines record each line item
One Headers record for each Purchase Order
Header Details
Aheaderconsistsofthefollowingfields.Thecontentofmostfieldscanbedeterminedby
theirname.Wherenecessary,adescriptionisprovided.
Item Name and Description (as needed)
ORG_ID
TRANSACTION_DATE
WAY_BILL_NUMBER
PICK_SLIP_NUMBER
DATE_SHIPPED
SHIP_PARTIAL_FLAG
PICKING_BATCH
NUMBER_OF_PACKAGES
FREIGHT_TERMS_CODE
FOB_CODE
SHIPPING_METHOD_CODE
TOTAL_WEIGHT
WEIGHT_UOM
PURCHASE_ORDER_NUMBER
SALES_ORDER_NUMBER
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
111
112
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
113
Acknowledgment SQL
Updatesthespecifiedpickslipnumbertoshowithasbeenprocessed.MarkstheSales
OrderasSendandupdatestheShipNoticeSentflagtoY.UpdatestheShipNotice
SendDateandthelastupdatedate.
Inputs
Theinputsdefinewhichsalesordertoupdate.
NHEADER_ID - ThePICKING_HEADER_IDtoacknowledge.
Outputs
ThereisnooutputgeneratedbythisSQL.
Usage Comments
SalesOrdersthathavebeenpickedupandnotshippedareretrieved.
114
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
InvoiceOutbound
UsethistransactiontoretrievenewinvoicesinyourOracleApplicationsystem.Youcan
retrieveinvoicesbycreationdaterange,organizationID,billablecustomername,siteuse
code,andtransactionnumber.Onlyinvoicesthatarecompletedandhavetheprinting
optionturnedonwithastatusofprintingpendingwillbereturned.The
acknowledgementSQLmarksthespecifiedinvoicesothatthefunctionalquerywillnot
retrieveitasecondtime.
Functional Query
Inputs
TheinputsareusedtolimitwhatInvoicesyouwanttoretrieve.TheseSQLinputsare
exposedasserviceinputs.
Item Name and Description (as needed)
ORG_ID
BILL_TO_CUSTOMER_NAME
SITE_USE_CODE
TRANSACTION_NUMBER
CREATION_DATE_FROM
Description:InclusivebeginningdateforCREATION_DATEfield.
CREATION_DATE_TO
Description:InclusiveendingdateforCREATION_DATEfield.
Outputs
Theoutputcontainsallinvoicesreturnedbythequery.Eachinvoiceconsistsof1header
with1toNlinesandeachlinecontains1toNlinetaxrecords.Theresultslooklikethe
following:
Header[0]
Line[0]
Line_Tax[0]
One Line_Tax record for each Line tax
One Line record each Invoice line item
One Headers record for each Invoice
Header Details
Thefollowingtableshowsthedetailsofaninvoiceheader.Thecontentofmostfieldscan
bedeterminedbytheirname.Wherenecessary,adescriptionisprovided.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
115
116
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
117
118
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
119
120
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
121
122
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Description
ORG_ID
TRANSACTION_ID
LINE_NUMBER
CUSTOMER_TRX_LINE_ID
TAX_LINE_NUMBER
LINE_TYPE
TAX_AMOUNT
TAX_RATE
TAX_PRECEDENCE
TAX_CODE
LINK_TO_CUST_TRX_LINE_ID
TAX_ATTRIBUTE_CATEGORY
TAX_ATTRIBUTE1
TAX_ATTRIBUTE2
TAX_ATTRIBUTE3
TAX_ATTRIBUTE4
TAX_ATTRIBUTE5
TAX_ATTRIBUTE6
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
123
Description
TAX_ATTRIBUTE7
TAX_ATTRIBUTE8
TAX_ATTRIBUTE9
TAX_ATTRIBUTE10
TAX_ATTRIBUTE11
TAX_ATTRIBUTE12
TAX_ATTRIBUTE13
TAX_ATTRIBUTE14
TAX_ATTRIBUTE15
TAX_EXEMPT_FLAG
TAX_EXEMPT_NUMBER
TAX_EXEMPT_REASON_CODE
TAX_TYPE
DESCRIPTION
LOCATION
TAX_CLASSIFICATION
VAT_TRANSACTION_TYPE
VAT_TAX_ATTRIBUTE_CATEGORY
VAT_TAX_ATTRIBUTE1
VAT_TAX_ATTRIBUTE2
VAT_TAX_ATTRIBUTE3
VAT_TAX_ATTRIBUTE4
VAT_TAX_ATTRIBUTE5
VAT_TAX_ATTRIBUTE6
VAT_TAX_ATTRIBUTE7
VAT_TAX_ATTRIBUTE8
VAT_TAX_ATTRIBUTE9
VAT_TAX_ATTRIBUTE10
VAT_TAX_ATTRIBUTE11
VAT_TAX_ATTRIBUTE12
VAT_TAX_ATTRIBUTE13
124
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Description
VAT_TAX_ATTRIBUTE14
VAT_TAX_ATTRIBUTE15
Acknowledgment SQL
Updatesthespecifiedinvoicetoshowithasbeenprocessedandprinted.
Inputs
TheinputsdefinewhichPOtoupdate.
DOCUMENT_TYPE
TRANSACTION_ID
INSTALLMENT_NUMBER
MULTIPLE_INSTALLMENTS_FLAG
MAXIMUM_INSTALLMENT_NUMBER
Outputs
ThereisnooutputgeneratedbythisSQL.
Usage Comments
InvoicesareretrievedusingtheTRANSACTION_NUMBERfield,buttheyareacknowledged
usingtheTRANSACTION_IDfield.
PurchaseOrderChange
Usehistransactiontoretrieverevisedpurchaseorders.Youcanretrievenewpurchase
ordersbythecreationdaterange,supplier,vendor,POtype,andPOnumberrange.This
transactiononlyretrievesPurchaseOrdersthatfittheabovecriteriaandhavealready
beenprintedormarkedasprocessed.TheacknowledgementSQLmarksthespecifiedPO
sothatitwillnotberetrievedbythefunctionalqueryasecondtime.
Functional Query
Inputs
SameasforthePurchaseOrderNewtransaction.
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
125
Outputs
SameasforthePurchaseOrderNewtransaction,exceptforthedifferencesnotedbelow.
Header Details
DoesnothaveaTRANSACTION_DATEfield.
Line Details
DoesnothaveanORG_IDfield.
Shipment Details
DoesnothaveanORG_IDfield.
ContainsaQUANTITY_PENDINGfield.
Acknowledgment SQL
SameasforthePurchaseOrderNewtransaction.
Inputs
SameasforthePurchaseOrderNewtransaction.
Outputs
SameasforthePurchaseOrderNewtransaction.
Usage Comments
PurchaseOrdersthathavebeenapprovedandpreviouslyprintedareretrieved.
YoucanretrieveonlyBLANKETandSTANDARDPurchaseOrdersTypes.To
retrieveaSTANDARDpurchaseorder,specifyaDOCUMENT_TYPEof
STANDARD.Toretrievethepurchaseagreements,specifyaDOCUMENT_TYPEof
BLANKET.Toretrievereleasesagainstapurchaseagreement,specifya
DOCUMENT_TYPEofRELEASE.
PurchaseOrderNew
Usethistransactiontoretrievenewpurchaseordersenteredintoyoursystem.Youcan
retrievenewpurchasesbycreationdaterange,supplier,vendor,POtype,andPO
numberrange.ThistransactiononlyretrievesPurchaseOrdersthatfittheabovecriteria
andhavenotbeenmarkedasprinted.TheacknowledgementSQLmarksthespecified
POasprintedsothatthefunctionalquerywillnotretrieveitasecondtime.
126
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Functional Query
Inputs
TheinputsareusedtolimitwhatPurchaseOrdersyouwanttoretrieve.TheseSQL
inputsareexposedasserviceinputs.
Item Name
Description
CREATE_DATE_FROM
InclusivebeginningdateforPO
CREATION_DATEfield.
CREATE_DATE_TO
InclusiveendingdateforPO
CREATION_DATEfield.
SUPPLIER_NUMBER
Usedtolimitnewpurchaseordersretrievedto
thissupplier.
VENDOR_SITE_ID
Usedtolimitnewpurchaseordersretrievedto
thisvendorsite.
DOCUMENT_TYPE
Usedtolimitnewpurchaseordersretrievedto
thisdocumenttype(STANDARD,BLANKET).
PO_NUMBER_FROM
InclusivebeginningPOnumber.
PO_NUMBER_TO
InclusiveendingPOnumber.
Outputs
Theoutputcontainsallpurchaseordersreturnedbythequery.Eachpurchaseorder
consistsof1headerwith1toNlinesandeachlinecontains1toNshipmentrecords.The
resultlookslikethefollowing:
Headers[0]
Lines[0]
Shipments[0]
One Shipments record for each shipment record
One Lines record each line item
One Headers record for each Purchase Order
Header Details
Aheaderconsistsofthefollowingfields.Thecontentofmostfieldscanbedeterminedby
theirname.Wherenecessary,adescriptionisprovided.
Item Name and Description (as needed)
ORG_ID
DOCUMENT_TYPE
Description:STANDARD,BLANKET,orRELEASE.
DOCUMENT_CODE
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
127
128
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
129
130
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
131
132
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
133
134
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Caution!
SHIPMENT_NUMBER
QUANTITY_ORIGINAL
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
135
136
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Acknowledgment SQL
Updatesthespecifiedpurchaseordertoshowithasbeenprocessed.MarksthePOas
printedandupdatestheprintdate,edi_processed_flag,andthelastupdatedate.Italso
performsthenecessaryarchiveprocedures.ItupdatesandarchivesasinglePOatatime.
Inputs
TheinputsdefinewhichPOtoupdateare:
ORG_ID
DOCUMENT_TYPE
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
137
PO_NUMBER
PO_TYPE
POR_RELEASE_NUMBER
Outputs
ThereisnooutputgeneratedbythisSQL.
Usage Comments
PurchaseOrdersthathavebeenapprovedandnotprintedareretrieved.
PurchaseOrdersthatareCancelledoronHoldarenotretrieved.
OnlyBLANKETandSTANDARDPurchaseOrdersTypescanberetrieved.
138
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
140
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
139
pub.adapter.wmoa:deleteAllTransactions
Thisserviceallowsyoutodeletealltransactiondefinitionsatonetimeusingthe
Developer,ratherthandeletingeachtransactiondefinitionindividuallyusingthe
webMethodsServerAdministrator.
Input Parameters
Value. TheOracleApplicationsreleasenumberofthe
transactiondefinitionstobedeleted.
OARelease
Validvalues:107SC,107NCA,11,11i
Output Parameters
fOARelease TheOracleApplicationsreleasenumber.
deleteStatus
transactionName Thenameofthetransactiondefinition.
message Informationalmessage.
pub.adapter.wmoa:importAllTransactions
Thisserviceallowsyoutoimportallofthetransactiondefinitionsintotherepositoryfor
aparticularreleaseofOracleApplicationsatonetimeusingtheDeveloper,ratherthan
importingthetransactiondefinitionsindividuallyusingthewebMethodsServer
Administrator.
Therearenoinputparameters.Theserviceimportsall.txpfileslocatedinthe
IntegrationServer_directory\packages\WmOAAdapter\exchangedirectoryintothe
repository.
Output Parameters
importStatus
success Eithertrueorfalse.
message Informationalmessage.
fileTranName Thenameofthetransportfile(.txp)ofthe
transactiondefinition.
importTranName Transactiondefinitionname.
140
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Index
A
error handling 28
generating 27
generating client code 27
conventions used in this document 11
creating
invoices for existing purchase orders 31, 32, 47,
93
cross references between customer items and
existing items, importing 35, 52
Customer Items Cross Reference open interface 35,
52
Customer Items open interface 36, 50
customer items, importing 36, 50
customers
importing 33, 48, 94
built-in services
pub.art.transaction:commitTransaction 140
pub.art.transaction:rollbackTransaction 140
built-in utility services
description 21
error handling
Oracle Applications errors 28
webMethods clients 28
external order entry with an Oracle Applications
inventory, integrating 96
client code
considerations during development 27
generating
database scripts
description 19
deleteAllTransactions service 140
developing webMethods client code, considerations
27
developing webMethods clients
considerations 27
error handling 28
generating client code 27
document, as input/output to transaction service 23
documentation
additional 12
conventions used 11
feedback 12
using effectively 11
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
141
Index
client code 27
I
import process
detecting errors in 26
importAllTransactions service 140
importing
cross references between customer items and
existing items 35, 52
customer items 36, 50
order entry data 38, 57, 102
price and sales catalog information 39, 58
receipt information 41, 60
requisitions from other Oracle applications or nonOracle systems 42, 61, 105
shipping information data 104
importing customers 33, 48, 94
ininstalling service components from Oracle
Applications 21
installing service components on Oracle
Applications 19
integrating
external order entry with an Oracle Applications
inventory 96
INVCustomerItemCrossRef transaction (IS-toOracle Applications 11.5) 35
INVCustomerItems Transaction (IS-to-Oracle
Applications 11.0) 50
INVCustomerItems Transaction (IS-to-Oracle
Applications 11.5) 36
INVCustomerItemsCrossReference transaction (ISto-Oracle Applications 11.0) 52
INVDemand transaction (IS-to-Oracle Applications
10.7SC) 96
Inventory Demand
open interface 96
Inventory Open Transaction open interface 53, 99
Inventory Oracle Applications module
INVCustomerItems transaction 36, 50
INVCustomerItemsCrossReference transaction
35, 52
INVDemand transaction 96
INVItems transaction 37, 55, 98
INVOpenTransactions transaction 53, 100
INVReplenishment transaction 101
inventory, converting systems 37, 55, 97
INVItems transaction (IS-to-Oracle Applications
10.7SC) 97
142
J
Java client code, generating 27
L
loading transactions from external applications and
feeder systems 53, 99, 101
logging into Oracle Applications instances 28
M
modules, Oracle Applications
Accounts Receivable
ARCustomers transactions 34, 48, 94
Inventory
INVCustomerItemCrossRef transaction 35
INVCustomerItems transactions 36, 50
INVCustomerItemsCrossReference transaction 52
INVDemand transaction 96
INVItems transaction 37, 55, 98
INVOpenTransaction transaction 53, 100
INVReplenishment transaction 101
Order Entry 38, 57
Order Entry/Shipping 102, 104
Payables 31, 32, 47, 93
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Index
Purchasing
PODocuments transaction 40, 59
POReceiving transaction 41, 60
PORequisitions transaction 42, 61, 105
PORescheduleRequisitions transaction 43, 63, 107
O
OEOrderImport (IS-to-Oracle Applications 10.7SC)
transaction 102
OEOrderImport (IS-to-Oracle Applications 11.0) transaction
57
OEOrderImport (IS-to-Oracle Applications 11.5) transaction
38
OEShipConfirm (IS-to-Oracle Applications 10.7SC)
transaction 104
open interface
AP Invoice Open Import Transaction 31, 32, 47
open interfaces
AP Invoice Open Import Transaction 93
AR Customer Transaction 33, 48, 94
Customer Items Cross Reference 35, 52
Customer Items Transaction 36, 50
Inventory Demand 96
Inventory Open Transaction 53, 99
Items Transaction 37, 55, 97
Order Import 102
Receiving Open 41, 60
Replenishment Open Transaction 101
Requisitions 39, 42, 43, 58, 61, 63, 105, 106
Ship Confirm Import 104
Shipping Sales Order Import Transaction 38, 57
Open Requisitions open interface 39, 43, 58, 63
Oracle Applications
installing service components from 21
installing service components on 19
Oracle Applications instances
logging into and out of 28
Oracle Applications modules
Accounts Receivable
ARCustomers transactions 34, 48, 94
Inventory
INVCustomerItemCrossRef transaction 35
INVCustomerItems transactions 36, 50
INVCustomerItemsCrossReference transaction 52
INVDemand transaction 96
INVItems transaction 98
INVOpenTransactions transaction 53, 100
INVReplenishment transaction 101
Items transaction 37, 55
Order Entry 38, 57
Order Entry/Shipping 102, 104
Payables 31, 32, 47, 93
Purchasing
PODocuments transaction 40, 59
POReceiving transaction 41, 60
PORequisitions transaction 42, 61, 105
PORescheduleRequisitions transaction 43, 63, 107
Oracle open interface
AP Invoice Open Import Transaction 31, 32, 47
Oracle open interfaces
AP Invoice Open Import Transaction 93
AR Customer Transaction 33, 48, 94
Customer Items Cross Reference 35, 52
Customer Items Transaction 36, 50
Inventory Demand 96
Inventory Open Transaction 53, 99
Items Transaction 37, 55, 97
Open Requisitions 39, 43, 58, 63
Order Import 102
Receiving Open 41, 60
Replenishment Open Transaction 101
Requisitions 42, 61, 105, 106
Ship Confirm Import 104
Shipping Sales Order Import Transaction 38, 57
order entry data, importing 38, 57, 102
Order Entry Oracle Applications module, OEOrderImport
transaction 38, 57
Order Entry/Shipping Oracle Applications module,
OEOrderImport transaction 102
Order Entry/Shipping Oracle Applications module,
OEShipConfirm transaction 104
Order Import open interface 102
P
Payables Oracle Applications module, APInvoiced
transaction 31
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
143
Index
144
R
receipt information, importing 41, 60
Receiving Open open interface 41, 60
Replenishment Open Transaction open interface 101
replenishment requests
loading from external systems 101
requisitions
importing from other Oracle applications or non-Oracle
systems 42, 61, 105
rescheduling 43, 63, 106
Requisitions open interface 39, 42, 58, 61, 105, 106
rescheduling requisitions 43, 63, 106
S
sales information, importing 39, 58
scheduling requisitions 43, 63, 106
services
deleteAllTransactions 140
determining input and output 27
importAllTransactions 140
invoking 28
services, adapter
transaction definitions for 16
Ship Confirm Import open interface 104
shipping information data
importing 104
Shipping Sales Order Import Transaction open interface
38, 57
T
This 11
trading partners
updating information on 24
transaction definitions
description 17
for adapter services 16
transaction definitions (IS-to-Oracle Applications 10.7SC)
APInvoice 93
ARCustomers 94
INVDemand 96
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
Index
INVItems 97
INVOpenTransactions 99
INVReplenishment 101
OEOrderImport 102
OEShipConfirm 104
PORequisitions 105
PORescheduleRequisitions 106
transaction definitions (IS-to-Oracle Applications
11.0)
APInvoiceOpen 47
ARCustomers 48
INVCustomerItems 50
INVCustomerItemsCrossReference 52
INVItems 55
INVOpenTransactions 53
OEOrderImport 57
PODocuments 58
POReceiving 60
PORequisitions 61
PORescheduleRequisitions 63
transaction definitions (IS-to-Oracle Applications
11.5)
APInvoices 31
ARAutoInvoice 32
ARCustomers 33
INVCustomerItemCrossRef 35
INVCustomerItems 36
INVItems 37
OEOrderImport 38
PODocuments 39
POReceiving 41
PORequisitions 42
PORescheduleRequisitions 43
transaction definitions (Oracle Applications 10.7SCto-IS)
AdvanceShipNotice 110
InvoiceOutbound 115
PurchaseOrderChange 125
PurchaseOrderNew 126
transaction definitions (Oracle Applications 11.0-toIS)
InvoiceOutbound 66
PurchaseOrderChange 77
PurchaseOrderNew 78
transaction services, overview of input and output
23
transactions
W
webMethods clients
considerations during development 27
error handling 28
generating client code 27
webMethods Developer, using to generate Java
client code for services 27
webMethods Integration Server
logging into Oracle Applications instance 28
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0
145
Index
146
webMethods Oracle Applications Adapter Sample Transaction Definitions Users Guide Version 6.0