Skip to Content
0
Nov 27, 2009 at 08:27 AM

Component item duplicated in Posting Purchase Order (BOM Template) from XML

58 Views

Hi,

I have a SDK program that posts draft document using XML. I have a problem in posting a Purchase Order using a bom template from XML, it duplicates the component items of the document. Here is an example of the transaction.

-


Draft Document to be posted----


Card Code - PM0013

Status - Draft

ItemCode | Quantity | UOM | Warehouse | Profit Center | Price

PMBX13 1 set DHO KAP

PMBX13-B 1 piece DHO KAP USD 0.8000

PMBX13-C 1 piece DHO KAP

PMBX13-P 1 piece DHO KAP

-


Draft Document to be posted----


-


Posted Document----


Card Code - PM0013

Status - Open

ItemCode | Quantity | UOM | Warehouse | Profit Center | Price

PMBX13 1 set DHO KAP

PMBX13-B 1 DHO KAP

PMBX13-C 1 DHO KAP

PMBX13-P 1 DHO KAP

PMBX13-B 1 piece DHO KAP USD 0.8000

PMBX13-C 1 piece DHO KAP

PMBX13-P 1 piece DHO KAP

-


Posted Document----


Thanks!