CommitReceiptDetail

F03B14 Maintain Receipt Detail

Major Business Rule

Object Name: B03B0149

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function is used to maintain receipt detail for Standard Receipt Entry (P03B102) and Draft Entry 

(P03B602). This function does not perform any database operations. Instead, this function calls the 

F03B14 Apply Receipt to Invoice (B03B0012) function to perform adds and updates to the F03B11, F03B13, 

and F03B14 tables. Deletes and voids are handled through the F03B14 Void/Delete Receipt (B03B0023) 

function.


Setup Notes and Prerequisites

The Edit Receipt Detail (B03B0149) function must be called to validate the transaction before calling 

this function.


Special Logic

If currency is on, only one side of the transaction needs to be passed. The function will perform 

currency conversion for the other side of the transaction. For example, if the receipt is entered in 

foreign mode, only pass the foreign amounts.



Technical Specification


Parameters

Item DescriptionI/OReq?Notes
PYIDmnPaymentIDIYPayment ID of Receipt Header.

RC5mnFileLineIdentifierIYLine Number of the transaction within a Payment ID 

group. Required for updates, ignored on adds.

CKNUszReceiptNumberIY

DOCmnDocumentNumberIYDocument Number of invoice being applied. Required if 

transaction is an Invoice Match.

DCTszDocumentTypeIYDocument Type of invoice being applied. Required if 

transaction is an Invoice Match.

KCOszDocumentCompanyIYDocument Company of invoice being applied. Required 

if transaction is an Invoice Match.

SFXszDocumentPayItemIYPay Item of invoice being applied. Required if 

transaction is an Invoice Match.

AN8mnCustomerNumberIY

DGJjdDateGLIY

COszCompanyIY

ICUTszBatchTypeIY

ICUmnBatchNumberIY

DICJjdDateBatchIY

PAAPmnAmountAppliedIYPayment amount. Required if currency is off or 

currency mode is domestic.

ADSAmnAmountDiscountTakenIYDiscount Taken. Required if currency is off or 

currency mode is domestic.

AAAJmnAmountWriteOffIYWrite-off Amount. Required if currency is off or 

currency mode is domestic.

ECBAmnAmountChargebackIYChargeback Amount. Required if currency is off or 

currency mode is domestic.

DDAmnAmountDeductionIYDeduction Amount. Required if currency is off or 

currency mode is domestic.

BCRCszBaseCurrencyIYCurrency of the company. Required if currency is on.

CRRMcCurrencyModeIYCurrency mode of the receipt (D/F). Required if 

currency is on.

CRCDszTransactionCurrencyIYReceipt currency. Required if currency is on.

CRRmnExchangeRateIYExchange rate of the receipt. Required if currency is 

on and the mode is foreign.

PFAPmnAmountForeignAppliedIYForeign Payment Amount. Required if mode is foreign.

CDSAmnAmountForeignDiscountTakenIYForeign Discount Amount Taken. Required if currency 

mode is foreign.

FCHGmnAmountForeignWriteOffIYForeign Write-off Amount. Required if currency mode 

is foreign.

ECBFmnAmountForeignChargebackIYForeign Chargeback Amount. Required if currency mode 

is foreign.

FDAmnAmountForeignDeductionIYForeign Deduction Amount. Required if currency mode 

is foreign.

AIDDszDiscountAccountIDIYDiscount short account ID. Required if discount taken 

is not zero.

RSCOszWriteOffReasonCodeIYRequired if write-off is not zero.

AIDWszWriteOffAccountIDIYWrite-off short account ID. Required if write-off is 

not zero.

ECBRszChargebackReasonCodeIYRequired if chargeback amount is not zero.

GLCCszChargebackGLOffsetIYChargeback G/L Offset. Required if chargeback amount 

is not zero.

AIDCszChargebackAccountIDIYChargeback short account ID. Required if chargeback 

amount is not zero.

DDEXszDeductionReasonCodeIYRequired if deduction amount is not zero.

DAIDszDeductionAccountIDIYDeduction short account ID. Required if deduction 

amount is not zero.

UTICszUserTypeInputCodeIYThe transaction code. (UDC table 03B/RE)

MCUszBusinessUnitIY

RMKszRemarkIY

PIDszProgramIDIYProgram calling this function.

AGmnAmountGrossIYInvoice gross amount.

AAPmnAmountOpenIYInvoice open amount.

ADSCmnAmountDiscountAvailIYInvoice discount available.

CRCDszInvoiceTransactionCurrencyIYInvoice currency. Required if currency is on.

CRRmnInvoiceExchangeRateIYInvoice exchange rate. Required for a foreign 

invoice.

ACRmnAmountForeignGrossIYInvoice foreign gross amount. Required for a foreign 

invoice.

FAPmnAmountForeignOpenIYInvoice foreign open amount. Required for a foreign 

invoice.

CDSmnAmountForeignDiscountAvailIYInvoice foreign discount available.

PSTcChargebackPayStatusIYProcessing Option value.

EV01cChargebackDateOptionIYProcessing Option value.

MATH01mnAutoWriteOffUnderAmountIYProcessing Option value.

ARDRszAutoWriteOffUnderReasonCodIYProcessing Option value.

MATH01mnAutoWriteOffOverAmountIYProcessing Option value.

ARCRszAutoWriteOffOverReasonCodeIYProcessing Option value.

MATH01mnManWriteOffUnderAmountIYProcessing Option value.

MATH01mnManWriteOffOverAmountIYProcessing Option value.

EV01cDiscountAllowOverAvailableIYAllow Discount Taken to be greater than Discount 

Available. Processing Option value.

EV01cDiscountAllowOverAppliedIYAllow Discount Taken to be greater than Amount 

Applied. Processing Option value.

EV01cEditPayApprovedInvoicesIYProcessing Option value.

EV01cEditOverpaymentOptionIYProcessing Option value.

CRRmnReceiptTriangulationRate1IYTriangulated rate component. Required if foreign and 

if rate is triangulated.

CRRmnReceiptTriangulationRate2IYTriangulated rate component. Required if foreign and 

if rate is triangulated.

CRCMcReceiptConversionMethodIYNo inverse rate component. Required if foreign and 

rate is no inverse.

EFTjdReceiptTransactionDateIYEffective date of no inverse or triangulation rate. 

Required if rate is no inverse or triangulated.

CRRMcInvoiceCurrencyModeIYInvoice Currency Mode (D/F). Required if invoice is a 

foreign invoice.

DIVJjdDateInvoiceJIYInvoice Date.

DGJjdInvoiceGLDate IYInvoice G/L Date.

VR01szReference1IYCustomer Reference.

TAAPmnTransactionPaymntAmountIYReceipt Amount.

TADAmnTransactionDiscountAmountIYReceipt Discount Amount.

TAAJmnTransactionWriteOffAmountIYReceipt Write-off Amount.

TCBAmnTransactionChargeBackAmounIYReceipt Chargeback Amount.

TDAmnTransactionDeductionAmountIYReceipt Deduction Amount.

TCRCszTransactionCurrencyCodeIYReceipt Currency Code.

ACRRmnAlternateCurrencyExchangeRIYExchange Rate between the receipt and invoice 

currencies.

ACR1mnAlternateCurrencyRateLeg1IYTriangulated rate component of alternate currency 

exchange rate.

ACR2mnAlternateCurrencyRateLeg2IYTriangulated rate component of alternate currency 

exchange rate.

ACRMcAltCurrencyConversionMethodIYNo inverse rate component of alternate currency 

exchange rate.

AGmnInvTransactionGrossIYInvoice gross amount restated in the receipt 

currency.

AAPmnInvTransactionOpenIYInvoice open amount restated in the receipt currency.

ADSCmnInvTransactionDiscAvailIYInvoice discount available restated in the receipt 

currency.

POszPurchaseOrderDocNumberIN

PDCTszPurchaseOrderDocTypeIN

PKCOszPurchaseOrderDocCompanyIN

MCU2szBusinessUnit2IN

UNITszUnitNumberIN

AIDTszGainAccountIDINPass if creating a foreign or alternate currency 

receipt. If blank, will default from the 'RG' AAI.

AIDTszLossAccountIDINPass if creating a foreign or alternate currency 

receipt. If blank, will default from the 'RL' AAI.

AIDAszAltCurrGainAccountIDINPass if creating an alternate currency receipt. If 

blank, will default from the 'RY' AAI.

AIDAszAltCurrLossAccountIDINPass if creating an alternate currency receipt. If 

blank, will default from the 'RZ' AAI.



Related Tables

F03B14Receipt Detail


Related Functions

B0000027Currency Conversion, Calculate

B03B0012F03B14 Write/Update Receipt Detail Record

B03B0174Get Invoice Exchange Rate For Euro


Processing

Retrieve currency constant.

If currency is on and the receipt base currency is different from the

