RE: Removeline function is not working

Answered

I have created a Sales Order and I want to remove one line from the Sales Order using the subscript , I am using the below code

=========================================

var ObjRec = context.currentRecord;
ObjRec.removeLine({
sublistId: ‘item’,
line: ‘1’,
ignoreRecalc: true
});

=========================================

Pl suggest.

ashwinji Beginner Asked on June 22, 2023 in Order Management.
Add Comment
6 Answers

Hi,

When I say context, I am asking about whether this is a client script, for example. And is it fieldChanged?

Could you please share your full script.

Thanks,

Chris

Advanced Answered on July 2, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.