Blend Work Order interface for JD Edwards
About the Blend Work Order interface
The Blend Work Order interface allows Advanced Inventory to perform blend work order add/edit.
This functionality exists in P31B93, Work Order Search, Edit Work Order. This will allow the user to add and edit the Blend Work Order.
Currently, processing option retrieval is not required for this API.
Name | Function name | Description |
---|---|---|
DD3N3B93 | dsi Interface: Blend Work Order | |
ND3N3B6C | dsiBlendWorkOrder | dsi Interface: Blend Work Order |
This interface guide applies to the following JDE versions.
-
EnterpriseOne 9.1
Corresponding EnterpriseOne application
In EnterpriseOne, from menu G31B03, Work Order Search, P31B95, either select ‘Add Work Order' or click ‘Find' then select a record and select ‘Edit Work Order” to go to P31B93, Work Order Search, Edit Work Order form.
Depending on the transaction scenario, select ‘Save and Continue', or ‘Close'. In addition to this, the user can add Blend Operation from this screen.
Processing
This interface can be used to add a Blend Work Order.
Currently, the processing option value is not required to process this NER. A review of the individual input parameters below identifies specifically what fields may be added and/or revised. Refer to the Special Processing Interface Usage Guide for more information.
Action code | Advanced Inventory action code | Description |
---|---|---|
A | Add Blend Work Order |
Required fields
This parameter is required to create a new Blend Work Order.
dcLINKActionCode = ‘A': Create new Blend Work Order Record.
Required fields
-
BF cdsiActionCode
-
BF szUserID_USER
-
BF szWinery_MCU
-
BF szWorkOrderDescription_WODSC
-
szWorkOrderType_WWOT
Verify the processing
Verify the processing by viewing the details of the Work Order.
To verify the processing, complete the following steps in JDE.
-
In EnterpriseOne, from the menu G31B03, select Operation Search P31B95 to view the Work Order.
-
Select Edit Work Order to view the related details.Step Information
Input data structure
Input data structure for Blend Work Order DD3N3B93
Name | Default value | R/O | Alias | Notes |
---|---|---|---|---|
cdsiActionCode_EV01 | 0 | R | EV01 | dcLINK Action Codes value “A”, has the standard meaning. |
cActionCode_ACTION | ACTION | Not used. | ||
jdDateUpdated_UPMJ | (today) | X | UPMJ | Returned from GetAuditInfo if not passed in. |
mnTimeUpdated_TDAY | (now) | X | TDAY | |
szUserId_USER | (current user id) | X | USER | |
szWorkStationId_JOBN | (current workstation id) | X | JOBN | |
mnJobNumber_JOBS | X | JOBS | ||
szProgramId_PID | ND3N4312 | X | PID | Generally leave this blank and let it default in. |
szVersion_VERS | ZJDE0001 | X | VERS | This is used by function to look up the appropriate set of processing options. |
cSuppressErrMsg_EV01 | O | EV01 | Enter a “1” here to suppress error messages - not recommended. You should usually leave this field blank. | |
cErrorCode_ERRC | X | ERRC | Indicates an error condition. Set by program. | |
szErrorMessageKey_EKEY | X | EKEY | Holds EnterpriseOne error message number. | |
iDebugLevel_INT01 | INT01 | Leave blank except for debugging and testing purposes only. Higher numbers will show more debug dialog boxes. Leaving this blank or setting to “0” suppresses all debug dialog boxes. Do not leave a value greater than “0” in this field after initial setup and testing, as it will cause synchronous dialogs on the computer to pop up when the function is called. | ||
szGuidUniqueID_GUID | O | GUID | ||
szGuidApprover1_USR1 | O | USR1 | ||
szGuidFullName1_FULLNAME1 | O | FULLNAME1 | ||
szGuidApprover2_USR2 | O | USR2 | ||
szGuidFullName2_FULLNAME2 | O | FULLNAME2 | ||
mnGuidReasonCode1_REASON1 | O | REASON1 | ||
szGuidCommentField_COMMENTS | O | COMMENTS | ||
mnGuidReasonCode2_REASON2 | O | REASON2 | ||
szGuidCommentField2_2COMMENTS | O | 2COMMENTS | ||
szGuidScriptID_FMNMVERS | O | FMNMVERS | ||
szGuidTextMessage_TEXTMES | O | TEXTMES | ||
szWinery_MCU | R | MCU | Required. | |
szWorkOrderDescription_WODSC | R | WODSC | Required. | |
szWorkOrderType_WWOT | R | WWOT | Required. | |
mnCreatorID_WCRTR | O | WCRTR | API will populate value, if not passed in. | |
jdWorkOrderDateRequested_WODR | O | WODR | ||
szAltWorkOrderNumber_WAWON | O | WAWON | ||
cHarvestOperationFlag_WAHR | O | WAHR | ||
szWorkOrderCatCode1_WWOH1 | O | WWOH1 | ||
szWorkOrderCatCode2_WWOH2 | O | WWOH2 | ||
szWorkOrderCatCode3_WWOH3 | O | WWOH3 | ||
szWorkOrderCatCode4_WWOH4 | O | WWOH4 | ||
szWorkOrderCatCode5_WWOH5 | O | WWOH5 | ||
mnWorkOrderID_WDOCO | WDOCO | |||
Globally Unique Identifier (GUID) Fields | GUID values are all optional unless a business must comply with FDA 21 CFR Part 11 auditing requirements. Refer to Special Processing Interface Usage Guide for GUID input data structure details. |
O = Optional
R = Required
X = Required, but will default in if not passed
C = Conditional.
M = Multi-level
Transaction test scenarios
The following test scenarios demonstrate a variety of ways in which this interface could be used, and the fields that would be passed for each scenario.
The data structure fields are in the left column, and the corresponding values for each scenario are listed by column.
Field name | Creates a new Blend Work Order record |
---|---|
BF cdsiActionCode | A |
BF szUserID_USER | KROY |
BF szWinery_MCU | W10 |
BF szWorkOrderDescription_WODSC | WO 1 (From function tester) |
BF szWorkOrderType_WWOT | MOV |
Common error messages
The following are common error messages that can be generated by this BF, and what those error messages mean.
Error message | Meaning |
---|---|
0002 | Record Invalid.
This error is returned when an error has been detected from one of these three business functions: dcLINK Set User ID, dcLINK Utility Set Audit Info, or dcLINK Utility Write Signature Capture Record. |
009WIM | Invalid Winery Name. This is set when the validation of Winery fails. |
111WIM | Winery cannot be blank. In this interface, this will be set if the Winery is equal to blank. |
018A | User Defined Code Not Found. This is set if the Data Dictionary Validation fails. |
0037 | Address Number Invalid. This is set when the User Address Book Number has an error. |
Loading...
There was a problem loading this topic