invoice currency,

If a standalone transaction,

Set exchange rate to receipt's exchange rate.

Else,

Set exchange rate to invoice's exchange rate.

If currency mode is foreign,

If foreign discount taken is not zero,

If foreign discount taken is equal to foreign discount

available,

Set domestic discount taken equal to domestic discount

available.

Else,

Convert foreign discount taken to domestic discount taken.

Reduce total domestic and foreign invoice open by amount of

discount taken.

If foreign write-off amount is not zero,

If foreign write-off amount is equal to foreign invoice open,

Set domestic write-off amount equal to domestic invoice

open.

Else,

Convert foreign write-off amount to domestic write-off

amount.

Reduce total domestic and foreign invoice open by amount of

write-off.

If foreign chargeback amount is not zero,

If foreign chargeback amount is equal to foreign invoice open,

Set domestic chargeback amount equal to domestic invoice

open.

Else,

Convert foreign chargeback amount to domestic chargeback

amount.

Reduce total domestic and foreign invoice open by amount of

chargeback.

If foreign deduction amount is not zero,

If foreign deduction amount is equal to foreign invoice open,

Set domestic deduction amount equal to domestic invoice

open.

Else,

Convert foreign deduction amount to domestic deduction

amount.

Reduce total domestic and foreign invoice open by amount of

deduction.

If foreign amount applied is not zero,

If foreign amount applied is equal to foreign invoice open and

the receipt and invoice exchange rates are equal,

Set domestic amount applied equal to domestic invoice open.

Else,

Convert foreign amount applied to domestic amount applied.

Reduce total domestic and foreign invoice open by amount

applied.

Else,

If domestic discount taken is not zero,

If domestic discount taken is equal to domestic discount

available,

Set foreign discount taken equal to foreign discount

available.

Else,

Convert domestic discount taken to foreign discount taken.

Reduce total domestic and foreign invoice open by amount of

discount taken.

If domestic write-off amount is not zero,

If domestic write-off amount is equal to domestic invoice

open,

Set foreign write-off amount equal to foreign invoice open.

Else,

Convert domestic write-off amount to foreign write-off

amount.

Reduce total domestic and foreign invoice open by amount of

write-off.

If domest'1a'1a

Data Structure

D03B0149 - F03B14 Maintain Receipt Detail

Parameters
Item DescriptionI/OReq?Notes

PYIDmnPaymentIDIYPayment ID of Receipt Header.

RC5mnFileLineIdentifierIYLine Number of the

transaction within a Payment 

ID group. Required for 

Updates,Ignored on Adds. 

CKNUszReceiptNumberIYCustomers check Number.

DOCmnDocumentNumberIYDocument Number of Invoice 

being applied. Required if 

transaction is an Invoice 

Match.

DCTszDocumentTypeIYDocument Type of Invoice being

applied.

Required if transaction is an 

Invoice Match.

KCOszDocumentCompanyIYDocument Key Company of 

Invoice being applied.

Required if transaction is an 

Invoice Match.

SFXszDocumentPayItemIYPay Item of Invoice being 

applied. Required if 

transaction is an Invoice 

Match.

AN8mnCustomerNumberIYCustomer Number.

DGJjdDateGLIYReceipt G/L Date.

COszCompanyIYCompany

ICUTszBatchTypeIYReceipt Batch Type

ICUmnBatchNumberIYReceipt Batch Number

DICJjdDateBatchIYReceipt Batch Date

PAAPmnAmountAppliedIYPayment amount . Required if 

currency is off or currency 

mode is domestic.

ADSAmnAmountDiscountTakenIYDiscount Taken. Required if 

currency is off or currency 

mode is domestic.

AAAJmnAmountWriteOffIYWrite Off Amount. Required if 

currency is off or currency 

mode is domestic.

ECBAmnAmountChargebackIYChargeback Amount. Required 

if currency is off or 

currency mode is domestic.

DDAmnAmountDeductionIYDeduction Amount.Required if 

currency is off or currency 

mode is domestic.

BCRCszBaseCurrencyIYCurrency of the receipt's 

base company. 

Required if currency is on. 

CRRMcCurrencyModeIYCurrency mode of the receipt (D/F). 

Required if currency is on. 

CRCDszTransactionCurrencyIYReceipt currency. 

Required if currency is on.

CRRmnExchangeRateIYExchange rate of the receipt.

Required if currency is on &

the mode is foreign.  

PFAPmnAmountForeignAppliedIYForeign Payment Amount.

Required if mode is foreign.

CDSAmnAmountForeignDiscount IYForeign Discount Amount Taken.

Required if currency mode is

foreign.

FCHGmnAmountForeignWriteOffIYForeign Write Off Amount.

Required if currency mode is 

foreign.

ECBFmnAmountForeignChargebaIYForeign Chargeback Amount.

Required if currency mode is 

foreign.

FDAmnAmountForeignDeductioIYForeign Deduction Amount.

Required if currency mode is 

foreign.

AIDDszDiscountAccountIDIYDiscount G/L account short ID 

number. 

Required if discount taken is not 

zero.

RSCOszWriteOffReasonCodeIYWrite Off Reason Code (UDC table 

value)

Required if write-off is not zero.

AIDWszWriteOffAccountIDIYWriteOff G/L account short ID

number.

Required if write-off is not zero.

ECBRszChargebackReasonCodeIYChargeback Reason Code (UDC table 

value)Required if chargeback amount 

is not zero.

GLCCszChargebackGLOffsetIYChargeback G/L Offset.Required if 

chargeback amount is not zero.

AIDCszChargebackAccountIDIYChargeback G/L account short ID 

number. Required if chargeback 

amount is not zero.

DDEXszDeductionReasonCodeIYDeduction Reason Code. (UDC table 

value)Required if deduction amount 

is not zero.

DAIDszDeductionAccountIDIYDeduction G/L account short ID 

number. Required if deduction 

amount is not zero.

UTICszUserTypeInputCodeIYThe transaction code. 

(UDC table 03B/RE)

MCUszBusinessUnitIYReceipts Business Unit. 

RMKszRemarkIYReceipt Remark field.

PIDszProgramIDIYApplication Program calling this 

function.

AGmnAmountGrossIYInvoice gross amount.

AAPmnAmountOpenIYInvoice open amount.

ADSCmnAmountDiscountAvailIYInvoice discount available.

CRCDszInvoiceTransactionCurIYInvoice Currency.

Required if currency is on.

CRRmnInvoiceExchangeRateIYInvoice Exchange rate.

Required for a foreign invoice. 

ACRmnAmountForeignGrossIYInvoice foreign gross amount. 

Required for a foreign invoice.

FAPmnAmountForeignOpenIYInvoice foreign open amount. 

Required for a foreign invoice. 

CDSmnAmountForeignDiscountIYInvoice foreign discount available.

PSTcChargebackPayStatusIYChargeback Pay status.

Processing Option value.

EV01cChargebackDateOptionIYChargeback Date Option.

Processing Option value.

MATH01 mnAutoWriteOffUnderAmoIYAuto Writeoff Under Amount.

Processing Option value.

ARDRszAutoWriteOffUnderReasIYAuto Writeoff Under Reason Code 

Processing Option value.

MATH01 mnAutoWriteOffOverAmouIYAuto Writeoff Over Amount

Processing Option value.

ARCRszAutoWriteOffOverReasoIYAuto Writeoff Over Reason Code

Processing Option value.

MATH01 mnManWriteOffUnderAmntIYManual W/O Under Amount

Processing Option value.

MATH01 mnManWriteOffOverAmntIYManual W/O Over Amount

Processing Option value.

EV01cDiscountAllowOverAvailIYAllow Discount Taken to be greater 

than Discount Available.

Processing Option value.

EV01cDiscountAllowOverAppldIYAllow Discount Taken to be greater 

than Amount Applied.

Processing Option value.

EV01cEditPayApprovedInvoicIYEdit for Approved Invoices

Processing Option value.

EV01cEditOverpaymentOptionIYEdit for Over Payment

Processing Option value.

CRRmnReceiptsTriangulatio IYTriangulated rate component.

Required if foreign and if rate is 

triangulated

CRRmnReceiptsTriangulati  IYTriangulated rate component

Required if foreign and if rate is 

triangulated

CRCMcReceiptsConversionMeth IYNo Inverse rate component

Required if foreign & rate is no 

Inverse

EFTjdReceiptTransacDate   IYEffective date of  No Inverse or 

Triangulation rate processing.

Required if rate is no inverse or 

triangulated .

CRRMcInvoiceCurrencyModeIYInvoice Currency Mode (D/F). 

Required if  invoice is a foreign 

invoice. 

DIVJjdDateInvoiceJIYInvoice Date. 

DGJjdInvoiceGLDate IYInvoice G/L Date

VR01szReference1IYCustomer Reference. 

