Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fulfill Internal Stock Request - Email Fail
02-23-2018, 07:53 AM (This post was last modified: 02-23-2018 09:30 AM by VortecCPI.)
Post: #1
Fulfill Internal Stock Request - Email Fail
InternalStockRequestFulfill.php

This script is not updating closed field in stockrequest table.

Also... Sometimes it is not updating completed field in stockrequestitems table.

The second problem is inconsistent...
Also... Prices are not entered in the StockMoves table... Is this correct?

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2018, 09:12 AM (This post was last modified: 02-23-2018 09:29 AM by VortecCPI.)
Post: #2
RE: Fulfill Internal Stock Request
Something in the email section is causing the code to exit the foreach loop....
Failing on this line after the second item in the loop:

include('includes/htmlMimeMail.php');
I had SMTP email working but something is causing it to fail her so I had to remove the Inventory Manager email address from config.

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2018, 10:01 AM (This post was last modified: 02-24-2018 04:09 AM by TurboPT.)
Post: #3
RE: Fulfill Internal Stock Request - Email Fail
I wonder if trying to include that file (again) might be the issue ... or at least PART of the issue.

Can you try moving that include line up to the others at line 12 to see if that might make a difference?
Find all posts by this user
Quote this message in a reply
02-23-2018, 10:31 AM (This post was last modified: 02-23-2018 10:46 AM by VortecCPI.)
Post: #4
RE: Fulfill Internal Stock Request - Email Fail
Wow... That did the trick!
Of course now SMTP email no longer works...

Email directly from ERP is a bad idea in my opinion anyhow...

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2018, 06:33 PM
Post: #5
RE: Fulfill Internal Stock Request - Email Fail
Paul (T) looking at this functionality there appears to be a lot of my work that Phil never took into his repository. When you get a moment we need to look at this.

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2018, 10:11 PM
Post: #6
RE: Fulfill Internal Stock Request - Email Fail
Thanks guys. The Serial Number thing was the part that really mattered to me.

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)