PGAddReplacementDataValue

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA300B - Data Structure for ReplaceFOData BSFN (B90CA300)

Parameter NameData ItemData TypeReq/OptI/O/Both
szElementNameSTRNGVALcharREQINPUT

A value that holds a string data type.

szElementValueSTRNGVALcharREQINPUT

A value that holds a string data type.

idReplacementTableTokenGENLNGIDOPTBOTH

General purpose ID variable.

Related Functions

None

Related Tables

None
PGAddReplacementLineItemValue

PGAddReplacementLineItemValue

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA300M - Data Structure for Sales Order Detail Line Item

Parameter NameData ItemData TypeReq/OptI/O/Both
szElementNameSTRNGVALcharREQINPUT

A value that holds a string data type.

szElementValueSTRNGVALcharREQINPUT

A value that holds a string data type.

idLineItemDataTokenGENLNGIDOPTBOTH

General purpose ID variable.

Related Functions

None

Related Tables

None
PGExecuteContentReplacement

PGExecuteContentReplacement

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA300D - Data Structure for ExecuteReplacement (B90CA300)

Parameter NameData ItemData TypeReq/OptI/O/Both
idXMLDocTokenGENLNGIDOPTBOTH

General purpose ID variable.

idReplacementTableTokenGENLNGIDOPTBOTH

General purpose ID variable.

idTagNameValidationTableTokenGENLNGIDOPTBOTH

General purpose ID variable.

szSavedXMLFileNameSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

idLineItemDataTokenGENLNGIDOPTBOTH

General purpose ID variable.

szInputXMLFilePathSTRNGVALcharOPTINPUT

A value that holds a string data type.

idDocListTokenGENLNGIDOPTBOTH

General purpose ID variable.

Related Functions

None

Related Tables

None
PGFreeFODataManager

PGFreeFODataManager

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA300C - Data Structure for FreeFODataManager BSFN (B90CA300)

Parameter NameData ItemData TypeReq/OptI/O/Both
idXMLDocTokenGENLNGIDREQINPUT

General purpose ID variable.

idReplacementTableTokenGENLNGIDOPTINPUT

General purpose ID variable.

idValidationTableTokenGENLNGIDREQINPUT

General purpose ID variable.

idDocListTokenGENLNGIDOPTINPUT

General purpose ID variable.

idLineItemDataTokenGENLNGIDOPTINPUT

General purpose ID variable.

Related Functions

None

Related Tables

None
PGGetCurrentTimeString

PGGetCurrentTimeString

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA350A - Data Structure for PGInitializeFODataManager BSFN (B90CA350)

Parameter NameData ItemData TypeReq/OptI/O/Both
idXMLDocTokenGENLNGIDOPTBOTH

General purpose ID variable.

szCompanyKeyOrderNoKCOOcharOPTBOTH

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.

szOrderTypeDCTOcharOPTBOTH

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

szPGCurrentDateStringPGDATEcharOPTBOTH

mnTemplateIDATACACFMATH_NUMERICOPTBOTH

szCRMFilenameXMLSTRNGVALcharOPTBOTH

A value that holds a string data type.

szCRMFilenameRTFSTRNGVALcharOPTBOTH

A value that holds a string data type.

szCRMCurrentDateStringSTRNGVALcharOPTBOTH

A value that holds a string data type.

szMonthDayYearTimeSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szMonthSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szDaySTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szYearSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

Related Functions

None

Related Tables

None
PGInitializeFODataManager

PGInitializeFODataManager

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA350A - Data Structure for PGInitializeFODataManager BSFN (B90CA350)

Parameter NameData ItemData TypeReq/OptI/O/Both
idXMLDocTokenGENLNGIDOPTBOTH

General purpose ID variable.

szCompanyKeyOrderNoKCOOcharOPTBOTH

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.

szOrderTypeDCTOcharOPTBOTH

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

szPGCurrentDateStringPGDATEcharOPTBOTH

mnTemplateIDATACACFMATH_NUMERICOPTBOTH

szCRMFilenameXMLSTRNGVALcharOPTBOTH

A value that holds a string data type.

szCRMFilenameRTFSTRNGVALcharOPTBOTH

A value that holds a string data type.

szCRMCurrentDateStringSTRNGVALcharOPTBOTH

A value that holds a string data type.

szMonthDayYearTimeSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szMonthSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szDaySTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szYearSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