TAAPmnTransactionPaymentAmtIYReceipt Amount

TADAmnTransactionDiscountAmIYReceipt Discount Amount

TAAJmnTransactionWriteOffAmIYReceipt Write Off Amount

TCBAmnTransactionChargeBackIYReceipt Chargeback Amount

TDAmnTransactionDeductionA IYReceipt Deduction Amount

TCRCszTransactionCurrencyCoIYReceipt Currency Code

ACRRmnAlternateCurrencyExchIYExchange Rate between the Receipt 

and the Invoice Currencies.  

ACR1mnAltCurrencyRateLeg1IYTriangulated rate component of 

Alternate Currency exchange rate.

ACR2mnAltCurrencyRateLeg2IYTriangulated rate component of 

Alternate Currency exchange rate.

ACRMcAltCurrencyConversiMthIYNo inverse rate component of 

Alternate Currency exchange rate.

AGmnInvTransactionGrossIYInvoice Gross amount restated in 

the receipt's Currency.

AAPmnInvTransactionOpenIYInvoice Open amount restated in the 

Receipt's Currency

ADSCmnInvTransactionDiscAvlIYInvoice's Discount Available amount 

restated in the receipts currency. 




^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPaymentIDPYIDMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes

PYIDab  mnPaymentIDab  Iab  Yab Payment ID of Receipt Header.

^

mnFileLineIdentifierRC5MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes

RC5ab  mnFileLineIdentifierab  Iab  Yab Line Number of the
ab  ab  ab  ab transaction within a Payment 

ab  ab  ab  ab ID group. Required for 

ab  ab  ab  ab Updates,Ignored on Adds. 


^

szReceiptNumberCKNUcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CKNUab  szReceiptNumberab  Iab  Yab Customers check Number.

^

mnDocumentNumberDOCMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DOCab  mnDocumentNumberab  Iab  Yab Document Number of Invoice 
ab  ab  ab  ab being applied. Required if 

ab  ab  ab  ab transaction is an Invoice 

ab  ab  ab  ab Match.


^

szDocumentTypeDCTcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DCTab  szDocumentTypeab  Iab  Yab Document Type of Invoice being
ab  ab  ab  ab applied.

ab  ab  ab  ab Required if transaction is an 

ab  ab  ab  ab Invoice Match.


^

szDocumentCompanyKCOcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
KCOab  szDocumentCompanyab  Iab  Yab Document Key Company of 
ab  ab  ab  ab Invoice being applied.

ab  ab  ab  ab Required if transaction is an 

ab  ab  ab  ab Invoice Match.


^

szDocumentPayItemSFXcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
SFXab  szDocumentPayItemab  Iab  Yab Pay Item of Invoice being 
ab  ab  ab  ab applied. Required if 

ab  ab  ab  ab transaction is an Invoice 

ab  ab  ab  ab Match.


^

mnCustomerNumberAN8MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AN8ab  mnCustomerNumberab  Iab  Yab Customer Number.

^

jdDateGLDGJJDEDATENONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DGJab  jdDateGLab  Iab  Yab Receipt G/L Date.

^

szCompanyCOcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
COab  szCompanyab  Iab  Yab Company

^

szBatchTypeICUTcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ICUTab  szBatchTypeab  Iab  Yab Receipt Batch Type

^

mnBatchNumberICUMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ICUab  mnBatchNumberab  Iab  Yab Receipt Batch Number

^

jdDateBatchDICJJDEDATENONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DICJab  jdDateBatchab  Iab  Yab Receipt Batch Date

^

mnAmountAppliedPAAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PAAPab  mnAmountAppliedab  Iab  Yab Payment amount . Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.


^

mnAmountDiscountTakenADSAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ADSAab  mnAmountDiscountTakenab  Iab  Yab Discount Taken. Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.


^

mnAmountWriteOffAAAJMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AAAJab  mnAmountWriteOffab  Iab  Yab Write Off Amount. Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.


^

mnAmountChargebackECBAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ECBAab  mnAmountChargebackab  Iab  Yab Chargeback Amount. Required 
ab  ab  ab  ab if currency is off or 

ab  ab  ab  ab currency mode is domestic.


^

mnAmountDeductionDDAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DDAab  mnAmountDeductionab  Iab  Yab Deduction Amount.Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.

 
^

szBaseCurrencyBCRCcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
BCRCab  szBaseCurrencyab  Iab  Yab Currency of the receipt's 
ab  ab  ab  ab base company. 

ab  ab  ab  ab Required if currency is on. 

   
^

cCurrencyModeCRRMcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRMab  cCurrencyModeab  Iab  Yab Currency mode of the receipt (D/F). 
ab  ab  ab  ab Required if currency is on. 


^

szTransactionCurrencyCRCDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRCDab  szTransactionCurrencyab  Iab  Yab Receipt currency. 
ab  ab  ab  ab Required if currency is on.


^

mnExchangeRateCRRMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab  mnExchangeRateab  Iab  Yab Exchange rate of the receipt.
ab  ab  ab  ab Required if currency is on &

ab  ab  ab  ab the mode is foreign.  


^

mnAmountForeignAppliedPFAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PFAPab  mnAmountForeignAppliedab  Iab  Yab Foreign Payment Amount.
ab  ab  ab  ab Required if mode is foreign.




^

mnAmountForeignDiscountTakenCDSAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CDSAab mnAmountForeignDiscount  Iab  Yab Foreign Discount Amount Taken.
ab  ab  ab  ab Required if currency mode is

ab  ab  ab  ab foreign.


^

mnAmountForeignWriteOffFCHGMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
FCHGab  mnAmountForeignWriteOffab  Iab  Yab Foreign Write Off Amount.
ab  ab  ab  ab Required if currency mode is 

ab  ab  ab  ab foreign.



^

mnAmountForeignChargebackECBFMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ECBFab  mnAmountForeignChargebaab  Iab  Yab Foreign Chargeback Amount.
ab  ab  ab  ab Required if currency mode is 

ab  ab  ab  ab foreign.


^

mnAmountForeignDeductionFDAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
FDAab  mnAmountForeignDeductioab  Iab  Yab Foreign Deduction Amount.
ab  ab  ab  ab Required if currency mode is 

ab  ab  ab  ab foreign.


^

szDiscountAccountIDAIDDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AIDDab  szDiscountAccountIDab  Iab  Yab Discount G/L account short ID 
ab  ab  ab  ab number. 

ab  ab  ab  ab Required if discount taken is not 

ab  ab  ab  ab zero.


^

szWriteOffReasonCodeRSCOcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
RSCOab  szWriteOffReasonCodeab  Iab  Yab Write Off Reason Code (UDC table 
ab  ab  ab  ab value)

ab  ab  ab  ab Required if write-off is not zero.


^

szWriteOffAccountIDAIDWcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AIDWab  szWriteOffAccountIDab  Iab  Yab WriteOff G/L account short ID
ab  ab  ab  ab number.

ab  ab  ab  ab Required if write-off is not zero.


^

szChargebackReasonCodeECBRcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ECBRab  szChargebackReasonCodeab  Iab  Yab Chargeback Reason Code (UDC table 
ab  ab  ab  ab value)Required if chargeback amount 

ab  ab  ab  ab is not zero.


^

szChargebackGLOffsetGLCCcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
GLCCab  szChargebackGLOffsetab  Iab  Yab Chargeback G/L Offset.Required if 
ab  ab  ab  ab chargeback amount is not zero.


^

szChargebackAccountIDAIDCcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AIDCab  szChargebackAccountIDab  Iab  Yab Chargeback G/L account short ID 
ab  ab  ab  ab number. Required if chargeback 

ab  ab  ab  ab amount is not zero.


^

szDeductionReasonCodeDDEXcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DDEXab  szDeductionReasonCodeab  Iab  Yab Deduction Reason Code. (UDC table 
ab  ab  ab  ab value)Required if deduction amount 

ab  ab  ab  ab is not zero.


^

szDeductionAccountIDDAIDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DAIDab  szDeductionAccountIDab  Iab  Yab Deduction G/L account short ID 
ab  ab  ab  ab number. Required if deduction 

ab  ab  ab  ab amount is not zero.


^

szUserTypeInputCodeUTICcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
UTICab  szUserTypeInputCodeab  Iab  Yab The transaction code. 
ab  ab  ab  ab (UDC table 03B/RE)


^

szBusinessUnitMCUcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MCUab  szBusinessUnitab  Iab  Yab Receipts Business Unit. 

^

szRemarkRMKcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
RMKab  szRemarkab  Iab  Yab Receipt Remark field.

^

szProgramIDPIDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PIDab  szProgramIDab  Iab  Yab Application Program calling this 
ab  ab  ab  ab function.


^

mnAmountGrossAGMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AGab  mnAmountGrossab  Iab  Yab Invoice gross amount.

