ConfiguredItemPartialShipment

Configured Item Partial Shipments

Minor Business Rule

Object Name: N3201370

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
The Business Function will duplicate Configurator Records to support line splitting during partial shipments.



1.2Setup Notes and Prerequisites
None


1.3Special Logic

None



2.Technical Specifications


2.1Parameters:


Data Item Data Structure 

DescriptionI/ORequiredNotes DOCOmnSalesOrderNumberIY DCTOszOrderTypeIY KCOOszCompanyKeyOrderNoIY LNIDmnOriginalLineNumberIY LNIDmnNewLineNumber SFXOszOrderSuffixIY SYszSystemCodeIY* If not supplied * as default will be 

used SOQSmnQuantityShippedIY PIDszProgramIdIN SUPPScSuppressErrorMessageIN DTAIszErrorMessageIDON

2.2Related Tables 

Table Table Description F3215Configurator Component F3216Configurator Price /Cost Adjastment.  F4102Item Branch File


2.3Related Business Functions

Source NameFunction Name B3200400Cache Process Price Cost  B4000920Get Item Branch Mfg Data B3200370Cache Process All Components 

N3201410GetConfigurationIdNo

2.4Processing

call GetMasterConfigurationIdNo (N3201410) to retrieve Configuration ID #

If successful  (Configurator ID # not equal zero)

Call N3201450 to get New Configuration ID #

F3215.Open

MoreRecords = TRUE

If (Open F3215 is successful)

F3215.FetchSingle (using Configuration ID # and CFGCID = 1)

To get Top Original Quantity

If F3215.FetchSingle is successful

Calculate TopStdQtyFactor

F3215.select (using  Configuration ID #)

While MoreRecords

F3215.FetchNext

If FetchNext is successful

Calculate StdQtyShipped and StdQtyRemained

Calculate MultQtyShipped and MultQtyRemained

Calculate Price and Cost for Shipped and Remained Quantities

F3215.Update (using  Configuration ID #)

F3215.Insert (using  NewConfiguration ID #)

Else

MoreRecords = FALSE

End If

End While

F3216.Open

MoreRecords = TRUE 
If Open F3216 is successful

F3216.select (using  Configuration ID #)
While MoreRecords

F3216.FetchNext

If FetchNext is successful

Calculate StdQtyShipped and StdQtyRemained

Calculate MultQtyShipped and MultQtyRemained

Calculate Price and Cost for Shipped and Remained Quantities

F3216.Update (using  Configuration ID #)

F3216.Insert (using  NewConfiguration ID #)

Else

MoreRecords = FALSE

End If

End While

Close F3216
Else
Load Error
End If F3216 Open is successful
Else
Load Error 2838
End If F3215.FetchSingle is successful 
Close F3215
End If  F3215 Open is successful
End If


Data Structure

D3201370 - Configured Item Partial Shipments

Parameter NameData ItemData TypeReq/OptI/O/Both
mnSalesOrderNumberDOCOMATH_NUMERICREQINPUT

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.

szOrderTypeDCTOcharREQINPUT

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

szCompanyKeyOrderNoKCOOcharREQINPUT

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.

szSystemCodeSYcharREQNONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

szOrderSuffixSFXOcharOPTINPUT

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 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

mnQuantityShippedSOQSMATH_NUMERICREQINPUT

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.

mnOriginalLineNumberLNIDMATH_NUMERICREQINPUT

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.

mnNewLineNumberLNIDMATH_NUMERICREQINPUT

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.

szProgramIdPIDcharREQINPUT

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.

cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTOUTPUT

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.

Related Functions

None

Related Tables

None