knash
(Ken Nash)
October 2, 2020, 2:13pm
1
User cannot end Labor Activity because the field is grayed out.
Tried to complete activity in Job Adjustment and user is getting the following error.
> **Business Layer Exception**
>
> Part quantity total must equal operation quantity. Part Quantity is: 0 Op Quantity is: 1.0
>
> Exception caught in: Epicor.ServiceModel
>
> **Error Detail**
>
> ============
>
> **Correlation ID:** e39753d1-01ba-4203-85f0-2bd86a964266
>
> **Description:** Part quantity total must equal operation quantity. Part Quantity is: 0 Op Quantity is: 1.0
>
> **Program:** Erp.Services.BO.JobAdjustment.dll
>
> **Method:** CommitLaborAdj
>
> **Line Number:** 1037
>
> **Column Number:** 29
>
> **Client Stack Trace**
>
> ==================
>
> at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
>
> at Erp.Proxy.BO.JobAdjustmentImpl.CommitLaborAdj(JobAdjustmentDataSet ds)
>
> at Erp.Adapters.JobAdjustmentAdapter.CommitLaborAdj(JobAdjustmentDataSet ds)
>
> at Erp.UI.App.JobAdjustmentEntry.Transaction.Update(String which)
Kind of lost on what I am missing? Any help would be appreciated.
TIA,
Ken
Arul
(Arul Shankar)
October 2, 2020, 2:17pm
2
Check whether demand is linked to that job and JobHead.ProdQty has value.
knash
(Ken Nash)
October 2, 2020, 2:20pm
3
JobHead and JobProd have 1 in the ProdQty.
jgiese.wci
(Joshua Giese)
October 2, 2020, 2:45pm
5
Make sure the employee has the permissions set in employee maint to be able to do that.
1 Like
knash
(Ken Nash)
October 2, 2020, 3:03pm
6
JobPart has qty 1 as well.
I am trying to do this a myself with system manager rights, and getting the same error/issue.
Jonathan
(Jonathan)
October 2, 2020, 3:16pm
7
I found this, maybe it helps:
/// In order to be allowed the following conditions must be meet.
/// 1. Must be final assembly (AssemblySeq = 0)
/// 2. Must be the final operation.
/// 3. Job must have more that one end part defined or has one or more Parts with PartPerOp > 1
Also as mentioned above check the employee has report quantity permisions
1 Like
knash
(Ken Nash)
October 2, 2020, 3:29pm
8
There is only one assembly.
We are in the last operation.
PartPerOp is = 1.
Beth
(Beth Rye)
October 2, 2020, 3:39pm
9
Is this a copart by any chance? If it is, you will need to go to the Coparts tab to enter the quantity.
2 Likes
knash
(Ken Nash)
October 2, 2020, 3:45pm
10
not a co part. Thanks for the idea though.
cpelowski
(Carol Pelowski)
October 2, 2020, 3:52pm
11
We’ve run into an issue similar in the past. If our scheduler goes into the job and unreleases the job and removes it from the schedule and rereleases the job and reschedules the user is able to end the activity. It may be worth a try in your case.
Carol
knash
(Ken Nash)
October 2, 2020, 3:54pm
12
user has report quantity checked.
Jonathan
(Jonathan)
October 2, 2020, 4:09pm
13
Is the method for labor entry Time-Backflush? JobOper.LaborEntryMethod = X?
jgiese.wci
(Joshua Giese)
October 2, 2020, 4:19pm
14
Check override job and see what you get.
Jonathan
(Jonathan)
October 2, 2020, 6:43pm
16
Can you give me the results of below 2 queries? Change company and jobnum
select count(1) from Erp.JobPart where Company = ‘’ and JobNum = ‘’
select count(1) from Erp.JobPart where Company = ‘’ and JobNum = ‘’ and PartsPerOp > 1
1 Like
knash
(Ken Nash)
October 2, 2020, 7:30pm
17
I stand corrected. Someone added a part as a copart, instead of as a material part. That did it.
knash
(Ken Nash)
October 2, 2020, 7:33pm
18
Thanks!!! This helped me find that there was another part on the job.
1 Like
Beth
(Beth Rye)
October 5, 2020, 3:24pm
19
@knash They don’t call me the Queen of Copart for nothing LOL! Happy to Help!
And I hear she’s has a Cabaña too!