Sie sind auf Seite 1von 6

5/27/2017 OracleAppsTechnical:PickReleaseAPIinOrderManagement

0 More NextBlog CreateBlog SignIn

OracleAppsTechnical
Monday,19January2015 BlogArchive

2016(1)
PickReleaseAPIinOrderManagement 2015(46)

REMdbdrv:sql~PROD~PATH~FILEnonenonenonepackage&phase=pls\ November(11)
REMdbdrv:checkfile:~PROD:~PATH:~FILE January(35)
APItoUpdatetheListpriceofPO
/*===================================================================== APPOquery
======+
R12TCABankModel
|Copyright(c)1998OracleCorporation
OE_ORDER_PUB.process_orderAPIto
| CreateSalesOrd...
|RedwoodShores,California,USA
HZ(TCA)tablesinOracleReceivables
|
|Allrightsreserved. QuerytoGetInhandInventory
Information
|
+===================================================================== ARInvoiceInterface

======*/ APPOusefullQuery
/* APITOCANCELPOinvoice
+ OracleAppsCancelPOAPITraining
|ThispackagecontainsthePickReleaseAPIspecs.TheseAPIswillbe
SubmitStandardconcurrentProgram
| fromBackendI...
|usedtoPickReleasePickWaveMoveOrderLines.
SubmittingConcurrentProgramFrom
| Backend/PLS...
|History:
APItoChecktheAvailablecreditOna
| SalesOrder...
|August25,1999.DavidT.SantoroCreatedpackagespec.
ItemCostAPI
|
FNDLoadScript
+
*/ ProcessOrderAPI:OrderManagement
SalesOrder

QuerytogetResponsibilityand
OperatingUnitass...
Copyright(c)1996OracleCorporation,RedwoodShores,CA,USA
Allrightsreserved. OpenSalesOrderUploadfromLegacy
systemtoOrac...

WorkFlowinOrderManagement
FILENAME
PickReleaseAPIinOrderManagement
INVPPICS.pls TransactionTypeinOrderManagement
WIPTableDetails
DESCRIPTION
APBaseTable

SpecofpackageINV_Pick_Release_PUB AccountPayableSetupandnavigation
QuerytoCheckGL_ENTRY_LINESdata
NOTES HZAPIforCustomerCreate

CreditCheckFunctionalityinOrder
HISTORY Management
RefundFunctionalityinR12
25AUG99Created
R12HRMSImportantTable

BacktoBackorderandDropShipOrder

SETVERIFYOFF OrganizationHierarchiStructure
WHENEVERSQLERROREXITFAILUREROLLBACK DropShipOrder
WHENEVEROSERROREXITFAILUREROLLBACK AdvanceSupplyChainPlanning
SupplyChainManagementBasic
CREATEorREPLACEPACKAGEINV_Pick_Release_PUBAS
/*$Header:INVPPICS.pls115.12.115100.22004/12/0710:49:12amohamme AdvanceShippingNotificationCancel
Process
ship$*/
/*# 2014(2)
*ThispackageprovidesAPIsusedtoPickRelease
2013(1)
*PickWaveMoveOrderLines.
*@rep:scopepublic
*@rep:productINV AboutMe

http://oratechhelp.blogspot.in/2015/01/pickreleaseapiinordermanagement.html 1/6
5/27/2017 OracleAppsTechnical:PickReleaseAPIinOrderManagement
*@rep:lifecycleactive Brajabandhu
*@rep:displaynameIntercompanytransactionflow Behera

*@rep:categoryBUSINESS_ENTITYINV_PICK_RELEASE_PUB Viewmycomplete
*/ profile



DataTypes



TheReleaseStatustablewillnotifythecallerastowhichMove
OrderLineswere
successfullydetailed,whichoneswereonlypartiallydetailed,and
whichones
failedtobeprocessedatall.

AtableofthistypewillbereturnedbythePickReleaseAPIto
specifythe
statusoftherecordsitattemptstorelease.

Therecordsofthistable(oftypeINV_RELEASE_STATUS_REC_TYPE)will
consistof
thefollowingfields:
mo_line_id=>TheMoveOrderLineIDthatthisstatusisfor.
return_status=>ThestandardreturnstatusforanAPI.The
return_status
canalsobe'P',whichdesignatesthatthemoveorderlinewasonly
partiallydetailed(butotherwisesuccessful).

