PO Detail problem with DMT

I just uploaded records into PO Detail, and DMT reports no problems.

Yet When I query the PODetail table in E10, it is blank. Launching E10 and selecting the PO in PO Entry shows the PO, but no lines.

Here’s the result from the DMT log

Import:		Purchase Order Detail
Started:	10/21/2016 12:31:17 PM
Finished:	10/21/2016 12:33:33 PM
Duration:	00.00:02:15
Records:	2487/2487
RPM:		1111
Errors:		0
Import Mode:	Add,Update
Version:	DMT 4.0.12.4 for 10.1.400.19

I did the upload with the bare minimum fields Company, PONum, POLine.

If I try more fields I get an error that a Qty is required. But when I include the OrderQty field, I get an error that says “OrderQty is read only”

You can’t have PO Lines without quanity and part num and such…

I figured that - Even though DMT says the only required fields are the ones I listed.

But when include OrderQty I get :

And If I remove the OrderQty, I get the following errors

The second error is because the part is not in the system. Is there a separate table for Purch to Job or Purch to Other?

I think you need to populate OurOrderQty? If I recall correctly there are two different fields

-Jose
T: (914) 407-2442 x 212
C: (904) 469-1524

The e10 DB has no “OurOrderQty”

Neither does the DMT Template Builder

But I do see a Boolean field “NonMasterPart”, which I guess must be checked if the part is not in the Part Master.

I think I found it. “BaseQty”

The field is this one,

I recommend you go into PO Entry add a line and Save, see the fields that get populated on a Trace and Replicate that on your template.

You’re right, it is the “CalcOurQty”

Now I have to figure out what to do for parts that aren’t in the part master.

I think the Trace idea is the way to go.

CalcOurQty in DMT.

Ross

Here is what I used in PODetail. I have templates for all of the tables I did in our E9 implementation if you want the set let me know.

Greg

POLine

CalcOurQty

UnitCost

DocUnitCost

PartNum

LineDesc

PONum

NonMasterPart

CostPerCode

Company

QtyOption

001

450

1.23

1.23

SE-04

MINI BAND COILED

13182631

FALSE

E

COMP01

Our

002

350

1.23

1.23

SE-04

MINI BAND COILED

13182631

FALSE

E

COMP01

Our

Thanks.

Took care of the Qty issue. But I still get the “A valid part is required” error - Just on parts that aren’t in the PM

Also - Whats the difference between UnitCost and DocUnitCost ??

The data dictionary is pretty good generally at telling you what each field means.

You should be able to set NonMasterPart to true for those parts. Do you know which parts are non-master from your export? If not you can use the reprocess csv file and change NonMasterPart there and process that file.

DocUnitCost is in the vendor uom and currency and UnitCost is in the vendors UOM and your currency. I found them both in the trace and set to be sure.

CalcTranType set to PUR-UNK for non Inventory items

Hmmm … I opened the Reprocess.cvs, updated the NonMaterPart field to TRUE, but those parts still fail with “A valid part is required”

Any idea how I can find what the CalcTranType is for a PODetail in V8?

I opened the PO entry in Developer mode to see the source for the Purchase To (Stock, Job, Other) and the data source is “CalcTranType”. But that field isn’t in V8’s PODetail table.

I need to know if it is for Other (PUR-UKN) or to a Job.

EDIT: Found it. Its in the PORel table.