^

mnAmountOpenAAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AAPab  mnAmountOpenab  Iab  Yab Invoice open amount.

^

mnAmountDiscountAvailADSCMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ADSCab  mnAmountDiscountAvailab  Iab  Yab Invoice discount available.

^

szInvoiceTransactionCurrencyCRCDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRCDab  szInvoiceTransactionCurab  Iab  Yab Invoice Currency.
ab  ab  ab  ab Required if currency is on.


^

mnInvoiceExchangeRateCRRMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab  mnInvoiceExchangeRateab  Iab  Yab Invoice Exchange rate.
ab  ab  ab  ab Required for a foreign invoice. 


^

mnAmountForeignGrossACRMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACRab  mnAmountForeignGrossab  Iab  Yab Invoice foreign gross amount. 
ab  ab  ab  ab Required for a foreign invoice.


^

mnAmountForeignOpenFAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
FAPab  mnAmountForeignOpenab  Iab  Yab Invoice foreign open amount. 
ab  ab  ab  ab Required for a foreign invoice. 


^

mnAmountForeignDiscountAvailCDSMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CDSab  mnAmountForeignDiscountab  Iab  Yab Invoice foreign discount available.

^

cChargebackPayStatusPSTcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PSTab  cChargebackPayStatusab  Iab  Yab Chargeback Pay status.
ab  ab  ab  ab Processing Option value.


^

cChargebackDateOptionEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cChargebackDateOptionab  Iab  Yab Chargeback Date Option.
ab  ab  ab  ab Processing Option value.


^

mnAutoWriteOffUnderAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnAutoWriteOffUnderAmoab  Iab  Yab Auto Writeoff Under Amount.
ab  ab  ab  ab Processing Option value.


^

szAutoWriteOffUnderReasonCodeARDRcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ARDRab  szAutoWriteOffUnderReasab  Iab  Yab Auto Writeoff Under Reason Code 
ab  ab  ab  ab Processing Option value.


^

mnAutoWriteOffOverAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnAutoWriteOffOverAmouab  Iab  Yab Auto Writeoff Over Amount
ab  ab  ab  ab Processing Option value.


^

szAutoWriteOffOverReasonCodeARCRcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ARCRab  szAutoWriteOffOverReasoab  Iab  Yab Auto Writeoff Over Reason Code
ab  ab  ab  ab Processing Option value.


^

mnManWriteOffUnderAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnManWriteOffUnderAmntab  Iab  Yab Manual W/O Under Amount
ab  ab  ab  ab Processing Option value.


^

mnManWriteOffOverAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnManWriteOffOverAmntab  Iab  Yab Manual W/O Over Amount
ab  ab  ab  ab Processing Option value.


^

cDiscountAllowOverAvailableEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cDiscountAllowOverAvailab  Iab  Yab Allow Discount Taken to be greater 
ab  ab  ab  ab than Discount Available.

ab  ab  ab  ab Processing Option value.


^

cDiscountAllowOverAppliedEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cDiscountAllowOverAppldab  Iab  Yab Allow Discount Taken to be greater 
ab  ab  ab  ab than Amount Applied.

ab  ab  ab  ab Processing Option value.


^

cEditPayApprovedInvoicesEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cEditPayApprovedInvoicab  Iab  Yab Edit for Approved Invoices
ab  ab  ab  ab Processing Option value.


^

cEditOverpaymentOptionEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cEditOverpaymentOptionab  Iab  Yab Edit for Over Payment
ab  ab  ab  ab Processing Option value.


^

mnReceiptTriangulationRate1CRRMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab mnReceiptsTriangulatio  ab  Iab  Yab Triangulated rate component.
ab  ab  ab  ab Required if foreign and if rate is 

ab  ab  ab  ab triangulated


^

mnReceiptTriangulationRate2CRRMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab mnReceiptsTriangulati   ab  Iab  Yab Triangulated rate component
ab  ab  ab  ab Required if foreign and if rate is 

ab  ab  ab  ab triangulated


^

cReceiptConversionMethodCRCMcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRCMab cReceiptsConversionMeth  Iab  Yab No Inverse rate component
ab  ab  ab  ab Required if foreign & rate is no 

ab  ab  ab  ab Inverse


^

jdReceiptTransactionDateEFTJDEDATEOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EFTab jdReceiptTransacDate    ab  Iab  Yab Effective date of  No Inverse or 
ab  ab  ab  ab Triangulation rate processing.

ab  ab  ab  ab Required if rate is no inverse or 

ab  ab  ab  ab triangulated .


^

cInvoiceCurrencyModeCRRMcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRMab  cInvoiceCurrencyModeab  Iab  Yab Invoice Currency Mode (D/F). 
ab  ab  ab  ab Required if  invoice is a foreign 

ab  ab  ab  ab invoice. 


^

szReference1VR01charOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
VR01ab  szReference1ab  Iab  Yab Customer Reference. 

^

mnTransactionPaymntAmountTAAPMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TAAPab  mnTransactionPaymentAmtab  Iab  Yab Receipt Amount

^

mnTransactionDiscountAmountTADAMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TADAab  mnTransactionDiscountAmab  Iab  Yab Receipt Discount Amount

^

mnTransactionWriteOffAmountTAAJMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TAAJab  mnTransactionWriteOffAmab  Iab  Yab Receipt Write Off Amount

^

mnTransactionChargeBackAmountTCBAMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TCBAab  mnTransactionChargeBackab  Iab  Yab Receipt Chargeback Amount

^

mnTransactionDeductionAmountTDAMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TDAab mnTransactionDeductionA  Iab  Yab Receipt Deduction Amount

^

szTransactionCurrencyCodeTCRCcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TCRCab  szTransactionCurrencyCoab  Iab  Yab Receipt Currency Code

^

mnAlternateCurrencyExchangeRatACRRMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACRRab  mnAlternateCurrencyExchab  Iab  Yab Exchange Rate between the Receipt 
ab  ab  ab  ab and the Invoice Currencies.  


^

mnAlternateCurrencyRateLeg1ACR1MATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACR1ab  mnAltCurrencyRateLeg1ab  Iab  Yab Triangulated rate component of 
ab  ab  ab  ab Alternate Currency exchange rate.


^

mnAlternateCurrencyRateLeg2ACR2MATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACR2ab  mnAltCurrencyRateLeg2ab  Iab  Yab Triangulated rate component of 
ab  ab  ab  ab Alternate Currency exchange rate.


^

cAltCurrencyConversionMethodACRMcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACRMab  cAltCurrencyConversiMthab  Iab  Yab No inverse rate component of 
ab  ab  ab  ab Alternate Currency exchange rate.


^

mnInvTransactionGrossAGMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AGab  mnInvTransactionGrossab  Iab  Yab Invoice Gross amount restated in 
ab  ab  ab  ab the receipt's Currency.


^

mnInvTransactionOpenAAPMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AAPab  mnInvTransactionOpenab  Iab  Yab Invoice Open amount restated in the 
ab  ab  ab  ab Receipt's Currency


^

mnInvTransactionDiscAvailADSCMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ADSCab  mnInvTransactionDiscAvlab  Iab  Yab Invoice's Discount Available amount 
ab  ab  ab  ab restated in the receipts currency. 

^

szPurchaseOrderDocNumberPOcharOPTINPUT

A document that authorizes the delivery of specified merchandise or the rendering of certain services.

szPurchaseOrderDocTypePDCTcharOPTINPUT

A value that is hard-coded in the originating programs and passed to the Accounts Payable system. In Accounts Receivable, the document 
type on the purchase order issued by the customer can be entered directly into the Accounts Receivable Ledger (F03B11)

szPurchaseOrderDocCompanyPKCOcharOPTINPUT

For purchase orders, a code that differentiates a record from another with the same document number, document type, and G/L date.  If you 
are using the Next Numbers by Company/Fiscal Year feature of the software, the Next Numbers program (X0010) uses the document 
company to retrieve the next number. If two or more original documents have the same document number and type, you can use the document 
company to locate the correct record.

szBusinessUnit2MCU2charOPTINPUT

An accounting entity, such as a profit center, department, warehouse location, job, project, workcenter, and so on, required for management 
reporting.

szUnitNumberUNITcharOPTINPUT

The number that identifies the actual space within a building that is or can be leased, such as an apartment, office, retail space, parking 
space, and so on.

szGainAccountIDAIDTcharOPTINPUT

A unique identification number that contains account information for the foreign currency gain or loss account that the system uses when you 
apply a foreign currency receipt to an invoice. 

szLossAccountIDAIDTcharOPTINPUT

A unique identification number that contains account information for the foreign currency gain or loss account that the system uses when you 
apply a foreign currency receipt to an invoice. 

szAltCurrGainAccountIDAIDAcharOPTINPUT

