select student exists join samcustomer where student.id == samcustomer.id
{
a=student.id;
b=student.name;
c=samcustomer.id;
d=samcustomer.email;
print " id = " +int2str(a);
print " name = " +(b);
print " id = " +int2str(c);
print " email = " +(d);
}
To Cancel Deliver Remainder through X++ you can use below code sample. Thanks. static void _CancelDeliverRemainder_Sales(Args _args) { SalesLine SalesLine = SalesLine::find('SO0013', true); ; if (SalesLine) { // Set remaining inventory Qty to zero SalesLine.RemainInventPhysical = 0; // Set remaining physical Qty to zero SalesLine.RemainSalesPhysical = 0; // We have to cancel the SalesLine SalesLine.PurchStatus = PurchStatus::Canceled; SalesLine.update(); ...