D0400047A - F0411 Functional Server - Begin Document Module
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| cEditInstructionFlag | EV01 | char | OPT | NONE | 
Future Use
  | ||||
| szCompany | CO | char | OPT | NONE | 
Company - if left blank will get error.
  | ||||
| szCompanykey | KCO | char | OPT | NONE | 
Key Company - if left blank will get error.
  | ||||
| jdGLDate | DGJ | JDEDATE | OPT | NONE | 
G/L Date
  | ||||
| jdInvoiceDate | DIVJ | JDEDATE | OPT | NONE | 
Invoice Date - if left blank will default from G/L date.
  | ||||
| szPurchaseorder | PO | char | OPT | NONE | 
Purchase order number.
  | ||||
| szDocumentTypePurchase | PDCT | char | OPT | NONE | 
Purchase Order document type.
  | ||||
| szCompanyKeyPurchase | PKCO | char | OPT | NONE | 
Purchas Order Key Company.
  | ||||
| mnAddressnumber | AN8 | MATH_NUMERIC | OPT | NONE | 
Supplier number
  | ||||
| szBusinessUnit | MCU | char | OPT | NONE | 
Business Unit - if blank will default from address book, if still blank will get error.
  | ||||
| szPaymentTerms | PTC | char | OPT | NONE | 
Payment Terms Code - if left blank will be defaulted from address book.
  | ||||
| szSupplierInvoiceNumber | VINV | char | OPT | NONE | 
Supplier Invoice Number - if entered will validate for duplicates and send warning or error depending 
  | ||||
| szNamealpha | ALPH | char | OPT | NONE | 
Alpha Name of Supplier - will be retruned from address book
  | ||||
| szDocumenttype | DCT | char | OPT | NONE | 
Document type - if left blank will be defaulted from processing options but not until F0411FSEditDoc 
  | ||||
| mnDocumentNumber | DOC | MATH_NUMERIC | OPT | NONE | 
Document Number - if zero will be assigned using next numbers in F0411FSEndDoc module - this module 
  | ||||
| mnCurrencyRate | CRR | MATH_NUMERIC | OPT | NONE | 
Currency Rate - if currency is on and left blank it will be defaulted from the address book.
  | ||||
| szCurrencyCode | CRCD | char | OPT | NONE | 
Currency Code - if currency is on and left blank it will be defaulted from the address book.
  | ||||
| szCompanyCurrencyCode | CRDC | char | OPT | NONE | 
Company currency code - if left blank will be retrieved from company.
  | ||||
| cCurrencymode | CRRM | char | OPT | NONE | 
Currency mode - 'F', 'D', ' '.
  | ||||
| szComputerid | CTID | char | OPT | NONE | 
Retrieved from GetAuditInfo(B9800100).
  | ||||
| cErrorFlag | EV01 | char | OPT | NONE | 
' ' = No errrors
  | ||||
| cPaymentinstrument | PYIN | char | OPT | NONE | 
Payment Instrument - if left blank will be defaulted from address book.
  | ||||
| mnAddressnumbersentto | SNTO | MATH_NUMERIC | OPT | NONE | 
Approver Address Number - if left blank will default from address book
  | ||||
| mnBatchNumber | ICU | MATH_NUMERIC | OPT | NONE | 
Batch Number - this is the batch number assigned in FSOpenBatch module.
  | ||||
| szBatchType | ICUT | char | OPT | NONE | 
Batch type.
  | ||||
| jdBatchDate | DICJ | JDEDATE | OPT | NONE | 
Batch Date - assigned in FSOpenBatch module
  | ||||
| jdDateservicecurrency | DSVJ | JDEDATE | OPT | NONE | 
Service/Tax Date - if left blank will be defaulted base on processing option.
  | ||||
| cGlpostedcode | POST | char | OPT | NONE | 
G/L Post code.
  | ||||
| mnJobNumber | JOBS | MATH_NUMERIC | OPT | NONE | 
Pass Job Number created in Begin Doc, if previously called; elsepas zeroes and this function will 
  | ||||
| cDocumentAction | ACTN | char | OPT | NONE | 
A or 1 = Add
  | ||||
| cHeaderChgFlag | EV01 | char | OPT | NONE | 
Header Change Flag - used for changes to determine if all pay items will need to be updated with a 
  | ||||
| szPrevPurchaseOrder | PO | char | OPT | NONE | 
Purchase Order Number.
  | ||||
| mnLastPayItem | SFXE | MATH_NUMERIC | OPT | NONE | 
Last Pay Item - used to assign next line number if aline is added and pay item is blank.
  | ||||
| szLongAddressNumber | ALKY | char | OPT | NONE | 
Long Address Number  - will be used for error highlighting if error on address number.
  | ||||
