Functional Description
Purpose
In some situations a end user may need to update the customer number on the Service Work Order and
have this change reflected on the Parts List and Routing Instructions. Often the pricing of a Service
Work Order is dependent on the Customer number, this update includes a call to Advance Pricing based on
the change in Customer Number.
The purpose of this NER is to allow the user to update the Customer related information on the
following tables. Work Order Routings (F3112), Work Order parts Lists(F3111), Routing Instructions -
Extension(F31172), Parts List - Extension(F31171).
The calling program will input the Service Work Order Number and Calling Program ID.
This NER will determine if a parts list and/or Routing exist for the Service Work Order entered.
If Parts and / or Routing exist, the program will retrieve the following information from Work Order
Master/ Service Work Order Extension:
Type Of service(TYPS), Company(CO), Branch Plant(MMCU), Customer Number(AN8), Service address(SAID),
Start date(PEFJ), catagory codes 1-4(WR01 - WR04), Parent Item Number(KIT), Method of Pricing(MTHPR),
Entitlement Check(ENTCK), Country(CTR), GL Catagory code covered(GLCCV), GL Catagory code non
covered(GLCNC), Coverage group(COVGR) and the Price Adjustment Schedule(ASN2). The program will then obtain
the following from F0301:
Payment terms(PTC) and Customer Pricing group(CGPC). The currency code associated with the company is
obtained from F0010. The above information will be used to determine the billing rates from Advanced
pricing.
If a Parts list exists, the program will fetch all parts associated with the work order number input.
The program will then determine the percentage covered and Bill Pay default flags. A call is then
made to "Calculate Parts Labor Pricing" to retreive the Estimated Billable Unit, Estimated Billable
Amount, Actual Billable Unit and Actual Billable Amount. Following this calculation, the program updates
the Work Order Routings and the Routing instructions - Extension.
Special Logic
The Program will only update parts and/or Routings that have not been billed.
D1701590 - Update Customer Information Parts & Routings
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentOrderInvoiceE | DOCO | MATH_NUMERIC | REQ | INPUT |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szProgramId | PID | char | REQ | INPUT |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
cErrorCode | ERRC | char | OPT | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMessageID | 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
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
|
None |
None |