A unique identification number that contains account information for the alternate currency gain or loss account that the system uses when it 
applies an alternate currency receipt to an invoice. 

szAltCurrLossAccountIDAIDAcharOPTINPUT

A unique identification number that contains account information for the alternate currency gain or loss account that the system uses when it 
applies an alternate currency receipt to an invoice. 

jdInvoiceExchangeRateDateERDJJDEDATEOPTNONE

The date that the system uses to retrieve the exchange rate from the Currency Exchange Rates table (F0015). 

szDiscountReasonCodeDRCOcharOPTNONE

A code that specifies the reason that a discount is given.

Related Functions

B0000027 CurrencyConvForAndDom
B03B0012 F03B14 Apply Receipt to Invoice
B03B0174 Get Invoice Exchange Rate For Euro

Related Tables

F03B14 Receipts Detail
EditReceiptDetail

EditReceiptDetail

F03B14 Maintain Receipt Detail

Major Business Rule

Object Name: B03B0149

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function is used to edit the receipt detail for Standard Receipt Entry (P03B102) and Draft Entry 
(P03B602). If no errors are returned, the transaction is valid. The function does not perform any 

database operations. Call the Commit Receipt Detail (B03B0149) function to finalize the transaction.


Setup Notes and Prerequisites

None.


Special Logic

None.



Technical Specification



Parameters

Item DescriptionI/OReq?Notes

PYIDmnPaymentIDIYPayment ID of Receipt Header.
RC5mnFileLineIdentifierIYLine Number of the transaction within a Payment ID 

group. Required for updates, ignored on adds.

CKNUszReceiptNumberIY

DOCmnDocumentNumberIYDocument Number of invoice being applied. Required if 

transaction is an Invoice Match.

DCTszDocumentTypeIYDocument Type of invoice being applied. Required if 

transaction is an Invoice Match.

KCOszDocumentCompanyIYDocument Company of invoice being applied. Required 

if transaction is an Invoice Match.

SFXszDocumentPayItemIYPay Item of invoice being applied. Required if 

transaction is an Invoice Match.

AN8mnCustomerNumberIY

DGJjdDateGLIY

COszCompanyIY

ICUTszBatchTypeIY

ICUmnBatchNumberIY

DICJjdDateBatchIY

PAAPmnAmountAppliedIYPayment amount. Required if currency is off or 

currency mode is domestic.

ADSAmnAmountDiscountTakenIYDiscount Taken. Required if currency is off or 

currency mode is domestic.

AAAJmnAmountWriteOffIYWrite-off Amount. Required if currency is off or 

currency mode is domestic.

ECBAmnAmountChargebackIYChargeback Amount. Required if currency is off or 

currency mode is domestic.

DDAmnAmountDeductionIYDeduction Amount. Required if currency is off or 

currency mode is domestic.

BCRCszBaseCurrencyIYCurrency of the company. Required if currency is on.

CRRMcCurrencyModeIYCurrency mode of the receipt (D/F). Required if 

currency is on.

CRCDszTransactionCurrencyIYReceipt currency. Required if currency is on.

CRRmnExchangeRateIYExchange rate of the receipt. Required if currency is 

on and the mode is foreign.

PFAPmnAmountForeignAppliedIYForeign Payment Amount. Required if mode is foreign.

CDSAmnAmountForeignDiscountTakenIYForeign Discount Amount Taken. Required if currency 

mode is foreign.

FCHGmnAmountForeignWriteOffIYForeign Write-off Amount. Required if currency mode 

is foreign.

ECBFmnAmountForeignChargebackIYForeign Chargeback Amount. Required if currency mode 

is foreign.

FDAmnAmountForeignDeductionIYForeign Deduction Amount. Required if currency mode 

is foreign.

AIDDszDiscountAccountIDIYDiscount short account ID. Required if discount taken 

is not zero.

RSCOszWriteOffReasonCodeIYRequired if write-off is not zero.

AIDWszWriteOffAccountIDIYWrite-off short account ID. Required if write-off is 

not zero.

ECBRszChargebackReasonCodeIYRequired if chargeback amount is not zero.

GLCCszChargebackGLOffsetIYChargeback G/L Offset. Required if chargeback amount 

is not zero.

AIDCszChargebackAccountIDIYChargeback short account ID. Required if chargeback 

amount is not zero.

DDEXszDeductionReasonCodeIYRequired if deduction amount is not zero.

DAIDszDeductionAccountIDIYDeduction short account ID. Required if deduction 

amount is not zero.

UTICszUserTypeInputCodeIYThe transaction code. (UDC table 03B/RE)

MCUszBusinessUnitIY

RMKszRemarkIY

PIDszProgramIDIYProgram calling this function.

AGmnAmountGrossIYInvoice gross amount.

AAPmnAmountOpenIYInvoice open amount.

ADSCmnAmountDiscountAvailIYInvoice discount available.

CRCDszInvoiceTransactionCurrencyIYInvoice currency. Required if currency is on.

CRRmnInvoiceExchangeRateIYInvoice exchange rate. Required for a foreign 

invoice.

ACRmnAmountForeignGrossIYInvoice foreign gross amount. Required for a foreign 

invoice.

FAPmnAmountForeignOpenIYInvoice foreign open amount. Required for a foreign 

invoice.

CDSmnAmountForeignDiscountAvailIYInvoice foreign discount available.

PSTcChargebackPayStatusIYProcessing Option value.

EV01cChargebackDateOptionIYProcessing Option value.

MATH01mnAutoWriteOffUnderAmountIYProcessing Option value.

ARDRszAutoWriteOffUnderReasonCodIYProcessing Option value.

MATH01mnAutoWriteOffOverAmountIYProcessing Option value.

ARCRszAutoWriteOffOverReasonCodeIYProcessing Option value.

MATH01mnManWriteOffUnderAmountIYProcessing Option value.

MATH01mnManWriteOffOverAmountIYProcessing Option value.

EV01cDiscountAllowOverAvailableIYAllow Discount Taken to be greater than Discount 

Available. Processing Option value.

EV01cDiscountAllowOverAppliedIYAllow Discount Taken to be greater than Amount 

Applied. Processing Option value.

EV01cEditPayApprovedInvoicesIYProcessing Option value.

EV01cEditOverpaymentOptionIYProcessing Option value.

CRRmnReceiptTriangulationRate1IYTriangulated rate component. Required if foreign and 

if rate is triangulated.

CRRmnReceiptTriangulationRate2IYTriangulated rate component. Required if foreign and 

if rate is triangulated.

CRCMcReceiptConversionMethodIYNo inverse rate component. Required if foreign and 

rate is no inverse.

EFTjdReceiptTransactionDateIYEffective date of no inverse or triangulation rate. 

Required if rate is no inverse or triangulated.

CRRMcInvoiceCurrencyModeIYInvoice Currency Mode (D/F). Required if invoice is a 

foreign invoice.

DIVJjdDateInvoiceJIYInvoice Date.

DGJjdInvoiceGLDate IYInvoice G/L Date.

VR01szReference1IYCustomer Reference.

TAAPmnTransactionPaymntAmountIYReceipt Amount.

TADAmnTransactionDiscountAmountIYReceipt Discount Amount.

TAAJmnTransactionWriteOffAmountIYReceipt Write-off Amount.

TCBAmnTransactionChargeBackAmounIYReceipt Chargeback Amount.

TDAmnTransactionDeductionAmountIYReceipt Deduction Amount.

TCRCszTransactionCurrencyCodeIYReceipt Currency Code.

ACRRmnAlternateCurrencyExchangeRIYExchange Rate between the receipt and invoice 

currencies.

ACR1mnAlternateCurrencyRateLeg1IYTriangulated rate component of alternate currency 

exchange rate.

ACR2mnAlternateCurrencyRateLeg2IYTriangulated rate component of alternate currency 

exchange rate.

ACRMcAltCurrencyConversionMethodIYNo inverse rate component of alternate currency 

exchange rate.

AGmnInvTransactionGrossIYInvoice gross amount restated in the receipt 

currency.

AAPmnInvTransactionOpenIYInvoice open amount restated in the receipt currency.

ADSCmnInvTransactionDiscAvailIYInvoice discount available restated in the receipt 

currency.

POszPurchaseOrderDocNumberIN

PDCTszPurchaseOrderDocTypeIN

PKCOszPurchaseOrderDocCompanyIN

MCU2szBusinessUnit2IN

UNITszUnitNumberIN

AIDTszGainAccountIDINPass if creating a foreign or alternate currency 

receipt.

AIDTszLossAccountIDINPass if creating a foreign or alternate currency 

receipt.

AIDAszAltCurrGainAccountIDINPass if creating an alternate currency receipt.

AIDAszAltCurrLossAccountIDINPass if creating an alternate currency receipt.


Related Tables

None.


Related Functions

