The audience for this note is someone with developer level knowledge.
This note is the first part of internal flag in Sales Order Processing:-
Note: These flags are to be understood in the context of how sales order master business function handles data and for some cases the value may not be appeared in table or logs
983617.1_B4205100_ALPHIn Sales Order Module, based on a flag defined in ALPH, it may yield different result. This document is mainly for users on how to determine the settings and the result based on returned value in jdedebug.log. Note that the macro defined can be updated if a new functionality is implemented. The flag written in ALPH string is internal usage only so the value is not related with the value you are getting from SO01, SO02 and so on from F4211 - Sales Order Detail File.
Global variable may cause memory issue so pre-defined argument can be assigned in calling B4200310/B4200311 - F4211FSEditLine with parameter szSalesOrderFlags (located at 82nd parameter). So before F4211FSEditLine (F4211 Edit Line) this value will be defined by calling relevant business function as described below.
Disclaimer: Oracle will not be responsible for the changes made to standard programs due to this implementation and Oracle will not maintain any of these custom changes or be responsible for any problems arising from these changes.
Actual Implementation:
Example (based on jdedebug)), possible input value for parameter szSalesOrderFlags : IN->[ 82] szSalesOrderFlags [ 8 2 0 0 10 0]
nIndexPosition | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 34 | 38 | 39 | 40 |
ALPH | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |
szSalesOrderFlags | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | '/' |
Example | 8 | 2 | 0 | 0 | 0 | 0 | '/' |
How to interpret above example:
Note: szSOALPHString[16], szSOALPHstring[32] and szSOALPHstring[36] is handled by BSFN B4002410 - ChangeStringElement (String, Change String Element). For example,
If SV Form_ Mode is equal to CO COPY_MODE Or SV Form_ Mode is equal to CO ADD_MODE
String, Change String Element
GC ALPH - SO Detail Flags (wf) <> BF szString
"16" -> BF nPosition
"1" -> BF cCharacter
End If
From below table if there is no value defined specifically (blank, 0 and 1 are to be used),
Mapping Table:
Index | Index Name | Macro | Enhanced by |
---|---|---|---|
1 | INTERBRANCH_SO_ALPH01 | ' ' - DEFAULT_BL_ALPH01 0 - DEFAULT_0_ALPH01 1 - USE_CST_MRKUP_1_ALPH01 2 - USE_CST_MRKUP_INTCO_INV_2_ALPH01 3 - USE_BASE_PR_3_ALPH01 4 - USE_BASE_PR_INTCO_INV_4_ALPH01 |
|
5 | SUBST_ITEM_ALPH05 | ' ' - DEFAULT_BL_ALPH05 0 - DEFAULT_0_ALPH05 1 - SUBSTITUTE_1_ALPH05 2 - SUBSTITUTED_2_ALPH05 |
<Bug 10949475>: S/R SELECT/DESELECT R/O - SAR: 8367190 |
6 | INV_COMMIT_PREF_DONE_ALPH06 | ||
8 | PRICING_SO_LINE_INFO_ALPH08 | ' ' - DEFAULT_BL_ALPH08 0 - DEFAULT_0_ALPH08 1 - REPRICE_LINE_1_ALPH08 3 - FG_FROM_LINE_ADJ_3_ALPH08 4 - TYPE_TWO_FG_4_ALPH08 5 - FG_FROM_BSKT_ADJ_5_ALPH08 |
|
9 | ADJ_TYPES_APPLIED_ALPH09 | ' ' - NO_ADJUSTMENTS_BL_ALPH09 1 - NO_REBATE_NO_VI_1_ALPH09 2 - YES_REBATE_NO_VI_2_ALPH09 3 - NO_REBATE_YES_VI_3_ALPH09 4 - REBATE_AND_VI_4_ALPH09 8 - MANUAL_OVERRIDE_8_ALPH09 |
|
10 | PROD_ALLOC_DONE_ALPH10 | ||
11 | ORDER_TYPE_ALPH11 | ' ' - DEFAULT_BL_ALPH11 0- DEFAULT_0_ALPH11 1 - TRANSFER_1_ALPH11 2 - DIRECT_SHIP_2_ALPH11 3 - INTER_CO_3_ALPH11 4 - SO_THRU_PO_GEN_4_ALPH11 |
|
17 | FREE_GOODS_FOUND_ALPH17 | 0- NOT_CALLED_0_ALPH17 1 - FG_FOUND_1_ALPH17 2 - NO_FG_FOUND_2_ALPH17 |
|
18 | CONFIG_SPRS_BASE_PRC_ALPH18 | ||
19 | SUPPRESS_ADV_PRICE_ALPH19 | 0- DONT_SUPPRESS_0_ALPH19 1- SUPPRESS_1_ALPH19 2 - CLEAR_FG_NO_SUPPRESS_2_ALPH19 |
|
21 | SUPPRESS_CONFIG_EXT_PR_ALPH21 | ||
25 | BASE_PR_RTRV_MTHD_ALPH25 | ' ' - USE_DIST_CONST_UOM_BL_ALPH25 0 - USE_DIST_CONST_UOM_0_ALPH25 1 - USE_PRICING_UOM_1_ALPH25 |
|
27 | FRM_BLKT_RELEASE_ALPH27 | ' ' - FALSE_BL_ALPH27 0 - FALSE_0_ALPH27 1 - TRUE_XTRA_LN_1_ALPH27 2 - TRUE_RELEASED_LN_2_ALPH27 3 - TRUE_RELEASED_KIT_LN_3_ALPH27 4 - TRUE_REL_KIT_W_COMPS_4_ALPH27 5 - TRUE_XTRA_LN_KIT_TEM_5_ALPH27 |
3, 4 and 5 - <Bug 10971858>: SOE KIT MANUAL BLANKET RELEASE - SAR: 8624117 |
28 | TEXT_LN_ALPH28 | ||
31 | FIX_QUANTITY_FOUND_ALPH31 | ' ' - DEFAULT_BL_ALPH31 F - FIX_FOUND_ALPH31 V - VAR_FOUND_ALPH31 % - PERCENT_FOUND_ALPH31 |
<Bug 12502195>: TO POPULATE SO17 - SAR: 6060848 |
33 | AGREEMENT_PRICE_FOUND_ALPH33 |
' ' - DEFAULT when Agreement Price is not in use 1 - Aggrement Price |
<Bug 10866454>: OM USABILITY-AGREEMENT PROCESS - SAR: 7382540 |
34 | CREATE_WHSE_TRANS_ALPH34 | ||
35 | EL_CALLED_BY_MRP_ALPH35 | EL_Called_By_Transportation | <Bug 10942578>: ERROR 1020 ON UNSCHEDULE DELIV - SAR: 8291025 |
37 | PROMISE_DATES_ENTERED_ALPH37 | 0 - NO_DATE_ENTERED_ALPH37 1 - DELIVERY_DATE_ENTERED_ALPH37 2 - SHIP_DATE_ENTERED_ALPH37 3 - BOTH_DATES_ENTERED_ALPH37 |
<Bug 10949397>: EDI DATE/QTY PROPAGATION - SAR: 8367211 |
38 | COPY_MODE_ALPH38 |
<Internal_Only>describe missing alpha values based on P4210 because it is handled by </Internal_Only> bsfn
List of BSFNs:
Object ID | BSFN Name | Description | Function |
---|---|---|---|
Internal | I4205100_GetController | This internal fuction performs all the "Get" logic. Each "Get" function should consist of nothing more than a call to this internal function, passing in its unique index position |
|
I4205100_SetController | This internal fuction performs most of the "Set" logic. Each "Set" function should consist of logic to check that the cValue passed in is a valid value, and then a call to this internal function, passing in its unique index position | ||
I4205100_ALPHStringValidLength | This internal fuction validates that the ALPH string passed in is 40 characters long | ||
B4205100 | InitializeSOALPHString | Initialize SO ALPH String | INITIALIZED_ALPH _J("000000000000000000000000000000 0000000000") |
SetInterbranchSOALPH01 | Set Interbranch SO, ALPH01 | ||
GetInterbranchSOALPH01 | Get Interbranch SO, ALPH01 | ||
SetSubstItemALPH05 | Set Substitute Item, ALPH05 | ||
GetSubstItemALPH05 | Get Substitute Item, ALPH05 | ||
SetInvCommitPrefDoneALPH06 | Set Inventory Commitment Preference Done, ALPH06 | ||
GetInvCommitPrefDoneALPH06 | Get Inventory Commitment Preference Done, ALPH06 | ||
SetPricingSOLineInfoALPH08 | Set Pricing SO Line Info, ALPH08 | ||
GetPricingSOLineInfoALPH08 | Get Pricing SO Line Info, ALPH08 | ||
SetAdjTypesAppliedALPH09 | Set Adjustment Types Applied, ALPH09 | ||
GetAdjTypesAppliedALPH09 | Get Adjustment Types Applied, ALPH09 | ||
SetProdAllocDoneALPH10 | Set Product Allocation Done, ALPH10 | ||
GetProdAllocDoneALPH10 | Get Product Allocation Done, ALPH10 | ||
SetOrderTypeALPH11 | Set Order Type, ALPH11 | ||
GetOrderTypeALPH11 | Get Order Type, ALPH11 | ||
SetFreeGoodsFoundALPH17 | Set Free Goods Found, ALPH17 | ||
GetFreeGoodsFoundALPH17 | Get Free Goods Found, ALPH17 | ||
SetConfigSprsBasePrcALPH18 | Set Configurator Suppress Base Price, ALPH18 | ||
GetConfigSprsBasePrcALPH18 | Get Configurator Suppress Base Price, ALPH18 | ||
SetSuppressAdvPriceALPH19 | Set Suppress Advanced Price, ALPH19 | ||
GetSuppressAdvPriceALPH19 | Get Suppress Advanced Price, ALPH19 | ||
SetSuppressConfigExtPrALPH21 | Set Suppress Configurator Extended Price, ALPH21 | ||
GetSuppressConfigExtPrALPH21 | Get Suppress Configurator Extended Price, ALPH21 | ||
SetBasePrRtrvMthdALPH25 | Set Base Price Retrieve Method, ALPH25 | ||
GetBasePrRtrvMthdALPH25 | Get Base Price Retrieve Method, ALPH25 | ||
SetCommitInEDALPH26 | Set Commit In EndDoc, ALPH26 | Obsolete | |
GetCommitInEDALPH26 | Get Commit In EndDoc, ALPH26 | Obsolete | |
SetFrmBlktReleaseALPH27 | Set From Blanket Release, ALPH27 | ||
GetFrmBlktReleaseALPH27 | Get From Blanket Release, ALPH27 | ||
SetTextLineALPH28 | Set Text Line, ALPH28 | ||
GetTextLineALPH28 | Get Text Line, ALPH28 | ||
SetNotChildLineALPH29 | Set Not Child Line, ALPH29 | Obsolete | |
GetNotChildLineALPH29 | Get Not Child Line, ALPH29 | Obsolete | |
SetWhseTransCreatedALPH34 | Set Warehouse Transaction Created for Branch, ALPH34 | ||
GetWhseTransCreatedALPH34 | Get Warehouse Transaction Created for Branch, ALPH34 | ||
SetELCalledByMRPALPH35 | Set EditLine Called by MRP, ALPH35 | ||
GetELCalledByMRPALPH35 | Get EditLine Called by MRP, ALPH35 | ||
GetPromiseDatesEnteredALPH37 | |||
SetPromiseDatesEnteredALPH37 | |||
GetCopyModeALPH38 | Get Copy Mode, ALPH38 | ||
SetCopyModeALPH38 | Set Copy Mode, ALPH38 |
InitializeSOALPHString
Structure Member Name | Data Type | Req | I/O | Alias | Usage |
---|---|---|---|---|---|
szSalesOrderFlagsString[41] | JCHAR | I | ALPH | Initialize string variable with 40 '0' |
Other Business functions
Structure Member Name | Data Type | Req | I/O | Alias | Usage |
---|---|---|---|---|---|
szSalesOrderFlagsString[41] | JCHAR | O | ALPH | For this example a specific index will be replaced by cValue | |
cValue | JCHAR | I | EV01 | Value to be set | |
cErrorCode | JCHAR | O | ERRC |