Re: How to release reservations?

mramcn

Active Member
Re: How to release reservations?

Hi,

Object is reserved through passing Object Name, Genkey(Unique), User and PID.
Code is given below for PO receipts.

a) RRESERVE is passed to retrieve the Unique ID from F00022
Math Numeric value (VA frm_mnRRUniqueKeyID_UKID).This is converted into String (VA frm_szRRUniqueKeyString_PID).
b)Math Numeric to String, Convert
BC Document (Order No, Invoice, etc.) (F4311) -> mnMathNumeric01
VA evt_szDocumentNumber_DOC8 <- szVideoConstant30A
VA frm_szGenericKey_GENKEY = concat([VA evt_szDocumentNumber_DOC8],[BC Order Type (F4311)])
VA frm_szGenericKey_GENKEY = concat([VA frm_szGenericKey_GENKEY],[BC Order Company (Order Number) (F4311)])


c)F00095 Reserve Object
"F4311" -> szNameObject
SL UserID -> szUserId
"1" -> cSuppressErrorMessage
VA frm_szRecordReserveErrMsg_DTAI <- szErrorMessageID
VA frm_szReserversNameAlpha_ALPH <- szReserversNameAlpha
VA frm_szGenericKey_GENKEY -> szGenericKey
VA frm_szRRUniqueKeyString_PID -> szApplication
VA frm_szReserversAppID_PID <- szReserversApplication
<Zero> -> cWarningError


Once this BSFN is executed it writes a record In F00095.

On the closure of the Application it is removed through the below code
F00095 Remove Business Object Reservation
SL UserID -> szUserId
"F4311" -> szNameObject
<Blank> -> szGenericKey
VA frm_szRRUniqueKeyString_PID -> szApplication.

Since your application got closed abnormally the entry in F00095 still exists.
You need to find out the value for frm_szRRUniqueKeyString_PID, corresponding user who tried receiveing the PO has to be passed to the above BSFN or you can delete the record from F00095 through the database.

Hope this helps you to proceed further.

Thanks and Regards
Ram.M

S Y S T I M E


Julia_x <[email protected]> wrote:
Dear all,

When a user was doing PO receipts, the PC was suddenly collapsed. Then we can no longer do PO receipt for the order, it said: it is reserved by ***. How to release the reservation?
After restarting the server and the PC, it still can not be solved? How to do with it?

Thank you.

Best Regards
EnterpriseOne 8.9 Win2K SQL
 
Back
Top