I am playing with this bookmark:
private getBookmark(): IBookmark {
return {
program: 'OIS100',
table: 'OOLINE',
keyNames: 'OBCONO,OBORNO,OBPONR,OBPOSX',
option: '1',
requirePanel: false,
panelSequence: 'Z',
isStateless: false
};
}
onClick(): void {
const bookmark = this.getBookmark();
bookmark.keys = `OBCONO,${this.userContext.CONO},OBORNO,${this.ORNO},OBPONR,${this.PONR},OBPOSX,0`;
bookmark.parameters = `presetOVFI,1`;
bookmark.parameters += `,presetOVRR,1`;
bookmark.parameters += `,presetOVSU,1`;
bookmark.fields = `WBITNO,${this.ITNO}`;
bookmark.fields += `,WBORQA,1`;
bookmark.fields += `,OBLTYP,${this.LTYP}`;
console.log(bookmark);
this.formService.executeBookmark(bookmark).subscribe((r) => {
console.log(r);
}, (r) => {
console.log(r);
});
}
But the bookmark meets the need for user input in OIS145/E. How do I solve that in my SDK. From MTS043 everything works as expected - the OIS145/E panel pops up. And I can finish the creation. But OIS145/E doesn't pop up in SDK context.
My bookmark:
- fields: "WBITNO,000211,WBORQA,1,OBLTYP,1"
- isStateless: false
- keyNames: "OBCONO,OBORNO,OBPONR,OBPOSX"
- keys: "OBCONO,001,OBORNO,0001669851,OBPONR,1,OBPOSX,0"
- option: "1"
- panelSequence: "Z"
- parameters: "presetOVFI,1,presetOVRR,1,presetOVSU,1"
- program: "OIS100"
- requirePanel: false
- table: "OOLINE"
the response gives:
- description: "Customer Order. Acquire Sales Item"
- header: "OIS145/E"
- name: "OIA145E0"
- panelSequence: ""
Has someone succeeded in something simular?