BackorderReleaseClearCache

Backorder Release MBF

Master Business Function

Object Name: N4200860

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D420086C - Backorder Release Clear Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrdertypeDCTOcharNONENONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanykeyordernoKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szUseridUSERcharNONENONE

The code that identifies a user profile.

szComputerIDCTIDcharNONENONE

mnJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

cModeReverseF41021RecsEV01charNONENONE

FUTURE USE
^

Related Functions

None

Related Tables

None
BackorderReleaseEditLine

BackorderReleaseEditLine

Backorder Release MBF

Master Business Function

Object Name: N4200860

Parent DLL: CDIST

Location: Client/Server

Language: NER

Functional Description - BackorderReleaseEditLine

Purpose

The purpose of BackorderReleaseEditLine is to perform backorder release edits on sales detail 
lines (F4211 table), and if these edits are successful, to write sales header and detail information to 

the Backorder Release Header (B4200820A) and Detail (B4200820B) caches.  The edits include 

validating status codes, active order holds, checking availability (warning), and checking for zero 

quantity on hand.  By definition, if a record is in the Backorder Release Header/Detail caches, it has 

passed all edits and can be processed by BackorderReleaseEndDoc.  This business function is designed 

specifically for Backorder Release programs. 


Unlike many EditLine functions, BackorderReleaseEditLine updates the Item Balance table (F41021) 

if the detail line is written to the Backorder Release Header/Detail caches.  This is necessary for 

accurate availability checking.


Setup Notes and Prerequisites
• 
When called from the UBE Backorder Release this function should be called only when in final 
mode.

• This program may be preceeded by a function that loads the cache from the grid or business view. 
If called without first calling this function it will fetch the requested record from the data base 

and write it to the cachecache.

• This function will perform all availability checking and generate warnings accordingly.
• If no errors are returned to the calling application, BackorderReleaseEndDoc can be called.
• You must define work fields in your application to hold all the output parameters of this 
function.  Some of which will be passed to subsequent edit object modules (i.e., Edit Line, End Doc).

• This function will not actually write or update to the Sales Order Detail file, you must call 
BackorderReleaseEndDoc manually for that to happen.

• Important Note:  This function updates the item balance record in the F41021 table if the sales 
detail line passes all the edits and is written to the Detail Cache.  In order to reverse out these 

updates (e.g. user presses Cancel from the Backorder Release application), a call to B4200370 is 

necessary to reverse out updates to F41021.

• 

Special Logic




Technical Specification



Data Structure

D420086A - Backorder Release Edit Line

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrdertypeDCTOcharNONENONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderCompanyKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLinenumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnQuantityReleasedQRLVMATH_NUMERICNONENONE

Special Input Expected
Quantity to release in transaction UOM.


Special Output Returned

Quantity actually released in transaction UOM.



^

mnOriginalBackorderQuantitySOBKMATH_NUMERICNONENONE

NOT USED
^

mnQuantityavailableQAVALMATH_NUMERICNONENONE

NOT USED
^

cBatchModeEV02charNONENONE

Special Input Expected
Batch/Interactive mode flag.


Significant Data Values

_ - function will retrieve and use P42117 processing options.

1 - function will retrieve and use R42118 processing options.

^

idKitLinkListPtrGENLN2IDNONENONE

NOT USED.
^

szErrorMessageIDDTAIcharNONENONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cErrorCodeERRCcharNONENONE

Special Output Returned
Error flag.


Significant Data Values

_ - No errors; record written to Backorder Release Header and Detail Cache.

1 - Errors; record NOT written to Backorder Release caches.


^

szProgramidPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szVersionVERScharNONENONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

szUseridUSERcharNONENONE

The code that identifies a user profile.

cKitPricingMethodPMTHcharNONENONE

NOT USED
^

mnUnitsquantityshippedSOQSMATH_NUMERICNONENONE

NOT USED
^

cBackordersAllowedYNBACKcharNONENONE

An option that specifies whether to allow backorders for this item. You can allow backorders by item using the Item Master (P4101) or Item 
Branch/Plant (P41026) programs, by customer using the Customer Billing Instructions program (P03013), or by branch/plant using the 
Branch/Plant Constants program (P41001).  Valid values are: On Allow backorders for this item. Off Do not allow backorders for this item, regardless of 
the backorders code that is assigned to the customer.

szComputerIDCTIDcharNONENONE

Special Input Expected
Computer ID value.  If blank, function will calculate and return.


Special Output Returned

Computer ID value.



^

mnJobNumberJOBSMATH_NUMERICNONENONE

Special Input Expected
If blank, function will generate from next numbers.  For all subsequent calls, same number should be 

passed to function.


^

mnDualQuantityReleasedDQTYMATH_NUMERICOPTNONE

The number of units (for the unit of measure) that is not contained in the unit of measure structure. For dual units of measure, the system 
tracks both the primary quantity and the secondary quantity. Depending on how the picking processing option is set, the system tracks either the 
primary unit of measure or the secondary unit of measure for a unit of measure structure.

Related Functions

None

