FU BAPINETWORKMAINTAINWord格式文档下载.docx
《FU BAPINETWORKMAINTAINWord格式文档下载.docx》由会员分享,可在线阅读,更多相关《FU BAPINETWORKMAINTAINWord格式文档下载.docx(16页珍藏版)》请在冰豆网上搜索。
Tofinishthetransactionandstorethedatainthedatabase,entertheSavecommand.Ifyouonlywanttotestwhetherthechangescanbecarriedout,donotusetheSavecommand.
Ingeneral,youcannotchangethekeysofobjects.
TheReturnparameterinformsyouwhethererrorsoccurredduringprocessing.AfterthecallyoufindtheerrormessagesthatwerecreatedduringprocessingintheEMessageTabletable.
Commandsfortheindividualobjecttypes
Objecttype:
Network
Thenetworknumberisthekeythatidentifieseachnetworkobjecttype.
Command:
Create
Usethiscommandtocreateanetworkusingthespecifiednetworknumber.
Thenetworknumberisdeterminedbytheexternalsystem.ForthenetworkenteranetworkprofilethatexistsintheProjectSystem.Thenetworkprofilehastobeassignedtoanetworktypesupportingexternalnumberassignment.
Alwaysenterthenetworknumberinuppercase.
Dependingontheschedulingtype,enterastartorenddate.
Example-CreateanetworkwiththenetworknumberTRAINING0001.EnterthekeyofthenetworkobjectinthecommandtableunderOBJECTKEYandinthedatatableunderNETWORK.Thereferencenumber'
000001'
oftheIMethodProjectcommandtablereferstotheindexofthedatatable.
IMethodProject
OBJECTTYPE=Network
METHOD=Create
OBJECTKEY=TRAINING0001
REFNUMBER=000001
OBJECTTYPE=
METHOD=Save
OBJECTKEY=
REFNUMBER=
INetwork
Index=1
NETWORK=TRAINING0001
SHORT_TEXT=Newnetwork
FINISH_DATE=12/04/1999
Profile=EPS40_1
...
Update
UsethiscommandtochangeanetworkthatexistsintheProjectSystem.
Usetheupdatestructure.
Youwanttochangeonlycertainvaluesinanexistingnetworkandkeeptheothervalues.Usingtheupdatestructureyouspecifyexactlytheattributesyouwanttochange.Therefore,youneednotfillalltheattributesofthenetworkstructure.
Ifyouareworkingwiththeupdatestructures,payattentiontothefactthatthetableoftheupdatestructuremustalsobefilledfortheothercommandsofthenetwork.Thereferencenumberofthecommandtablehastomatchthesameindexofthenetworktableandthetablecontainingtheupdatestructures.
Example-ChangethedescriptionoftheexistingnetworkTRAINING0001
METHOD=Update
SHORT_TEXT=Descriptionchanged
INetworkUpdate
NETWORK=
SHORT_TEXT=X
Delete(fromrelease4.5A)
UsethiscommandtodeleteanetworkthatalreadyexistsintheProjectSystem.
ThenetworkhastheDeletionflagsystemstatuswhichcanberevokedintheProjectSystem.Therefore,thenetworkremainsinthedatabasephysically.
Example-DeletethenetworkTRAINING0001
METHOD=Delete
Schedule
Usethiscommandtoscheduleanetwork.
Example-ReschedulenetworkTRAINING0001
METHOD=Schedule
Calculate
Usethiscommandtocalculatecostsforanetwork.
Example-CalculatecostsfortheTRAINING0001network
METHOD=Calculate
Release(fromrelease4.5A)
Usethiscommandtoreleaseanetworkwithallitsactivities.
ExampleReleasetheTRAINING0001network
METHOD=Release
Lock(fromrelease4.6A)
Usethiscommandtolockanetwork.
TheLockedsystemstatusissetforanetwork.
Example-LockthenetworkTRAINING0001
METHOD=Lock
Unlock(fromrelease4.6A)
Usethiscommandtounlockanetwork
TheLockedsystemstatusisremovedfromanetwork
Example-UnlocktheTRAINING0001network
METHOD=Unlock
ObjectType:
NetworkActivity
ThekeyoftheNetworkactivityobjectconsistsofthenetworknumberandtheactivitynumber.
Ifyouwanttoapplyacommandtothenetworkactivity,youmustalwaysincludethesuperiornetworkinthesamecallinthetableoftheINetworkparameter.
Usethiscommandtocreateanewactivityinanetwork.
Example-Createanewnetworkactivitywiththenumber0010inTRAINING0001network.
OBJECTTYPE=NetworkActivity
OBJECTKEY=TRAINING00010010
IActivity
ACTIVITY=0010
DESCRIPTION=Activity10
UsethiscommandtochangeanactivitythatalreadyexistsintheProjectSystem.
Usetheupdatestructureasinnetworks.
Example-Changethedescriptionoftheactivity0010innetworkTRAINING0001.
DESCRIPTION=Activity10changed
IActivityUpdate
ACTIVITY=
DESCRIPTION=X
Delete
UsethiscommandtodeleteanactivitythatalreadyexistsintheProjectSystem.Theactivityreceivesthedeletionflagsystemstatusandisnotdeletedphysically.Connectedobjectsasrelationships,activityelements,capacityrequirements,purchaserequisitions,andmaterialcomponentsarealsodeallocatedandselectedfordeletion.
Youcannotcreateanactivitywiththesamekey.
Example-Deletethenetworkactivity0010innetworkTRAINING0001
Example-Releasetheactivity0010innetworkTRAINING0001
NetworkActivityElement(fromrelease4.6A)
Thekeyfortheactivityelementobjectcomprisesofthenetworknumber,theactivitynumber,andtheactivityelementnumber.
Usethiscommandtocreateanewactivityelementinanetwork.
Example-Createanewactivityelementwiththenumber0020innetworkactivity0010oftheTRAINING0001networkoftheTRAINING0001network.
OBJECTTYPE=NetworkActivityElement
OBJECTKEY=TRAINING000100100020
IActivityElement
ELEMENT=0020
UsethiscommandtochangeanactivityelementthatalreadyexistsintheProjectSystem.
Usetheupdatestructureasfornetworks.
Example-Changeanexistingactivityelementwiththenumber0020inthenetworkactivity0010oftheTRAINING0001network
DESCRIPTION=Activityelement0020changed
IActivityElementUpdate
ELEMENT=
Usethiscommandtodelete