public void initBillCredit(){
NetSuiteService service = new NetSuiteService();
LoginClass passport = new LoginClass();
service.passport = passport.login();
InitializeRecord initRec = new InitializeRecord();
initRec.type = InitializeType.vendorCredit;
InitializeRef initRef = new InitializeRef();
initRef.typeSpecified = true;
initRef.type = InitializeRefType.vendorBill;
initRef.internalId = "12218"; // this is the Invoice Internal ID
initRec.reference = initRef;
ReadResponse getInitResp = service.initialize(initRec);
}
No comments:
Post a Comment