F43213UpdateSRSShipDates

F43213 Update SRS Ship Dates

Minor Business Rule

Object Name: B3401480

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function will retrieve information from F43213 and displays based on the existence of Ship Dates 
in F43213 in the form of a calendar. If a date exists in F43213 it will display an 'S ' else it will 

display 'N' with the appropriate offset.


1.2Setup Notes and Prerequisites


1.3Special Logic

There is no special logic within this function.

2.Technical Specifications
cShip[32] =  ' ';
cShipNew[32] = ' ';

iNumDaysIn Month;

iDayOfTheWeek;

jdFirstDateOfMonth;

jdLastDateOfMonth;


Determine jdFirstDateOfMonth;

Determine jdLastDateOfMonth;

Determine number of days in the month (iNumDaysIn Month)

Determine the day of the week (Sunday= 0, Monday = 1,etc.).

Calculate ThisMonthOffset.( iDayOfTheWeek)

Calculate NextMonthOffset.(i DayOfTheWeek + iNumDaysIn Month)


Open Table F43213

if cMode = '1' or '2'

i = 1;

if lpDS->NoOfKeys = 8

VPPSVE = ' ';

VPDATE = idFirstDateOfMonth;
VPMMCU = lpDS->Branch;
VPAN8 = lpDS->SupplierNumber
VPITM = lpDS->ShortItemNumber

VPDOCO = lpDS->OrderNumber
VPDCTO = lpDS->OrderType

VPLNID = lpDS->LineNumber
while i <= iNumDaysIn Month
Fetch from F43213
if successful 

cShip[i] = 'S';
else
cShip[i] = 'N';

end
i = i+1;
VPDATE = VPDATE + 1;

end

end

lpcTempPtr = cShip[1];

lpcShippable = lpDS->cShippable01 + (sizeof(lpDS->cShippable) * iDayOfTheWeek);


if cMode  = '1'

for(i = 0 to iNumDaysIn Month)
lpcShippable[i] = lpcTempPtr[i]

end
end


if cMode = '2'
for(i = 0 to iNumDaysIn Month)
cShipNew[i+1] = lpcShippable[i]
end


for (i = 1 to iNumDaysIn Month)

if cShip[i] <> cShipNew[i]

if cShipNew[i] = 'S'
Insert into F43213

Else
Delete from F43213

end

end
end
end

end


if cMode = '3'

Delete Records for Month and Year.

end

close table


^

Data Structure

D3401480 - F43213 Update SRS Ship Dates


Data Item Data Structure DescriptionI/ORequiredNotes

MMCU            Branch                        IY

YR            CalendarYear                  IY

MT            CalendarMonth                  IY

MODE            Mode                               IY      '1' = Return Values to 

application                                                                          '2' = Send values from 

application 

                                                                        '3' = Delete for Month/Year

EV01  EV25 

EV01 - EV12      Shippable01 - 37                  I/ON          In Mode = '1' the values from 


                                                                        F43213('S' or'N') will be 

returned 

                                                                        into these fields.  In Mode = 

'2' 

                                                                        values from these fields will 

be sent 

                                                                        back in with the appropriate 

offset.

AN8            Supplier Number                  IY

ITM            Short Item Number                  IN

LITM            Second Item Number            IN

AITM            Third Item Number                  IN

DOCO            Order Number                  IN

DCTO            Order Type                        IN

LNID            Line Number                        IN

MN09A            ThisMonthOffset                  OY


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szBranchMMCUcharOPTNONE

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 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

mnYearYRMATH_NUMERICOPTNONE

The calendar year for this calendar.

mnMonthMTMATH_NUMERICOPTNONE

A number that corresponds to the month in a calendar year. 

cModeMODEcharOPTNONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

mnAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnIdentifierShortItemITMMATH_NUMERICOPTNONE

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

szIdentifier2ndItemLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szIdentifier3rdItemAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

mnOrderNumberDOCOMATH_NUMERICOPTNONE

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.

szOrderTypeDCTOcharOPTNONE

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

mnLineNumberLNIDMATH_NUMERICOPTNONE

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.

mnThisMonthOffsetMN09AMATH_NUMERICOPTNONE

Generic Math Numeric - size 9

mnNextMonthOffsetMN09BMATH_NUMERICOPTNONE

Generic Math Numeric - size 9

nNoOfKeysINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

cSuppressErrorMessageEV13charOPTNONE

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

szErrorMessageIDDTAIcharOPTNONE

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.

cShippable01EV01charOPTNONE

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

cShippable02EV02charOPTNONE

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

cShippable03EV03charOPTNONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cShippable04EV04charOPTNONE

PeopleSoft event point processing flag 04.

cShippable05EV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

cShippable06EV06charOPTNONE

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

cShippable07EV07charOPTNONE

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

cShippable08EV08charOPTNONE

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

cShippable09EV09charOPTNONE

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

cShippable10EV10charOPTNONE

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

cShippable11EV11charOPTNONE

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

cShippable12EV12charOPTNONE

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

cShippable13EV13charOPTNONE

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

cShippable14EV14charOPTNONE

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

cShippable15EV15charOPTNONE

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

cShippable16EV16charOPTNONE

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

cShippable17EV17charOPTNONE

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

cShippable18EV18charOPTNONE

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

cShippable19EV19charOPTNONE

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

cShippable20EV20charOPTNONE

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

cShippable21EV21charOPTNONE

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

cShippable22EV22charOPTNONE

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

cShippable23EV23charOPTNONE

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

cShippable24EV24charOPTNONE

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

cShippable25EV25charOPTNONE

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

cShippable26EV01charOPTNONE

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

cShippable27EV02charOPTNONE

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

cShippable28EV03charOPTNONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cShippable29EV04charOPTNONE

PeopleSoft event point processing flag 04.

cShippable30EV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

cShippable31EV06charOPTNONE

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

cShippable32EV07charOPTNONE

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

cShippable33EV08charOPTNONE

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

cShippable34EV09charOPTNONE

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

cShippable35EV10charOPTNONE

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

cShippable36EV11charOPTNONE

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

cShippable37EV12charOPTNONE

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

Related Functions

None

Related Tables

F43213 SRS Ship Dates