By Using the C Business Function API AllocatePOVersionData, Need to Retrieve the Processing Option Value from Sales order PO T4210.
/*****************************************************************************
* Header File: B554210.h
*
* Description: Retrieve (P4210) Processing Option Header File
*
* History:
* Date Programmer SAR# - Description
* ---------- ---------- -------------------------------------------
* Author 6/17/2016 Unkno Unknown - Created
*
*
* Copyright (c) J.D. Edwards World Source Company, 1996
*
* This unpublished material is proprietary to J.D. Edwards World Source
* Company. All rights reserved. The methods and techniques described
* herein are considered trade secrets and/or confidential. Reproduction
* or distribution, in whole or in part, is forbidden except by express
* written permission of J.D. Edwards World Source Company.
****************************************************************************/
#ifndef __B554210_H
#define __B554210_H
/*****************************************************************************
* Table Header Inclusions
****************************************************************************/
/*****************************************************************************
* External Business Function Header Inclusions
****************************************************************************/
/*****************************************************************************
* Global Definitions
****************************************************************************/
/*****************************************************************************
* Structure Definitions
****************************************************************************/
/**
* TYPEDEF for Data Structure
* T4210 : Sales Order Entry
*
* Copyright Oracle USA
*
* This is a JDEdwards EnterpriseOne generated file.
* Do not modify this file.
* Only re-generate with the appropriate tool.
* Generation Date : 6/18/2016
*/
#ifndef DATASTRUCTURE_T4210
#define DATASTRUCTURE_T4210
typedef struct tagDST4210
{
JCHAR szDefaultOrdertype[3];
JCHAR szDefaultLinetype[3];
JCHAR szDefaultBeginningStatus[4];
JCHAR szOverrideNextStatus[4];
MATH_NUMERIC mnDefaultLineIncrement;
JCHAR szDefaultReasoncode[4];
JCHAR szDefaultTransactionUom[3];
JCHAR cUsePricingUoM;
JCHAR szDupOrdertype[3];
JCHAR szDupBeginningStatus[4];
JCHAR cDefaultShipToBranch;
JCHAR szCreditHold[3];
JCHAR cDisableorHideCost;
JCHAR cDisableorHidePrice;
JCHAR cDisableStatusCodes;
JCHAR cEHideClosedLines;
JCHAR cHideCreditCardInfo;
JCHAR cHideFreightInfo;
JCHAR cHideCommission;
JCHAR cHideKitComponents;
JCHAR cAvailabilityCheck;
JCHAR cOtherQuantity1or2;
MATH_NUMERIC mnToleranceLimit;
JCHAR szNonUpdatableStatus[4];
JCHAR cAutoPrintorCommit;
JCHAR szSubstituteItemXRef[3];
JCHAR szComplementaryItemXRef[3];
JCHAR cUseSubsItemPrice;
JCHAR szOrderMarginCheck[3];
JCHAR szLineMarginCheck[3];
JCHAR szMinimumOrderCheck[3];
JCHAR szMaximumOrderCheck[3];
JCHAR szPartialOrderHold[3];
JCHAR cCopyTextOption;
JCHAR cAddNewCustomersToAB;
JCHAR cLoadHeaderToDetail;
JCHAR cHeaderOrDetailFirst;
JCHAR szProductAllocHold[3];
JCHAR cAutoDisplaySDInquiry;
JCHAR szR42520Vers[26];
JCHAR szP4021Vers[26];
JCHAR szOnDemandPickSlipVersion[26];
JCHAR szR42750Vers[26];
JCHAR szP42230Vers[26];
JCHAR szP40400Vers[26];
JCHAR szChkPriceAvailnqVers[26];
JCHAR szP4310Vers[26];
JCHAR szSupplierMasterVers[26];
JCHAR szBOMInquiryVersion[26];
JCHAR szP4801Vers[26];
JCHAR szInterBranchOrderTypes[26];
JCHAR cOrderTemplateAddress;
JCHAR cUsePrefProcess;
JCHAR cCommitPreference;
JCHAR cAutoBlanketRelease;
JCHAR cTransferOrderEntry;
JCHAR cCostMarkup;
JCHAR cAutoReprice;
JCHAR cDisplayBeforeAccept;
JCHAR szWhsePickVersion[26];
JCHAR szWhseOverrideNextStatus[4];
JCHAR szCSIFromStatusCode[4];
JCHAR szCSIThruStatusCode[4];
JCHAR cCSIStatusRangeBasedOnOW;
JCHAR cCSIDteRangeBasedOnOW;
JCHAR cCSIDisplayTextLines;
JCHAR cCSIDisplayBackorderOrCaneled;
JCHAR szR42565Vers[26];
JCHAR szR42997Vers[26];
JCHAR szDupNextStatus[4];
JCHAR cAgreementProcessing;
JCHAR szReplacementItemXREF[3];
JCHAR szCustomerItemNumberXREF[3];
JCHAR CurrencyCodeFrom[4];
JDEDATE DateTransactionJulian;
JCHAR cWhseRequestMode;
JCHAR szDefaultBranchPlant[13];
JCHAR cStoreAndForwardMode;
JCHAR cShoppingCartMode;
JCHAR szOrderTemplate[9];
JCHAR cMandatoryLandedCost;
JCHAR szP32942Vers[26];
JCHAR szR4210ZVers[26];
JCHAR cWOPlannerEmail;
JCHAR cBuyerEmail;
JCHAR cActiveMultSchedule;
JCHAR szScheduleLine[3];
JCHAR cIntercompanyInvoice;
JCHAR szTypeTransaction[9];
JCHAR cBeforeImageProcessing;
JCHAR cDisablePricingRelated;
JCHAR szP42050Vers[26];
JCHAR szAuthorizeHoldCode[3];
JCHAR szSettleHoldCode[3];
JCHAR cActivatePrepayProcess;
JCHAR szAuthorizeVersion[11];
JCHAR szSettleVersion[11];
JCHAR szAuthorizedNextStatus[4];
JCHAR szSettledNextStatus[4];
JCHAR szOrderProcessHold[3];
JCHAR cHowToProcessAuthorization;
JCHAR cHowToProcessSettlement;
JCHAR szP4915Vers[26];
JCHAR szP03013Vers[26];
JCHAR szOrganizationTypeStructur[4];
JCHAR cTurnOffTaxable;
JCHAR cCallR45100Mode;
JCHAR szR45100Version[11];
JCHAR cFreeGoodCatWarning;
JCHAR cAdjustVolumeTrans;
JCHAR cPromptforCustomerSegmentItems;
JCHAR szR45900Version[26];
JCHAR szP00391Version[26];
JCHAR szCustomerSegmentItemsVersion[11];
JCHAR cEnableGrossProfitPricing;
JCHAR szAdjustmentReasonCode[4];
JCHAR cProfitMarginResolveTest;
JCHAR cCheckAscendingDateRule;
JCHAR cAssignPromotionID;
JCHAR CrossReferencePromotional[3];
JCHAR szPreferenceSchedule[9];
JCHAR cOrderPromising;
JCHAR szApprovalHoldCode[3];
JCHAR cUseAuditLog;
JCHAR cRequiredReasonCode;
JCHAR cRequiredApprovalProcess;
JCHAR szExclusiveAdjustmentHold[3];
JCHAR cInventoryParent;
MATH_NUMERIC mnVolumeTolerancePercentage;
JCHAR cDefaultUserID;
JCHAR cOverrideSoldToShipTo;
JCHAR cOverrideCarrierNumber;
JCHAR cMultiBlanketSelect;
JCHAR cSingleBlanketSelect;
JCHAR szProductVariantsVersion[11];
JCHAR szOrderProcessingVer[26];
JCHAR cSoldToRecordType;
JCHAR cShipToRecordType;
JCHAR szInactiveCustomerHold[3];
JCHAR szInactiveCustomerType[4];
JCHAR szProductCatalogVersion[11];
JCHAR szLotGroup[31];
JCHAR szR4277702Version[11];
JCHAR szP4131Version[11];
JCHAR cAutoDisplayAvailableBlanket;
JCHAR szCollection[11];
JCHAR szSeasonCode[3];
JCHAR szSeasonYear[5];
JCHAR cValidateItemsWithCollection;
JCHAR cCollectionTemplatePrefix;
JCHAR szPCW10Version[26];
JCHAR cSendAddressNumber;
JCHAR cStyleItemSearchType;
JCHAR szR4277705Version[11];
JCHAR cCalculateOrderScore;
JCHAR cResolveSLRules;
JCHAR szProductionNumberType[5];
JCHAR cProdNoGenerate;
} DST4210 , *LPDST4210;
#define IDERRszDefaultOrdertype_1 1L
#define IDERRszDefaultLinetype_2 2L
#define IDERRszDefaultBeginningStatus_3 3L
#define IDERRszOverrideNextStatus_4 4L
#define IDERRmnDefaultLineIncrement_5 5L
#define IDERRszDefaultReasoncode_6 6L
#define IDERRszDefaultTransactionUom_7 7L
#define IDERRcUsePricingUoM_8 8L
#define IDERRszDupOrdertype_9 9L
#define IDERRszDupBeginningStatus_10 10L
#define IDERRcDefaultShipToBranch_11 11L
#define IDERRszCreditHold_12 12L
#define IDERRcDisableorHideCost_20 20L
#define IDERRcDisableorHidePrice_21 21L
#define IDERRcDisableStatusCodes_22 22L
#define IDERRcEHideClosedLines_23 23L
#define IDERRcHideCreditCardInfo_24 24L
#define IDERRcHideFreightInfo_25 25L
#define IDERRcHideCommission_26 26L
#define IDERRcHideKitComponents_28 28L
#define IDERRcAvailabilityCheck_29 29L
#define IDERRcOtherQuantity1or2_30 30L
#define IDERRmnToleranceLimit_31 31L
#define IDERRszNonUpdatableStatus_32 32L
#define IDERRcAutoPrintorCommit_33 33L
#define IDERRszSubstituteItemXRef_34 34L
#define IDERRszComplementaryItemXRef_35 35L
#define IDERRcUseSubsItemPrice_37 37L
#define IDERRszOrderMarginCheck_38 38L
#define IDERRszLineMarginCheck_39 39L
#define IDERRszMinimumOrderCheck_40 40L
#define IDERRszMaximumOrderCheck_41 41L
#define IDERRszPartialOrderHold_42 42L
#define IDERRcCopyTextOption_43 43L
#define IDERRcAddNewCustomersToAB_44 44L
#define IDERRcLoadHeaderToDetail_45 45L
#define IDERRcHeaderOrDetailFirst_46 46L
#define IDERRszProductAllocHold_47 47L
#define IDERRcAutoDisplaySDInquiry_48 48L
#define IDERRszR42520Vers_49 49L
#define IDERRszP4021Vers_50 50L
#define IDERRszOnDemandPickSlipVersion_51 51L
#define IDERRszR42750Vers_52 52L
#define IDERRszP42230Vers_53 53L
#define IDERRszP40400Vers_54 54L
#define IDERRszChkPriceAvailnqVers_55 55L
#define IDERRszP4310Vers_56 56L
#define IDERRszSupplierMasterVers_57 57L
#define IDERRszBOMInquiryVersion_58 58L
#define IDERRszP4801Vers_59 59L
#define IDERRszInterBranchOrderTypes_60 60L
#define IDERRcOrderTemplateAddress_61 61L
#define IDERRcUsePrefProcess_62 62L
#define IDERRcCommitPreference_63 63L
#define IDERRcAutoBlanketRelease_64 64L
#define IDERRcTransferOrderEntry_65 65L
#define IDERRcCostMarkup_67 67L
#define IDERRcAutoReprice_70 70L
#define IDERRcDisplayBeforeAccept_71 71L
#define IDERRszWhsePickVersion_74 74L
#define IDERRszWhseOverrideNextStatus_75 75L
#define IDERRszCSIFromStatusCode_76 76L
#define IDERRszCSIThruStatusCode_77 77L
#define IDERRcCSIStatusRangeBasedOnOW_78 78L
#define IDERRcCSIDteRangeBasedOnOW_79 79L
#define IDERRcCSIDisplayTextLines_80 80L
#define IDERRcCSIDisplayBackorderOrCaneled_81 81L
#define IDERRszR42565Vers_82 82L
#define IDERRszR42997Vers_83 83L
#define IDERRszDupNextStatus_84 84L
#define IDERRcAgreementProcessing_85 85L
#define IDERRszReplacementItemXREF_86 86L
#define IDERRszCustomerItemNumberXREF_87 87L
#define IDERRCurrencyCodeFrom_88 88L
#define IDERRDateTransactionJulian_89 89L
#define IDERRcWhseRequestMode_90 90L
#define IDERRszDefaultBranchPlant_91 91L
#define IDERRcStoreAndForwardMode_92 92L
#define IDERRcShoppingCartMode_93 93L
#define IDERRszOrderTemplate_94 94L
#define IDERRcMandatoryLandedCost_95 95L
#define IDERRszP32942Vers_96 96L
#define IDERRszR4210ZVers_97 97L
#define IDERRcWOPlannerEmail_98 98L
#define IDERRcBuyerEmail_99 99L
#define IDERRcActiveMultSchedule_101 101L
#define IDERRszScheduleLine_102 102L
#define IDERRcIntercompanyInvoice_103 103L
#define IDERRszTypeTransaction_104 104L
#define IDERRcBeforeImageProcessing_105 105L
#define IDERRcDisablePricingRelated_106 106L
#define IDERRszP42050Vers_107 107L
#define IDERRszAuthorizeHoldCode_108 108L
#define IDERRszSettleHoldCode_109 109L
#define IDERRcActivatePrepayProcess_110 110L
#define IDERRszAuthorizeVersion_111 111L
#define IDERRszSettleVersion_112 112L
#define IDERRszAuthorizedNextStatus_113 113L
#define IDERRszSettledNextStatus_114 114L
#define IDERRszOrderProcessHold_115 115L
#define IDERRcHowToProcessAuthorization_116 116L
#define IDERRcHowToProcessSettlement_117 117L
#define IDERRszP4915Vers_118 118L
#define IDERRszP03013Vers_119 119L
#define IDERRszOrganizationTypeStructur_120 120L
#define IDERRcTurnOffTaxable_121 121L
#define IDERRcCallR45100Mode_122 122L
#define IDERRszR45100Version_123 123L
#define IDERRcFreeGoodCatWarning_124 124L
#define IDERRcAdjustVolumeTrans_125 125L
#define IDERRcPromptforCustomerSegmentItems_126 126L
#define IDERRszR45900Version_127 127L
#define IDERRszP00391Version_128 128L
#define IDERRszCustomerSegmentItemsVersion_129 129L
#define IDERRcEnableGrossProfitPricing_132 132L
#define IDERRszAdjustmentReasonCode_133 133L
#define IDERRcProfitMarginResolveTest_134 134L
#define IDERRcCheckAscendingDateRule_135 135L
#define IDERRcAssignPromotionID_136 136L
#define IDERRCrossReferencePromotional_137 137L
#define IDERRszPreferenceSchedule_139 139L
#define IDERRcOrderPromising_140 140L
#define IDERRszApprovalHoldCode_142 142L
#define IDERRcUseAuditLog_143 143L
#define IDERRcRequiredReasonCode_144 144L
#define IDERRcRequiredApprovalProcess_145 145L
#define IDERRszExclusiveAdjustmentHold_147 147L
#define IDERRcInventoryParent_148 148L
#define IDERRmnVolumeTolerancePercentage_149 149L
#define IDERRcDefaultUserID_150 150L
#define IDERRcOverrideSoldToShipTo_151 151L
#define IDERRcOverrideCarrierNumber_152 152L
#define IDERRcMultiBlanketSelect_153 153L
#define IDERRcSingleBlanketSelect_154 154L
#define IDERRszProductVariantsVersion_155 155L
#define IDERRszOrderProcessingVer_156 156L
#define IDERRcSoldToRecordType_157 157L
#define IDERRcShipToRecordType_158 158L
#define IDERRszInactiveCustomerHold_159 159L
#define IDERRszInactiveCustomerType_160 160L
#define IDERRszProductCatalogVersion_161 161L
#define IDERRszLotGroup_162 162L
#define IDERRszR4277702Version_163 163L
#define IDERRszP4131Version_164 164L
#define IDERRcAutoDisplayAvailableBlanket_165 165L
#define IDERRszCollection_166 166L
#define IDERRszSeasonCode_167 167L
#define IDERRszSeasonYear_168 168L
#define IDERRcValidateItemsWithCollection_169 169L
#define IDERRcCollectionTemplatePrefix_170 170L
#define IDERRszPCW10Version_171 171L
#define IDERRcSendAddressNumber_173 173L
#define IDERRcStyleItemSearchType_174 174L
#define IDERRszR4277705Version_175 175L
#define IDERRcCalculateOrderScore_176 176L
#define IDERRcResolveSLRules_177 177L
#define IDERRszProductionNumberType_178 178L
#define IDERRcProdNoGenerate_179 179L
#endif /* DATASTRUCTURE_T4210 */
/*****************************************************************************
* DS Template Type Definitions
****************************************************************************/
/*****************************************
* TYPEDEF for Data Structure
* Template Name: Retrieve (P554210) Processing Option
* Template ID: D554210
* Generated: Fri Jun 17 21:58:25 2016
*
* DO NOT EDIT THE FOLLOWING TYPEDEF
* To make modifications, use the OneWorld Data Structure
* Tool to Generate a revised version, and paste from
* the clipboard.
*
**************************************/
#ifndef DATASTRUCTURE_D554210
#define DATASTRUCTURE_D554210
typedef struct tagDSD554210
{
JCHAR szDefaultOrdertype[3];
JCHAR szDefaultLinetype[3];
JCHAR szDefaultBeginningStatus[4];
JCHAR szOverrideNextStatus[4];
MATH_NUMERIC mnDefaultLineIncrement;
JCHAR szDefaultReasoncode[4];
JCHAR szDefaultTransactionUom[3];
JCHAR cUsePricingUoM;
JCHAR szDupOrdertype[3];
JCHAR szDupBeginningStatus[4];
JCHAR cDefaultShipToBranch;
JCHAR szCreditHold[3];
JCHAR cDisableorHideCost;
JCHAR cDisableorHidePrice;
JCHAR cDisableStatusCodes;
JCHAR cEHideClosedLines;
JCHAR cHideCreditCardInfo;
JCHAR cHideFreightInfo;
JCHAR cHideCommission;
JCHAR cHideKitComponents;
JCHAR cAvailabilityCheck;
JCHAR cOtherQuantity1or2;
MATH_NUMERIC mnToleranceLimit;
JCHAR szNonUpdatableStatus[4];
JCHAR cAutoPrintorCommit;
JCHAR szSubstituteItemXRef[3];
JCHAR szComplementaryItemXRef[3];
JCHAR cUseSubsItemPrice;
JCHAR szOrderMarginCheck[3];
JCHAR szLineMarginCheck[3];
JCHAR szMinimumOrderCheck[3];
JCHAR szMaximumOrderCheck[3];
JCHAR szPartialOrderHold[3];
JCHAR cCopyTextOption;
JCHAR cAddNewCustomersToAB;
JCHAR cLoadHeaderToDetail;
JCHAR cHeaderOrDetailFirst;
JCHAR szProductAllocHold[3];
JCHAR cAutoDisplaySDInquiry;
JCHAR szR42520Vers[26];
JCHAR szP4021Vers[26];
JCHAR szOnDemandPickSlipVersion[26];
JCHAR szR42750Vers[26];
JCHAR szP42230Vers[26];
JCHAR szP40400Vers[26];
JCHAR szChkPriceAvailnqVers[26];
JCHAR szP4310Vers[26];
JCHAR szSupplierMasterVers[26];
JCHAR szBOMInquiryVersion[26];
JCHAR szP4801Vers[26];
JCHAR szInterBranchOrderTypes[26];
JCHAR cOrderTemplateAddress;
JCHAR cUsePrefProcess;
JCHAR cCommitPreference;
JCHAR cAutoBlanketRelease;
JCHAR cTransferOrderEntry;
JCHAR cCostMarkup;
JCHAR cAutoReprice;
JCHAR cDisplayBeforeAccept;
JCHAR szWhsePickVersion[26];
JCHAR szWhseOverrideNextStatus[4];
JCHAR szCSIFromStatusCode[4];
JCHAR szCSIThruStatusCode[4];
JCHAR cCSIStatusRangeBasedOnOW;
JCHAR cCSIDteRangeBasedOnOW;
JCHAR cCSIDisplayTextLines;
JCHAR cCSIDisplayBackorderOrCaneled;
JCHAR szR42565Vers[26];
JCHAR szR42997Vers[26];
JCHAR szDupNextStatus[4];
JCHAR cAgreementProcessing;
JCHAR szReplacementItemXREF[3];
JCHAR szCustomerItemNumberXREF[3];
JCHAR CurrencyCodeFrom[4];
JDEDATE DateTransactionJulian;
JCHAR cWhseRequestMode;
JCHAR szDefaultBranchPlant[13];
JCHAR cStoreAndForwardMode;
JCHAR cShoppingCartMode;
JCHAR szOrderTemplate[9];
JCHAR cMandatoryLandedCost;
JCHAR szP32942Vers[26];
JCHAR szR4210ZVers[26];
JCHAR cWOPlannerEmail;
JCHAR cBuyerEmail;
JCHAR cActiveMultSchedule;
JCHAR szScheduleLine[3];
JCHAR cIntercompanyInvoice;
JCHAR szTypeTransaction[9];
JCHAR cBeforeImageProcessing;
JCHAR cDisablePricingRelated;
JCHAR szP42050Vers[26];
JCHAR szAuthorizeHoldCode[3];
JCHAR szSettleHoldCode[3];
JCHAR cActivatePrepayProcess;
JCHAR szAuthorizeVersion[11];
JCHAR szSettleVersion[11];
JCHAR szAuthorizedNextStatus[4];
JCHAR szSettledNextStatus[4];
JCHAR szOrderProcessHold[3];
JCHAR cHowToProcessAuthorization;
JCHAR cHowToProcessSettlement;
JCHAR szP4915Vers[26];
JCHAR szP03013Vers[26];
JCHAR szOrganizationTypeStructur[4];
JCHAR cTurnOffTaxable;
JCHAR cCallR45100Mode;
JCHAR szR45100Version[11];
JCHAR cFreeGoodCatWarning;
JCHAR cAdjustVolumeTrans;
JCHAR cPromptforCustomerSegmentItems;
JCHAR szR45900Version[26];
JCHAR szP00391Version[26];
JCHAR szCustomerSegmentItemsVersion[11];
JCHAR cEnableGrossProfitPricing;
JCHAR szAdjustmentReasonCode[4];
JCHAR cProfitMarginResolveTest;
JCHAR cCheckAscendingDateRule;
JCHAR cAssignPromotionID;
JCHAR CrossReferencePromotional[3];
JCHAR szPreferenceSchedule[9];
JCHAR cOrderPromising;
JCHAR szApprovalHoldCode[3];
JCHAR cUseAuditLog;
JCHAR cRequiredReasonCode;
JCHAR cRequiredApprovalProcess;
JCHAR szExclusiveAdjustmentHold[3];
JCHAR cInventoryParent;
MATH_NUMERIC mnVolumeTolerancePercentage;
JCHAR cDefaultUserID;
JCHAR cOverrideSoldToShipTo;
JCHAR cOverrideCarrierNumber;
JCHAR cMultiBlanketSelect;
JCHAR cSingleBlanketSelect;
JCHAR szProductVariantsVersion[11];
JCHAR szOrderProcessingVer[26];
JCHAR cSoldToRecordType;
JCHAR cShipToRecordType;
JCHAR szInactiveCustomerHold[3];
JCHAR szInactiveCustomerType[4];
JCHAR szProductCatalogVersion[11];
JCHAR szLotGroup[31];
JCHAR szR4277702Version[11];
JCHAR szP4131Version[11];
JCHAR cAutoDisplayAvailableBlanket;
JCHAR szCollection[11];
JCHAR szSeasonCode[3];
JCHAR szSeasonYear[5];
JCHAR cValidateItemsWithCollection;
JCHAR cCollectionTemplatePrefix;
JCHAR szPCW10Version[26];
JCHAR cSendAddressNumber;
JCHAR cStyleItemSearchType;
JCHAR szR4277705Version[11];
JCHAR cCalculateOrderScore;
JCHAR cResolveSLRules;
JCHAR szProductionNumberType[5];
JCHAR cProdNoGenerate;
} DSD554210, *LPDSD554210;
#define IDERRszDefaultOrdertype_1 1L
#define IDERRszDefaultLinetype_2 2L
#define IDERRszDefaultBeginningStatus_3 3L
#define IDERRszOverrideNextStatus_4 4L
#define IDERRmnDefaultLineIncrement_5 5L
#define IDERRszDefaultReasoncode_6 6L
#define IDERRszDefaultTransactionUom_7 7L
#define IDERRcUsePricingUoM_8 8L
#define IDERRszDupOrdertype_9 9L
#define IDERRszDupBeginningStatus_10 10L
#define IDERRcDefaultShipToBranch_11 11L
#define IDERRszCreditHold_12 12L
#define IDERRcDisableorHideCost_20 20L
#define IDERRcDisableorHidePrice_21 21L
#define IDERRcDisableStatusCodes_22 22L
#define IDERRcEHideClosedLines_23 23L
#define IDERRcHideCreditCardInfo_24 24L
#define IDERRcHideFreightInfo_25 25L
#define IDERRcHideCommission_26 26L
#define IDERRcHideKitComponents_28 28L
#define IDERRcAvailabilityCheck_29 29L
#define IDERRcOtherQuantity1or2_30 30L
#define IDERRmnToleranceLimit_31 31L
#define IDERRszNonUpdatableStatus_32 32L
#define IDERRcAutoPrintorCommit_33 33L
#define IDERRszSubstituteItemXRef_34 34L
#define IDERRszComplementaryItemXRef_35 35L
#define IDERRcUseSubsItemPrice_37 37L
#define IDERRszOrderMarginCheck_38 38L
#define IDERRszLineMarginCheck_39 39L
#define IDERRszMinimumOrderCheck_40 40L
#define IDERRszMaximumOrderCheck_41 41L
#define IDERRszPartialOrderHold_42 42L
#define IDERRcCopyTextOption_43 43L
#define IDERRcAddNewCustomersToAB_44 44L
#define IDERRcLoadHeaderToDetail_45 45L
#define IDERRcHeaderOrDetailFirst_46 46L
#define IDERRszProductAllocHold_47 47L
#define IDERRcAutoDisplaySDInquiry_48 48L
#define IDERRszR42520Vers_49 49L
#define IDERRszP4021Vers_50 50L
#define IDERRszOnDemandPickSlipVersion_51 51L
#define IDERRszR42750Vers_52 52L
#define IDERRszP42230Vers_53 53L
#define IDERRszP40400Vers_54 54L
#define IDERRszChkPriceAvailnqVers_55 55L
#define IDERRszP4310Vers_56 56L
#define IDERRszSupplierMasterVers_57 57L
#define IDERRszBOMInquiryVersion_58 58L
#define IDERRszP4801Vers_59 59L
#define IDERRszInterBranchOrderTypes_60 60L
#define IDERRcOrderTemplateAddress_61 61L
#define IDERRcUsePrefProcess_62 62L
#define IDERRcCommitPreference_63 63L
#define IDERRcAutoBlanketRelease_64 64L
#define IDERRcTransferOrderEntry_65 65L
#define IDERRcCostMarkup_67 67L
#define IDERRcAutoReprice_70 70L
#define IDERRcDisplayBeforeAccept_71 71L
#define IDERRszWhsePickVersion_74 74L
#define IDERRszWhseOverrideNextStatus_75 75L
#define IDERRszCSIFromStatusCode_76 76L
#define IDERRszCSIThruStatusCode_77 77L
#define IDERRcCSIStatusRangeBasedOnOW_78 78L
#define IDERRcCSIDteRangeBasedOnOW_79 79L
#define IDERRcCSIDisplayTextLines_80 80L
#define IDERRcCSIDisplayBackorderOrCaneled_81 81L
#define IDERRszR42565Vers_82 82L
#define IDERRszR42997Vers_83 83L
#define IDERRszDupNextStatus_84 84L
#define IDERRcAgreementProcessing_85 85L
#define IDERRszReplacementItemXREF_86 86L
#define IDERRszCustomerItemNumberXREF_87 87L
#define IDERRCurrencyCodeFrom_88 88L
#define IDERRDateTransactionJulian_89 89L
#define IDERRcWhseRequestMode_90 90L
#define IDERRszDefaultBranchPlant_91 91L
#define IDERRcStoreAndForwardMode_92 92L
#define IDERRcShoppingCartMode_93 93L
#define IDERRszOrderTemplate_94 94L
#define IDERRcMandatoryLandedCost_95 95L
#define IDERRszP32942Vers_96 96L
#define IDERRszR4210ZVers_97 97L
#define IDERRcWOPlannerEmail_98 98L
#define IDERRcBuyerEmail_99 99L
#define IDERRcActiveMultSchedule_101 101L
#define IDERRszScheduleLine_102 102L
#define IDERRcIntercompanyInvoice_103 103L
#define IDERRszTypeTransaction_104 104L
#define IDERRcBeforeImageProcessing_105 105L
#define IDERRcDisablePricingRelated_106 106L
#define IDERRszP42050Vers_107 107L
#define IDERRszAuthorizeHoldCode_108 108L
#define IDERRszSettleHoldCode_109 109L
#define IDERRcActivatePrepayProcess_110 110L
#define IDERRszAuthorizeVersion_111 111L
#define IDERRszSettleVersion_112 112L
#define IDERRszAuthorizedNextStatus_113 113L
#define IDERRszSettledNextStatus_114 114L
#define IDERRszOrderProcessHold_115 115L
#define IDERRcHowToProcessAuthorization_116 116L
#define IDERRcHowToProcessSettlement_117 117L
#define IDERRszP4915Vers_118 118L
#define IDERRszP03013Vers_119 119L
#define IDERRszOrganizationTypeStructur_120 120L
#define IDERRcTurnOffTaxable_121 121L
#define IDERRcCallR45100Mode_122 122L
#define IDERRszR45100Version_123 123L
#define IDERRcFreeGoodCatWarning_124 124L
#define IDERRcAdjustVolumeTrans_125 125L
#define IDERRcPromptforCustomerSegmentItems_126 126L
#define IDERRszR45900Version_127 127L
#define IDERRszP00391Version_128 128L
#define IDERRszCustomerSegmentItemsVersion_129 129L
#define IDERRcEnableGrossProfitPricing_132 132L
#define IDERRszAdjustmentReasonCode_133 133L
#define IDERRcProfitMarginResolveTest_134 134L
#define IDERRcCheckAscendingDateRule_135 135L
#define IDERRcAssignPromotionID_136 136L
#define IDERRCrossReferencePromotional_137 137L
#define IDERRszPreferenceSchedule_139 139L
#define IDERRcOrderPromising_140 140L
#define IDERRszApprovalHoldCode_142 142L
#define IDERRcUseAuditLog_143 143L
#define IDERRcRequiredReasonCode_144 144L
#define IDERRcRequiredApprovalProcess_145 145L
#define IDERRszExclusiveAdjustmentHold_147 147L
#define IDERRcInventoryParent_148 148L
#define IDERRmnVolumeTolerancePercentage_149 149L
#define IDERRcDefaultUserID_150 150L
#define IDERRcOverrideSoldToShipTo_151 151L
#define IDERRcOverrideCarrierNumber_152 152L
#define IDERRcMultiBlanketSelect_153 153L
#define IDERRcSingleBlanketSelect_154 154L
#define IDERRszProductVariantsVersion_155 155L
#define IDERRszOrderProcessingVer_156 156L
#define IDERRcSoldToRecordType_157 157L
#define IDERRcShipToRecordType_158 158L
#define IDERRszInactiveCustomerHold_159 159L
#define IDERRszInactiveCustomerType_160 160L
#define IDERRszProductCatalogVersion_161 161L
#define IDERRszLotGroup_162 162L
#define IDERRszR4277702Version_163 163L
#define IDERRszP4131Version_164 164L
#define IDERRcAutoDisplayAvailableBlanket_165 165L
#define IDERRszCollection_166 166L
#define IDERRszSeasonCode_167 167L
#define IDERRszSeasonYear_168 168L
#define IDERRcValidateItemsWithCollection_169 169L
#define IDERRcCollectionTemplatePrefix_170 170L
#define IDERRszPCW10Version_171 171L
#define IDERRcSendAddressNumber_173 173L
#define IDERRcStyleItemSearchType_174 174L
#define IDERRszR4277705Version_175 175L
#define IDERRcCalculateOrderScore_176 176L
#define IDERRcResolveSLRules_177 177L
#define IDERRszProductionNumberType_178 178L
#define IDERRcProdNoGenerate_179 179L
#endif
/*****************************************************************************
* Source Preprocessor Definitions
****************************************************************************/
#if defined (JDEBFRTN)
#undef JDEBFRTN
#endif
#if defined (WIN32)
#if defined (WIN32)
#define JDEBFRTN(r) __declspec(dllexport) r
#else
#define JDEBFRTN(r) __declspec(dllimport) r
#endif
#else
#define JDEBFRTN(r) r
#endif
/*****************************************************************************
* Business Function Prototypes
****************************************************************************/
JDEBFRTN (ID) JDEBFWINAPI RetrieveP554210ProcessingOption (LPBHVRCOM lpBhvrCom, LPVOID lpVoid, LPDSD554210 lpDS);
/*****************************************************************************
* Internal Function Prototypes
****************************************************************************/
#endif /* __B554210_H */
#include <jde.h>
#define B554210_c
/*****************************************************************************
* Source File: B554210
*
* Description: Retrieve (P4210) Processing Option Source File
*
* History:
* Date Programmer SAR# - Description
* ---------- ---------- -------------------------------------------
* Author 6/17/2016 Unkno Unknown - Created
*
* Copyright (c) J.D. Edwards World Source Company, 1996
*
* This unpublished material is proprietary to J.D. Edwards World Source Company.
* All rights reserved. The methods and techniques described herein are
* considered trade secrets and/or confidential. Reproduction or
* distribution, in whole or in part, is forbidden except by express
* written permission of J.D. Edwards World Source Company.
****************************************************************************/
/**************************************************************************
* Notes:
*
**************************************************************************/
#include <B554210.h>
/**************************************************************************
* Business Function: RetrieveP4210ProcessingOption
*
* Description: Retrieve (P4210) Processing Option
*
* Parameters:
* LPBHVRCOM lpBhvrCom Business Function Communications
* LPVOID lpVoid Void Parameter - DO NOT USE!
* LPDSD55Z lpDS Parameter Data Structure Pointer
*
*************************************************************************/
JDEBFRTN (ID) JDEBFWINAPI RetrieveP4210ProcessingOption (LPBHVRCOM lpBhvrCom, LPVOID lpVoid, LPDSD554210 lpDS)
{
/************************************************************************
* Variable declarations
************************************************************************/
ID idJDBReturn = JDEDB_PASSED;
HUSER hUser = (HUSER) 0L;
LPDSD4210 lpdsD4210 = (LPDSD4210) 0L;
/************************************************************************
* Declare structures
************************************************************************/
/************************************************************************
* Declare pointers
************************************************************************/
/************************************************************************
* Check for NULL pointers
************************************************************************/
if ((lpBhvrCom == (LPBHVRCOM) NULL) ||
(lpVoid == (LPVOID) NULL) ||
(lpDS == (LPDSD554210) NULL))
{
jdeErrorSet (lpBhvrCom, lpVoid, (ID) 0, _J("4363"), (LPVOID) NULL);
return ER_ERROR;
}
/* Initialize Behaviour DS */
idJDBReturn = JDB_InitBhvr(lpBhvrCom, &hUser,
(JCHAR *) NULL, JDEDB_COMMIT_AUTO);
if(idJDBReturn != JDEDB_PASSED)
{
jdeErrorSet (lpBhvrCom, lpVoid, (ID) 0, _J("4363"), (LPVOID) NULL);
return ER_ERROR;
}
/************************************************************************
* Set pointers
************************************************************************/
/************************************************************************
* Main Processing
************************************************************************/
/* Retrieve P55P100 Processing Options */
lpdsT4210 = (LPDST4210) AllocatePOVersionData( hUser,
_J("P4210"),
lpDS->szVersionconsolidated_VER,
sizeof(DST4210));
if(lpdsT4210)
{
jdeStrcpy((JCHAR*) lpDS->szDefaultOrdertype_1 ,
(const JCHAR*) lpdT4210->szDefaultOrdertype_1 );
jdeStrcpy((JCHAR*) lpDS->szDefaultLinetype_2 ,
(const JCHAR*) lpdsT4210->szDefaultLinetype_2 );
jdeStrcpy((JCHAR*) lpDS->szDefaultBeginningStatus_3 ,
(const JCHAR*) lpdsT4210->szDefaultBeginningStatus_3 );
jdeStrcpy((JCHAR*) lpDS->szOverrideNextStatus_4 ,
(const JCHAR*) lpdsT4210->szOverrideNextStatus_4 );
jdeStrcpy((JCHAR*) lpDS->szDefaultReasoncode_6 ,
(const JCHAR*) lpdsT4210->szDefaultReasoncode_6 );
jdeStrcpy((JCHAR*) lpDS->szDefaultTransactionUom_7 ,
(const JCHAR*) lpdsT554210->szDefaultTransactionUom_7 );
jdeStrcpy((JCHAR*) lpDS->szDefaultReasoncode_6 ,
(const JCHAR*) lpdsT4210->szDefaultReasoncode_6 );
jdeStrcpy((JCHAR*) lpDS->szDefaultTransactionUom_7,
(const JCHAR*) lpdsT4210->szDefaultTransactionUom_7 );
jdeStrcpy((JCHAR*) lpDS->sszDupOrdertype_9 ,(const JCHAR*)lpdsT4210->szDupOrdertype_9 );
jdeStrcpy((JCHAR*) lpDS->szDupBeginningStatus_10 ,(const JCHAR*)lpdsT4210->szDupBeginningStatus_10 );
lpDS->cDefaultShipToBranch_11 = lpdsT4210-> cDefaultShipToBranch_11;
/* Retrieving all the remaining Parameters from the above data structutre T4210*/
}
/************************************************************************
* Function Clean Up
************************************************************************/
return (ER_SUCCESS);
}
/* Internal function comment block */
/**************************************************************************
* Function: Ixxxxxxx_a // Replace "xxxxxxx" with source file number
* // and "a" with the function name
* Notes:
*
* Returns:
*
* Parameters:
**************************************************************************/