Skip to Content
0
Former Member
Nov 19, 2013 at 10:30 AM

How to reset the AR Print Status

76 Views

How we reset the AR Print Status from "Printed" to "No". through the SAP B1 DIAPI.

Can we change the Printed status of an AR to "No"

I tried the following code and it didn't show any issues. but Not updated in the DB

SAPbobsCOM.Documents obj_Inv = (SAPbobsCOM.Documents)oCompany_Current.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);

obj_Inv.GetByKey(1000);

obj_Inv.Printed = SAPbobsCOM.PrintStatusEnum.psNo;

obj_Inv.Update();