<div id="ygrps-yiv-109212011yiv5397277034ygrp-text">
<div>Depends on how you structure your orders, do you always have just one release per line? In that case a preprocess BPM on the Sales.ChangeNeedByDate would probably suffice. If you have multiple releases per line you’re going to need to track it at the release level which will get a bit more involved when initially creating the line as the release doesn’t quite exist just yet. In a simplified version it would be something like:
Conditions – number of rows in the designed query is not less than 1
Query (something vaguely like this) I don’t use Extended UD tables so I’m not 100% certain on the syntax. However I can tell you the BPM query may not recognize your foreign key view as I believe that dataset is only held within context of the UI (I could be wrong here but I would be surprised). Also I don’t know if you’re multicompany, multiplant or what you’re linking to the extended UD table by (I assume part and plant?)..
for each ttOrderDtl where ttOrderDtl.RowMod = 'A' or ttOrderDtl.RowMod = 'U',
each PartPlant_UD where PartPlant_UD.Company = Cur-Comp and PartPlant_UD.YOURPARTFIELD = ttOrderDtl.PartNum,
each OrderHed where OrderHed.Company = Cur-Comp and Orderhed.OrderNum = ttOrderDtl.OrderNum and OrderHed.OrderDate + PartPlant_UD.YourLTFIELD < ttOrderDtl.NeedByDate.
Actions – show informational message based on the designed template
You could also hang this whole thing on Sales.Update as well, but it would fire more often than you would need if you’re in there making changes a lot to orders..
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-3119
FAX: (715)284-4084
[cid:1.234354861@...]<http://www.dsmfg.com/>
(Click the logo to view our site)<http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, February 19, 2015 5:01 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Validating Need By Date is within Quoted LT
I should have clarified what my attentions were. I would like to create a BPM to provide a message that the Need By Date is not within the Quoted LT. How would I go about doing this?
On Wednesday, February 18, 2015 2:24 PM, "Rob Bucek rbucek@... [vantage]" <vantage@yahoogroups.com> wrote:
We track less than lead time orders as it was a problem that was quite difficult to quantify in the past. So like you, we track a few things in part plant like quoted lead time as well as something we call job firm window (when should a scheduler/planner firm a job for a given demand). As part of the quoting, and/or new part setup process we document it directly on UD fields within PartPlant. We opted not to go for alerts and emails but just built a dashboard to track and display orders that were entered in less than lead time so we could track this as a metric and be able to see its historical impact by customer to help manage those problem customers, as well as many of our orders are entered in an automated fashion then reviewed by exception before acknowledgement. The user enters date parameters when they refresh the data. In conjunction with that we had to then place born on dates to each level of the sales order structure (ordered, orderline, orderrel) for something to compare to in a historical aspect. Where you track this depends on your order model, one order one line one release; order head works great, if you have anything different going on you’ll need to go deeper. The premise of your formula is just fine, you can look at it many ways.
Link to dashboard screenshot
http://i296.photobucket.com/albums/mm199/RBucek/Dashboards/Lessthanleadtimeorders_zps49562d29.jpg
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, February 18, 2015 12:19 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Validating Need By Date is within Quoted LT
I would like to know when a Sales Order is entered if the Need By Date is within our Quoted LT.
Here is an overview of what has been done so far.
There has been a custom sheet added to the Part Maintenance, that contain fields from an Extended UD Table (PartPlant_UD). One of those fields is our Quoted LT. I was able to place the Quoted LT on the Order Entry > Line > Detail sheet, using the Foreign Key View.
What is the best way to verify that the OrderHed.OrderDate + PartPlant.QuotedLT < OrderDtl.NeedByDate?
Do I need to add the Quoted LT differently to Order Entry? If so, what is the best way.
Working with Epicor 9.05
Thanks,
Melissa
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
</div>
<div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mkp hr {
border:1px solid #d8d8d8;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mkp #ygrps-yiv-109212011yiv5397277034hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mkp #ygrps-yiv-109212011yiv5397277034ads {
margin-bottom:10px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mkp .ygrps-yiv-109212011yiv5397277034ad {
padding:0 0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mkp .ygrps-yiv-109212011yiv5397277034ad p {
margin:0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mkp .ygrps-yiv-109212011yiv5397277034ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-sponsor #ygrps-yiv-109212011yiv5397277034ygrp-lc {
font-family:Arial;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-sponsor #ygrps-yiv-109212011yiv5397277034ygrp-lc #ygrps-yiv-109212011yiv5397277034hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-sponsor #ygrps-yiv-109212011yiv5397277034ygrp-lc .ygrps-yiv-109212011yiv5397277034ad {
margin-bottom:10px;padding:0 0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034actions {
font-family:Verdana;font-size:11px;padding:10px 0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034activity span {
font-weight:700;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034activity span:first-child {
text-transform:uppercase;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034activity span a {
color:#5085b6;text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034activity span span {
color:#ff7900;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034activity span .ygrps-yiv-109212011yiv5397277034underline {
text-decoration:underline;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034attach div a {
text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034attach img {
border:none;padding-right:5px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034attach label {
display:block;margin-bottom:5px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034attach label a {
text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 blockquote {
margin:0 0 0 4px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034bold {
font-family:Arial;font-size:13px;font-weight:700;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034bold a {
text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 dd.ygrps-yiv-109212011yiv5397277034last p a {
font-family:Verdana;font-weight:700;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 dd.ygrps-yiv-109212011yiv5397277034last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 dd.ygrps-yiv-109212011yiv5397277034last p span.ygrps-yiv-109212011yiv5397277034yshortcuts {
margin-right:0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034attach-table div div a {
text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034attach-table {
width:400px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034file-title a, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034file-title a:active, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034file-title a:hover, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034file-title a:visited {
text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034photo-title a, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034photo-title a:active, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034photo-title a:hover, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div.ygrps-yiv-109212011yiv5397277034photo-title a:visited {
text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 div#ygrps-yiv-109212011yiv5397277034ygrp-mlmsg #ygrps-yiv-109212011yiv5397277034ygrp-msg p a span.ygrps-yiv-109212011yiv5397277034yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034green {
color:#628c2a;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034MsoNormal {
margin:0 0 0 0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 o {
font-size:0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034photos div {
float:left;width:72px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034reco-category {
font-size:77%;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034reco-desc {
font-size:77%;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 .ygrps-yiv-109212011yiv5397277034replbq {
margin:4px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mlmsg table {
font-size:inherit;font:100%;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mlmsg select, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 input, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mlmsg pre, #ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 code {
font:115% monospace;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mlmsg * {
line-height:1.22em;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-mlmsg #ygrps-yiv-109212011yiv5397277034logo {
padding-bottom:10px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-msg p a {
font-family:Verdana;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-msg p#ygrps-yiv-109212011yiv5397277034attach-count span {
color:#1E66AE;font-weight:700;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-reco #ygrps-yiv-109212011yiv5397277034reco-head {
color:#ff7900;font-weight:700;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-reco {
margin-bottom:20px;padding:0px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-sponsor #ygrps-yiv-109212011yiv5397277034ov li a {
font-size:130%;text-decoration:none;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-sponsor #ygrps-yiv-109212011yiv5397277034ov li {
font-size:77%;list-style-type:square;padding:6px 0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-sponsor #ygrps-yiv-109212011yiv5397277034ov ul {
margin:0;padding:0 0 0 8px;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-text {
font-family:Georgia;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-text p {
margin:0 0 1em 0;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-text tt {
font-size:120%;}
#ygrps-yiv-109212011 #ygrps-yiv-109212011yiv5397277034 #ygrps-yiv-109212011yiv5397277034ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-109212011