Troubleshooting
Problem
You might want to enforce the rule that the Vendor Delivery Date on the PO is not more recent than the PO's Required Date in your business processes. If so, here are the steps to follow in order to ensure that the Vendor Delivery Date on the PO is not later than the PO's Required Date.
Resolving The Problem
Steps:
1. Go to System Configuration > Platform Configuration > Database Configuration Application.
- Go to the Select Action menu.
- Select the Messages option.
- Click New Row.
Message Group= PO
Message Key= invaliddate
Message ID Prefix= BMXZZ
Value: Vendor date cannot be greater than required date.
- Click OK.
2. Go to System Configuration > Platform Configuration > Automation Scripting Application.
- Go to Select Action menu > Create > Script with Attribute Launch Point.
3. Launch Point: POVENDATE
Object= PO
Attribute= VENDELIVERYDATE
4. Click 'Next'.
Script= VENDORDATEVAL
Description= vendor date validate
- Click New Row to create a new variable.
Variable=vendate
Variable Type= INOUT
Launch Point Attribute= VENDELIVERYDATE
- select the 'Override' checkbox'
- Click 'New Row' to create a new variable.
Variable= reqdate
Variable Type= INOUT
Launch Point Attribute= REQUIREDDATE
5. Click 'Next'.
- Enter the following in the Source Code textbox:
if vendate > reqdate:
errorgroup = "PO"
errorkey="invaliddate"
6. Click on the 'Create' button.
A message comes up: "BMXAA7989I - The launch point was created successfully. "
- Click Close.
7. Click on the Change Status icon on the toolbar.
- Change the status to Active.
- Click OK.
8. Go to Purchasing > Purchase Orders application.
- Create a new record.
- Enter a required date, for example: 9/19/15
- Try to enter 9/30/2015 as the Vendor Delivery Date.
- A red X comes up.
- Click on the red X.
|
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21966901