CalculateCommitmentDate

Calculate Commitment Date

Minor Business Rule

Object Name: B4200280

Parent DLL: CDIST

Location: Client/Server

Language: C

This function returns the calculated Commitment Date.
  If the Override Commitement Date passed in is NOT blank or 999 

    Then add Todays Date to the Override Commitment Date and return in

    the Commitment Date Parm.

 If the Override Commitment Date passed in is Blank or 999 then given the

   mcu fetch the cicomh from the F41001 file.  If it is blank or 999 then return

  12/31/2099 in the Commitment Date Parm, Else add Todays Date to the cicomh retrieved from the 

F41001 file and return in Commitment Date Parm.

^

Data Structure

D4200280 - Calculate Commitment Date

Parameter NameData ItemData TypeReq/OptI/O/Both
szBranchPlantMCUcharNONENONE

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.

mnOverrideCommitmentDaysCOMHMATH_NUMERICNONENONE

A number that the system uses to determine when to commit inventory to an order in sales order processing. This value in days is added to 
current date and compared with the promised ship date for the order line.  If the promised date is greater than the calculated date, then the 
order line will be future committed in the Item Location record (F41021).  Enter 999 to eliminate future commits.

jdCommitmentDateDATE01JDEDATENONENONE

Event point for JDE Date.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

F41001 Inventory Constants