| szPrevSupInv | VINV | char | OPT | NONE | 
Previous Supplier Invoice Number - used to determine if check for duplicate should be executed.
  | ||||
| cBypassDefaults | EV01 | char | OPT | NONE | 
Flag used to bypass defaults.  If a '1', program defaults will not be performed.  Data Dictionary and required field defaults will still be executed. 
  | ||||
| cNoSplit | EV01 | char | OPT | NONE | 
Flag used to not allow split payments.  Used in Speed Voucher because only one pay item is allowed. 
  | ||||
| cPrevCurrMode | CRRM | char | OPT | NONE | 
Previous Currency Mode- used on a change action to edit for currency mode change.
  | ||||
| cPrePayFlag | EV01 | char | OPT | NONE | 
Future use - Flag for Prepayment vouchers .
  | ||||
| szPrePayClass | GLC | char | OPT | NONE | 
Future use - G/L Class code for Prepayment voucher 
  | ||||
| szNameRemark | RMK | char | OPT | NONE | 
Remark
  | ||||
| szDocTyApDefaultJe | DTAP | char | OPT | NONE | 
Model Journal Entry A/P Document Type - retrieved from address book.
  | ||||
| mnDocApDefaultJe | DCAP | MATH_NUMERIC | OPT | NONE | 
Model Journal Entry A/P Document Number - Retrieved from address book.
  | ||||
| szCompanyKeyAPModel | KCOP | char | OPT | NONE | 
Model Journal Entry A/P Document Company - Retrieved from address book.
  | ||||
| cExchRateDateFlag | EV01 | char | OPT | NONE | 
Future flag
  | ||||
| cVertexQuantumFlag | EV01 | char | OPT | NONE | 
Future flag
  | ||||
| szVoucherPOVersion | JDEVERS | char | OPT | NONE | 
Version of dummy application P0400047 used to retrieve processing options.  If no value is passed 
  | ||||
| cPORedistributionFlag | EV01 | char | OPT | NONE | 
An option that specifies the type of processing for an event.  | ||||
| cPayWhenPaid | PYWP | char | OPT | NONE | 
This field is used to identify Pay When Paid transactions.
Accounts Payable
A 'W' will be used to identify Pay When Paid Voucher 
  | ||||
| mnPayWhenPaidGroupNumber | PWPG | MATH_NUMERIC | OPT | NONE | 
This field is a number used to identify a record with a Pay When Paid group.  | ||||
| cBypassInvoiceNumberEdit | EV01 | char | OPT | NONE | 
An option that specifies the type of processing for an event.  | ||||
| cBypassInstallmentSplitFlag | EV01 | char | OPT | NONE | 
An option that specifies the type of processing for an event.  | ||||
| B0000007 Batch - Revise On Transaction Commitment | ||||
| B0000026 Edit Exchange Rate Tolerance | ||||
| B0000028 CurrencyConvSftRound | ||||
| B0000033 Get Exchange Rate | ||||
| B0000036 Eff Date for Curr Rate LT Curr Period | ||||
| B0000055 ValidateAAICompletely | ||||
| B0000128 Retrieve Company Currency Code | ||||
| B0000163 Calculate Advanced Payment Terms Due Date | ||||
| B0000170 BalanceConvertedPayItems | ||||
| B0000283 Calculate Discount Amount No Tax | ||||
| B0100022 A/B Vendor Currency Amounts | ||||
| B0400001 Default Currency Fields | ||||
| B0400002 Default Tax Rate Area | ||||
| B0400014 Write Manual Check Records | ||||
| B0400017 Default Pay Status | ||||
| B0400031 Validate Voucher Records To Be Deleted | ||||
| B0400035 Delete Voucher From Browse Screen | ||||
| B0400036 Edit Voucher G/L Offset Account | ||||
| B0400037 Default Due Dates | ||||
| B0400038 PE Creation - Void | ||||
| B0400097 DefaultVoucherFromAddressBook | ||||
| B0400162 Edit Duplicate Check # / Bank Account | ||||
| B0400243 Edit Hold Payment Code | ||||
| B0400285 Edit Voucher Gross Amount | ||||
| B0400289 Edit Duplicate Supplier Invoice Number | ||||
| B0400291 PE Creation - Change In Gross Amount | ||||
| B9800100 Get Audit Information | ||||
| N0400104 Write Payee Control Record | ||||
| N7000330 B0400047 - Plug & Play - 04 | ||||
| X00TAX Calculate and Edit Tax Amounts | ||||
| X0903 Fiscal Date Edits + | ||||
| X0909 Validate Subledger | ||||
| XX0901 Validate Account Number | 
| F0411 Accounts Payable Ledger |