1.Functional Description
1.1Purpose
The purpose of this NER is to retrieve the Responsible BU for CSMS Billing and Costing.
1.2Setup Notes and Prerequisites
The constants in the F17001 need to be setup.
1.3Special Logic
This NER needs to check the CSMS Constants to find out where it should retrieve the Responsible BU from.
There is a constant to indicate where to retrieve the Responsible BU for Calls.
There is a constant to indicate where to retrieve the Responsible BU for Service Orders.
There is a constant to indicate where to retrieve the Responsible BU for Contracts.
Based on the value of each constant, the NER needs to go to the specified file and return the Responsible BU.
2.Technical Specifications
2.4Processing
VA evt_szErrorMessageID_DTAI = " "
F17001 Check For CSMS
UNDEFINED X cFutureYN14
UNDEFINED X cFutureYN15
If VA evt_szErrorMessageID_DTAI is not equal to
And VA evt_szErrorMessageID_DTAI is not equal to
Set NER Error(VA evt_szErrorMessageID_DTAI, BF szResponsibleBusinessUnit)
Else
//
// Mode is equal to 1
//
If BF cMode is equal to "1"
If VA evt_cRespBULocationCont_RBUCN is equal to "1"
If BF mnShortItemNumber is equal to
Or BF mnShortItemNumber is equal to
If BF cSuppressErrorMessages is not equal to "1"
Set NER Error("110X", BF mnShortItemNumber)
End If
BF szErrorCode = "110X"
Else
Get Inventory Extention Information
If VA evt_szErrorMessageID_DTAI is not equal to
And VA evt_szErrorMessageID_DTAI is not equal to
BF szResponsibleBusinessUnit = " "
End If
End If
End If
If VA evt_cRespBULocationCont_RBUCN is equal to "2"
F1790.Fetch Single
BF szProductModel = TK Product Model
BF szResponsibleBusinessUnit <- TK Business Unit - Alt
If SV File_IO_Status is not equal to CO SUCCESS
If BF cSuppressErrorMessages is not equal to "1"
Set NER Error("110X", BF szProductModel)
End If
BF szErrorCode = "110X"
BF szResponsibleBusinessUnit = " "
End If
End If
If VA evt_cRespBULocationCont_RBUCN is equal to "3"
If BF mnEquipmentNumber is equal to
Or BF mnEquipmentNumber is equal to
If BF cSuppressErrorMessages is not equal to "1"
Set NER Error(110X, BF mnEquipmentNumber)
End If
BF szErrorCode = "110X"
Else
F1201.Fetch Single
BF mnEquipmentNumber = TK Asset Item Number
BF szResponsibleBusinessUnit <- TK Business Unit
If SV File_IO_Status is not equal to CO SUCCESS
BF szResponsibleBusinessUnit = " "
End If
End If
End If
If VA evt_cRespBULocationCont_RBUCN is equal to "4"
If BF mnCustomerNumber is equal to
Or BF mnCustomerNumber is equal to
If BF cSuppressErrorMessages is not equal to "1"
Set NER Error(110X, BF mnCustomerNumber)
End If
BF szErrorCode = "110X"
Else
F0301.Fetch Single
BF mnCustomerNumber = TK Address Number
BF szResponsibleBusinessUnit <- TK Business Unit - A/R Default
If SV File_IO_Status is not equal to CO SUCCESS
BF szResponsibleBusinessUnit = " "
End If
End If
End If
If VA evt_cRespBULocationCont_RBUCN is equal to "5"
F1793 Get CSMS Line Type Constants
If VA evt_szErrorMessageID_DTAI is not equal to
And VA evt_szErrorMessageID_DTAI is not equal to
If BF cSuppressErrorMessages is not equal to "1"
Set NER Error(110X, BF szLineType)
End If
BF szErrorCode = "110X"
BF szResponsibleBusinessUnit = " "
End If
End If
If VA evt_cRespBULocationCont_RBUCN is not equal to "1"
And VA evt_cRespBULocationCont_RBUCN is not equal to "2"
And VA evt_cRespBULocationCont_RBUCN is not equal to "3"
And VA evt_cRespBULocationCont_RBUCN is not equal to "4"
And VA evt_cRespBULocationCont_RBUCN is not equal to "5"
BF szResponsibleBusinessUnit = " "
End If
End If
*Repeat same code for Modes 2 and 3.
D1700440 - Get S/WM Resp BU
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | REQ | INPUT |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szBranch | MMCU | char | REQ | INPUT |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
szProductModel | PRODM | char | REQ | INPUT |
A code that classifies an inventory item into a model for customer service. Some examples include: Laser Printer, Inkjet or Fax. | ||||
mnEquipmentNumber | NUMB | MATH_NUMERIC | REQ | INPUT |
An 8-digit number that uniquely identifies an asset. | ||||
mnCustomerNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
szResponsibleBusinessUnit | MCU | char | OPT | OUTPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
cMode | EV01 | char | REQ | INPUT |
1 = Service Contracts
| ||||
szLineType | LNTY | char | REQ | INPUT |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
cSuppressErrorMessages | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorCode | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
|
None |
None |