TYPEINV_Release_Status_Rec_TypeISRECORD
(
mo_line_idNUMBER,
detail_rec_countNUMBER,
return_statusVARCHAR2(1)
)

TYPEINV_Release_Status_Tbl_TypeISTABLEOF
INV_Release_Status_Rec_Type
INDEXBYBINARY_INTEGER



ProceduresandFunctions


PROCEDUREtest_sort(p_trolin_tblINOUTNOCOPY
INV_Move_Order_Pub.Trolin_Tbl_Type)


Name
PROCEDUREPick_Release

Purpose
Pickreleasesthemoveorderlinespassedin.

InputParameters
p_api_version_number
APIversionnumber(currentversionis1.0)
p_init_msg_list(optional,defaultFND_API.G_FALSE)
Validvalues:FND_API.G_FALSEorFND_API.G_TRUE.
ifsettoFND_API.G_TRUE
initializeerrormessagelist
ifsettoFND_API.G_FALSEnot
initializeerror
messagelist
p_commit(optional,defaultFND_API.G_FALSE)
whetherornottocommitthechangestodatabase

p_mo_line_tbl
TableofMoveOrderLinerecordstopickrelease

http://oratechhelp.blogspot.in/2015/01/pickreleaseapiinordermanagement.html 2/6
5/27/2017 OracleAppsTechnical:PickReleaseAPIinOrderManagement
p_auto_pick_confirm(optional,default2)
Overridesorglevelparameterforwhethertoautomatically
call
pickconfirmafterrelease
Validvalues:1(yes)or2(no)
p_grouping_rule_id
OverridesorglevelandMoveOrderheaderlevelgrouping
rulefor
generatingpickslipnumbers
p_allow_partial_pick
TRUEifthepickreleaseprocessshouldcontinueafteraline
failsto
bedetailedcompletely.FALSEiftheprocessshouldstopand
roll
backallchangesifalinecannotbefullydetailed.
NOTE:Printingpickslipsasthelinesaredetailedisonly
supportedif
thisparameterisTRUE,sinceacommitmustbedonebefore
printing.

OutputParameters
x_return_status
ifthepickreleaseprocesssucceeds,thevalueis
fnd_api.g_ret_sts_success
ifthereisanexpectederror,thevalueis
fnd_api.g_ret_sts_error
ifthereisanunexpectederror,thevalueis
fnd_api.g_ret_sts_unexp_error
x_msg_count
ifthereisoneormoreerrors,thenumberoferror
messages
inthebuffer
x_msg_data
ifthereisoneandonlyoneerror,theerrormessage
(Seefnd_apipackageformoredetailsabouttheaboveoutput
parameters)
x_pick_release_status
Thisoutputparameterisatableofrecords(oftype
INV_Release_Status_Tbl_Type)whichspecifiesthepickrelease
status
foreachmoveorderlinethatispassedin.

/*#
*ThisAPIisusedtopickreleasethemoveorderlinespassedin.
*@paramx_return_statusreturnvariableholdingthestatusofthe
procedurecall
*@paramx_msg_countreturnvariableholdingthenumberoferror
messagesreturned
*@paramx_msg_datareturnvariableholdingtheerrormessage
*@paramp_api_versionAPIVersionofthisprocedure.Currentversion
is1.0
*@paramp_commitwhetherornottocommitthechangestodatabase
*@paramp_mo_line_tblTableofMoveOrderLinerecordstopick
release
*@paramp_auto_pick_confirmOverridesorglevelparameterforwhether
toautomaticallycallpickconfirmafterreleaseValidvalues:1(yes)
or2(no)
*@paramp_grouping_rule_idOverridesorglevelandMoveOrderheader
levelgroupingruleforgeneratingpickslipnumbers
*@paramp_allow_partial_pickiftheprocessshouldstopandrollback
allchangesifalinecannotbefullydetailed.
*Printingpickslipsasthelinesaredetailedisonlysupportedif
thisparameterisTRUE,sinceacommitmustbedonebeforeprinting.
*@paramp_plan_taskswhetherornottasksshouldcreatedandreleased
*@paramx_pick_release_statustableofrecords(oftype
INV_Release_Status_Tbl_Type)whichspecifiesthepickreleasestatus
foreachmoveorderlinethatispassedin.
*@rep:displaynamePickRelease
*/
PROCEDUREPick_Release
(
p_api_versionINNUMBER

http://oratechhelp.blogspot.in/2015/01/pickreleaseapiinordermanagement.html 3/6
5/27/2017 OracleAppsTechnical:PickReleaseAPIinOrderManagement
,p_init_msg_listINVARCHAR2:=NULL
,p_commitINVARCHAR2:=NULL
,x_return_statusOUTNOCOPYVARCHAR2
,x_msg_countOUTNOCOPYNUMBER
,x_msg_dataOUTNOCOPYVARCHAR2
,p_mo_line_tblININV_Move_Order_PUB.TROLIN_TBL_TYPE
,p_auto_pick_confirmINNUMBER:=NULL
,p_grouping_rule_idINNUMBER:=NULL
,p_allow_partial_pickINVARCHAR2DEFAULTfnd_api.g_true
,x_pick_release_statusOUTNOCOPYINV_Release_Status_Tbl_Type
,p_plan_tasksINBOOLEAN:=FALSE
)


