1.Functional Description
1.1Purpose
The purpose of this function is to read and write transaction quantity values from F3313 to the
appropriate capacity type and date bucket. Has two functions:
F3313WriteTransactionQuantityUBE - Writes F3313 records in R3350
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
WkMaxNoOfDates = EndingIndex StartingIndex + 1
Allocate memory for QuantityArray (WkMaxNoOfDates)
If the memory allocation fails
Exit the function with an error return code
End
Open Table F3313.
If open table fails
Exit the function with an error return code
End
Sort the records based on the ascending order of the Start Date.
Select records based on the input values for Work Center, UM, Capacity Type ,Capacity Mode and
Starting and Ending index values of Date Array
Fetch records
While fetch is successful
End While
Close Table F3313
^
D3300270 - F3313, Write Transaction Quantity
Data Item Data Structure DescriptionI/ORequiredNotes
INT01 Starting Index IY
INT02 Ending Index IY
TQ01 Transaction Quantity 1 O
TQ02 Transaction Quantity 2 O
TQ03 Transaction Quantity 3 O
TQ04 Transaction Quantity 4 O
TQ05 Transaction Quantity 5 O
TQ06 Transaction Quantity 6 O
TQ07 Transaction Quantity 7 O
TQ08 Transaction Quantity 8 O
TQ09 Transaction Quantity 9 O
TQ10 Transaction Quantity 10 O
TQ11 Transaction Quantity 11 O
TQ12 Transaction Quantity 12 O
TQ13 Transaction Quantity 13 O
TQ14 Transaction Quantity 14 O
TQ15 Transaction Quantity 15 O
TQ16 Transaction Quantity 16 O
TQ17 Transaction Quantity 17 O
TQ18 Transaction Quantity 18 O
TQ19 Transaction Quantity 19 O
TQ20 Transaction Quantity 20 O
TQ21 Transaction Quantity 21 O
TQ22 Transaction Quantity 22 O
TQ23 Transaction Quantity 23 O
TQ24 Transaction Quantity 24 O
TQ25 Transaction Quantity 25 O
TQ26 Transaction Quantity 26 O
TQ27 Transaction Quantity 27 O
TQ28 Transaction Quantity 28 O
TQ29 Transaction Quantity 29 O
TQ30 Transaction Quantity 30 O
TQ31 Transaction Quantity 31 O
TQ32 Transaction Quantity 32 O
TQ33 Transaction Quantity 33 O
TQ34 Transaction Quantity 34 O
TQ35 Transaction Quantity 35 O
TQ36 Transaction Quantity 36 O
TQ37 Transaction Quantity 37 O
TQ38 Transaction Quantity 38 O
TQ39 Transaction Quantity 39 O
TQ40 Transaction Quantity 40 O
TQ41 Transaction Quantity 41 O
TQ42 Transaction Quantity 42 O
TQ43 Transaction Quantity 43 O
TQ44 Transaction Quantity 44 O
TQ45 Transaction Quantity 45 O
TQ46 Transaction Quantity 46 O
TQ47 Transaction Quantity 47 O
TQ48 Transaction Quantity 48 O
TQ49 Transaction Quantity 49 O
TQ50 Transaction Quantity 50 O
TQ51 Transaction Quantity 51 O
TQ52 Transaction Quantity 52 O
TQ53 Transaction Quantity 53 O
TQ54 Transaction Quantity 54 O
TQ55 Transaction Quantity 55 O
TQ56 Transaction Quantity 56 O
MCU Work Center IY
CQT Capacity Type IY From Processing Option
UM Unit Of Measure IY
CAPM Capacity Mode IY From Processing Option
SUPPS Suppress Error Message IY '1' = Suppress error messages
' ' = Allow error messages
DTAI Error Message ID OY ' ' = success
'3143' = Table access error
'4364' = Memory allocation
failed
GENLNG DateArrayPointer IY
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
nStartingIndex | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
nEndingIndex | INT02 | integer | NONE | NONE |
Number of Days in the Past to Query for Quote Requests Received. | ||||
szQuantity01 | TQ01 | char | NONE | NONE |
Time Series Column 01. This column will hold Time Series Dates or Quantities. | ||||
szQuantity02 | TQ02 | char | NONE | NONE |
Time Series Column 02. This column will hold Time Series Dates or Quantities. | ||||
szQuantity03 | TQ03 | char | NONE | NONE |
Time Series Column 03. This column will hold Time Series Dates or Quantities. | ||||
szQuantity04 | TQ04 | char | NONE | NONE |
Time Series Column 04. This column will hold Time Series Dates or Quantities. | ||||
szQuantity05 | TQ05 | char | NONE | NONE |
Time Series Column 05. This column will hold Time Series Dates or Quantities. | ||||
szQuantity06 | TQ06 | char | NONE | NONE |
Time Series Column 06. This column will hold Time Series Dates or Quantities. | ||||
szQuantity07 | TQ07 | char | NONE | NONE |
Time Series Column 07. This column will hold Time Series Dates or Quantities. | ||||
szQuantity08 | TQ08 | char | NONE | NONE |
Time Series Column 08. This column will hold Time Series Dates or Quantities. | ||||
szQuantity09 | TQ09 | char | NONE | NONE |
Time Series Column 09. This column will hold Time Series Dates or Quantities. | ||||
szQuantity10 | TQ10 | char | NONE | NONE |
Time Series Column 10. This column will hold Time Series Dates or Quantities. | ||||
szQuantity11 | TQ11 | char | NONE | NONE |
Time Series Column 11. This column will hold Time Series Dates or Quantities. | ||||
szQuantity12 | TQ12 | char | NONE | NONE |
Time Series Column 12. This column will hold Time Series Dates or Quantities. | ||||
szQuantity13 | TQ13 | char | NONE | NONE |
Time Series Column 13. This column will hold Time Series Dates or Quantities. | ||||
szQuantity14 | TQ14 | char | NONE | NONE |
Time Series Column 14. This column will hold Time Series Dates or Quantities. | ||||
szQuantity15 | TQ15 | char | NONE | NONE |
Time Series Column 15. This column will hold Time Series Dates or Quantities. | ||||
szQuantity16 | TQ16 | char | NONE | NONE |
Time Series Column 16. This column will hold Time Series Dates or Quantities. | ||||
szQuantity17 | TQ17 | char | NONE | NONE |
Time Series Column 17. This column will hold Time Series Dates or Quantities. | ||||
szQuantity18 | TQ18 | char | NONE | NONE |
Time Series Column 18. This column will hold Time Series Dates or Quantities. | ||||
szQuantity19 | TQ19 | char | NONE | NONE |
Time Series Column 19. This column will hold Time Series Dates or Quantities. | ||||
szQuantity20 | TQ20 | char | NONE | NONE |
Time Series Column 20. This column will hold Time Series Dates or Quantities. | ||||
szQuantity21 | TQ21 | char | NONE | NONE |
Time Series Column 21. This column will hold Time Series Dates or Quantities. | ||||
szQuantity22 | TQ22 | char | NONE | NONE |
Time Series Column 22. This column will hold Time Series Dates or Quantities. | ||||
szQuantity23 | TQ23 | char | NONE | NONE |
Time Series Column 23. This column will hold Time Series Dates or Quantities. | ||||
szQuantity24 | TQ24 | char | NONE | NONE |
Time Series Column 24. This column will hold Time Series Dates or Quantities. | ||||
szQuantity25 | TQ25 | char | NONE | NONE |
Time Series Column 25. This column will hold Time Series Dates or Quantities. | ||||
szQuantity26 | TQ26 | char | NONE | NONE |
Time Series Column 26. This column will hold Time Series Dates or Quantities. | ||||
szQuantity27 | TQ27 | char | NONE | NONE |
Time Series Column 27. This column will hold Time Series Dates or Quantities. | ||||
szQuantity28 | TQ28 | char | NONE | NONE |
Time Series Column 28. This column will hold Time Series Dates or Quantities. | ||||
szQuantity29 | TQ29 | char | NONE | NONE |
Time Series Column 29. This column will hold Time Series Dates or Quantities. | ||||
szQuantity30 | TQ30 | char | NONE | NONE |
Time Series Column 30. This column will hold Time Series Dates or Quantities. | ||||
szQuantity31 | TQ31 | char | NONE | NONE |
Time Series Column 31. This column will hold Time Series Dates or Quantities. | ||||
szQuantity32 | TQ32 | char | NONE | NONE |
Time Series Column 32. This column will hold Time Series Dates or Quantities. | ||||
szQuantity33 | TQ33 | char | NONE | NONE |
Time Series Column 33. This column will hold Time Series Dates or Quantities. | ||||
szQuantity34 | TQ34 | char | NONE | NONE |
Time Series Column 34. This column will hold Time Series Dates or Quantities. | ||||
szQuantity35 | TQ35 | char | NONE | NONE |
Time Series Column 35. This column will hold Time Series Dates or Quantities. | ||||
szQuantity36 | TQ36 | char | NONE | NONE |
Time Series Column 36. This column will hold Time Series Dates or Quantities. | ||||
szQuantity37 | TQ37 | char | NONE | NONE |
Time Series Column 37. This column will hold Time Series Dates or Quantities. | ||||
szQuantity38 | TQ38 | char | NONE | NONE |
Time Series Column 38. This column will hold Time Series Dates or Quantities. | ||||
szQuantity39 | TQ39 | char | NONE | NONE |
Time Series Column 39. This column will hold Time Series Dates or Quantities. | ||||
szQuantity40 | TQ40 | char | NONE | NONE |
Time Series Column 40. This column will hold Time Series Dates or Quantities. | ||||
szQuantity41 | TQ41 | char | NONE | NONE |
Time Series Column 41. This column will hold Time Series Dates or Quantities. | ||||
szQuantity42 | TQ42 | char | NONE | NONE |
Time Series Column 42. This column will hold Time Series Dates or Quantities. | ||||
szQuantity43 | TQ43 | char | NONE | NONE |
Time Series Column 43. This column will hold Time Series Dates or Quantities. | ||||
szQuantity44 | TQ44 | char | NONE | NONE |
Time Series Column 44. This column will hold Time Series Dates or Quantities. | ||||
szQuantity45 | TQ45 | char | NONE | NONE |
Time Series Column 45. This column will hold Time Series Dates or Quantities. | ||||
szQuantity46 | TQ46 | char | NONE | NONE |
Time Series Column 46. This column will hold Time Series Dates or Quantities. | ||||
szQuantity47 | TQ47 | char | NONE | NONE |
Time Series Column 47. This column will hold Time Series Dates or Quantities. | ||||
szQuantity48 | TQ48 | char | NONE | NONE |
Time Series Column 48. This column will hold Time Series Dates or Quantities. | ||||
szQuantity49 | TQ49 | char | NONE | NONE |
Time Series Column 49. This column will hold Time Series Dates or Quantities. | ||||
szQuantity50 | TQ50 | char | NONE | NONE |
Time Series Column 50. This column will hold Time Series Dates or Quantities. | ||||
szQuantity51 | TQ51 | char | NONE | NONE |
Time Series Column 51. This column will hold Time Series Dates or Quantities. | ||||
szQuantity52 | TQ52 | char | NONE | NONE |
Time Series Column 52. This column will hold Time Series Dates or Quantities. | ||||
szQuantity53 | TQ53 | char | NONE | NONE |
Time Series Column 53. This column will hold Time Series Dates or Quantities. | ||||
szQuantity54 | TQ54 | char | NONE | NONE |
Time Series Column 54. This column will hold Time Series Dates or Quantities. | ||||
szQuantity55 | TQ55 | char | NONE | NONE |
Time Series Column 55. This column will hold Time Series Dates or Quantities. | ||||
szQuantity56 | TQ56 | char | NONE | NONE |
Time Series Column 56. This column will hold Time Series Dates or Quantities. | ||||
szWorkCenter | 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
| ||||
szCapacityType | CQT | char | NONE | NONE |
A code that distinguishes different quantities generated in the Capacity Planning system. | ||||
szUnitOfMeasure | UM | char | NONE | NONE |
A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box,
| ||||
cCapacityMode | CAPM | char | NONE | NONE |
A code indicating which planning is being used. Valid values are:
1 Resource Requirements Planning
2 Rough Cut Capacity
| ||||
cSuppressErrorMessage | SUPPS | char | NONE | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageID | DTAI | char | NONE | 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
| ||||
idDateArrayPointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szWorkcenterBranch | WMCU | char | OPT | NONE |
This is the branch/plant to which the work center belongs and must exist in the business unit master (F0006) and branch plant constants file
|
None |
F3313 Capacity Load Table |