1.Functional Description
1.1Purpose
To maintain records in the Business Object Reservation table (F00095).  If the requested table/generic key combination is already reserved this 
function will check to see if the user and application are the same.  If not,  it will notify the user.  If the table/generic key  has not been reserved, a reservation 
record will be written for the requesting user/application.    
    
 1.2Setup Notes and Prerequisites
 This functions assumes that the application has called Business Object Reservation Application 
Validation (N0000604) and it has returned a '0' error code, prior to calling this function.   
'b7'b7
1.3Special Logic
 If the record is reserved by another user or application, then a text substitution error message 
will be sent.  This message will be a hard error or a warning depending on the Set Warning Message 
parameter.  If the Suppress Error parameter is on, then the error data item, reservers alpha name, and 
reservers application will be returned so that the calling application can set the text substitution error 
or warning.  
 If the calling application is setting the error it will need to call Set Reservation Text 
Substitution Error (B0000603).  
'b7'b72.Technical Specifications
2.1Parameters:
Data Item    Data Structure DescriptionI/ORequired    Notes
OBNM     Object Name                        IY                
GENKEY     Transaction Key                 IY
USER     User                                    IY
PID     Application                                    IY               
EV01     Suppress Error message                IN                 '1' = Suppress Error Message 
DTAI     Error Message ID             IN                Returned if suppress = '1'  
ALPH     Reservers Alpha Name    ON    Returned if suppress = '1'
PID     Reservers Application     ON                Returned if suppress = '1' 
EV01     Set Warning Error            IN                '1'  = Set Warning Error  
2.2Related Tables 
Table Table Description
F0095Business Object Reservation  
 
2.3Related Business Functions
Source NameFunction Name
B0000603Set Reservation Text Substitution Error 
2.4Processing 
 When a call is made to this business function a check will be made to see if the table/transaction  
key combination has been reserved.  If it has, and the user or the application  is not the same as the 
user or application of the calling function, an error message will be set.  If the parameter for 
suppressing the error is on,  the error message ID will be returned and the error will not be set. The 
reservers alpha aname and application will be returned to send into the business function that does a 
text substitution message if the calling application is setting the error or warning itself.  If the set 
warning flag is a '1', then a warning message data id will be set or returned in the error message ID. 
'b7'b7
 If setting error message, use user ID in reservation record to get an address book number.  Then 
fetch address book record for this user id to get alpha name to place in text substitution message &1.  
When setting the text substitution error message call Set Reservation Text Substitution Error business 
function.
'b7'b7
D0000602B - F00095 Remove Reservation
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szUserId | USER | char | REQ | INPUT | 
The code that identifies a user profile.  | ||||
| szNameObject | OBNM | char | OPT | INPUT | 
The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
  | ||||
| szGenericKey | GENKEY | char | OPT | INPUT | 
This field is the generic key to the record that is being reserved by the user.  | ||||
| szApplication | PID | char | OPT | INPUT | 
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
  | ||||
| None | 
| None |