Navigation:  Integration via SOAP web services > Published web services > Supply >

createSupplyType

Previous  Top  Next

This method enables to create/edit:

Data of a supply type.

 

To insert each of these items, it is necessary to follow the standard documented below.

 

Java class

Request

web\wwwroot\ws\java\supply\CreateSupplyTypeRequestType.java

Return

web\wwwroot\ws\java\supply\CreateSupplyTypeResponseType.java

 

Request

ID #

Required

Description

IDOBJECTTYPE

X

Supply type ID #

NMOBJECTTYPE

X

Supply type name

FGUSEREVISIONOBJTYPE

X

Flag to identify whether the supply will have a revision:

1 - Yes;

2 - No;

IDMASK

 

Mask ID #

IDOBJECTTYPEOWNER

 

Upper level supply type

FGEDITID

 

Revision ID #:

1 – Text;

2 – Numeric;

3 – Customized;

Will be required if the is 1

IDREVISIONROUTEOBJTYPE

 

Route ID #

IDPROCESSOBJTYPE

 

Activity ID #

FGREVIDOBJTYPE

 

Revision ID #. Will be required if the FGUSEREVISIONOBJTYPE is 1

FGTYPECYCLEOBJTYPE

 

Revision cycle:

1 - Numeric

2 - Text

FGREVRETENTIONMODEOBJTYPE

 

Retention frequency of obsolete revisions. Will be required if the FGUSEREVISIONOBJTYPE is 1;

FGTYPEUPDATEOBJTYPE

 

Change: Default Numeric;

FGREVAPPROVALMODEOBJTYPE

 

Approval type:

1 - Incremental;

2 - Circular

FGREVRELEASEMODEOBJTYPE

 

Closure type:

1 - Automatic

2 - Manual

FGREVELABCLAUSEOBJTYPE

 

Acceptance of revision in the draft step. Will be required if the FGUSEREVISIONOBJTYPE is 1

FGREVCONSCLAUSEOBJTYPE

 

Acceptance of revision in the review step. Will be required if the FGUSEREVISIONOBJTYPE is 1

FGREVAPROVCLAUSEOBJTYPE

 

Acceptance of revision in the approval step. Will be required if the FGUSEREVISIONOBJTYPE is 1

FGREVHOMOLOGCLAUSEOBJTYPE

 

Revision release type:

1 - AND

2 - OR

FGEXPLANATIONOBJTYPE

 

Mandatory to enter revision reason (when starting):

1 - Mandatory to enter,

2 or NULL - Not mandatory to enter;

 

Return

ID #

Description

return

SUCCESS: Return regarding the executed item

FAILURE: -1