None.


Processing

Retrieve currency constant.

If the Type Input code is equal to blank,

If any amount field is not zero,

Set error.

Else,

If this transaction is a standalone entry or is paying a non-zero

amount invoice,

If all amount fields are zero,

Set error.

If this transaction is a standalone entry,

If customer number is zero,

Set error.

If  company is blank,

Set error.

If business unit is blank,

Set error.

Else,

If the processing option is set and the invoice has been

overpaid,

Set warning or error based on processing option value.

If the processing option is set and the discount taken is greater

than available,

Set error.

If the processing option is set and the discount taken is greater

than the amount applied,

Set error.

If the write-off amount is greater than the processing option manual

write-off limit,

Set error.

If discount taken is not zero,

If discount account ID is blank,

Set error.

If write-off amount is not zero.

If write-off account ID or reason code is blank,

Set error.

If chargeback amount is not zero,

If chargeback account ID or reason code is blank,

Set error.

If deduction amount is not zero,

If deduction account ID or reason code is blank,

Set error.




Data Structure

D03B0149 - F03B14 Maintain Receipt Detail

Parameters
Item DescriptionI/OReq?Notes

PYIDmnPaymentIDIYPayment ID of Receipt Header.

RC5mnFileLineIdentifierIYLine Number of the

transaction within a Payment 

ID group. Required for 

Updates,Ignored on Adds. 

CKNUszReceiptNumberIYCustomers check Number.

DOCmnDocumentNumberIYDocument Number of Invoice 

being applied. Required if 

transaction is an Invoice 

Match.

DCTszDocumentTypeIYDocument Type of Invoice being

applied.

Required if transaction is an 

Invoice Match.

KCOszDocumentCompanyIYDocument Key Company of 

Invoice being applied.

Required if transaction is an 

Invoice Match.

SFXszDocumentPayItemIYPay Item of Invoice being 

applied. Required if 

transaction is an Invoice 

Match.

AN8mnCustomerNumberIYCustomer Number.

DGJjdDateGLIYReceipt G/L Date.

COszCompanyIYCompany

ICUTszBatchTypeIYReceipt Batch Type

ICUmnBatchNumberIYReceipt Batch Number

DICJjdDateBatchIYReceipt Batch Date

PAAPmnAmountAppliedIYPayment amount . Required if 

currency is off or currency 

mode is domestic.

ADSAmnAmountDiscountTakenIYDiscount Taken. Required if 

currency is off or currency 

mode is domestic.

AAAJmnAmountWriteOffIYWrite Off Amount. Required if 

currency is off or currency 

mode is domestic.

ECBAmnAmountChargebackIYChargeback Amount. Required 

if currency is off or 

currency mode is domestic.

DDAmnAmountDeductionIYDeduction Amount.Required if 

currency is off or currency 

mode is domestic.

BCRCszBaseCurrencyIYCurrency of the receipt's 

base company. 

Required if currency is on. 

CRRMcCurrencyModeIYCurrency mode of the receipt (D/F). 

Required if currency is on. 

CRCDszTransactionCurrencyIYReceipt currency. 

Required if currency is on.

CRRmnExchangeRateIYExchange rate of the receipt.

Required if currency is on &

the mode is foreign.  

PFAPmnAmountForeignAppliedIYForeign Payment Amount.

Required if mode is foreign.

CDSAmnAmountForeignDiscount IYForeign Discount Amount Taken.

Required if currency mode is

foreign.

FCHGmnAmountForeignWriteOffIYForeign Write Off Amount.

Required if currency mode is 

foreign.

ECBFmnAmountForeignChargebaIYForeign Chargeback Amount.

Required if currency mode is 

foreign.

FDAmnAmountForeignDeductioIYForeign Deduction Amount.

Required if currency mode is 

foreign.

AIDDszDiscountAccountIDIYDiscount G/L account short ID 

number. 

Required if discount taken is not 

zero.

RSCOszWriteOffReasonCodeIYWrite Off Reason Code (UDC table 

value)

Required if write-off is not zero.

AIDWszWriteOffAccountIDIYWriteOff G/L account short ID

number.

Required if write-off is not zero.

ECBRszChargebackReasonCodeIYChargeback Reason Code (UDC table 

value)Required if chargeback amount 

is not zero.

GLCCszChargebackGLOffsetIYChargeback G/L Offset.Required if 

chargeback amount is not zero.

AIDCszChargebackAccountIDIYChargeback G/L account short ID 

number. Required if chargeback 

amount is not zero.

DDEXszDeductionReasonCodeIYDeduction Reason Code. (UDC table 

value)Required if deduction amount 

is not zero.

DAIDszDeductionAccountIDIYDeduction G/L account short ID 

number. Required if deduction 

amount is not zero.

UTICszUserTypeInputCodeIYThe transaction code. 

(UDC table 03B/RE)

MCUszBusinessUnitIYReceipts Business Unit. 

RMKszRemarkIYReceipt Remark field.

PIDszProgramIDIYApplication Program calling this 

function.

AGmnAmountGrossIYInvoice gross amount.

AAPmnAmountOpenIYInvoice open amount.

ADSCmnAmountDiscountAvailIYInvoice discount available.

CRCDszInvoiceTransactionCurIYInvoice Currency.

Required if currency is on.

CRRmnInvoiceExchangeRateIYInvoice Exchange rate.

Required for a foreign invoice. 

ACRmnAmountForeignGrossIYInvoice foreign gross amount. 

Required for a foreign invoice.

FAPmnAmountForeignOpenIYInvoice foreign open amount. 

Required for a foreign invoice. 

CDSmnAmountForeignDiscountIYInvoice foreign discount available.

PSTcChargebackPayStatusIYChargeback Pay status.

Processing Option value.

EV01cChargebackDateOptionIYChargeback Date Option.

Processing Option value.

MATH01 mnAutoWriteOffUnderAmoIYAuto Writeoff Under Amount.

Processing Option value.

ARDRszAutoWriteOffUnderReasIYAuto Writeoff Under Reason Code 

Processing Option value.

MATH01 mnAutoWriteOffOverAmouIYAuto Writeoff Over Amount

Processing Option value.

ARCRszAutoWriteOffOverReasoIYAuto Writeoff Over Reason Code

Processing Option value.

MATH01 mnManWriteOffUnderAmntIYManual W/O Under Amount

Processing Option value.

MATH01 mnManWriteOffOverAmntIYManual W/O Over Amount

Processing Option value.

EV01cDiscountAllowOverAvailIYAllow Discount Taken to be greater 

than Discount Available.

Processing Option value.

EV01cDiscountAllowOverAppldIYAllow Discount Taken to be greater 

than Amount Applied.

Processing Option value.

EV01cEditPayApprovedInvoicIYEdit for Approved Invoices

Processing Option value.

EV01cEditOverpaymentOptionIYEdit for Over Payment

Processing Option value.

CRRmnReceiptsTriangulatio IYTriangulated rate component.

Required if foreign and if rate is 

triangulated

CRRmnReceiptsTriangulati  IYTriangulated rate component

Required if foreign and if rate is 

triangulated

CRCMcReceiptsConversionMeth IYNo Inverse rate component

Required if foreign & rate is no 

Inverse

EFTjdReceiptTransacDate   IYEffective date of  No Inverse or 

Triangulation rate processing.

Required if rate is no inverse or 

triangulated .

CRRMcInvoiceCurrencyModeIYInvoice Currency Mode (D/F). 

Required if  invoice is a foreign 

invoice. 

DIVJjdDateInvoiceJIYInvoice Date. 

DGJjdInvoiceGLDate IYInvoice G/L Date

VR01szReference1IYCustomer Reference. 

TAAPmnTransactionPaymentAmtIYReceipt Amount

TADAmnTransactionDiscountAmIYReceipt Discount Amount

TAAJmnTransactionWriteOffAmIYReceipt Write Off Amount

TCBAmnTransactionChargeBackIYReceipt Chargeback Amount

TDAmnTransactionDeductionA IYReceipt Deduction Amount

TCRCszTransactionCurrencyCoIYReceipt Currency Code

ACRRmnAlternateCurrencyExchIYExchange Rate between the Receipt 

and the Invoice Currencies.  

ACR1mnAltCurrencyRateLeg1IYTriangulated rate component of 

Alternate Currency exchange rate.

ACR2mnAltCurrencyRateLeg2IYTriangulated rate component of 

Alternate Currency exchange rate.

ACRMcAltCurrencyConversiMthIYNo inverse rate component of 

Alternate Currency exchange rate.

AGmnInvTransactionGrossIYInvoice Gross amount restated in 

the receipt's Currency.

AAPmnInvTransactionOpenIYInvoice Open amount restated in the 

Receipt's Currency

ADSCmnInvTransactionDiscAvlIYInvoice's Discount Available amount 

