Functional Description
Purpose
BF will perform Sales Order Credit Check Processing.
BF will retrieve the Hold Order Constants F42008 record by Hold Code and MCU, compare the customer's
or parent's credit limit to the total exposure or a percent of the amount past due and write a record
to the Hold Order File F4209 if the order should be placed on hold. BF returns a code to identify if
the order has been placed on hold or not.
Setup Notes and Prerequisites
None.
Special Logic
If Hold Code Constants F42008 is not found, return to calling application without setting any error
condition.
Technical Specification
2.1Data Structure
Name Data Dictionary Item
szHoldCodeHCOD
mnCustomerNumber AN8
szCompany CO
szBranchPlant MCU
mnOrderNumber DOCO
szOrderType DCTO
szOrderKeyCompanyKCOO
szOrderSuffix DFXO
jdTransactionOrderDate TRDJ
jdRequestedDate DRQJ
jdPromisedDate PDDJ
cOrderOnHold EV01
2.2Related Tables
Table Table Description
F42008Hold Code Constants.
F4209Held Order Details.
2.3Related Business Functions
Source NameFunction Name
B4001100.CWrite Hold Code (F4209).
B4001110.CGet Hold Code Information (F42008).
B0100023.CGet Customer Amounts and Dates from F0301
B02B0017.CA/R Aging - X0303
B0100008.CParent/Child Processing
B4200100.CGet Sold to Billing Instructions
B4200510.CAccumulate A/R Balance
2.4Processing
Fetch Customer Master by AN8 to get Credit Check Level A5ARTO, Credit Hold Exempt A5EXHD and
Currency Code A5CRCA. Use business function B4200100 - Get Sold To Billing Instructions.
Fetch Customer Master by AN8. Use business function B0100023 - Get Customer Amounts and Dates.
If credit checking against parent A5ARTO=P:
Fetch Customer Master by AN8 for the Parent Address Number. Use business function B0100023 -
Get Customer Amounts and Dates.
If record is found: Add Open Order Amount A5APRC to an accumulator.
Set a parent/child flag to P, otherwise credit checking by customer.
on Hold EV01 equal to '0'.
Store Credit Limit A5ACL in a work field.
Fetch Hold Code Constants by Hold Code HCOD and Branch/Plant MCU. Use business function
B4001110 - Get Hold Code Information.
If record not found return to calling application with Order is on Hold (EV01) equal to '0'.
If record found get: Responsible Person HCRPER, Aging Period HCAPB and Percent Past Due HCAPB.
If aging period HCAPB is not blank:
BEGIN LOOP
Get A/R headings and amounts. Use business function B4200510 - Accumulate A/R Balance.
If credit checking by Parent Address Number:
Fetch the next Child Address. Use business function B0100008 Parent/Child Processing.
If this is not the last Child Address Number:
Dates.
If record is found get: Open Order Amount A5APRC and add to accumulator.
Branch to the BEGIN LOOP.
If the total exposure is greater than the credit limit and the credit limit is not zero:
Write Held Order Row in F4209 using B4001100 Write Hold Code.
Pass the following data items to B4300080:
MCU - Branch/Plant
HCOD - Hold Code
AN8 - Customer Number
TRDJ - Transaction / Order Date
DRQJ - Requested Date
PDDJ - Promised Date
SFXO - Order Suffix
DCTO - Order Type
DOCO - Order Number
KCOO - Order Key Company
LNID - Order Line Number
CTYP - Hold Code Type
RPER - Responsible Person (from HCRPER - F42008)
If aging period HCAPB is not blank:
category 7.
If the accumulated amount and the A/R Amount Due are both greater than zero:
due of the total.
If the Percent Limit HCPPL is not zero and is less than or equal to the percent past due
of the total:
Write Held Order Row in F4209 using B4001100 Write Hold Code.
Pass the following data items to B4300080:
MCU - Branch/Plant
HCOD - Hold Code
AN8 - Customer Number
TRDJ - Transaction / Order Date
DRQJ - Requested Date
PDDJ - Promised Date
SFXO - Order Suffix
DCTO - Order Type
DOCO - Order Number
KCOO - Order Key Company
LNID - Order Line Number
CTYP - Hold Code Type
RPER - Responsible Person (from HCRPER - F42008)
ITM - Short Item Number
LITM - Long Item Number
AITM - Third Item Number
D4200420 - Credit Check Processing
Special Input Expected
HCODHold CodeHold Code.
AN8Customer NumberCustomer Number.
COCompanyCompany
MCUBranch/PlantBranch / Plant.
DOCOOrder NumberOrder Number.
DCTOOrder TypeOrder Type.
KCOOOrder Key CompanyOrder Key Company.
SFXOOrder SuffixOrder Suffix - Always 000.
TRDJTransaction/Order DateTransaction / Order Date.
DRQJRequested DateRequested Date.
PDDJPromised DatePromised Date.
Special Output Returned
EV01Order is on Hold 0/1A returned flag that identifies if the order has been put on hold. 1 if
order is held or 0 if it passed the credit check.
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szHoldCode | HCOD | char | NONE | NONE |
A user defined code (42/HC) that identifies why an order was placed on hold (for example, credit, budget, or margin standards were
| ||||
mnCustomerNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
szCompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnOrderNumber | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrderType | DCTO | char | NONE | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szOrderKeyCompany | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
szOrderSuffix | SFXO | char | NONE | NONE |
In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies
| ||||
jdTransactionOrderDate | TRDJ | JDEDATE | NONE | NONE |
The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing. | ||||
jdRequestedDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
jdPromisedDate | PDDJ | JDEDATE | NONE | NONE |
The promised shipment date for either a sales order or purchase order. The Supply and Demand Programs use this date to calculate
| ||||
cOrderOnHold | EV01 | char | NONE | NONE |
Special Output Returned
| ||||
cExemptCreditHold | EXHD | char | OPT | NONE |
Code indicating if the customer is exempt from credit checking in the Sales Order Processing cycle. Valid codes are:
Y Sales order entry
| ||||
mnAmountCreditLimit | ACL | MATH_NUMERIC | OPT | NONE |
The total amount that you allow the customer to spend on purchases before the system sends a workflow message. This value is used
| ||||
mnAmountTotalExposure | AMTU | MATH_NUMERIC | OPT | NONE |
A quantity that represents the statistical or measurable information related to the code that is defined for the data type. For example, if the
| ||||
szCurrencyCodeTo | CRDC | char | OPT | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
cCreditCheckMode | EV02 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
mnAmtOpenOrder | APRC | MATH_NUMERIC | OPT | NONE |
The total amount of open orders for a supplier or customer. The system uses the list price from the Item Location (F41021) table adjusted by
| ||||
mnAmtInvoicedPriorYr | SPYE | MATH_NUMERIC | OPT | NONE |
The gross amount invoiced for the previous year. The system updates this field only when you run the Statistics Annual Close program
| ||||
mnAmtInvoicedThisYr | ASTY | MATH_NUMERIC | OPT | NONE |
The amount invoiced for the year. The system uses the gross amount of the invoice record (F03B11) regardless of whether taxes are
| ||||
mnAmtLastPaid | ALP | MATH_NUMERIC | OPT | NONE |
The amount of the last payment applied to invoices based on the G/L date of the Receipt Detail record (F03B14). The system displays this
| ||||
jdDateLastInvoice | DLIJ | JDEDATE | OPT | NONE |
The G/L date of the last invoice generated for the customer. | ||||
jdDateFirstInvoice | DFIJ | JDEDATE | OPT | NONE |
The G/L date of the first invoice generated. | ||||
jdDateLastPaid | DLP | JDEDATE | OPT | NONE |
The date of the last premium payment. | ||||
szAgingHeading1 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading2 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading3 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading4 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading5 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading6 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading7 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading8 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szAgingHeading9 | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
mnAmtFutureDue | AG | MATH_NUMERIC | OPT | NONE |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
| ||||
mnAmtAgingCategories1 | AG1 | MATH_NUMERIC | OPT | NONE |
The total open invoice amount that is in the first category as defined in either the Accounts Receivable constants or the processing options
| ||||
mnAmtAgingCategories2 | AG2 | MATH_NUMERIC | OPT | NONE |
The total open invoice amount that is in the second category as defined in either the Accounts Receivable constants or the processing
| ||||
mnAmtAgingCategories3 | AG3 | MATH_NUMERIC | OPT | NONE |
The total open invoice amount that is in the third category as defined in either the Accounts Receivable constants or the processing options
| ||||
mnAmtAgingCategories4 | AG4 | MATH_NUMERIC | OPT | NONE |
The total open invoice amount that is in the fourth category as defined in either the Accounts Receivable constants or the processing
| ||||
mnAmtAgingCategories5 | AG5 | MATH_NUMERIC | OPT | NONE |
The total open invoice amount that is in the fifth category as defined in either the Accounts Receivable constants or the processing options
| ||||
mnAmtAgingCategories6 | AG6 | MATH_NUMERIC | OPT | NONE |
The total open invoice amount that is in the sixth category as defined in either the Accounts Receivable constants or the processing options
| ||||
mnAmtAgingCategories7 | AG7 | MATH_NUMERIC | OPT | NONE |
The total open invoice amount that is in the seventh category as defined in either the Accounts Receivable constants or the processing
| ||||
mnAmtAgingCategories8 | AG8 | MATH_NUMERIC | OPT | NONE |
The amount retained on your books for the number of days indicated by the category number. The system automatically computes aging
| ||||
mnAmtDue | AD | MATH_NUMERIC | OPT | NONE |
The balance or amount due on an open invoice or voucher. In the Address Book Master file (F0101), this is a memo amount field used to
| ||||
mnNumberOfOpenDrafts | NOD | MATH_NUMERIC | OPT | NONE |
The number of draft records (R1) in the Customer Ledger table (F03B11) that have a pay status not equal to P. | ||||
mnOutstandingDraftAmount | ODAM | MATH_NUMERIC | OPT | NONE |
The total value of the open draft amounts. Outstanding drafts are considered all drafts in Italy and only drafts not yet due in France. | ||||
mnParentAddressNumber | PA8 | MATH_NUMERIC | OPT | NONE |
The address book number of the parent company. The system uses this number to associate a particular address with a parent company
| ||||
mnShipToAddressNumber | SHAN | MATH_NUMERIC | OPT | NONE |
The address number of the location to which you want to ship this order. The address book provides default values for customer address,
|
B0100008 A/B Server - Parent/Child Server | ||||
B0100023 Get Customer Amounts & Dates from F0301 or F03B01 | ||||
B4000460 Free Ptr To Data Structure | ||||
B4001100 Write Hold Code | ||||
B4001110 Get Hold Code Information | ||||
B4200100 Get Sold To Billing Instructions | ||||
B4200510 Accumulate A/R Balance |
F42008 Order Hold Constants | ||||
F4209 Held Orders |