Functional Description
Purpose
This function checks for the existence of the payment term in the F0014 - Payment Terms Master Table.
Setup Notes and Prerequisites
None
Special Logic
None
Technical Specification
Parameters
ItemDescriptionI/OReq?Notes
BHVRERRIDidBhvrErrorIdNANId associated with an
error
BHVREDTSTszBehaviorEditStringI/OYBehavior edit String.
szPaymentTermsCode
Date Rule.
PTCszPaymentTermsCodeIYPayment terms code to
be located in thePayment terms table.
Related Tables
F0014
Related Functions
None
Processing
If szPaymenttermscode01 is null then
Return ER_ERROR
Else
If szBehaviorEditString is null
Return ER_ERROR
else
If F0014 did not open
szPaymentTermsCode
If record exists
IdReturnValue = ER_SUCCESS
^
DXX00010 - Is Payment Term Code In Payment Terms Table
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
idBhvrErrorId | BHVRERRID | ID | NONE | NONE |
A long integer representing an error that has occurred in a behavior. | ||||
szBehaviorEditString | BHVREDTST | char | NONE | NONE |
Character representation of the data in a control on a form. | ||||
szDescription001 | DL01 | char | NONE | NONE |
A user defined name or remark. | ||||
szPaymenttermscode01 | PTC | char | NONE | NONE |
A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date.
|
None |
F0014 Payment Terms |