restated in the receipts currency. 




^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPaymentIDPYIDMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes

PYIDab  mnPaymentIDab  Iab  Yab Payment ID of Receipt Header.

^

mnFileLineIdentifierRC5MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes

RC5ab  mnFileLineIdentifierab  Iab  Yab Line Number of the
ab  ab  ab  ab transaction within a Payment 

ab  ab  ab  ab ID group. Required for 

ab  ab  ab  ab Updates,Ignored on Adds. 


^

szReceiptNumberCKNUcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CKNUab  szReceiptNumberab  Iab  Yab Customers check Number.

^

mnDocumentNumberDOCMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DOCab  mnDocumentNumberab  Iab  Yab Document Number of Invoice 
ab  ab  ab  ab being applied. Required if 

ab  ab  ab  ab transaction is an Invoice 

ab  ab  ab  ab Match.


^

szDocumentTypeDCTcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DCTab  szDocumentTypeab  Iab  Yab Document Type of Invoice being
ab  ab  ab  ab applied.

ab  ab  ab  ab Required if transaction is an 

ab  ab  ab  ab Invoice Match.


^

szDocumentCompanyKCOcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
KCOab  szDocumentCompanyab  Iab  Yab Document Key Company of 
ab  ab  ab  ab Invoice being applied.

ab  ab  ab  ab Required if transaction is an 

ab  ab  ab  ab Invoice Match.


^

szDocumentPayItemSFXcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
SFXab  szDocumentPayItemab  Iab  Yab Pay Item of Invoice being 
ab  ab  ab  ab applied. Required if 

ab  ab  ab  ab transaction is an Invoice 

ab  ab  ab  ab Match.


^

mnCustomerNumberAN8MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AN8ab  mnCustomerNumberab  Iab  Yab Customer Number.

^

jdDateGLDGJJDEDATENONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DGJab  jdDateGLab  Iab  Yab Receipt G/L Date.

^

szCompanyCOcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
COab  szCompanyab  Iab  Yab Company

^

szBatchTypeICUTcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ICUTab  szBatchTypeab  Iab  Yab Receipt Batch Type

^

mnBatchNumberICUMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ICUab  mnBatchNumberab  Iab  Yab Receipt Batch Number

^

jdDateBatchDICJJDEDATENONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DICJab  jdDateBatchab  Iab  Yab Receipt Batch Date

^

mnAmountAppliedPAAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PAAPab  mnAmountAppliedab  Iab  Yab Payment amount . Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.


^

mnAmountDiscountTakenADSAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ADSAab  mnAmountDiscountTakenab  Iab  Yab Discount Taken. Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.


^

mnAmountWriteOffAAAJMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AAAJab  mnAmountWriteOffab  Iab  Yab Write Off Amount. Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.


^

mnAmountChargebackECBAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ECBAab  mnAmountChargebackab  Iab  Yab Chargeback Amount. Required 
ab  ab  ab  ab if currency is off or 

ab  ab  ab  ab currency mode is domestic.


^

mnAmountDeductionDDAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DDAab  mnAmountDeductionab  Iab  Yab Deduction Amount.Required if 
ab  ab  ab  ab currency is off or currency 

ab  ab  ab  ab mode is domestic.

 
^

szBaseCurrencyBCRCcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
BCRCab  szBaseCurrencyab  Iab  Yab Currency of the receipt's 
ab  ab  ab  ab base company. 

ab  ab  ab  ab Required if currency is on. 

   
^

cCurrencyModeCRRMcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRMab  cCurrencyModeab  Iab  Yab Currency mode of the receipt (D/F). 
ab  ab  ab  ab Required if currency is on. 


^

szTransactionCurrencyCRCDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRCDab  szTransactionCurrencyab  Iab  Yab Receipt currency. 
ab  ab  ab  ab Required if currency is on.


^

mnExchangeRateCRRMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab  mnExchangeRateab  Iab  Yab Exchange rate of the receipt.
ab  ab  ab  ab Required if currency is on &

ab  ab  ab  ab the mode is foreign.  


^

mnAmountForeignAppliedPFAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PFAPab  mnAmountForeignAppliedab  Iab  Yab Foreign Payment Amount.
ab  ab  ab  ab Required if mode is foreign.




^

mnAmountForeignDiscountTakenCDSAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CDSAab mnAmountForeignDiscount  Iab  Yab Foreign Discount Amount Taken.
ab  ab  ab  ab Required if currency mode is

ab  ab  ab  ab foreign.


^

mnAmountForeignWriteOffFCHGMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
FCHGab  mnAmountForeignWriteOffab  Iab  Yab Foreign Write Off Amount.
ab  ab  ab  ab Required if currency mode is 

ab  ab  ab  ab foreign.



^

mnAmountForeignChargebackECBFMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ECBFab  mnAmountForeignChargebaab  Iab  Yab Foreign Chargeback Amount.
ab  ab  ab  ab Required if currency mode is 

ab  ab  ab  ab foreign.


^

mnAmountForeignDeductionFDAMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
FDAab  mnAmountForeignDeductioab  Iab  Yab Foreign Deduction Amount.
ab  ab  ab  ab Required if currency mode is 

ab  ab  ab  ab foreign.


^

szDiscountAccountIDAIDDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AIDDab  szDiscountAccountIDab  Iab  Yab Discount G/L account short ID 
ab  ab  ab  ab number. 

ab  ab  ab  ab Required if discount taken is not 

ab  ab  ab  ab zero.


^

szWriteOffReasonCodeRSCOcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
RSCOab  szWriteOffReasonCodeab  Iab  Yab Write Off Reason Code (UDC table 
ab  ab  ab  ab value)

ab  ab  ab  ab Required if write-off is not zero.


^

szWriteOffAccountIDAIDWcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AIDWab  szWriteOffAccountIDab  Iab  Yab WriteOff G/L account short ID
ab  ab  ab  ab number.

ab  ab  ab  ab Required if write-off is not zero.


^

szChargebackReasonCodeECBRcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ECBRab  szChargebackReasonCodeab  Iab  Yab Chargeback Reason Code (UDC table 
ab  ab  ab  ab value)Required if chargeback amount 

ab  ab  ab  ab is not zero.


^

szChargebackGLOffsetGLCCcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
GLCCab  szChargebackGLOffsetab  Iab  Yab Chargeback G/L Offset.Required if 
ab  ab  ab  ab chargeback amount is not zero.


^

szChargebackAccountIDAIDCcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AIDCab  szChargebackAccountIDab  Iab  Yab Chargeback G/L account short ID 
ab  ab  ab  ab number. Required if chargeback 

ab  ab  ab  ab amount is not zero.


^

szDeductionReasonCodeDDEXcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DDEXab  szDeductionReasonCodeab  Iab  Yab Deduction Reason Code. (UDC table 
ab  ab  ab  ab value)Required if deduction amount 

ab  ab  ab  ab is not zero.


^

szDeductionAccountIDDAIDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
DAIDab  szDeductionAccountIDab  Iab  Yab Deduction G/L account short ID 
ab  ab  ab  ab number. Required if deduction 

ab  ab  ab  ab amount is not zero.


^

szUserTypeInputCodeUTICcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
UTICab  szUserTypeInputCodeab  Iab  Yab The transaction code. 
ab  ab  ab  ab (UDC table 03B/RE)


^

szBusinessUnitMCUcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MCUab  szBusinessUnitab  Iab  Yab Receipts Business Unit. 

^

szRemarkRMKcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
RMKab  szRemarkab  Iab  Yab Receipt Remark field.

^

szProgramIDPIDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PIDab  szProgramIDab  Iab  Yab Application Program calling this 
ab  ab  ab  ab function.


^

mnAmountGrossAGMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AGab  mnAmountGrossab  Iab  Yab Invoice gross amount.

^

mnAmountOpenAAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AAPab  mnAmountOpenab  Iab  Yab Invoice open amount.

^

mnAmountDiscountAvailADSCMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ADSCab  mnAmountDiscountAvailab  Iab  Yab Invoice discount available.

^

szInvoiceTransactionCurrencyCRCDcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRCDab  szInvoiceTransactionCurab  Iab  Yab Invoice Currency.
ab  ab  ab  ab Required if currency is on.


^

mnInvoiceExchangeRateCRRMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab  mnInvoiceExchangeRateab  Iab  Yab Invoice Exchange rate.
ab  ab  ab  ab Required for a foreign invoice. 


^

mnAmountForeignGrossACRMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACRab  mnAmountForeignGrossab  Iab  Yab Invoice foreign gross amount. 
ab  ab  ab  ab Required for a foreign invoice.


^

mnAmountForeignOpenFAPMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
FAPab  mnAmountForeignOpenab  Iab  Yab Invoice foreign open amount. 
ab  ab  ab  ab Required for a foreign invoice. 


^

mnAmountForeignDiscountAvailCDSMATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CDSab  mnAmountForeignDiscountab  Iab  Yab Invoice foreign discount available.

^

cChargebackPayStatusPSTcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
PSTab  cChargebackPayStatusab  Iab  Yab Chargeback Pay status.
ab  ab  ab  ab Processing Option value.


^

cChargebackDateOptionEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cChargebackDateOptionab  Iab  Yab Chargeback Date Option.
ab  ab  ab  ab Processing Option value.


^

mnAutoWriteOffUnderAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnAutoWriteOffUnderAmoab  Iab  Yab Auto Writeoff Under Amount.
ab  ab  ab  ab Processing Option value.


^

szAutoWriteOffUnderReasonCodeARDRcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ARDRab  szAutoWriteOffUnderReasab  Iab  Yab Auto Writeoff Under Reason Code 
ab  ab  ab  ab Processing Option value.


^

mnAutoWriteOffOverAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnAutoWriteOffOverAmouab  Iab  Yab Auto Writeoff Over Amount
ab  ab  ab  ab Processing Option value.


^

szAutoWriteOffOverReasonCodeARCRcharNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ARCRab  szAutoWriteOffOverReasoab  Iab  Yab Auto Writeoff Over Reason Code
ab  ab  ab  ab Processing Option value.


^

mnManWriteOffUnderAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnManWriteOffUnderAmntab  Iab  Yab Manual W/O Under Amount
ab  ab  ab  ab Processing Option value.


^

mnManWriteOffOverAmountMATH01MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
MATH01  mnManWriteOffOverAmntab  Iab  Yab Manual W/O Over Amount
ab  ab  ab  ab Processing Option value.


^

cDiscountAllowOverAvailableEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cDiscountAllowOverAvailab  Iab  Yab Allow Discount Taken to be greater 
ab  ab  ab  ab than Discount Available.

ab  ab  ab  ab Processing Option value.


^

cDiscountAllowOverAppliedEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cDiscountAllowOverAppldab  Iab  Yab Allow Discount Taken to be greater 
ab  ab  ab  ab than Amount Applied.

ab  ab  ab  ab Processing Option value.


^

cEditPayApprovedInvoicesEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cEditPayApprovedInvoicab  Iab  Yab Edit for Approved Invoices
ab  ab  ab  ab Processing Option value.


^

cEditOverpaymentOptionEV01charNONENONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EV01ab  cEditOverpaymentOptionab  Iab  Yab Edit for Over Payment
ab  ab  ab  ab Processing Option value.


^

mnReceiptTriangulationRate1CRRMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab mnReceiptsTriangulatio  ab  Iab  Yab Triangulated rate component.
ab  ab  ab  ab Required if foreign and if rate is 

ab  ab  ab  ab triangulated


^

mnReceiptTriangulationRate2CRRMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRab mnReceiptsTriangulati   ab  Iab  Yab Triangulated rate component
ab  ab  ab  ab Required if foreign and if rate is 

ab  ab  ab  ab triangulated


^

cReceiptConversionMethodCRCMcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRCMab cReceiptsConversionMeth  Iab  Yab No Inverse rate component
ab  ab  ab  ab Required if foreign & rate is no 

ab  ab  ab  ab Inverse


^

jdReceiptTransactionDateEFTJDEDATEOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
EFTab jdReceiptTransacDate    ab  Iab  Yab Effective date of  No Inverse or 
ab  ab  ab  ab Triangulation rate processing.

ab  ab  ab  ab Required if rate is no inverse or 

ab  ab  ab  ab triangulated .


^

cInvoiceCurrencyModeCRRMcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
CRRMab  cInvoiceCurrencyModeab  Iab  Yab Invoice Currency Mode (D/F). 
ab  ab  ab  ab Required if  invoice is a foreign 

ab  ab  ab  ab invoice. 


^

szReference1VR01charOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
VR01ab  szReference1ab  Iab  Yab Customer Reference. 

^

mnTransactionPaymntAmountTAAPMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TAAPab  mnTransactionPaymentAmtab  Iab  Yab Receipt Amount

^

mnTransactionDiscountAmountTADAMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TADAab  mnTransactionDiscountAmab  Iab  Yab Receipt Discount Amount

^

mnTransactionWriteOffAmountTAAJMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TAAJab  mnTransactionWriteOffAmab  Iab  Yab Receipt Write Off Amount

^

mnTransactionChargeBackAmountTCBAMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TCBAab  mnTransactionChargeBackab  Iab  Yab Receipt Chargeback Amount

^

mnTransactionDeductionAmountTDAMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TDAab mnTransactionDeductionA  Iab  Yab Receipt Deduction Amount

^

szTransactionCurrencyCodeTCRCcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
TCRCab  szTransactionCurrencyCoab  Iab  Yab Receipt Currency Code

^

mnAlternateCurrencyExchangeRatACRRMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACRRab  mnAlternateCurrencyExchab  Iab  Yab Exchange Rate between the Receipt 
ab  ab  ab  ab and the Invoice Currencies.  


^

mnAlternateCurrencyRateLeg1ACR1MATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACR1ab  mnAltCurrencyRateLeg1ab  Iab  Yab Triangulated rate component of 
ab  ab  ab  ab Alternate Currency exchange rate.


^

mnAlternateCurrencyRateLeg2ACR2MATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACR2ab  mnAltCurrencyRateLeg2ab  Iab  Yab Triangulated rate component of 
ab  ab  ab  ab Alternate Currency exchange rate.


^

cAltCurrencyConversionMethodACRMcharOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ACRMab  cAltCurrencyConversiMthab  Iab  Yab No inverse rate component of 
ab  ab  ab  ab Alternate Currency exchange rate.


^

mnInvTransactionGrossAGMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AGab  mnInvTransactionGrossab  Iab  Yab Invoice Gross amount restated in 
ab  ab  ab  ab the receipt's Currency.


^

mnInvTransactionOpenAAPMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
AAPab  mnInvTransactionOpenab  Iab  Yab Invoice Open amount restated in the 
ab  ab  ab  ab Receipt's Currency


^

mnInvTransactionDiscAvailADSCMATH_NUMERICOPTNONE

Item  ab  Descriptionab  I/Oab  Req?ab Notes
ADSCab  mnInvTransactionDiscAvlab  Iab  Yab Invoice's Discount Available amount 
ab  ab  ab  ab restated in the receipts currency. 

^

szPurchaseOrderDocNumberPOcharOPTINPUT

A document that authorizes the delivery of specified merchandise or the rendering of certain services.

szPurchaseOrderDocTypePDCTcharOPTINPUT

A value that is hard-coded in the originating programs and passed to the Accounts Payable system. In Accounts Receivable, the document 
type on the purchase order issued by the customer can be entered directly into the Accounts Receivable Ledger (F03B11)

szPurchaseOrderDocCompanyPKCOcharOPTINPUT

For purchase orders, a code that differentiates a record from another with the same document number, document type, and G/L date.  If you 
are using the Next Numbers by Company/Fiscal Year feature of the software, the Next Numbers program (X0010) uses the document 
company to retrieve the next number. If two or more original documents have the same document number and type, you can use the document 
company to locate the correct record.

szBusinessUnit2MCU2charOPTINPUT

An accounting entity, such as a profit center, department, warehouse location, job, project, workcenter, and so on, required for management 
reporting.

szUnitNumberUNITcharOPTINPUT

The number that identifies the actual space within a building that is or can be leased, such as an apartment, office, retail space, parking 
space, and so on.

szGainAccountIDAIDTcharOPTINPUT

A unique identification number that contains account information for the foreign currency gain or loss account that the system uses when you 
apply a foreign currency receipt to an invoice. 

szLossAccountIDAIDTcharOPTINPUT

A unique identification number that contains account information for the foreign currency gain or loss account that the system uses when you 
apply a foreign currency receipt to an invoice. 

szAltCurrGainAccountIDAIDAcharOPTINPUT

A unique identification number that contains account information for the alternate currency gain or loss account that the system uses when it 
applies an alternate currency receipt to an invoice. 

szAltCurrLossAccountIDAIDAcharOPTINPUT

A unique identification number that contains account information for the alternate currency gain or loss account that the system uses when it 
applies an alternate currency receipt to an invoice. 

jdInvoiceExchangeRateDateERDJJDEDATEOPTNONE

The date that the system uses to retrieve the exchange rate from the Currency Exchange Rates table (F0015). 

szDiscountReasonCodeDRCOcharOPTNONE

A code that specifies the reason that a discount is given.

Related Functions

B0000027 CurrencyConvForAndDom
B03B0012 F03B14 Apply Receipt to Invoice
B03B0174 Get Invoice Exchange Rate For Euro

Related Tables

F03B14 Receipts Detail
family:Courier New;font-size:10pt">