Related Functions

None

Related Tables

None
PGLoadXMLContent

PGLoadXMLContent

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA300F - Data Structure for Content - F4201 Sales Order Header

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyKeyOrderNoKCOOcharREQNONE

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.

mnDocumentOrderInvoiceEDOCOMATH_NUMERICREQNONE

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

szCostCenterMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szCompanyKeyOriginalOKCOcharOPTNONE

A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.

szOriginalPoSoNumberOORNcharOPTNONE

The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, and so on Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems. The document number 
(DOC) is always the original document number. The matching document number (DOCM) is the check, adjustment, or credit to be applied 
against the original document.

szOriginalOrderTypeOCTOcharOPTNONE

This code defines the order type. It is verified in user defined codes (40/OT). Reserved document types have been defined for voucher 
entry, invoice entry, receipts entry, and time sheet entry.  Because the offsetting entries for document types are created automatically during the 
post program, they will not be self-balancing on original entry. The reserved document types are:    PR Purchase Requisition Orders    PQ 
Purchase Quote    PO Purchase Order    PD Purchase Order - Direct Ship    PB Purchase Order - Blanket    SQ Sales Quote    SO Sales Order    
SD Sales Order - Direct Ship    SB Sales Order - Blanket 

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

mnAddressNumberShipToSHANMATH_NUMERICOPTNONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnAddressNumberParentPA8MATH_NUMERICOPTNONE

The address book number of the parent company. The system uses this number to associate a particular address with a parent company 
or location. Any value that you enter in this field updates the Address Organizational Structure Master table (F0150) for the blank structure 
type. This address number must exist in the Address Book Master table (F0101) for validation purposes. Examples of address book records 
that would have a parent number include:   o  Subsidiaries with parent companies     o  Branches with a home office     o  Job sites with a general 
contractor 

jdDateRequestedJulianDRQJJDEDATEOPTNONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

jdDateTransactionJulianTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

jdScheduledPickDatePDDJJDEDATEOPTNONE

The promised shipment date for either a sales order or purchase order. The Supply and Demand Programs use this date to calculate 
Available to Promise information. This value can be automatically calculated during sales order entry. This date represents the day that the item 
can be shipped from the warehouse.

jdDateOriginalPromisdeOPDJJDEDATEOPTNONE

The original promised delivery date for a purchase order.

jdActualShipDateADDJJDEDATEOPTNONE

The date on which the shipment to the customer is confirmed as shipped. During shipment confirmation, the system updates the Sales 
Order Detail table (F4211) with this date.

jdCancelDateCNDJJDEDATEOPTNONE

The date that the order should be canceled if the goods have not been sent to the customer or the goods have not been received from the 
supplier. This is a memo-only field and does not cause the system to perform any type of automatic processing. If a line on a sales order in 
canceled in Sales Order Entry, this field will  be updated with the date the line has been canceled.                         

jdDatePriceEffectiveDatePEFJJDEDATEOPTNONE

The system uses the Price Effective Date to determine the base price and all advanced price adjustments.  The value loaded in this date 
is stored in the System Constants File (F4009).

jdDatePromisedShipJuPPDJJDEDATEOPTNONE

The promised shipment date for a sales order. This date represents the day that the item can be shipped from the warehouse.

szReference1VR01charOPTNONE

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

szReference2VendorVR02charOPTNONE

A field available to record reference numbers, such as the supplier's bid document number, quote document, sales order, work order, or 
job number.

szDeliveryInstructLine1DEL1charOPTNONE

One of two fields that you use to enter delivery instructions.

szDeliveryInstructLine2DEL2charOPTNONE

The second of two fields that you use to enter delivery instructions.

szPrintMessage1INMGcharOPTNONE

A user defined code that you assign to each print message. Examples of text used in messages are engineering specifications, hours of 
operation during holiday periods, and special delivery instructions.

szTaxArea1TXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szTaxExplanationCode1EXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szHoldOrdersCodeHOLDcharOPTNONE

A user defined code (42/HC) that identifies why an order is on hold.

mnAmountOrderGrossOTOTMATH_NUMERICOPTNONE

The total value of all lines on the order that have not been shipped and billed to the customer.

mnAmountTotalCostTOTCMATH_NUMERICOPTNONE

szAuthorizationNoCreditAUTNcharOPTNONE