Name
PROCEDUREReserve_Unconfirmed_Quantity

Purpose
Transfersareservationonmaterialwhichismissingordamaged
toan
appropriatedemandsource.

InputParameters
p_missing_quantity
ThequantitytobetransferredtoaCycleCount
reservation,intheprimary
UOMfortheitem.
p_organization_id
Theorganizationinwhichthereservation(s)shouldbe
created
p_reservation_id
Thereservationtotransferquantityfrom(notrequiredif
demandsource
parametersaregiven).
p_demand_source_type_id
ThedemandsourcetypeIDforthereservationtobe
transferred
p_demand_source_header_id
ThedemandsourceheaderIDforthereservationtobe
transferred
p_demand_source_line_id
ThedemandsourcelineIDforthereservationtobe
transferred
p_inventory_item_id
Theitemwhichismissingordamaged.
p_subinventory_code
Thesubinventoryinwhichthematerialismissingordamaged.
p_locator_id
Thelocatorinwhichthematerialismissingordamaged.
p_revision
Therevisionoftheitemwhichismissingordamaged.
p_lot_number
Thelotnumberoftheitemwhichismissingordamaged.

OutputParameters
x_return_status
ifthepickreleaseprocesssucceeds,thevalueis
fnd_api.g_ret_sts_success
ifthereisanexpectederror,thevalueis
fnd_api.g_ret_sts_error
ifthereisanunexpectederror,thevalueis
fnd_api.g_ret_sts_unexp_error
x_msg_count
ifthereisoneormoreerrors,thenumberoferror
messages
inthebuffer
x_msg_data
ifthereisoneandonlyoneerror,theerrormessage
(Seefnd_apipackageformoredetailsabouttheaboveoutput
parameters)

