CalcSchedInvoiceDate_Tests

Calculate Scheduled Invoice Date From Test Dates

Minor Business Rule

Object Name: N4201640

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D4201640 - Calculate Scheduled Invoice Date From Test Date

Parameter NameData ItemData TypeReq/OptI/O/Both
szInvoiceCycleCodeINCYcharOPTNONE

 The invoice cycle field is used in Cycle Billing to determine the method of invoicing that is used.  For example, daily, weekly, monthly, etc....

cCalculationRuleCLCDcharOPTNONE

A code that defines the type of calculation the system uses to compute the Scheduled Invoice Date. This is a user defined code field.

mnNumberofDaysIncrementNODIMATH_NUMERICOPTNONE

The number of days the system adds to the Based On Date. For example, you might enter several days to allow for time between the order 
date and the delivery date. The system adds the number in this field to the Based On Date when the Cycle Billing program calculates the 
Scheduled Invoice Date

mnDayofWeekADOWMATH_NUMERICOPTNONE

A one digit code that is used to represent the day of the week. This field must be left blank unless you invoice your customer on the same 
day each week. That is, this field is only filled in for the Weekly Invoicing Calculation Rule. This is a user defined code field.

mnBasedOnDateNameBODNMATH_NUMERICOPTNONE

The name of the specific date field from either the sales order header or sales order detail that will be used to calculate the Scheduled 
Invoice Date. For example, if your customer requires invoices at a specific date after delivery, then you would select the Actual Delivery Date. 
This is a user defined code field.

jdScheduledInvoiceDateSIDTJDEDATEOPTNONE

The date you send an invoice to your customer. The system calculates this date based on the information you set up in the Invoice Cycle 
Calculation Rule and the Invoice Cycle preference

jdDateInvoiceCycleTest1ICT1JDEDATEOPTNONE

A date the system uses to test the invoice cycle calculation during setup.

jdDateInvoiceCycleTes2ICT2JDEDATEOPTNONE

A date the system uses to test the invoice cycle calculation during setup.

jdDateInvoiceCycleTest3ICT3JDEDATEOPTNONE

A date the system uses to test the invoice cycle calculation during setup.

jdDateInvoiceCycleTest4ICT4JDEDATEOPTNONE

A date the system uses to test the invoice cycle calculation during setup

jdDateInvoiceCycleTest5ICT5JDEDATEOPTNONE

A date the system uses to test the invoice cycle calculation during setup

Related Functions

None

Related Tables

None