Related Tables

None
BackorderReleaseEndDoc

BackorderReleaseEndDoc

Backorder Release MBF

Master Business Function

Object Name: N4200860

Parent DLL: CDIST

Location: Client/Server

Language: NER

Functional Description - BackorderReleaseEndDoc

Purpose

The purpose of BackorderReleaseEndDoc is to update records in the Sales Order Header and Detail 
tables (F4201/F4211), write to the Sales Order Ledger table (F42199), perform customer credit 

checking, update the Order Hold table (F4209), call Committments if processing option is set, and call the 

Warehouse Interface.  Prior to calling this function, you should have used the 

BackorderReleaseEditLine function to write the backorder line to the Backorder Release Cache.  


BackorderReleaseEndDoc processes all records in the Backorder Release Detail cache matching the 

passed Computer ID and Job Number.  This function will clean up the Backorder Release Header and 

Detail caches, as well as the Ship Confirm/Backorder Release Kit Cache.


Setup Notes and Prerequisites
This function must be used in conjunction with the other Backorder edit object modules.  Please 
refer to the Edit Object document for more information about how and when to use this function.  For 

Backorder Release only two modules are used: Edit Line and End Doc. There are no header edits 

necessary for the application as they are existing orders.


Special Logic




Technical Specification




Data Structure

D420086B - Backorder Release End Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
szProgramidPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szUseridUSERcharNONENONE

The code that identifies a user profile.

jdDateupdatedUPMJJDEDATENONENONE

The date that specifies the last update to the file record.

mnTimeofdayTDAYMATH_NUMERICNONENONE

The computer clock in hours:minutes:seconds.

szComputerIDCTIDcharNONENONE

mnJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

cBatchModeEV02charNONENONE

Special Input Expected
Batch mode flag.


Significant Data Values

_ - Retrieve and use P42117 processing options.

1 - Retrieve and use R42118 processing options.


^

szVersionVERScharOPTINPUT

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

Related Functions

None

Related Tables

None
BackorderReleaseKitProcessing

BackorderReleaseKitProcessing

Backorder Release MBF

Master Business Function

Object Name: N4200860

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D420086D - Backorder Release Kit Processing

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharNONENONE

mnJobnumberAJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

mnDocumentOrderInvoiceEDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanyKeyOrderNoKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnParentQtyToRlsInTransUOMQRLVMATH_NUMERICNONENONE

Special Input Expected
Quantity of kit parent item to release, in transaction UOM.

^

mnParentUnitsTransactionQtyUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

mnParentUnitsQuantityShippedSOQSMATH_NUMERICNONENONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

mnParentUnitsQuanBackorderedSOBKMATH_NUMERICNONENONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnParentUnitsQuantityCanceledSOCNMATH_NUMERICNONENONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szTransactionUOMUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

cPartialShipmntsAllowYNAPTScharNONENONE

An option that indicates whether the customer accepts partial line shipments. Valid values are: On The customer accepts partial line 
shipments. No The customer does not accept partial shipments; the entire line must be shipped at one time.

cBackordersAllowedYNBACKcharNONENONE

An option that specifies whether to allow backorders for this item. You can allow backorders by item using the Item Master (P4101) or Item 
Branch/Plant (P41026) programs, by customer using the Customer Billing Instructions program (P03013), or by branch/plant using the 
Branch/Plant Constants program (P41001).  Valid values are: On Allow backorders for this item. Off Do not allow backorders for this item, regardless of 
the backorders code that is assigned to the customer.

cErrorCodeERRcharNONENONE

Special Input Expected
Error flag.


Significant Data Values

_ - No errors.

1 - Error(s).

2 - Warning.

^

cSupressErrorMsgEV01charNONENONE

An option that specifies the type of processing for an event.

szDataDictionaryErrorMsgDTAIcharNONENONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

mnIdentifierShortItemITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

cCheckAvailabilityYNCKAVcharNONENONE

A code that specifies whether the system performs availability checking.  You might want to turn on availability checking for certain items.  
For other items, if you assume that an adequate supply is available, leave availability checking turned off.  For PeopleSoft World, valid values 
are: Y The system performs availability checking. N The system does not perform availability checking.  For PeopleSoft EnterpriseOne, a 
check mark indicates that availability checking is turned on.

mnConvFctrTransToPrimaryCONVMATH_NUMERICNONENONE

The factor that the system uses to convert one unit of measure to another unit of measure.

mnUnitsPrimaryQtyOrderPQORMATH_NUMERICNONENONE

The quantity ordered by the customer expressed in the primary stocking unit of measure.

cBatchModeEV01charNONENONE

Special Input Expected
Batch/Interactive mode flag.


Significant Data Values

_ - Function retrieves and uses P42117 processing options.

1 - Function retrieves and uses R42118 processing options.

^

szVersionVERScharNONENONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

mnNewUnitCostUNCSMATH_NUMERICNONENONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnNewForeignUnitCostFUCMATH_NUMERICNONENONE

Amount - Foreign Unit Cost

Related Functions

None

Related Tables

None