on 10-11-2005 6:00 AM
Hi all,
I'm doing External application for Goods Receipt and i have one problem in doing GRN based on the PO.
If my GRN item line is the same as the PO item line, there's no error.
But if my GRN item line is not the same as my PO item line, i got this error:
-5002 target item code missmatch base item code..
any idea..
Bruce
Using the PO as the base document to create a GRPO you have to specify (for each line item)
1. base type
2. base entry
3. base line
like this:
oGRPO.Lines.BaseType = oPO.Lines.BaseType
oPO.Lines.BaseEntry = oDraft.Lines.BaseEntry
oPO.Lines.BaseLine = oDraft.Lines.BaseLine
Your target item line must inherit the details form your base document (this the line number must match up...)
these 3 values are the only "line" fields that you have to specify when you create a target doc from a base doc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.