Jump to content

IWP Stopping


This topic is 6461 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am not sure if this is an IWP or a scripting issue that I am having. I have a form that contains a script that is supposed to automatically put in a date to be processed. Hit and miss I am having CSR's who fill out the form and submit it and the screen goes blank on IWP and the date does not get entered into the record. I have checked my log file and not found any IWP errors associated with this table. I did find an error code 500 at the time near one of these records. This code is "date does not meet validation entry options". My problem is that this table has no validation set for the date or any other item in the table.

I have two scripts running to set the date, they are below. Has anyone heard of this happening or can you see something in my script that may be causing this. I have not been able to track it down to a specific time or person, and like I said it does not happen all the time.

Thanks,

Scott

SCRIPT [310] PAYMENT DATE

IF cDAY OF WEEK = 2

PERFORM SCIRPT ["[311] PAYMENT DATE M-W"

ELSE IF cDAY OF WEEK = 3

PERFORM SCIRPT ["[311] PAYMENT DATE M-W"

ELSE IF cDAY OF WEEK = 4

PERFORM SCIRPT ["[311] PAYMENT DATE M-W"

#Thursday

ELSE IF cDAY OF WEEK = 5

PERFORM SCIRPT ["[312] PAYMENT DATE TH"

#Friday

ELSE IF cDAY OF WEEK = 6

PERFORM SCIRPT ["[313] PAYMENT DATE F"

#Saturday

ELSE IF cDAY OF WEEK = 7

PERFORM SCIRPT ["[314] PAYMENT DATE sa"

END IF

SCRIPT [311] PAYMENT DATE M-W

#Monday, Tuesday or Wednesday

IF CREATION TIEM < 54000

SET FIELD PAYMENT DATE; CREATION DATE + 1

COMMIT RECORDS/REQUESTS [NO DIALOG]

GO TO LAYOUT CSR PAYMENT VALIDATION

ELSE IF CREATION TIEM < 54000

SET FIELD PAYMENT DATE; CREATION DATE + 2

COMMIT RECORDS/REQUESTS [NO DIALOG]

GO TO LAYOUT CSR PAYMENT VALIDATION

END IF

Link to comment
Share on other sites

In case any of you were scratching your heads trying to figure this out, with the help of FM Tech Support I think I have solved the issue.

Even though I did not have any validation rules set in the table FM Tech suggested that I check in the script for COMMIT RECORD the box for SKIP VALIDATION RULES. I did this and so far I have not seen the issue come back.

Hope this helps others.

Scott

Link to comment
Share on other sites

This topic is 6461 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.