This field lets you record the authorization number provided by the credit card company or bank which issued the card.

szAcctNoCrBankCACTcharOPTNONE

The first of three fields available to record credit card transactions. This field allows you to record the customer's account number with the 
credit card company or bank.

jdDateExpiredCEXPJDEDATEOPTNONE

This field is to record the account number and expiration date of credit cards used by your customers who make purchases from you.  It is 
for information purposes only.

cCurrencyModeCRRMcharOPTNONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnAmountForeignOpenFAPMATH_NUMERICOPTNONE

The unpaid foreign amount of a transaction.

jdDateRequestedShipRQSJJDEDATEOPTNONE

Requested ship date.

szSoldToAttentionSDATTNcharOPTNONE

Attention field for billing specifications.

szShipToAttentionSPATTNcharOPTNONE

Attention field for shipping specifications.

mnCustomerContactLineNumbeCCIDLNMATH_NUMERICOPTNONE

mnShipToCusContactLineNumIDSHCCIDLNMATH_NUMERICOPTNONE

Ship To Customer contact line number.

mnAmountForeignExtPriceFEAMATH_NUMERICOPTNONE

The product of the foreign price times the number of units.

idReplacementTableTokenGENLNGIDOPTNONE

General purpose ID variable.

idLineItemDataTokenGENLNGIDOPTNONE

General purpose ID variable.

idSoldToFoundGENLNGIDOPTNONE

General purpose ID variable.

idShipToFoundGENLNGIDOPTNONE

General purpose ID variable.

szMonthDayYearTimeSTRNGVALcharOPTNONE

A value that holds a string data type.

szMonthSTRNGVALcharOPTNONE

A value that holds a string data type.

szDaySTRNGVALcharOPTNONE

A value that holds a string data type.

szYearSTRNGVALcharOPTNONE

A value that holds a string data type.

Related Functions

None

Related Tables

None
PGLoadXMLValidationTable

PGLoadXMLValidationTable

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA300E - Data Structure for LoadTagNameValidationTable (B90CA300)

Parameter NameData ItemData TypeReq/OptI/O/Both
idTagNameValidationTableTokenGENLNGIDOPTBOTH

General purpose ID variable.

szInputTagNameSTRNGVALcharOPTINPUT

A value that holds a string data type.

szKeyNameSTRNGVALcharOPTBOTH

A value that holds a string data type.

cCRMMailMergeFeildRequiredCRMMMFRcharOPTNONE

Related Functions

None

Related Tables

None
PGPersistGeneratedProposal

PGPersistGeneratedProposal

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA300T - Proposal Generation Persist Quote

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

mnDocumentOrderInvoiceEDOCOMATH_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

szGenerateProposalIDGENPIDcharREQINPUT

szRuntimePDFFilenameMMTPNAMEcharOPTINPUT

mnTemplateIDDOCOMATH_NUMERICOPTINPUT

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.

idIsQueuePathValidGENLNGIDOPTOUTPUT

General purpose ID variable.

Related Functions

None

Related Tables

None
PGUploadPopulatedXML

PGUploadPopulatedXML

Proposal Generation Sales Order Detail XML Content Populator

Minor Business Rule

Object Name: B90CA350

Parent DLL: CRMF

Location: Client/Server

Language: C

Data Structure

D90CA350A - Data Structure for PGInitializeFODataManager BSFN (B90CA350)

Parameter NameData ItemData TypeReq/OptI/O/Both
idXMLDocTokenGENLNGIDOPTBOTH

General purpose ID variable.

szCompanyKeyOrderNoKCOOcharOPTBOTH

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.

szOrderTypeDCTOcharOPTBOTH

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

szPGCurrentDateStringPGDATEcharOPTBOTH

mnTemplateIDATACACFMATH_NUMERICOPTBOTH

szCRMFilenameXMLSTRNGVALcharOPTBOTH

A value that holds a string data type.

szCRMFilenameRTFSTRNGVALcharOPTBOTH

A value that holds a string data type.

szCRMCurrentDateStringSTRNGVALcharOPTBOTH

A value that holds a string data type.

szMonthDayYearTimeSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szMonthSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szDaySTRNGVALcharOPTOUTPUT

A value that holds a string data type.

szYearSTRNGVALcharOPTOUTPUT

A value that holds a string data type.

Related Functions

None

Related Tables

None