/*#

http://oratechhelp.blogspot.in/2015/01/pickreleaseapiinordermanagement.html 4/6
5/27/2017 OracleAppsTechnical:PickReleaseAPIinOrderManagement
*ThisAPIisusedtotransferareservationonmaterialwhichis
missingordamaged
*toanappropriatedemandsource.
*@paramx_return_statusreturnvariableholdingthestatusofthe
procedurecall
*@paramx_msg_countreturnvariableholdingthenumberoferror
messagesreturned
*@paramx_msg_datareturnvariableholdingtheerrormessage
*@paramp_api_versionAPIVersionofthisprocedure.Currentversion
is1.0
*@paramp_commitwhetherornottocommitthechangestodatabase
*@paramp_init_msg_listIndicateswhethermessagestackistobe
initialized
*@paramp_missing_quantitythequantitytobetransferredinthe
primaryUOMoftheitem
*@paramp_reservation_idthereservationtotransferquantityfrom
(notrequiredifdemandsourceparametersaregiven)
*@paramp_demand_source_header_idthedemandsourceheaderIDforthe
reservationtobetransferred
*@paramp_demand_source_line_idthedemandsourcelineIDforthe
reservationtobetransferred
*@paramp_organization_idtheorganizationinwhichthereservation
shouldbecreated
*@paramp_inventory_item_idtheitemwhichismissingordamaged
*@paramp_subinventory_codethesubinventoryinwhichthematerialis
missingordamaged
*@paramp_locator_idthelocatorinwhichthematerialismissingor
damaged
*@paramp_revisiontherevisionofthematerialwhichismissingor
damaged
*@paramp_lot_numberthelotnumberofthematerialwhichismissing
ordamaged
*@rep:displaynameReserveUnconfirmedQuantity
*/
PROCEDUREReserve_Unconfirmed_Quantity
(
p_api_versionINNUMBER
,p_init_msg_listINVARCHAR2DEFAULTfnd_api.g_false
,p_commitINVARCHAR2DEFAULTfnd_api.g_false
,x_return_statusOUTNOCOPYVARCHAR2
,x_msg_countOUTNOCOPYNUMBER
,x_msg_dataOUTNOCOPYVARCHAR2
,p_missing_quantityINNUMBER
,p_reservation_idINNUMBERDEFAULTfnd_api.g_miss_num
,p_demand_source_header_idINNUMBERDEFAULTfnd_api.g_miss_num
,p_demand_source_line_idINNUMBERDEFAULTfnd_api.g_miss_num
,p_organization_idINNUMBERDEFAULTfnd_api.g_miss_num
,p_inventory_item_idINNUMBERDEFAULTfnd_api.g_miss_num
,p_subinventory_codeINVARCHAR2DEFAULTfnd_api.g_miss_char
,p_locator_idINNUMBERDEFAULTfnd_api.g_miss_num
,p_revisionINVARCHAR2DEFAULTfnd_api.g_miss_char
,p_lot_numberINVARCHAR2DEFAULTfnd_api.g_miss_char
)

/*#
*ThisAPIisusedtoassignpickslipnumberstomoveorderlines
identifiedbythe
*moveorderheaderpassedin.Itisgenerallycalledafter
cartonizationinaWMSenabledorganization
*@paramx_return_statusreturnvariableholdingthestatusofthe
procedurecall
*@paramx_msg_countreturnvariableholdingthenumberoferror
messagesreturned
*@paramx_msg_datareturnvariableholdingtheerrormessage
*@paramp_move_order_header_idIdentifiesthemoveorderheaderfor
whichpickslipnumberswillbeassigned
*@paramp_ps_modePickslipprintmode:IImmediate,EDeferred
*@paramp_grouping_rule_idOverridesorganizationmoveorderheader
groupingruleforgeneratingpickslipnumbers
*@paramp_allow_partial_pickiftheprocessshouldstopandrollback
allchangesifalinecannotbefullydetailed.
*Printingpickslipsasthelinesaredetailedisonlysupportedif

http://oratechhelp.blogspot.in/2015/01/pickreleaseapiinordermanagement.html 5/6
5/27/2017 OracleAppsTechnical:PickReleaseAPIinOrderManagement
thisparameterisTRUE,sinceacommitmustbedonebeforeprinting.
*@rep:displaynameAssignPickSlipNumbers
*/
PROCEDUREassign_pick_slip_number(
x_return_statusOUTNOCOPYVARCHAR2,
x_msg_countOUTNOCOPYNUMBER,
x_msg_dataOUTNOCOPYVARCHAR2,
p_move_order_header_idINNUMBERDEFAULT0,
p_ps_modeINVARCHAR2,
p_grouping_rule_idINNUMBER,
p_allow_partial_pickINVARCHAR2)

ENDINV_Pick_Release_PUB
/
showerrors
/*
**showerrorspackagebody&PACKAGE_NAME
**
**SELECTto_date('SQLERROR')FROMuser_errors
**WHEREname='&PACKAGE_NAME'
**ANDtype='PACKAGEBODY'
*/
COMMIT
EXIT

PostedbyBrajabandhuBeheraat23:23

Recommend this on Google

Nocomments:
PostaComment

Enteryourcomment...

Commentas: Selectprofile...

Publish
Preview

NewerPost Home OlderPost

Subscribeto:PostComments(Atom)

Simpletheme.PoweredbyBlogger.

http://oratechhelp.blogspot.in/2015/01/pickreleaseapiinordermanagement.html 6/6

Das könnte Ihnen auch gefallen