‎2008 Jul 23 8:46 AM
Hi, i'm creating a order using the function SD_SALESDOCUMENT_CREATE, i put a reference to a quotation filling the following fields :
SALESDOCUMENT <- quotation_ref
ORDER_HEADER_INX-UPDATEFLAG <- U
sales_header_in-ref_doc <- quotation_ref.
sales_header_in-refdoc_cat = 'B'.
sales_header_inx-ref_doc = 'X'.
sales_header_inx-refdoc_cat = 'X'.
For each item:
sales_items_in-ref_doc <- quotation_ref.
sales_items_in-ref_doc_it = '000001'.
sales_items_in-ref_doc_ca = 'B'.
sales_items_inx-ref_doc = 'X'.
sales_items_inx-ref_doc_it = 'X'.
sales_items_inx-ref_doc_ca = 'X'.
The order is recorded well but the status of the quotation is pending, how can I change this state to complete?
Thanks
‎2008 Jul 23 10:59 AM